/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-dark: #0a192f;
  --gold: #b8860b;
  --gold-light: #d4af37;
  --bg-color: #fcfbfa;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-title: #0a192f;
  --border-color: #e5e5e5;
  --white: #ffffff;
}

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

/* Remove default blue click outline; keep gold ring for keyboard Tab */
button,
.btn,
.filter-btn,
.product-btn,
.nav-toggle,
.theme-toggle-btn {
  -webkit-tap-highlight-color: transparent;
}

button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible),
.filter-btn:focus:not(:focus-visible),
.product-btn:focus:not(:focus-visible),
.nav-toggle:focus:not(:focus-visible),
.theme-toggle-btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

button:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.product-btn:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
}

/* Header */
header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem max(5%, env(safe-area-inset-right)) 1.5rem max(5%, env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--gold-light);
}

nav a.active {
  color: var(--gold-light);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-light);
}

.cart-icon {
  color: var(--gold-light);
  font-size: 1.2rem;
}

/* General Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero h1 {
  font-size: 3.8rem;
  color: var(--text-title);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-gold:hover {
  background-color: var(--gold-light);
  color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--white);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  max-height: 450px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-radius: 4px;
}

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

.rating-huge {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.rating-stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.badges {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.badge i {
  color: var(--gold);
  font-size: 1.8rem;
  opacity: 0.8;
}

/* Main Content Area */
.main-content {
  padding: 4rem 0;
  display: flex;
  gap: 4rem;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.content-left {
  flex: 2;
}

.content-right {
  flex: 1;
  max-width: 380px;
}

/* Filters */
.filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}

.filter-btn:active {
  transform: scale(0.95);
}

.filter-btn.active {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-image {
  height: 336px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1025px) {
  .product-image {
    height: 352px;
  }
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-title);
  line-height: 1.3;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-btn {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-btn:active:not(:disabled) {
  transform: translateY(0);
}

.product-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Forms */
.form-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 2rem;
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.form-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--input-bg);
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  line-height: 1.6;
  flex-grow: 1;
}

.review-text::before {
  content: '“';
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  position: absolute;
  top: -15px;
  left: -10px;
  opacity: 0.4;
  line-height: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.author-info h4 {
  font-size: 0.95rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-title);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* Featured Review */
.featured-review {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 8px;
  margin-top: 3rem;
  border: 2px solid var(--gold);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 3rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.4rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.featured-text {
  flex: 1;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem max(5%, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(5%, env(safe-area-inset-left));
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-feature i {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.8;
}

.footer-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin: 0 0 0.3rem 0;
  font-weight: 500;
}

.footer-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  text-align: right;
  line-height: 1.2;
}

/* Home page highlight cards */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.home-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}

.home-card > i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.home-card h3 {
  font-size: 1.35rem;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.home-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.home-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.home-card-link i {
  font-size: 0.8rem;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.home-card:hover .home-card-link i {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .home-highlights {
    padding: 3rem 0;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero .badges {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* About page */
.about-hero {
  padding-bottom: 3rem;
}

.about-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-portrait img {
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1;
  width: 100%;
  max-width: 420px;
}

.about-body {
  padding: 2rem 0 4rem;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.card-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.about-intro {
  margin-bottom: 2.5rem;
}

.about-intro p {
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.about-block h2 {
  font-size: 1.45rem;
  color: var(--text-title);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-block h2 i {
  color: var(--gold);
  font-size: 1.15rem;
}

.about-block p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-block p:last-of-type {
  margin-bottom: 0;
}

.about-book-list,
.about-brand-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.about-book-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 0.98rem;
}

.about-book-list li:last-child {
  border-bottom: none;
}

.about-book-list em {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  color: var(--text-title);
}

.about-brand-list li {
  padding: 0.4rem 0;
  color: var(--text-dark);
}

.about-brand-list strong {
  color: var(--text-title);
}

.about-block-note {
  font-size: 0.9rem;
  font-style: italic;
}

.about-cta {
  margin-top: 1.25rem;
}

.about-tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.about-tag-list li {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-color);
}

.about-block-wide {
  grid-column: 1 / -1;
}

.about-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.about-regions span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-title);
}

.about-regions i {
  color: var(--gold);
  margin-right: 0.35rem;
}

.about-closing {
  text-align: center;
}

.about-closing h2 {
  font-size: 2rem;
  color: var(--text-title);
  margin-bottom: 1rem;
}

.about-closing p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.about-closing .hero-actions {
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-block-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .about-body {
    padding-bottom: 2.5rem;
  }

  .card-panel {
    padding: 1.75rem;
  }

  .about-closing h2 {
    font-size: 1.65rem;
  }

  .about-regions {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Partners page */
.partners-banner {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.partners-banner .about-eyebrow {
  color: var(--gold-light);
}

.partners-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.25rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.partners-banner p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  font-size: 1.05rem;
}

.partners-section {
  padding: 4rem 0;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

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

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 2rem 2.5rem;
  background: var(--primary-dark);
  color: var(--white);
}

/* White-on-black logo files: lighten hides black pixels on the dark strip */
.partner-logo-img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo-img {
  transform: scale(1.04);
}

.partner-logo-fallback {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
}

.partner-meta {
  padding: 1.75rem 2rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.partner-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.85rem;
}

.partner-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text-title);
  margin-bottom: 0.65rem;
}

.partner-meta p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.partners-note {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
}

.partners-note-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.partners-note h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.partners-note p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.partners-note code {
  font-size: 0.85em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .partners-banner {
    padding: 3rem 0;
  }

  .partners-banner h1 {
    font-size: 2.35rem;
  }

  .partners-section {
    padding: 2.5rem 0;
  }

  .partners-note {
    flex-direction: column;
    padding: 1.75rem;
  }
}

/* Contact page */
.contact-banner {
  padding-bottom: 3.5rem;
}

.contact-section {
  padding: 4rem 0;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.contact-form-card {
  position: static;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-card h3 {
  color: var(--text-title);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-card p {
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.contact-card a {
  color: var(--text-title);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--gold);
}

.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-title) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.social-link-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.social-link-item:hover {
  background: var(--primary-dark);
  color: var(--gold-light) !important;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.social-link-item:hover i {
  color: var(--gold-light);
}

.threads-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 2.5rem 0;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.25rem;
  }
}

/* Promo Card */
.promo-card {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.promo-card h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.promo-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.8);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.theme-toggle-btn:hover {
  color: var(--gold-light);
  transform: rotate(20deg);
}

/* Page Change / Load Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust strip (order page) */
.trust-strip {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.trust-strip i {
  color: var(--gold);
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

nav ul li {
  position: relative;
}

.cart-icon span {
  background: var(--gold) !important;
  color: var(--white) !important;
}

/* —— Responsive: tablet & mobile (themes use CSS variables only) —— */

/* Tablet landscape / small laptop */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 3.5rem 0;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .main-content {
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .content-left,
  .content-right {
    flex: 0 0 auto;
  }

  .content-right {
    max-width: none;
    width: 100%;
  }

  .form-card {
    position: static;
    top: auto;
  }

  .footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
  }

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

  .reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* Tablet portrait & large phones */
@media (max-width: 768px) {
  header {
    padding: 1rem 4%;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    order: 3;
  }

  header.nav-open nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.25rem;
  }

  nav ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav ul li:first-child {
    border-top: none;
  }

  nav a {
    display: block;
    padding: 0.85rem 0.25rem;
  }

  nav a.active::after {
    display: none;
  }

  .logo-main {
    font-size: 1.35rem;
    letter-spacing: 1px;
  }

  .logo-sub {
    font-size: 0.7rem;
  }

  .hero {
    flex-direction: column;
    padding: 2.5rem 0;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
    width: 100%;
  }

  .hero-image img {
    max-height: 320px;
    width: 100%;
    object-fit: cover;
  }

  .stats-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .stats-row > div:last-child {
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
  }

  .badges {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
  }

  .badge {
    justify-content: center;
  }

  .filters {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    overflow: visible;
  }

  .filter-btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
  }

  .filter-btn:hover {
    transform: translateY(-2px);
  }

  .filter-btn:active {
    transform: translateY(0);
  }

  .main-content {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    scroll-margin-top: 5rem;
  }

  .form-card {
    padding: 1.75rem;
  }

  .featured-review {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .featured-badge {
    left: 1.5rem;
  }

  .featured-content {
    flex-direction: column;
    gap: 1rem;
  }

  .featured-text {
    font-size: 1.1rem;
  }

  footer {
    padding: 3rem 4% 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .trust-strip {
    margin-top: 2.5rem;
    padding: 1.5rem 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .product-image {
    height: 331px;
  }
}

/* Phones */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  header {
    padding: 0.85rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .rating-huge {
    font-size: 2.75rem;
  }

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

  .product-image {
    height: 380px;
  }

  .form-card h3 {
    font-size: 1.25rem;
  }

  .promo-card {
    padding: 1.75rem 1.25rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .featured-review {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .featured-badge {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.35rem 1rem;
  }
}

/* Prevent horizontal scroll without clipping vertical spacing (body overflow-x breaks mobile margins) */
html {
  overflow-x: clip;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
}
