/* ============================================
   Cake Bake Shoppe — Mockup
   Warm boutique bakery aesthetic
   Teal accent • Warm cream base • Gold touches
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #FFFAF5;
  --bg-warm: #FFF0E6;
  --bg-rose: #F5E6E0;
  --surface: #FFFFFF;
  --text: #2D1810;
  --text-muted: #7A6455;
  --text-light: #A89585;
  --accent: #008B8B;
  --accent-hover: #006D6D;
  --accent-soft: rgba(0, 139, 139, 0.1);
  --accent-glow: rgba(0, 139, 139, 0.15);
  --gold: #C9A96E;
  --gold-soft: rgba(201, 169, 110, 0.15);
  --rose: #D4918E;
  --rose-soft: rgba(212, 145, 142, 0.15);
  --white: #FFFFFF;
  --border: rgba(45, 24, 16, 0.08);
  --border-warm: rgba(45, 24, 16, 0.05);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(45, 24, 16, 0.06);
  --shadow-md: 0 8px 32px rgba(45, 24, 16, 0.08);
  --shadow-lg: 0 16px 48px rgba(45, 24, 16, 0.12);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Mockup Banner --- */
.mockup-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e0e0e0;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--accent);
}
.mockup-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mockup-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.mockup-banner p { margin: 0; }
.mockup-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mockup-banner a:hover { color: #fff; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-warm);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255, 250, 245, 0.96);
  box-shadow: 0 2px 20px rgba(45, 24, 16, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-img {
  height: 52px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: var(--text-muted);
  position: relative;
}
.nav-links a:not(.nav-cta):hover,
.nav-links a.nav-active { color: var(--accent); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 139, 139, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--text);
}
.btn-block { width: 100%; }

/* --- Sections --- */
.section {
  padding: 6rem 0;
}
.section-warm {
  background: var(--bg-warm);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-header h2,
.about-text h2,
.contact-info h2,
.flavour-text h2,
.nutfree-layout h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}
.section-header h2 em,
.about-text h2 em,
.contact-info h2 em,
.flavour-text h2 em {
  font-style: italic;
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 24, 16, 0.78) 0%,
    rgba(45, 24, 16, 0.55) 40%,
    rgba(45, 24, 16, 0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  width: 100%;
}
.hero-text {
  max-width: 620px;
}
.hero-nut-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 139, 139, 0.2);
  border: 1px solid rgba(0, 139, 139, 0.4);
  color: #5DD3D3;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* --- Ticker --- */
.ticker {
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.ticker-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}
.product-info {
  padding: 1.4rem 1.5rem;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.product-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.product-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.product-card-feature {
  grid-column: span 2;
}
.product-card-feature .product-img {
  aspect-ratio: 16 / 7;
}

/* --- Flavour of the Month --- */
.flavour-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.flavour-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.flavour-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.flavour-sticker {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 139, 139, 0.3);
}
.flavour-sticker-month {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
}
.flavour-sticker-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.flavour-text .section-tag { margin-bottom: 0.75rem; }
.flavour-text h2 { margin-bottom: 1.25rem; }
.flavour-text > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.flavour-note {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.flavour-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.flavour-note a:hover { color: var(--accent-hover); }

/* --- Nut-Free Callout --- */
.section-nutfree {
  background: var(--bg-rose);
  position: relative;
  overflow: hidden;
}
.section-nutfree::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 139, 139, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.nutfree-layout {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.nutfree-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.nutfree-layout h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.nutfree-layout > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.nutfree-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.nutfree-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
}

/* --- Reviews --- */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.reviews-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviews-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.reviews-stars {
  display: flex;
  gap: 2px;
}
.reviews-stars .star {
  color: var(--gold);
  font-size: 1.3rem;
}
.reviews-stars .star.half {
  background: linear-gradient(90deg, var(--gold) 50%, #ddd 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reviews-count {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.reviews-link {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
}
.reviews-link:hover { color: var(--accent-hover); }

.reviews-marquee {
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: reviewsScroll 200s linear infinite;
  width: max-content;
}
.reviews-track:hover {
  animation-play-state: paused;
}
@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  flex-shrink: 0;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.review-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 1rem;
}
.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-warm);
}
.review-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.review-via {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* --- About --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-since {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0, 139, 139, 0.3);
}
.about-since-year {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.about-since-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}
.about-text .section-tag { margin-bottom: 0.75rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-awards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.award-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.award-item svg { color: var(--gold); flex-shrink: 0; }

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 0.75rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-detail h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.contact-detail a,
.contact-detail p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--accent); }
.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 139, 139, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.contact-notice svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-notice p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-links-grid h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-links-grid a,
.footer-links-grid p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-links-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition), transform var(--transition);
}
.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger product cards */
.product-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.product-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.product-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.product-card.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ==========================================
   Gallery Page Styles
   ========================================== */

/* --- Gallery Header --- */
.gallery-hero {
  background: var(--bg-warm);
  text-align: center;
  padding: 5rem 2rem 3rem;
}
.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.gallery-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.gallery-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Gallery Filter Tabs --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}
.filter-tab {
  padding: 0.55rem 1.3rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-tab.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 24, 16, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}
.gallery-item.hidden {
  display: none;
}

/* --- Gallery CTA --- */
.gallery-cta {
  text-align: center;
  padding: 4rem 2rem 6rem;
  background: var(--bg-rose);
}
.gallery-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.gallery-cta h2 em {
  font-style: italic;
  color: var(--accent);
}
.gallery-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
  .hero-content { padding: 4rem 2rem 3rem; }
  .hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-feature { grid-column: span 2; }
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .flavour-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -10px 0 40px rgba(45, 24, 16, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    padding: 0.85rem 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--border-warm);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    display: block;
  }

  /* Hero mobile */
  .hero { min-height: 80vh; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-scroll { display: none; }

  /* Products mobile */
  .products-grid { grid-template-columns: 1fr; }
  .product-card-feature { grid-column: span 1; }
  .product-card-feature .product-img { aspect-ratio: 4 / 3; }

  /* Flavour mobile */
  .flavour-layout { gap: 2rem; }

  /* Reviews mobile */
  .review-card { width: 300px; }
  .reviews-summary { flex-direction: column; text-align: center; gap: 1rem; }

  /* Contact mobile */
  .contact-details { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer mobile */
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Gallery mobile */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-hero { padding: 3.5rem 1.5rem 2rem; }
  .gallery-filters { padding: 1.5rem 1.25rem 0; }
  .filter-tab { padding: 0.45rem 1rem; font-size: 0.8rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-nut-free-badge { font-size: 0.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .nutfree-badges { flex-direction: column; align-items: center; }
  .footer-links-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Nav Icons (Account + Cart)
   ========================================== */

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}
.nav-icons.mobile-only {
  display: none;
}
.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-icon-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ==========================================
   Cart Drawer
   ========================================== */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(45, 24, 16, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  z-index: 200;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.cart-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.cart-drawer-close:hover {
  background: var(--border);
  color: var(--text);
}
.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--text-light);
  text-align: center;
}
.cart-drawer-empty svg {
  color: var(--border);
}
.cart-drawer-empty p {
  font-size: 0.92rem;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.cart-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-warm);
  position: relative;
}
.drawer-item:last-child {
  border-bottom: none;
}
.drawer-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-warm);
}
.drawer-item-info {
  flex: 1;
  min-width: 0;
}
.drawer-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-variant {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.drawer-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.drawer-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.qty-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.qty-value {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  line-height: 30px;
}
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-picker .qty-btn { width: 36px; height: 36px; }
.qty-picker .qty-value {
  width: 40px;
  line-height: 36px;
}
.drawer-item-remove {
  position: absolute;
  top: 1rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.drawer-item-remove:hover {
  color: var(--rose);
  background: var(--rose-soft);
}
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.cart-drawer-subtotal-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}
.cart-drawer-footer .btn {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
}
.cart-drawer-continue {
  display: block;
  width: 100%;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.cart-drawer-continue:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================
   Breadcrumbs
   ========================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-sep {
  color: var(--border);
  font-size: 0.7rem;
}
.breadcrumb span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================
   Shop Page (collections overview)
   ========================================== */

.shop-hero {
  background: var(--bg-warm);
  text-align: center;
  padding: 5rem 2rem 3rem;
}
.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.shop-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.shop-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.shop-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.shop-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop-card:hover .shop-card-img img {
  transform: scale(1.06);
}
.shop-card-info {
  padding: 1.4rem 1.5rem;
}
.shop-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.shop-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.shop-card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}
.shop-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ==========================================
   Trust Bar
   ========================================== */

.trust-bar {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-bar-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* ==========================================
   Ordering Info
   ========================================== */

.ordering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.ordering-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ordering-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ordering-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
}
.ordering-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.ordering-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   Shop Preview on Homepage
   ========================================== */

.shop-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.shop-preview-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.shop-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.shop-preview-card-img {
  aspect-ratio: 1;
  overflow: hidden;
}
.shop-preview-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop-preview-card:hover .shop-preview-card-img img {
  transform: scale(1.05);
}
.shop-preview-card-info {
  padding: 0.85rem 1rem;
  text-align: center;
}
.shop-preview-card-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.shop-preview-card-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.shop-preview-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  gap: 0.5rem;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  min-height: 200px;
}
.shop-preview-more:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}
.shop-preview-more svg {
  transition: transform var(--transition);
}
.shop-preview-more:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   Collection Page (product listing)
   ========================================== */

.collection-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-warm);
}
.collection-filters-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.collection-filters-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.collection-sort {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.collection-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.collection-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.collection-card:hover .collection-card-img img {
  transform: scale(1.05);
}
.collection-card-info {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.collection-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.collection-card-info h3 a {
  color: inherit;
  text-decoration: none;
}
.collection-card-info h3 a:hover {
  color: var(--accent);
}
.collection-card-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.collection-card-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  margin-bottom: 0.75rem;
}
.collection-card-add {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}
.collection-card-add:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==========================================
   Product Page
   ========================================== */

.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.product-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: 6rem;
}
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}
.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--accent);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-details {
  padding-top: 0.5rem;
}
.product-details h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.price-note {
  font-size: 0.82rem;
  color: var(--text-light);
}
.product-nutfree-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 139, 139, 0.2);
  color: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.product-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-warm);
}
.product-variants {
  margin-bottom: 1.5rem;
}
.product-variants-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.product-variants-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.variant-btn {
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.variant-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.variant-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
/* --- Product Options Form --- */
.product-options {
  margin-bottom: 1.5rem;
}
.product-option-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-warm);
}
.product-option-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.option-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.option-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A6455' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.option-select:focus {
  outline: none;
  border-color: var(--accent);
}
.option-text {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.option-text:focus {
  outline: none;
  border-color: var(--accent);
}
.option-text::placeholder {
  color: var(--text-light);
}
.option-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option-checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.option-checkbox:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.option-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}
.option-checkbox input[type="checkbox"]:checked ~ .option-price,
.option-checkbox:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.option-price {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}
.option-upload-btn {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.6;
}
.option-upload-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.product-quantity-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.btn-add-cart {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  margin-bottom: 1.5rem;
}
.btn-add-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 139, 139, 0.2);
}
.product-notices {
  list-style: none;
  margin-bottom: 1.5rem;
}
.product-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-notice svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Detail Accordion */
.detail-section {
  border-top: 1px solid var(--border-warm);
}
.detail-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.detail-toggle:hover {
  color: var(--accent);
}
.detail-toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-light);
}
.detail-section.open .detail-toggle svg {
  transform: rotate(45deg);
}
.detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.detail-section.open .detail-content {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* Related Products */
.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-warm);
}
.related-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ==========================================
   Cart Page
   ========================================== */

.cart-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.cart-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2rem;
}
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.cart-items {
  list-style: none;
}
.cart-item-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-warm);
}
.cart-item-row img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-warm);
}
.cart-item-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.cart-item-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}
.cart-item-price {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
}
.cart-item-total {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  white-space: nowrap;
}
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.cart-item-remove:hover {
  color: var(--rose);
  background: var(--rose-soft);
}
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 6rem;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-warm);
}
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--border);
}
.cart-summary-row.total span:last-child {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.cart-summary .btn {
  margin-top: 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.cart-empty svg {
  color: var(--border);
  margin-bottom: 1.5rem;
}
.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.cart-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cart-item-qty .qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  transition: background var(--transition);
}
.cart-item-qty .qty-btn:hover {
  background: var(--border);
}
.cart-item-qty .qty-value {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.cart-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cart-notice svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent);
}
.cart-notice p {
  margin: 0;
}
.cart-clear-wrap {
  padding: 1rem 0;
  text-align: right;
}
.cart-clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  transition: color var(--transition);
}
.cart-clear-btn:hover {
  color: var(--rose);
}

/* ==========================================
   Wedding Section
   ========================================== */

.section-wedding {
  background: linear-gradient(135deg, var(--bg-rose) 0%, var(--bg-warm) 100%);
  padding: 6rem 0;
}
.wedding-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.wedding-text .section-tag {
  margin-bottom: 0.75rem;
}
.wedding-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.wedding-text h2 em {
  font-style: italic;
  color: var(--accent);
}
.wedding-text > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.wedding-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.wedding-feature {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.wedding-feature svg {
  color: var(--accent);
  flex-shrink: 0;
}
.wedding-images {
  position: relative;
}
.wedding-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wedding-img-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.wedding-testimonial {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  max-width: 320px;
}
.wedding-testimonial p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.wedding-testimonial-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.wedding-testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

/* ==========================================
   FAQ Accordion
   ========================================== */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--accent);
}
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-light);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* ==========================================
   Responsive — New Components
   ========================================== */

@media (max-width: 1024px) {
  /* Shop grid */
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-preview-grid { grid-template-columns: repeat(3, 1fr); }

  /* Collection grid */
  .collection-grid { grid-template-columns: repeat(2, 1fr); }

  /* Product page */
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { position: static; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }

  /* Cart page */
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  /* Ordering */
  .ordering-grid { grid-template-columns: repeat(3, 1fr); }

  /* Wedding */
  .wedding-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .wedding-testimonial { position: relative; bottom: auto; left: auto; margin-top: 1rem; max-width: 100%; }
}

@media (max-width: 768px) {
  /* Nav icons in mobile drawer */
  .nav-icons.desktop-only { display: none; }
  .nav-icons.mobile-only {
    display: flex;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-warm);
    justify-content: center;
    gap: 1rem;
  }

  /* Shop grid */
  .shop-grid { grid-template-columns: 1fr; }
  .shop-preview-grid { grid-template-columns: repeat(2, 1fr); }

  /* Ordering */
  .ordering-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .ordering-card { padding: 1.5rem 1.25rem; }

  /* Trust bar */
  .trust-bar { padding: 0.75rem 1rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .trust-bar-item { font-size: 0.8rem; }

  /* Collection */
  .collection-filters { flex-wrap: wrap; padding: 1rem 1.25rem; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem 1.25rem; }

  /* Product page */
  .product-page { padding: 1.5rem 1.25rem; }
  .product-gallery-thumb { width: 56px; height: 56px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cart page */
  .cart-item-row {
    grid-template-columns: 64px 1fr;
    gap: 0.75rem;
  }
  .cart-item-price,
  .cart-item-total { font-size: 0.85rem; }

  /* Breadcrumb */
  .breadcrumb { padding: 0.75rem 1.25rem; font-size: 0.78rem; }

  /* Wedding */
  .wedding-layout { gap: 2rem; }
  .wedding-img-main img { aspect-ratio: 4 / 3; }

  /* FAQ */
  .faq-question { padding: 1rem 1rem; font-size: 0.92rem; }
  .faq-answer { padding: 0 1rem; }
  .faq-item.open .faq-answer { padding: 0 1rem 1rem; }
}

@media (max-width: 480px) {
  /* Shop */
  .shop-preview-grid { grid-template-columns: 1fr 1fr; }
  .shop-preview-more { min-height: 160px; }

  /* Collection */
  .collection-grid { grid-template-columns: 1fr; }

  /* Product */
  .product-details h1 { font-size: 1.6rem; }
  .variant-btn { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

  /* Cart page */
  .cart-item-row { grid-template-columns: 1fr; text-align: center; }
  .cart-item-row img { margin: 0 auto; }
  .cart-summary { padding: 1.25rem; }

  /* Related */
  .related-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Wedding */
  .wedding-testimonial { padding: 1rem; }
}
