/*
  ============================================================
  Smiley Supreme — Premium Design System v2.0
  ============================================================
  Fonts     : Cinzel (headings) · Marcellus (body/labels/sub)
  Palette   : Warm cream · Soft parchment · Deep charcoal · Gold accent
  Motion    : GSAP-driven (nav) · CSS micro-transitions (cards/buttons)
  ============================================================
*/

/* ── Font Imports ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Marcellus&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Palette */
  --cream: #FDFAF5;
  --parchment: #F5F0E8;
  --linen: #EDE7D9;
  --gold: #B8935A;
  --gold-light: #D4AF7A;
  --gold-dark: #8C6A3A;
  --charcoal: #1C1C1C;
  --ink: #2D2820;
  --text-soft: #6B6259;
  --white: #FFFFFF;
  --border: rgba(184, 147, 90, 0.18);
  --border-light: #EDE7D9;

  /* Typography Scale — Refined for mobile clarity */
  --size-hero: clamp(2.5rem, 8vw, 4rem);
  --size-h1: clamp(1.9rem, 8vw, 4rem);
  --size-h2: clamp(1.6rem, 6vw, 2.8rem);
  --size-h3: clamp(1.3rem, 4vw, 1.6rem);
  --size-h4: 1.15rem;
  --size-body: 1.15rem;
  /* Larger base for luxury feel */
  --size-sm: 1rem;
  --size-xs: 0.85rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Surfaces & Depth */
  --shadow-xs: 0 2px 8px rgba(28, 28, 28, 0.04);
  --shadow-sm: 0 6px 20px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 16px 40px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 30px 60px rgba(28, 28, 28, 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast: 200ms;
  --dur-mid: 400ms;
  --dur-slow: 700ms;
  --transition: all var(--dur-mid) var(--ease-out);

  /* Nav glass */
  --nav-blur: blur(24px) saturate(1.6);
  --nav-bg-glass: rgba(253, 250, 245, 0.88);
  --nav-shadow: 0 1px 0 rgba(184, 147, 90, 0.12), 0 8px 32px rgba(28, 28, 28, 0.08);
}

/* ── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ──────────────────────────────────────────── */
h1,
h2,
h3,
.display,
.logo,
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--ink);
}

h4,
h5,
h6,
.section-subtitle,
.label,
.nav-links a,
.footer-title,
.btn {
  font-family: var(--font-sub);
  font-weight: 400;
}

p,
li,
.body-text {
  font-family: var(--font-body);
}

h1 {
  font-size: var(--size-h1);
}

h2 {
  font-size: var(--size-h2);
}

h3 {
  font-size: var(--size-h3);
}

h4 {
  font-size: var(--size-h4);
}

/* Utilities */
.serif {
  font-family: var(--font-display);
}

.sub {
  font-family: var(--font-sub);
}

.italic {
  font-style: italic;
}

.gold {
  color: var(--gold);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}

ul {
  list-style: none;
}

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

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

.section {
  padding: var(--space-xl) 0;
}

/* ── Section Typography Helpers ──────────────────────────── */
.section-label {
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--size-h2);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  font-size: var(--size-body);
  max-width: 580px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.4rem;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: var(--size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 24px rgba(184, 147, 90, 0.28);
  transform: translateY(-2px);
}

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

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

/* White variant for dark backgrounds */
.btn-white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Navigation ──────────────────────────────────────────── */
/* Remove all borders from navigation elements */
nav,
.navbar,
header {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* CSS handles the transition; JS only toggles .nav-glass */
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: none;
  outline: none;
  box-shadow: none;
  padding: 1.6rem 0;
  transition:
    background-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    backdrop-filter 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    -webkit-backdrop-filter 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* .nav-glass is toggled by JS on scroll — CSS handles everything else */
nav#navbar.nav-glass {
  background-color: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: none;
  border-bottom: none;
  outline: none;
  box-shadow: none;
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.45s ease;
}

nav#navbar.nav-glass .logo {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.35s ease;
  white-space: nowrap;
}

nav#navbar.nav-glass .nav-links a {
  color: var(--text-soft);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

nav#navbar.nav-glass .nav-links a:hover,
nav#navbar.nav-glass .nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav icons (cart / user) */
.nav-links .icon-link {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Persistent actions (visible on mobile) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-actions .icon-link {
  font-size: 1.15rem;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease-out);
  display: flex;
  align-items: center;
}

nav#navbar.nav-glass .nav-actions .icon-link {
  color: var(--ink);
}

.nav-actions .icon-link:hover {
  color: var(--gold);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

nav#navbar.nav-glass .mobile-toggle {
  background: rgba(184, 147, 90, 0.12);
}

.mobile-toggle i {
  display: none;
  /* Hide default icon since we use lines */
}

/* Animated Hamburger Lines */
.mobile-toggle .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 0.2s ease,
    background-color 0.2s ease;
}

nav#navbar.nav-glass .mobile-toggle .hamburger-line {
  background-color: var(--ink);
}

/* Active State Animation */
.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

nav#navbar.nav-glass .mobile-toggle:hover {
  background: rgba(184, 147, 90, 0.2);
}

/* ── Mobile Menu ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(400px, 92vw);
  height: 100vh;
  background: rgba(253, 250, 245, 0.96);
  /* Slightly transparent cream */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  padding: 7rem 3rem 4rem;
  transition: right var(--dur-slow) var(--ease-out);
  box-shadow: -15px 0 45px rgba(28, 28, 28, 0.08);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 1rem;
  transition: var(--transition);
}

.mobile-close:hover {
  background: var(--linen);
  color: var(--ink);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-links li {
  border-bottom: none;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: block;
  padding: 1.4rem 0;
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.mobile-menu-links a:hover {
  color: var(--gold);
  padding-left: 0.75rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.45);
  z-index: 1999;
  display: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-overlay.active {
  display: block;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  /* overflow: visible; — ensures text and animations never get clipped at edges */
}

/* Ensure all hero text is white */
.hero h1,
.hero p,
.hero .hero-label {
  color: var(--white) !important;
}

/* Hero buttons should keep their original colors */
.hero .hero-btns a.btn-primary {
  color: var(--white) !important;
}

.hero .hero-btns a.btn-white {
  color: var(--ink) !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Darker gradient for better contrast inside the card */
  background: linear-gradient(90deg,
      rgba(10, 8, 5, 0.70) 0%,
      rgba(10, 8, 5, 0.40) 50%,
      rgba(10, 8, 5, 0.10) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  padding: 3.5rem 0;
  /* Adjusted padding back to normal */
  margin-left: 0;
  margin-right: auto;

  /* Removed Glassmorphism Luxury Card per user request */
  transform: translateY(20px);
  animation: fadeUpHero 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeUpHero {
  to {
    transform: translateY(0);
    opacity: 1;
  }

  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.hero-label {
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-block;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: var(--size-hero);
  color: var(--white);
  margin-bottom: 1.6rem;
  line-height: 1.15;
  /* More serious, legible spacing */
  max-width: 800px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.2rem;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  /* No opacity:0 */
}

/* ── Page Header (inner pages) ───────────────────────────── */
.page-header {
  padding: 11rem 0 5rem;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--ink) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Brown themed page header for shop, about, and contact pages */
.page-header-brown {
  padding: 11rem 0 5rem;
  background: linear-gradient(135deg, #5D4037 0%, #3E2723 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1,
.page-header p,
.page-header .section-label,
.page-header-brown h1,
.page-header-brown p,
.page-header-brown .section-label {
  color: var(--white) !important;
}

.page-header-brown .section-label,
.page-header .section-label {
  opacity: 0.9;
}

.page-header::before,
.page-header-brown::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(184, 147, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1,
.page-header-brown h1 {
  font-size: var(--size-h1);
  margin-bottom: 0.75rem;
}

.page-header p,
.page-header-brown p {
  font-size: 1.2rem;
}

/* ── Intro / Feature Cards ───────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.intro-card {
  background: var(--white);
  padding: 3rem 2.2rem;
  border-radius: 3px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out);
  cursor: default;
}

.intro-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--dur-mid) var(--ease-out);
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.intro-card:hover::before {
  transform: scaleX(1);
}

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

.intro-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.intro-card p {
  font-size: var(--size-sm);
  color: var(--text-soft);
  line-height: 1.8;
}

/* ── Product Grid & Cards ────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

/* Featured Collection - Force 4 columns on desktop */
#featured-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img {
  height: 340px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-cinematic);
}

.product-card:hover .product-img img {
  transform: scale(1.07);
}



.product-info {
  padding: 1.6rem 1.8rem 1.8rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.product-price {
  font-family: var(--font-sub);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

/* Custom layout for complex pricing (e.g. pillowcases) */
.product-price.custom-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  line-height: 1.3;
}

.price-single {
  font-size: 0.85em;
  color: var(--text-soft);
  text-transform: none;
  letter-spacing: 0;
}

.price-pair {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}

.product-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

.product-actions .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

/* Card actions overlay for hover buttons */
.card-actions-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  z-index: 10;
}

.product-card:hover .card-actions-overlay {
  opacity: 1;
}

/* ── Value / Core Values Cards ───────────────────────────── */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.value-card {
  background: var(--white);
  padding: 2.8rem 1.8rem;
  border-radius: 3px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition:
    box-shadow var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.value-card p {
  font-size: var(--size-sm);
  color: var(--text-soft);
  line-height: 1.75;
}

/* ── About Layout ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: var(--size-h2);
  margin-bottom: 1.8rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.value-item p {
  font-size: var(--size-sm);
  color: var(--text-soft);
}

.about-img img {
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-slider {
  max-width: 680px;
  margin: 3rem auto 0;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  font-style: normal;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.client-name {
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, var(--gold-light) 100%);
  padding: 6rem 4rem;
  border-radius: 4px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: 0.06em;
}

.cta-box p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.88;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 6rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-desc {
  font-size: var(--size-sm);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
}

.footer-title {
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: var(--size-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--dur-fast) var(--ease-out);
}

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

.footer-links li i {
  color: var(--gold);
  width: 1rem;
  margin-right: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  font-size: 1.7rem;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

/* ── Section reveal (GSAP target) ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}

/* ── Global Forms ────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: var(--size-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.12);
}

/* ── Accessibility: Focus styles ─────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 3rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured Collection - 2 columns on tablet */
  #featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3.5rem;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    width: 44px;
    /* Accessible touch target */
    height: 44px;
  }

  /* Hero — Premium mobile framing */
  .hero {
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Space for navbar */
    padding-bottom: 40px;
  }

  .hero-overlay {
    /* Stronger overlay for mobile readability */
    background: linear-gradient(180deg,
        rgba(10, 8, 5, 0.90) 0%,
        rgba(10, 8, 5, 0.75) 50%,
        rgba(10, 8, 5, 0.50) 100%);
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
    margin: 0;
    text-align: center;
    /* Center text on mobile */
  }

  .hero-label {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-btns {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-btns .btn {
    text-align: center;
    width: auto;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Grids */
  .intro-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Featured Collection - 1 column on mobile */
  #featured-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Section spacing */
  .section {
    padding: 5rem 0;
  }

  /* CTA */
  .cta-box {
    padding: 4rem 1.5rem;
  }

  /* Testimonial */
  .testimonial-card {
    padding: 3rem 1.5rem;
  }
}

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

  .hero {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

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

  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-btns .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .product-img {
    height: 280px;
    /* Better proportion on small phones */
  }

  /* Responsive tweaks for the custom price layout */
  .product-price.custom-price {
    gap: 0.1rem;
    line-height: 1.2;
  }

  .price-single {
    font-size: 0.75em;
  }

  .price-pair {
    font-size: 0.9em;
  }

  .cta-box {
    padding: 3rem 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
}