/*
Theme Name: Bitcoin Ebook Market
Theme URI: https://minebitcoinsonline.com
Author: Bitcoin Ebook Store
Author URI: https://minebitcoinsonline.com
Description: A modern WooCommerce theme for selling bitcoin and blockchain ebooks
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitcoin-ebook-theme
Domain Path: /languages
WC requires at least: 3.0
WC tested up to: 8.0
*/

:root {
  --primary-color: #1a252f;
  --dark-gray: #2c3e50;
  --light-gray: #ecf0f1;
  --accent-gold: #f39c12;
  --accent-yellow: #f1c40f;
  --white: #ffffff;
  --text-dark: #e8eaed;
  --text-light: #b8bcc2;
  --border-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #1a1f26;
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(to bottom, #1a1f26 0%, #0f1419 100%);
}

/* Header & Navigation */
.site-header {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  color: var(--white);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.site-header .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  color: #e8eaed;
  font-size: 2.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-gold), var(--accent-yellow));
  border-radius: 2px;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* Buttons */
.btn,
button,
input[type='button'],
input[type='submit'],
.wp-block-button__link,
.button,
.add_to_cart_button,
.single_add_to_cart_button {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn::before,
button::before,
input[type='submit']::before,
.add_to_cart_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before,
button:hover::before,
input[type='submit']:hover::before {
  left: 100%;
}

.btn:hover,
button:hover,
input[type='button']:hover,
input[type='submit']:hover,
.wp-block-button__link:hover,
.button:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn:active,
button:active {
  box-shadow: var(--shadow-sm);
}

.btn-secondary,
button.secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover,
button.secondary:hover {
  background: var(--accent-gold);
  color: var(--white);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

/* Force WooCommerce single-product Buy Now button style */
.single_add_to_cart_button.button,
.single_add_to_cart_button.button.alt,
button.single_add_to_cart_button,
button.single_add_to_cart_button.alt {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(243, 156, 18, 0.38) !important;
  box-shadow: var(--shadow-md) !important;
}

.single_add_to_cart_button.button:hover,
.single_add_to_cart_button.button.alt:hover,
button.single_add_to_cart_button:hover,
button.single_add_to_cart_button.alt:hover {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 100%) !important;
  color: #fff !important;
  transform: none !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f1419 0%, #1a252f 50%, #2c3e50 100%);
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(241, 196, 15, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #f39c12;
  font-weight: 900;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.home-hero-cta {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

.home-products-section {
  padding: 4rem 0 2rem;
}

.home-posts-section {
  padding: 3.5rem 0 4.5rem;
}

.latest-posts .row > [class*='col-'] {
  display: flex;
}

.latest-posts .post {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.latest-posts .post .post-thumbnail {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 10px;
}

.latest-posts .post .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.latest-posts .post:hover .post-thumbnail img {
  transform: scale(1.04);
}

.latest-posts .post .post-excerpt {
  flex-grow: 1;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  min-height: 78px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  flex-shrink: 0;
}

.navbar-brand .custom-logo {
  max-height: 50px;
  width: auto;
}

.site-title-link {
  text-decoration: none;
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.site-title-link:hover .site-title {
  color: var(--accent-gold);
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  padding: 0;
  background: none;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-ancestor > a {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(243, 156, 18, 0.35);
  color: #fff;
}

.main-navigation ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  padding: 0.35rem;
  background: #1e2935;
  border: 1px solid rgba(243, 156, 18, 0.25);
  border-radius: 10px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
}

.main-navigation li:hover > ul {
  display: block;
}

.header-cart {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 10px;
  border: 1px solid rgba(243, 156, 18, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.cart-link:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f1419 0%, #1a252f 100%);
  color: var(--white);
  padding: 0;
  margin-top: 5rem;
  position: relative;
  border-top: 3px solid var(--accent-gold);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-yellow), var(--accent-gold), transparent);
}

.footer-most-bought {
  margin: 0 !important;
  padding: 60px 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
  border-bottom: 2px solid rgba(243, 156, 18, 0.2);
}

.footer-products-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 270px));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

.footer-product-item {
  transition: var(--transition);
  display: flex;
  min-height: 124px;
}

.site-footer a {
  color: var(--accent-gold);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent-yellow);
  text-decoration: none;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-widget {
  padding: 1rem;
}

.footer-widget h3,
.footer-widget h4 {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.5rem;
}

.site-footer .site-info {
  text-align: center;
  padding: 0;
  border: none;
  color: var(--light-gray);
  font-size: 0.9rem;
}

.site-footer .site-info a {
  color: #b8bcc2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .site-info a:hover {
  color: var(--accent-gold);
}

.footer-popular-title {
  color: #f39c12;
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-product-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem;
  background: rgba(36, 43, 53, 0.65);
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(243, 156, 18, 0.15);
  height: 100%;
  min-height: 124px;
}

.footer-product-link:hover {
  transform: none;
  background: rgba(36, 43, 53, 0.85);
  border-color: rgba(243, 156, 18, 0.35);
}

.footer-product-thumb {
  width: 70px;
  height: 95px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-product-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-product-copy {
  flex: 1;
  min-width: 0;
}

.footer-product-name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #e8eaed;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
  min-height: 2.7em;
}

.footer-product-price {
  color: #f39c12;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-product-arrow {
  color: #f39c12;
  font-size: 1.25rem;
  transition: transform .25s ease;
}

.footer-product-link:hover .footer-product-arrow {
  transform: translateX(4px);
}

.footer-bottom-wrap {
  padding: 3rem 1.5rem 2rem;
}

.footer-site-info {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.footer-inline-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.footer-inline-links a {
  color: #b8bcc2;
  text-decoration: none;
  font-weight: 500;
}

.footer-inline-links a:hover {
  color: var(--accent-gold);
}

.footer-copyright {
  margin: 0 0 0.65rem;
  color: #b8bcc2;
  font-size: 0.95rem;
}

.footer-tagline {
  margin: 0;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-content {
  margin: 0;
  padding: 0;
}

.single-post .container,
.archive .container,
.blog .container {
  max-width: 1380px;
}

.single-post .post {
  padding: 2.5rem;
}

.single-post .post-content {
  font-size: 1.15rem;
  line-height: 1.9;
}

main {
  min-height: calc(100vh - 200px);
  padding: 0 0 4rem;
}

.page-title {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 4rem 0;
  margin-bottom: 3rem;
  border-bottom: 4px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
  animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50%);
  }
}

.page-title h1 {
  color: var(--white);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Posts */
.post,
.post-card {
  background-color: #242b35;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.post:hover,
.post-card:hover {
  transform: none;
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 156, 18, 0.2);
}

.post-title {
  margin-bottom: 0.5rem;
}

.post-title a {
  color: var(--text-dark);
}

.post-title a:hover {
  color: var(--accent-gold);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-excerpt {
  color: var(--text-dark);
  line-height: 1.8;
  margin: 1rem 0;
}

.read-more-btn {
  display: inline-block;
  margin-top: 1rem;
}

/* Single Post Page */
.post-header {
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 1.5rem;
}

.post-header .post-title {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  color: var(--text-dark);
}

.post-thumbnail {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 2rem 0;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

.post-tags {
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.post-tags a {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius);
  color: var(--accent-gold);
}

.post-tags a:hover {
  background-color: var(--accent-gold);
  color: var(--white);
}

.post-card {
  background-color: #242b35;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding: 1rem;
  border: 1px solid rgba(243, 156, 18, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-card-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-card-image a {
  display: block;
}

.post-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.post-card-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: var(--accent-gold);
}

.post-card-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.post-card-excerpt {
  color: var(--text-dark);
  margin: 0.5rem 0 1rem 0;
  line-height: 1.6;
  flex-grow: 1;
}

.related-posts {
  padding-top: 2rem;
  border-top: 2px solid var(--accent-gold);
}

.related-posts .row > [class*='col-'] {
  display: flex;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

/* Post Archive List */
.posts-list {
  margin-bottom: 2rem;
}

.post-archive-item {
  background-color: #242b35;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-gold);
}

.post-archive-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-archive-header {
  margin-bottom: 1.5rem;
}

.post-archive-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.8rem;
  line-height: 1.3;
}

.post-archive-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.post-archive-title a:hover {
  color: var(--accent-gold);
}

.post-archive-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: 0.9rem;
}

.post-archive-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-archive-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.post-archive-image a {
  display: block;
}

.post-archive-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.post-archive-item:hover .post-archive-image img {
  transform: scale(1.05);
}

.post-archive-excerpt {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.archive-description {
  background-color: rgba(243, 156, 18, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

/* Product Landing Page Styles */
.single-product-landing {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-landing-hero {
  background: linear-gradient(130deg, #0e141b 0%, #16202a 40%, #1f2c38 100%);
  border: 1px solid rgba(243, 156, 18, 0.16);
  border-radius: 20px;
  margin: 1.2rem auto 0;
  padding: 78px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}

.product-landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 45%, rgba(243, 156, 18, 0.24) 0%, transparent 50%),
              radial-gradient(circle at 82% 26%, rgba(241, 196, 15, 0.2) 0%, transparent 44%);
  pointer-events: none;
}

.product-landing-hero .container {
  position: relative;
  z-index: 1;
}

.product-landing-kicker {
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.product-landing-title {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.1;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.product-landing-excerpt {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.55rem;
  max-width: 62ch;
}

.product-landing-excerpt p:last-child {
  margin-bottom: 0;
}

.product-landing-price {
  color: var(--accent-gold);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.product-landing-price-current {
  color: var(--accent-gold);
  font-size: 1em;
  font-weight: 800;
}

.product-landing-price-regular {
  color: #a8b0ba;
  font-size: 0.56em;
  text-decoration: line-through;
  font-weight: 600;
}

.product-landing-price del,
.product-landing-cta-price del {
  color: #a8b0ba;
  font-size: 0.7em;
  margin-right: 0.45rem;
}

.product-landing-price ins,
.product-landing-cta-price ins {
  color: var(--accent-gold);
  text-decoration: none;
}

.product-landing-price .amount,
.product-landing-cta-price .amount {
  white-space: nowrap;
}

.product-landing-buy form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.single-product-landing form.cart .quantity {
  display: none !important;
}

.product-landing-buy .quantity .qty {
  min-height: 52px;
  min-width: 86px;
  border-radius: 12px;
  border: 1px solid rgba(243, 156, 18, 0.32);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.product-landing-buy .single_add_to_cart_button {
  min-height: 52px;
  padding: 0.9rem 2.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(243, 156, 18, 0.4);
  box-shadow: 0 10px 24px rgba(243, 156, 18, 0.22);
}

.product-landing-trust {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.product-landing-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 156, 18, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.product-landing-cover-wrap {
  background: linear-gradient(165deg, rgba(18, 25, 33, 0.92), rgba(26, 36, 47, 0.85));
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 18px;
  padding: 16px;
  max-width: 500px;
  margin-left: auto;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.product-landing-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.product-landing-benefits {
  padding: 70px 0;
}

.product-landing-benefit-card {
  height: 100%;
  background: linear-gradient(170deg, #222a34 0%, #1b232d 100%);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.product-landing-benefit-card:hover {
  transform: none;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.36);
}

.product-landing-benefit-card i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
}

.product-landing-benefit-card h3 {
  color: #f2f5f8;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-landing-benefit-card p {
  color: #b9c0c9;
  margin: 0;
}

.product-landing-content {
  padding: 70px 0;
}

.product-landing-content-body {
  background: linear-gradient(180deg, rgba(34, 42, 52, 0.96), rgba(28, 35, 43, 0.96));
  border: 1px solid rgba(243, 156, 18, 0.16);
  border-radius: 16px;
  padding: 2rem;
  color: #dde2e8;
  line-height: 1.85;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.product-landing-content-body h2,
.product-landing-content-body h3,
.product-landing-content-body h4 {
  color: #f2f5f8;
  margin-top: 1.4rem;
}

.product-landing-content-body p,
.product-landing-content-body ul,
.product-landing-content-body ol {
  margin-bottom: 1rem;
}

.product-landing-content-body a {
  color: var(--accent-yellow);
}

.product-landing-content-body blockquote {
  border-left: 3px solid var(--accent-gold);
  padding-left: 1rem;
  color: #c8d0d9;
  margin: 1.2rem 0;
}

.product-landing-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #111922 0%, #1b2531 100%);
  border: 1px solid rgba(243, 156, 18, 0.18);
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.product-landing-cta h2 {
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.product-landing-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.2rem;
}

.product-landing-cta-price {
  color: var(--accent-gold);
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.product-landing-cta .product-landing-buy {
  display: flex;
  justify-content: center;
}

.product-landing-cta .product-landing-buy form.cart {
  justify-content: center;
}

.single-product .woocommerce-notices-wrapper {
  margin-bottom: 1rem;
}

.single-product .site-main {
  padding-top: 0;
}

@media (max-width: 991px) {
  .product-landing-hero {
    padding: 56px 0;
  }

  .product-landing-cover-wrap {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 575px) {
  .product-landing-benefits,
  .product-landing-content,
  .product-landing-cta {
    padding: 44px 0;
  }

  .product-landing-content-body {
    padding: 1.25rem;
  }
}

/* WooCommerce Product Grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
  margin-bottom: 3rem;
  justify-content: start;
}

.home-products-section .products-home {
  grid-template-columns: repeat(auto-fit, minmax(270px, 320px));
  justify-content: center;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
  gap: 1.6rem !important;
  margin: 0 0 3rem !important;
  padding: 0 !important;
  width: 100% !important;
  justify-content: start !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce-products-header {
  position: relative;
  margin: 0 0 2rem;
  padding: 2.4rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #111820 0%, #1a252f 55%, #2c3e50 100%);
  border: 1px solid rgba(243, 156, 18, 0.2);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.woocommerce-products-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.22) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(241, 196, 15, 0.14) 0%, transparent 45%);
  pointer-events: none;
}

.woocommerce-products-header > * {
  position: relative;
  z-index: 1;
}

.woocommerce-products-header__title.page-title {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-gold);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.woocommerce-products-header__title.page-title::before {
  display: none;
}

.woocommerce-products-header .term-description,
.woocommerce-products-header .woocommerce-product-details__short-description,
.woocommerce-products-header .page-description {
  margin-top: 0.75rem;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.woocommerce-result-count {
  color: #b8bcc2;
}

.woocommerce-ordering select {
  min-width: 220px;
  margin-bottom: 0;
  background-color: #242b35;
  color: #e8eaed;
  border-color: rgba(243, 156, 18, 0.28);
}

.products li {
  list-style: none;
  display: flex;
}

.product {
  background: linear-gradient(180deg, #2a313d 0%, #232a35 100%);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border: 1px solid rgba(243, 156, 18, 0.16);
  will-change: transform;
  transform: translateZ(0);
}

.product:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 156, 18, 0.35);
}

.product .product-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-bottom: 1px solid rgba(243, 156, 18, 0.18);
  aspect-ratio: 4/5;
  min-height: clamp(210px, 24vw, 290px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.product .product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.2) 0%, transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(241, 196, 15, 0.14) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.product .product-image img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product:hover .product-image img {
  transform: none;
}

/* Reduce movement effects site-wide */
.btn::before,
button::before,
input[type='submit']::before,
.add_to_cart_button::before {
  display: none;
}

.latest-posts .post:hover .post-thumbnail img,
.post-archive-item:hover .post-archive-image img,
.post-card:hover .post-card-image img {
  transform: none;
}

.page-title::before {
  animation: none;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  z-index: 4;
  pointer-events: none;
}

.product-badge.new {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%);
}

.product-badge.sale {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.product-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-title {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #e8eaed;
  flex-grow: 1;
  line-height: 1.4;
}

.product-title a {
  color: #e8eaed;
  transition: var(--transition);
}

.product-title a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.product-excerpt {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-price del {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 400;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.product-actions .btn {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  padding: 9px 12px;
}

.add_to_cart_button {
  background-color: var(--accent-gold);
  color: var(--white);
}

.add_to_cart_button:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

/* Forms */
form {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='tel'],
input[type='url'],
textarea,
select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  background-color: #242b35;
  color: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='url']:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.3);
  background-color: #2c3440;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Sidebar */
.sidebar {
  background-color: #242b35;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.widget {
  margin-bottom: 2rem;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--accent-gold);
  display: block;
  transition: all 0.3s ease;
}

.widget a:hover {
  color: var(--accent-yellow);
  padding-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .navbar-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
  }

  .main-navigation a {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
  }

  .navbar-brand {
    width: 100%;
  }

  .hero-section {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .page-title {
    padding: 2rem 0;
    margin-bottom: 1rem;
  }

  main {
    padding: 0 0 2rem;
  }

  .post,
  .post-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .footer-products-compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 270px));
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.9rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn,
  button,
  input[type='submit'] {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .site-header .container-fluid {
    padding: 0 1rem;
  }

  .footer-products-compact {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }

  .page-title h1 {
    font-size: 1.5rem;
  }

  .navbar-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-navigation a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .cart-link {
    font-size: 1.1rem;
  }

  .site-title {
    font-size: 1.3rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section-home {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
  color: #1a252f;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 2.5rem);
  border-radius: 14px;
  text-align: center;
  margin: 4.5rem 0;
  box-shadow: 0 16px 45px rgba(243, 156, 18, 0.28);
}

.cta-title {
  font-size: clamp(2rem, 4.8vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: #1a252f;
}

.cta-text {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  font-size: 1.08rem;
  color: rgba(26, 37, 47, 0.92);
}

.cta-button-dark {
  background: #1a252f;
  border-color: #1a252f;
  color: #fff;
}

.cta-button-dark:hover {
  background: #0f1419;
  border-color: #0f1419;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-section h2,
.cta-section p,
.cta-section a {
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.product,
.post-card,
.feature-box {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Smooth scroll offset for fixed header */
html {
  scroll-padding-top: 100px;
}

/* Improved link styles */
a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .btn,
  button {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Feature Boxes */
.features {
  padding: 4rem 0;
  background: linear-gradient(180deg, #1a1f26 0%, #0f1419 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-box {
  text-align: center;
  padding: 3rem 2rem;
  background: #242b35;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.feature-box:hover {
  transform: none;
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 156, 18, 0.2);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.feature-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Stable interactions: keep hover effects without movement */
.product,
.post-card,
.feature-box {
  animation: none;
}

.post:hover,
.post-card:hover,
.post-archive-item:hover,
.product:hover,
.feature-box:hover,
.footer-product-link:hover,
.cta-button-dark:hover,
.btn:hover,
button:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  transform: none !important;
}

.footer-product-link:hover .footer-product-arrow,
.latest-posts .post:hover .post-thumbnail img,
.post-card:hover .post-card-image img,
.post-archive-item:hover .post-archive-image img,
.product:hover .product-image img {
  transform: none !important;
}
