/*
Theme Name: Repressed Memories
Theme URI: https://repressedmemories.org
Author: Arzu (Freelancer)
Author URI: https://repressedmemories.org
Description: A scholarly, academic WordPress theme designed specifically for pre-selling academic books in PDF format with automated checkout and scholarly blogging. Built with full SEO, Book Schema (JSON-LD), and responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: repressed-memories
Tags: academic, book-landing-page, digital-download, e-commerce, seo-friendly, responsive-layout, scholarly, blog
*/

:root {
  --font-serif: 'Cormorant Garamond', 'Merriweather', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --color-bg-dark: #12100e;
  --color-bg-hero: #1a1714;
  --color-gold: #c59b27;
  --color-gold-hover: #b0881e;
  --color-btn-cta: #cca053;
  --color-btn-cta-hover: #b98e42;
  --color-text-light: #f5f3ef;
  --color-text-muted: #c2bcb4;
  --color-bg-light: #faf9f6;
  --color-bg-card: #f2eee8;
  --color-text-dark: #1f1d1a;
  --color-text-subtle: #57524b;
  --color-border: #e0dacf;
  --color-footer-bg: #141210;
  --color-footer-border: #282420;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ebe6df;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #1a1714;
  letter-spacing: -0.01em;
}

.site-branding svg {
  color: #2b2621;
}

.site-navigation ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.site-navigation a {
  font-size: 15px;
  font-weight: 500;
  color: #4a453f;
}

.site-navigation a:hover,
.site-navigation .current-menu-item a {
  color: #1a1714;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #3b3630;
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  font-size: 11px;
  font-weight: 700;
  color: #1a1714;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(204, 160, 83, 0.12) 0%, rgba(18, 16, 14, 0.95) 75%),
              linear-gradient(180deg, rgba(20, 18, 16, 0.9) 0%, rgba(18, 16, 14, 0.98) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 60px;
  align-items: center;
}

/* 3D Book Presentation */
.book-visual-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.book-3d {
  position: relative;
  width: 320px;
  height: 460px;
  background: linear-gradient(135deg, #2a2520 0%, #151311 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow: 
    -12px 15px 35px rgba(0,0,0,0.7),
    0 2px 4px rgba(255,255,255,0.1) inset,
    -4px 0 8px rgba(0,0,0,0.5) inset;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 28px;
  border-left: 8px solid #0d0c0b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: rotateY(-8deg) rotateX(2deg);
}

.book-3d:hover {
  transform: rotateY(-2deg) rotateX(0deg) translateY(-6px);
  box-shadow: -15px 22px 45px rgba(0,0,0,0.8);
}

.book-spine-line {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.book-cover-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7eedb;
  text-align: center;
  line-height: 1.25;
}

.book-cover-subtitle {
  font-family: var(--font-serif);
  font-size: 13px;
  color: #bfae91;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.book-cover-art {
  width: 100%;
  height: 170px;
  background: radial-gradient(circle at center, #785023 0%, #301f0c 70%, #180f06 100%);
  border-radius: 4px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}

.book-cover-art svg {
  opacity: 0.75;
  color: #cca053;
}

.book-cover-author {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cca053;
  text-align: center;
}

/* Hero Content */
.hero-content {
  padding-left: 10px;
}

.pre-pub-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cca053;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.35;
  color: #e5ded2;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: #bfb7aa;
  max-width: 620px;
  margin-bottom: 30px;
}

.price-cta-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}

.price-display {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
}

.btn-buy-now {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-btn-cta);
  color: #1a1714;
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(204, 160, 83, 0.35);
  transition: all 0.2s ease;
  border: none;
}

.btn-buy-now:hover {
  background-color: var(--color-btn-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 160, 83, 0.5);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #c9c2b7;
}

.trust-item svg {
  color: #cca053;
  flex-shrink: 0;
}

/* Feature 3-Column Section */
.features-section {
  padding: 85px 0;
  background-color: #faf9f6;
  border-bottom: 1px solid #eae4d9;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.feature-col h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #1f1d1a;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.feature-col p {
  color: #57524b;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.btn-secondary {
  display: inline-block;
  background-color: #1f1d1a;
  color: #ffffff;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background-color: #3b3732;
}

/* Audience List */
.audience-list {
  list-style: none;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: #2b2824;
  border-bottom: 1px dashed #ded8cc;
}

.audience-item:last-child {
  border-bottom: none;
}

.audience-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c6a28;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 20px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #443e36;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #baa78e;
  overflow: hidden;
}

.author-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a544c;
  margin-bottom: 12px;
}

.read-more-link {
  font-size: 14px;
  font-weight: 600;
  color: #1f1d1a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more-link:hover {
  color: #cca053;
}

/* Blog Section */
.blog-section {
  padding: 85px 0 95px;
  background-color: #f4f0e8;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: #1f1d1a;
  margin-bottom: 8px;
}

.section-header p {
  color: #615a51;
  font-size: 15px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e8e2d8;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-thumb {
  height: 175px;
  background-color: #ddd6cc;
  overflow: hidden;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 12px;
  color: #8c857b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f1d1a;
  margin-bottom: 14px;
}

.blog-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: #1f1d1a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: #cca053;
}

/* Site Footer */
.site-footer {
  background-color: var(--color-footer-bg);
  color: #9c958a;
  padding: 50px 0 35px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #282420;
  margin-bottom: 25px;
}

.footer-branding {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #e5ded2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.footer-nav a {
  color: #b5ada2;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #b5ada2;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #cca053;
}

.footer-bottom {
  text-align: center;
  color: #6e675d;
}

/* Single Post & Page styling */
.entry-content {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.8;
  color: #2b2824;
}

.entry-title {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.entry-meta {
  text-align: center;
  color: #7a7266;
  margin-bottom: 40px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    padding-left: 0;
  }
  .price-cta-block {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* WooCommerce Checkout & Store Polish */
.woocommerce-checkout {
  background: #faf8f5;
  padding: 50px 0 80px;
}

.woocommerce-checkout .col2-set {
  margin-bottom: 30px;
}

.woocommerce form.checkout {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e2ddd5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid #cfc8be;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus {
  border-color: #cca053;
  outline: none;
}

.woocommerce-checkout #order_review_heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 16px;
  color: #1a1714;
}

.woocommerce-checkout #payment {
  background: #f7f4ee !important;
  border: 1px solid #e0dacf !important;
  border-radius: 6px;
  padding: 24px;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #e0dacf !important;
  padding-bottom: 16px;
}

.woocommerce-checkout #payment #place_order {
  background-color: var(--color-btn-cta) !important;
  color: #1a1714 !important;
  font-family: var(--font-sans);
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 16px 36px !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(204, 160, 83, 0.35);
  transition: all 0.2s ease;
}

.woocommerce-checkout #payment #place_order:hover {
  background-color: var(--color-btn-cta-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 160, 83, 0.5);
}

/* Order Received / Thank you styling */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 24px;
}

.woocommerce-order-received .woocommerce-table--order-downloads {
  border: 1px solid #cca053 !important;
  background: #fffdf9;
  border-radius: 6px;
  margin: 30px 0;
}

.woocommerce-order-received .woocommerce-table--order-downloads a.button {
  background-color: #cca053 !important;
  color: #1a1714 !important;
  font-weight: 700 !important;
  border-radius: 4px;
  padding: 12px 24px !important;
}

/* Profile / Account Icon & My Account Styling */
.user-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  color: #3b3630;
  transition: color 0.2s ease;
}

.user-icon-link:hover {
  color: #cca053;
}

.user-status-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #2e7d32;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* WooCommerce My Account Dashboard & Downloads */
.woocommerce-account .woocommerce {
  max-width: 960px;
  margin: 50px auto 80px;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e2ddd5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  border-bottom: 2px solid #e2ddd5;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation li a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  color: #1a1714;
  border-bottom-color: #cca053;
}

.woocommerce-MyAccount-downloads table.woocommerce-table--order-downloads {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.woocommerce-MyAccount-downloads table.woocommerce-table--order-downloads th {
  background: #f7f4ee;
  color: #1a1714;
  padding: 12px 14px;
  border-bottom: 2px solid #cca053;
}

.woocommerce-MyAccount-downloads table.woocommerce-table--order-downloads td {
  padding: 14px;
  border-bottom: 1px solid #eee8df;
}

.woocommerce-MyAccount-downloads a.woocommerce-MyAccount-downloads-file {
  background-color: #cca053 !important;
  color: #1a1714 !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(204,160,83,0.3);
}

.woocommerce-MyAccount-downloads a.woocommerce-MyAccount-downloads-file:hover {
  background-color: #b98e42 !important;
}

/* Full 3D Book Image Showcase */
.book-showcase-container {
  max-width: 360px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-3d-image {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(-16px 22px 35px rgba(0, 0, 0, 0.75));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.book-3d-image:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(-20px 28px 45px rgba(0, 0, 0, 0.9));
}

/* ========================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL & PROFILE POLISH
   ======================================================== */

/* Order Summary Download Banner */
.order-summary-download-card {
  background: #ffffff;
  border: 2px solid #cca053;
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  margin: 30px auto 40px;
  max-width: 800px;
  box-shadow: 0 6px 24px rgba(204, 160, 83, 0.15);
}

.order-card-icon {
  width: 60px;
  height: 60px;
  background: #eef7ee;
  color: #2e7d32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.order-summary-download-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #1a1714;
  margin-bottom: 10px;
}

.order-book-name {
  font-size: 15px;
  color: #444;
  margin-bottom: 24px;
}

.order-download-action {
  margin: 24px 0;
}

.btn-order-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-btn-cta);
  color: #1a1714;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(204, 160, 83, 0.35);
  transition: all 0.2s ease;
}

.btn-order-download:hover {
  background-color: var(--color-btn-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 160, 83, 0.5);
}

.order-download-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-top: 18px;
  border-top: 1px solid #f0eae1;
  padding-top: 16px;
}

.order-download-meta a {
  color: #8c6a28;
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #1a1714;
}

/* My Account & Profile Polish */
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  background: #f7f4ee;
  border: 1px solid #e0dacf;
  border-radius: 6px;
  padding: 10px 18px;
  display: inline-block;
  color: #1a1714;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: #cca053;
  color: #1a1714;
  border-color: #cca053;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #ffffff;
  border: 1px solid #e2ddd5;
  border-radius: 8px;
  padding: 30px;
}

/* Media Query: Tablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .site-branding {
    font-size: 20px;
    gap: 8px;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }

  /* Mobile Dropdown Nav */
  .site-navigation {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #e0dacf;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    padding: 15px 0;
    z-index: 999;
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .site-navigation li {
    width: 100%;
  }

  .site-navigation a {
    display: block;
    padding: 12px 24px;
    font-size: 16px;
    border-bottom: 1px solid #f5f2ec;
  }

  .header-actions {
    gap: 16px;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .book-showcase-container {
    max-width: 250px;
    margin: 0 auto;
  }

  .book-3d-image {
    max-width: 240px;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .hero-description {
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 auto 24px;
  }

  .price-cta-block {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .price-display {
    font-size: 36px;
  }

  .btn-buy-now {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 15px 24px;
    font-size: 16px;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-top: 18px;
  }

  .trust-item {
    font-size: 13px;
  }

  /* Features & Shop Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .features-section {
    padding: 50px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-section {
    padding: 50px 0;
  }

  /* WooCommerce Checkout Mobile */
  .woocommerce form.checkout {
    padding: 20px 16px;
  }

  .woocommerce-checkout #payment {
    padding: 16px 12px !important;
  }

  /* Archive Product / Book Page Mobile */
  .site-main div[style*="grid-template-columns: 360px 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 24px 18px !important;
    gap: 24px !important;
  }

  .order-summary-download-card {
    padding: 24px 16px;
  }

  .btn-order-download {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    justify-content: center;
  }
}

/* Media Query: Extra Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px !important;
  }

  .hero-subtitle {
    font-size: 16px !important;
  }

  .btn-buy-now {
    font-size: 15px;
    padding: 14px 20px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
