/** Shopify CDN: Minification failed

Line 141:0 All "@import" rules must come first
Line 2799:0 Unexpected "@media"

**/
/* UNIVERSAL VISIBILITY FIX - content always visible by default */
.fade-in, .slide-left, .slide-right,
.fade-in:not(.will-animate), .slide-left:not(.will-animate), .slide-right:not(.will-animate) {
  opacity: 1 !important;
  transform: none !important;
}
.fade-in.will-animate { opacity: 0 !important; transform: translateY(20px) !important; transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-left.will-animate { opacity: 0 !important; transform: translateX(-30px) !important; transition: all 0.6s ease; }
.slide-right.will-animate { opacity: 0 !important; transform: translateX(30px) !important; transition: all 0.6s ease; }
.fade-in.will-animate.visible, .slide-left.will-animate.visible, .slide-right.will-animate.visible {
  opacity: 1 !important; transform: none !important;
}

/* cache-bust: 2026-05-04T08:04:05.791785 */

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === ADA/WCAG ACCESSIBILITY === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-deep);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 100000;
  border-radius: 0 0 6px 6px;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Focus-visible for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(198, 163, 78, 0.2);
}

/* Remove default outline only when focus-visible is supported */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Footer heading style (now h3 instead of h4) */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Ensure reduced motion preference is respected */

/* Homepage product card variant selector */
.card-variant-select {
  margin-bottom: 8px;
}
.card-variant-select select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(10, 26, 16, 0.6);
  border: 1px solid rgba(198, 163, 78, 0.25);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  appearance: none;
  -webkit-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='%23c6a34e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.card-variant-select select:focus {
  outline: none;
  border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn-gold, .btn-outline {
    border: 2px solid ButtonText;
  }
  .header-icon, .mobile-toggle {
    border: 1px solid ButtonText;
  }
}

/* ============================================
   GREEN MAN COFFEE CO. — v14 COMPLETE REDESIGN
   Premium Art Nouveau / Craft Coffee
   ============================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* --- VARIABLES --- */
:root {
  --green-deep: #0f2318;
  --green-mid: #1a3a2a;
  --green-light: #2d5a3f;
  --gold: #c6a34e;
  --gold-light: #e8d48b;
  --gold-dark: #8b6914;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --ruby: #8b2252;
  --sapphire: #1a4a7a;
  --emerald: #1a6b4a;
  --amber: #c67c1a;
  --amethyst: #6b3fa0;
  --font-display: "Cinzel Decorative", serif;
  --font-heading: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-ui: "Montserrat", sans-serif;
}

/* --- RESET --- */
*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--green-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1001;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--green-deep);
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 60px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ============================================
   SITE HEADER — Desktop
   ============================================ */
.site-header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background: rgba(15, 35, 24, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 163, 78, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.header-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: text-shadow 0.3s;
}
.header-logo:hover {
  text-shadow: 0 0 15px rgba(198, 163, 78, 0.4);
}
.header-logo .logo-short { display: none; }
.header-logo .logo-full { display: inline; }
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.header-nav a:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.header-nav a:hover { color: var(--gold); }
.header-nav a:hover:after { width: 100%; }

/* Header Icons */
.header-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.header-icons a {
  color: var(--cream);
  font-size: 1.1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.header-icons a:hover { color: var(--gold); }
.cart-count {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  vertical-align: super;
  margin-left: 1px;
}

/* ============================================
   MOBILE TOGGLE (hamburger)
   ============================================ */
.mobile-toggle {
  display: none;
  background: rgba(198, 163, 78, 0.06);
  border: 1px solid rgba(198, 163, 78, 0.25);
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.3s;
  width: 40px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
}
.mobile-toggle:hover,
.mobile-toggle:active {
  background: rgba(198, 163, 78, 0.15);
  border-color: var(--gold);
  transform: scale(1.05);
}

/* ============================================
   MOBILE NAV FLYOUT — Art Nouveau Premium Drawer
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--green-deep);
  background-image: url('/cdn/shop/files/adobe-autumn-stainedglass.webp?v=1777640560');
  background-size: cover;
  background-position: center;
  z-index: 10000;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -12px 0 60px rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(198, 163, 78, 0.3);
}
/* Dark overlay on top of stained glass bg */
.mobile-nav::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 26, 16, 0.92) 0%, rgba(13, 31, 21, 0.88) 50%, rgba(10, 26, 16, 0.94) 100%);
  z-index: -1;
  pointer-events: none;
}
body.menu-open .mobile-nav {
  display: flex;
  right: 0;
}
body.menu-open { overflow: hidden; }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
body.menu-open .mobile-nav-overlay { display: block; }

/* Mobile Nav Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 2px solid rgba(198, 163, 78, 0.25);
  background: rgba(10, 26, 16, 0.5);
}
.mobile-nav-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.mobile-nav-close {
  background: rgba(198, 163, 78, 0.08);
  border: 1px solid rgba(198, 163, 78, 0.4);
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}
.mobile-nav-close:hover,
.mobile-nav-close:active {
  background: rgba(198, 163, 78, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(198, 163, 78, 0.3);
}

/* Mobile Nav Links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 20px 32px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}
.mobile-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 163, 78, 0.12), rgba(198, 163, 78, 0.06));
}
.mobile-nav-links a:last-child::after { display: none; }
.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  color: var(--gold);
  background: linear-gradient(90deg, rgba(198, 163, 78, 0.12), transparent);
  border-left-color: var(--gold);
  text-shadow: 0 0 8px rgba(198, 163, 78, 0.3);
}
.mobile-nav-links a svg {
  opacity: 0.6;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.mobile-nav-links a:hover svg,
.mobile-nav-links a:active svg {
  opacity: 1;
  stroke: var(--gold);
}
.mobile-nav-links a .nav-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  opacity: 0.7;
}

/* Mobile Nav Divider — Art Nouveau ornamental */
.mobile-nav-divider {
  height: 20px;
  margin: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav-divider::before,
.mobile-nav-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 163, 78, 0.35), transparent);
}
.mobile-nav-divider::before {
  background: linear-gradient(90deg, transparent, rgba(198, 163, 78, 0.35));
}
.mobile-nav-divider::after {
  background: linear-gradient(90deg, rgba(198, 163, 78, 0.35), transparent);
}

/* Secondary links — smaller, muted */
.mobile-nav-links.secondary a {
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: rgba(245, 240, 232, 0.6);
  padding: 14px 28px;
}
.mobile-nav-links.secondary a:hover,
.mobile-nav-links.secondary a:active {
  color: var(--gold);
}

/* Mobile Nav Footer */
.mobile-nav-footer {
  margin-top: auto;
  padding: 24px 28px 32px;
  border-top: 2px solid rgba(198, 163, 78, 0.2);
  text-align: center;
  background: rgba(10, 26, 16, 0.4);
}
.mobile-nav-footer .mobile-nav-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mobile-nav-footer .mobile-nav-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(198, 163, 78, 0.25);
  border: 1px solid rgba(198, 163, 78, 0.4);
}
.mobile-nav-footer .mobile-nav-cta:hover,
.mobile-nav-footer .mobile-nav-cta:active {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(198, 163, 78, 0.4);
  transform: translateY(-1px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 163, 78, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(198, 163, 78, 0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(198, 163, 78, 0.4);
}
.btn-dark {
  background: var(--green-deep);
  color: var(--gold);
  border: 1px solid rgba(198, 163, 78, 0.3);
}
.btn-dark:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}
.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(198, 163, 78, 0); }
  50% { box-shadow: 0 0 20px rgba(198, 163, 78, 0.25); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  background-image:
    radial-gradient(ellipse at center, rgba(15,35,24,0.3) 0%, rgba(10,20,14,0.85) 70%),
    url('https://d2xsxph8kpxj0f.cloudfront.net/310519663426384781/FfqPSo2k8vB8Jdt73H5vij/hero-bg-rich-jpDAVNvQpwJE59eSgVa4HD.webp');
  background-size: cover;
  background-position: center;
}
.hero-content { max-width: 600px; }
.hero-logo{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.92);
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: rgba(198, 163, 78, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SECTIONS — Base
   ============================================ */
.section, .section-cream, .section-dark, .section-subscribe, .section-cta, .section-alt {
  padding: 56px 40px;
  text-align: center;
  position: relative;
}
.section-cream, .section-alt {
  background: var(--cream);
  color: var(--green-deep);
}
.section-dark, .section {
  background: var(--green-deep);
  color: var(--cream);
}

/* Green leaf stained glass background on cream sections */
.section-cream {
  background-image:
    linear-gradient(to bottom, rgba(250,247,242,0.88), rgba(250,247,242,0.85)),
    url('/cdn/shop/files/adobe-greenleaf-stainedglass.webp?v=1777640567');
  background-size: cover;
  background-position: center;
}

/* Subtle radial glow on dark sections */
.section-dark, .section {
  background-image:
    radial-gradient(circle at 85% 15%, rgba(198,163,78,0.06) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(45,90,63,0.12) 0%, transparent 40%);
}

/* Gold line divider at top of sections */
.section-cream::before,
.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,163,78,0.3), transparent);
}

/* Subscribe section with autumn stained glass bg */
.section-subscribe {
  background-image:
    linear-gradient(135deg, rgba(15,35,24,0.82), rgba(26,58,42,0.75)),
    url('/cdn/shop/files/adobe-autumn-stainedglass.webp?v=1777640560');
  background-size: cover;
  background-position: center;
}

/* CTA section with Mucha gallery bg */
.section-cta {
  background-image:
    linear-gradient(135deg, rgba(15,35,24,0.78), rgba(26,58,42,0.72)),
    url('/cdn/shop/files/adobe-mucha-gallery.webp?v=1777639870');
  background-size: cover;
  background-position: center;
}

/* About page alt sections with ginkgo stained glass */
.section-alt {
  background-image:
    linear-gradient(to bottom, rgba(250,247,242,0.90), rgba(250,247,242,0.87)),
    url('/cdn/shop/files/adobe-ginkgo-stainedglass.webp?v=1777639878');
  background-size: cover;
  background-position: center;
}

/* ============================================
   OVERLINE / LABEL
   ============================================ */
.overline, .section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ruby);
}
.overline.gold, .section-label.jewel-gold { color: var(--gold); }
.section-label.jewel-ruby { color: var(--ruby); }
.section-label.jewel-emerald { color: var(--emerald); }
.section-label.jewel-sapphire { color: var(--sapphire); }
.section-label.jewel-amethyst { color: var(--amethyst); }

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.section-title.dark { color: var(--green-deep); }
.section-title.left { text-align: left; }

/* ============================================
   PROCESS / CRAFT BLOCKS
   ============================================ */
.process-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
  text-align: left;
}
.process-block.reverse { direction: rtl; }
.process-block.reverse > * { direction: ltr; }
.process-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-text-wrap { padding: 8px 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(198, 163, 78, 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.process-text-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.process-text-wrap p {
  font-size: 1rem;
  color: #3a4a3e;
  line-height: 1.7;
}

/* ============================================
   STAINED GLASS DIVIDERS — HIDDEN
   ============================================ */
.glass-break, .stained-glass-img, .stained-glass-geo {
  display: none !important;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.product-card {
  background: rgba(26, 58, 42, 0.3);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 78, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-link { display: block; text-decoration: none; color: inherit; }
.card-img { aspect-ratio: 1/1; overflow: hidden; }
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-body { padding: 16px; }
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.3;
}
.card-price {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(198, 163, 78, 0.1);
  color: var(--gold);
  border-radius: 2px;
}
.card-form { padding: 0 16px 16px; }
.add-to-cart {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: var(--green-deep);
  border: none;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}
.add-to-cart:hover { background: var(--gold-light); }
.cta-link { display: inline-block; margin-top: 24px; }

/* ============================================
   SUBSCRIBE SECTION
   ============================================ */
.subscribe-content { max-width: 600px; margin: 0 auto; }
.sub-desc {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.92);
  margin-bottom: 20px;
}
.perks-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.perk {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* ============================================
   SPLIT SECTION (Philosophy + Mucha)
   ============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.split-img {
  border-radius: 6px;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}
.split-text p {
  font-size: 1.05rem;
  color: #3a4a3e;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================
   WHERE TO BUY
   ============================================ */
.wtb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.wtb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: rgba(26, 58, 42, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(198, 163, 78, 0.1);
  transition: all 0.3s ease;
}
.wtb-card:hover {
  border-color: rgba(198, 163, 78, 0.3);
  transform: translateY(-3px);
}
.wtb-card svg { color: var(--gold); }
.wtb-card span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ============================================
   MERCH
   ============================================ */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.merch-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}
.merch-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.merch-info { padding: 16px; }
.merch-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.merch-price {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: #3a4a3e;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: 2px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  text-align: left;
}
.testimonial {
  padding: 24px;
  background: rgba(26, 58, 42, 0.4);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}
.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.9);
  margin-bottom: 12px;
}
.testimonial cite {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================
   EMAIL SIGNUP
   ============================================ */
.email-signup { margin-top: 32px; }
.email-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 78, 0.3);
}
.email-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.email-form input::placeholder { color: rgba(245, 240, 232, 0.4); }
.email-form button {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--green-deep);
  border: none;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0a120d;
  padding: 36px 24px 20px;
  border-top: 1px solid rgba(198, 163, 78, 0.1);
}
.footer-brand {
  text-align: center;
  margin-bottom: 20px;
}
.footer-brand .footer-heading {
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.5;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto 20px;
  text-align: center;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-social a {
  color: rgba(245, 240, 232, 0.5);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--gold);
}
.footer-col h3.footer-heading, .footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-text {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 12px;
}
.footer-email-form {
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 78, 0.2);
}
.footer-email-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.footer-email-form input::placeholder { color: rgba(245, 240, 232, 0.3); }
.footer-email-form button {
  padding: 8px 16px;
  background: var(--gold);
  color: var(--green-deep);
  border: none;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(245, 240, 232, 0.3);
  padding-top: 24px;
  border-top: 1px solid rgba(198, 163, 78, 0.05);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-30px); transition: all 0.6s ease; }
.slide-right { opacity: 0; transform: translateX(30px); transition: all 0.6s ease; }
.slide-left.visible, .slide-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   ABOUT PAGE — Specific styles
   ============================================ */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
}
.about-hero-content { position: relative; z-index: 2; }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-wrapper img,
.about-lifestyle-img img,
.philosophy-img-wrapper img,
.art-nouveau-frame-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}
.about-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-step {
  background: rgba(26, 58, 42, 0.5);
  border: 1px solid rgba(198, 163, 78, 0.2);
  border-radius: 6px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.4s ease;
}
.about-step:hover { border-color: var(--gold); }
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.about-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.about-step p {
  color: var(--cream);
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-lifestyle-grid.reverse { direction: rtl; }
.about-lifestyle-grid.reverse > * { direction: ltr; }
.about-lifestyle-img .process-img { height: 350px; width: 100%; object-fit: cover; border-radius: 6px; }
.vine-border p { margin-bottom: 16px; line-height: 1.7; }
.philosophy-img-wrapper { text-align: center; }
.img-frame-ornament { display: none; }


/* ============================================
   PRODUCT PAGE — Premium Split Layout
   ============================================ */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  align-items: start;
}
.product-images { position: relative; }
.product-main-image {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 78, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}
.product-main-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.thumb {
  border: 1px solid rgba(198, 163, 78, 0.2);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}
.thumb:hover { border-color: var(--gold); }
.thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Product Info */
.product-info { padding-top: 8px; }
.product-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(198, 163, 78, 0.55);
  margin-bottom: 16px;
}
.product-breadcrumb a {
  color: rgba(198, 163, 78, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.product-breadcrumb a:hover { color: var(--gold); }
.product-breadcrumb span { margin: 0 6px; }

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.2;
}
.product-price-tag {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-compare-price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.4);
  text-decoration: line-through;
  margin-left: 12px;
}

/* Ornament divider */
.section-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
}
.section-ornament::before,
.section-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 163, 78, 0.3), transparent);
}
.section-ornament span {
  color: rgba(198, 163, 78, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.5rem;
}

/* Product description */
.product-desc {
  font-family: var(--font-body);
  color: rgba(245, 240, 232, 0.85);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
.product-desc h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  margin: 20px 0 8px;
  letter-spacing: 0.05em;
}
.product-desc h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-light);
  margin: 16px 0 6px;
  letter-spacing: 0.05em;
}
.product-desc ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
}
.product-desc ul li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.product-desc ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 8px;
}
.product-desc em {
  display: block;
  margin-top: 16px;
  font-style: italic;
  color: rgba(245, 240, 232, 0.6);
  border-left: 2px solid rgba(198, 163, 78, 0.3);
  padding-left: 16px;
}

/* Product Form */
.product-form { margin-bottom: 24px; }
.variant-selector { margin-bottom: 20px; }
.variant-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(198, 163, 78, 0.7);
  margin-bottom: 8px;
}
.variant-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26, 58, 42, 0.5);
  border: 1px solid rgba(198, 163, 78, 0.3);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.3s;
  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='%23c6a34e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.variant-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(198, 163, 78, 0.15);
}
.variant-select option {
  background: var(--green-deep);
  color: var(--cream);
}

/* Quantity row */
.quantity-row { margin-bottom: 20px; }
.qty-input {
  width: 80px;
  padding: 10px 12px;
  background: rgba(26, 58, 42, 0.5);
  border: 1px solid rgba(198, 163, 78, 0.3);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-align: center;
  transition: border-color 0.3s;
}
.qty-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Full-width ATC button */
.btn-full {
  width: 100%;
  padding: 16px 24px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--green-deep);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(198, 163, 78, 0.25);
}
.btn-full:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 163, 78, 0.35);
}
.btn-full:active { transform: scale(0.98); }

/* Product tags */
.product-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* Trust badges below ATC */
.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 163, 78, 0.15);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-badge svg {
  color: var(--gold);
  flex-shrink: 0;
}
.trust-badge span {
  font-family: var(--font-body);
  color: rgba(245, 240, 232, 0.65);
  font-size: 0.85rem;
}

/* Related products */
.related-products {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

/* Sticky mobile ATC */
.sticky-atc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--green-deep);
  border-top: 1px solid rgba(198, 163, 78, 0.25);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-atc.visible {
  display: block;
  transform: translateY(0);
}
@media (min-width: 769px) {
  .sticky-atc { display: none !important; }
}
.sticky-atc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.sticky-atc-info {
  display: flex;
  flex-direction: column;
}
.sticky-atc-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.sticky-atc-price {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold);
}
.sticky-atc .btn-full {
  width: auto;
  padding: 12px 24px;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Homepage trust bar */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  background: rgba(26, 58, 42, 0.6);
  border-top: 1px solid rgba(198, 163, 78, 0.15);
  border-bottom: 1px solid rgba(198, 163, 78, 0.15);
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
}
.trust-bar-item svg { color: var(--gold); flex-shrink: 0; }


/* Quantity Stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(198, 163, 78, 0.3);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}
.qty-stepper button {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(198, 163, 78, 0.1);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper button:hover {
  background: rgba(198, 163, 78, 0.25);
}
.qty-stepper input {
  width: 50px;
  height: 40px;
  border: none;
  border-left: 1px solid rgba(198, 163, 78, 0.2);
  border-right: 1px solid rgba(198, 163, 78, 0.2);
  background: transparent;
  color: var(--cream);
  font-size: 1rem;
  text-align: center;
  font-family: var(--font-ui);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Active nav link */
.mobile-nav-links a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(198, 163, 78, 0.15), transparent);
}
.mobile-nav-links a.active svg {
  opacity: 1;
}

/* Urgency badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(220, 80, 50, 0.12);
  border: 1px solid rgba(220, 80, 50, 0.3);
  border-radius: 4px;
  color: #e85d3a;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.urgency-badge::before {
  content: '\25CF';
  animation: urgencyPulse 1.5s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Search featured products */
.search-featured {
  margin-top: 40px;
}
.search-featured h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--green-deep);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   HIDE OLD ELEMENTS & SHOPIFY DEFAULTS
   ============================================ */
.art-nouveau-ornament, .gold-ornament, .scroll-hint-wrap, .art-nouveau-frame,
.section-header .gold-ornament, .sg-bar, .sg-diamond {
  display: none !important;
}
.shopify-section-group-header-group,
.shopify-section-group-footer-group,
#shopify-section-header,
#shopify-section-footer,
a[href="#MainContent"],
[class*="skip-to-content"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}






/* Hero Logo — Simple */
.hero-logo-svg-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
}
.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(198, 163, 78, 0.4);
  box-shadow: 0 0 20px rgba(198, 163, 78, 0.1);
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-ring-svg { display: none; }

/* ============================================
   MOBILE RESPONSIVE — Complete System
   Green Man Coffee Co. — iOS/Mobile Audit Fix
   ============================================ */

/* --- TABLET (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .mobile-toggle {
    display: flex !important;
  }
  .header-nav {
    display: none !important;
  }
  .header-icons {
    display: none !important;
  }

  /* Header layout */
  .site-header {
    padding: 12px 16px;
    justify-content: space-between;
  }
  .header-brand {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  /* Hero section */
  .hero {
    min-height: 85vh;
    padding: 60px 24px 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Trust bar */
  .trust-bar {
    gap: 16px;
    padding: 14px 16px;
  }
  .trust-bar-item {
    font-size: 0.65rem;
    gap: 5px;
  }

  /* Sections padding */
  .section, .section-cream, .section-dark, .section-subscribe, .section-cta, .section-alt {
    padding: 40px 20px;
  }

  /* Process blocks — stack vertically */
  .process-block,
  .process-block.reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 20px;
  }
  .process-block.reverse > * {
    direction: ltr !important;
  }

  /* Products grid — 2 columns on tablet */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Product page — stack vertically */
  .product-page {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 20px 16px 40px;
  }
  .product-images {
    max-width: 100%;
  }
  .product-thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .thumb img {
    height: 60px;
  }

  /* Product info padding */
  .product-info {
    padding: 0 4px;
  }

  /* Product description and details */
  .product-desc,
  .product-details,
  .product-faq,
  .product-how-to {
    padding: 0 16px;
  }

  /* Subscribe section */
  .perks-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input[type="email"] {
    width: 100%;
  }
  .newsletter-form button {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Section titles */
  .section-title {
    font-size: 1.6rem;
  }
  .section-title.dark {
    font-size: 1.6rem;
  }


  /* Where to Buy grid */
  .wtb-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
  }
  /* Fade-in fallback — ensure content is visible even if JS fails */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
  /* Hero */
  .hero {
    min-height: 80vh;
    padding: 50px 16px 30px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-tagline {
    font-size: 0.9rem;
  }

  /* Trust bar — 2x2 grid */
  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
  }

  /* Sections */
  .section, .section-cream, .section-dark, .section-subscribe, .section-cta, .section-alt {
    padding: 32px 16px;
  }

  /* Products grid — single column */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Where to Buy grid */
  .wtb-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }


  /* Product cards */
  .card-body {
    padding: 12px;
  }
  .card-title {
    font-size: 0.9rem;
  }
  .card-price {
    font-size: 0.85rem;
  }

  /* Product page */
  .product-page {
    padding: 16px 12px 32px;
    gap: 20px;
  }
  .product-title {
    font-size: 1.6rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.4rem;
  }
  .section-title.dark {
    font-size: 1.4rem;
  }
  .overline {
    font-size: 0.7rem;
  }

  /* Subscribe section */
  .sub-desc {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }

  /* Announcement bar */
  .announcement-bar {
    font-size: 0.65rem;
    padding: 6px 0;
  }

  /* Collection page */
  .collection-header {
    padding: 20px 16px;
  }
  .collection-title {
    font-size: 1.4rem;
  }

  /* Cart page */
  .cart-page {
    padding: 20px 16px;
  }

  /* Subscribe page */
  .subscribe-plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact page */
  .contact-section {
    padding: 32px 16px;
  }

  /* FAQ items */
  .faq-item summary {
    font-size: 0.9rem;
    padding: 12px 0;
  }

  /* Buttons */
  .btn, .btn-gold, .btn-outline {
    padding: 12px 24px;
    font-size: 0.75rem;
  }
  .btn-full {
    width: 100%;
    padding: 14px;
  }
}

/* --- SMALL PHONES (max-width: 375px) --- */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .site-header {
    padding: 10px 12px;
  }
  .header-brand {
    font-size: 0.75rem;
  }
}


/* ============================================================
   COLLECTION PAGE - Desktop Grid Layout (P0 FIX)
   ============================================================ */
.collection-page {
  padding: 40px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.collection-header {
  text-align: center;
  margin-bottom: 32px;
}
.collection-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  color: rgba(245, 240, 232, 0.92);
  margin-bottom: 8px;
}
.collection-desc {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(198, 163, 78, 0.2);
}
.collection-count {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collection-sort label {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.collection-sort select,
#sort-select {
  background: rgba(26, 58, 42, 0.5);
  border: 1px solid rgba(198, 163, 78, 0.3);
  color: rgba(245, 240, 232, 0.9);
  padding: 8px 32px 8px 12px;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c6a34e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.collection-sort select:focus,
#sort-select:focus {
  outline: 2px solid rgba(198, 163, 78, 0.6);
  outline-offset: 2px;
}

/* Product Grid - 2 columns on desktop */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Product Card */
.collection-card {
  background: rgba(26, 58, 42, 0.4);
  border: 1px solid rgba(198, 163, 78, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(198, 163, 78, 0.4);
}
.collection-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.collection-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.collection-card:hover .collection-card-img img {
  transform: scale(1.05);
}
.collection-card-body {
  padding: 20px 24px 16px;
}
.collection-card-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  color: rgba(245, 240, 232, 0.92);
  margin-bottom: 8px;
}
.collection-card-meta {
  margin-bottom: 10px;
}
.card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(198, 163, 78, 0.9);
  font-weight: 600;
}
.card-price-sale {
  color: #e74c3c;
}
.card-price-compare {
  text-decoration: line-through;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.9rem;
  margin-left: 8px;
}
.collection-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.collection-card-desc {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.collection-card-action {
  padding: 0 24px 20px;
}
.plp-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.plp-variant-select {
  flex: 1;
  background: rgba(15, 35, 24, 0.6);
  border: 1px solid rgba(198, 163, 78, 0.25);
  color: rgba(245, 240, 232, 0.85);
  padding: 10px 12px;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c6a34e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.plp-variant-select:focus {
  outline: 2px solid rgba(198, 163, 78, 0.6);
  outline-offset: 2px;
}
.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(198, 163, 78, 0.9), rgba(166, 130, 50, 0.9));
  color: #0a1a10;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-add-to-cart:hover {
  background: linear-gradient(135deg, rgba(218, 183, 98, 1), rgba(198, 163, 78, 1));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 163, 78, 0.3);
}
.btn-add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-add-to-cart:focus-visible {
  outline: 2px solid rgba(198, 163, 78, 0.8);
  outline-offset: 2px;
}

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
  z-index: 2;
}
.badge-sold-out {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}
.badge-new {
  background: rgba(198, 163, 78, 0.9);
  color: #0a1a10;
}
.badge-sale {
  background: #e74c3c;
  color: #fff;
}
.badge-low-stock {
  background: rgba(231, 76, 60, 0.85);
  color: #fff;
  top: auto;
  bottom: 12px;
  left: 12px;
}

/* Collection empty state */
.collection-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(245, 240, 232, 0.6);
}
.btn-browse {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border: 1px solid rgba(198, 163, 78, 0.5);
  color: rgba(198, 163, 78, 0.9);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-browse:hover {
  background: rgba(198, 163, 78, 0.1);
  border-color: rgba(198, 163, 78, 0.8);
}

/* ============================================================
   ACCESSIBILITY FIXES (P1)
   ============================================================ */

/* Focus visible indicators - replace outline:none with proper focus styles */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(198, 163, 78, 0.8);
  outline-offset: 2px;
}

/* Skip to content link styling */
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99999;
  padding: 12px 24px;
  background: rgba(198, 163, 78, 0.95);
  color: #0a1a10;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

/* Announcement bar pause on hover for accessibility */
.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .announcement-track {
    animation: none !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .collection-card,
  .collection-card-img img,
  .btn-add-to-cart,
  .btn-gold,
  .btn-outline {
    transition: none !important;
  }
}

/* ============================================================
   HOMEPAGE TITLE SEO FIX (P1) - handled in theme.liquid
   ============================================================ */

/* ============================================================
   PERFORMANCE: Font display swap (P2)
   ============================================================ */
/* Note: Google Fonts already uses display=swap by default */

/* ============================================================
   MOBILE RESPONSIVE - Collection Page
   ============================================================ */
@media (max-width: 768px) {
  .collection-page {
    padding: 20px 16px 60px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .collection-toolbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .collection-card-body {
    padding: 16px;
  }
  .collection-card-action {
    padding: 0 16px 16px;
  }
  .plp-form {
    flex-direction: column;
  }
  .plp-variant-select {
    width: 100%;
  }
  .btn-add-to-cart {
    width: 100%;
    justify-content: center;
  }
}


/* FAQ Section */
.product-faq {
  margin-top: 48px;
  padding: 40px 0;
  border-top: 1px solid rgba(198, 163, 78, 0.15);
}
.faq-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: rgba(245, 240, 232, 0.92);
  text-align: center;
  margin-bottom: 28px;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(198, 163, 78, 0.12);
}
.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.88);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: rgba(198, 163, 78, 0.7);
}
details[open] .faq-question::after {
  content: '-';
}
.faq-answer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.7;
  padding: 0 0 16px;
  margin: 0;
}


/* Improved contrast for small text */
.announcement-bar {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.announcement-bar span {
  color: rgba(198, 163, 78, 1);
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
  .header-icons a,
  .header-icons button {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .faq-question {
    min-height: 48px;
    padding: 14px 0;
  }
}

/* Print styles for accessibility */
@media print {
  .announcement-bar,
  .site-header,
  .site-footer,
  .mobile-toggle {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}

/* Announcement Bar - High Contrast Fix */
.announcement-bar {
  background: #1a2e1a !important;
  color: #d4a853 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em !important;
}
.announcement-bar a,
.announcement-bar span,
.announcement-bar .marquee-text,
.announcement-bar .announcement-text {
  color: #d4a853 !important;
  font-weight: 600 !important;
}

/* Page Content - Generic Pages (Shipping, Refund, Terms, etc.) */
.page-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  color: #e8e0d5;
  line-height: 1.7;
}
.page-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #d4a853;
  margin-bottom: 0.5rem;
  text-align: center;
}
.page-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #d4a853;
  margin: 2rem 0 1rem;
}
.page-content h3 {
  font-size: 1.2rem;
  color: #c9b87a;
  margin: 1.8rem 0 0.75rem;
  font-weight: 600;
}
.page-content p {
  margin-bottom: 1rem;
  color: #e8e0d5;
  font-size: 1rem;
}
.page-content strong {
  color: #fff;
}
.page-content ul, .page-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: #e8e0d5;
}
.page-content li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.page-content th, .page-content td {
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: left;
  color: #e8e0d5;
  font-size: 0.95rem;
}
.page-content th {
  background: rgba(212,168,83,0.15);
  color: #d4a853;
  font-weight: 600;
}
.page-content a {
  color: #d4a853;
  text-decoration: underline;
}
.page-content a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .page-content {
    padding: 2.5rem 1.25rem 3rem;
  }
  .page-content h1 {
    font-size: 1.7rem;
  }
  .page-content h2 {
    font-size: 1.3rem;
  }
}

/* Hide scroll arrow on mobile/tablet - it's unnecessary and takes up space */
@media (max-width: 1024px) {
  .scroll-cue { display: none !important; }
}

/* ========================================
   DEVICE AUDIT FIXES - May 2026
   Fixes: marquee overflow, touch targets,
   font sizes, tablet nav, collection hero
   ======================================== */

/* Fix marquee overflow - prevent it from expanding document width */
.announcement-bar {
  overflow: hidden !important;
  max-width: 100vw !important;
}
.marquee-track {
  /* Allow the track to be wide for animation, but don't affect layout */
  position: relative;
}


/* Minimum touch target sizes for mobile accessibility (WCAG 2.5.8) */
@media (max-width: 1024px) {
  .header-nav a,
  .header-icons a,
  .footer-links a,
  .mobile-menu a,
  .product-tags span,
  .trust-badges .badge,
  nav a,
  .wtb-card a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Ensure buttons and selects meet minimum */
  button, select, input[type="submit"], .btn {
    min-height: 44px;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Footer links need more spacing */
  .footer-links a {
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Product tag badges */
  .product-tags span,
  .product-card .tags span {
    padding: 6px 10px;
    min-height: 32px;
    font-size: 11px;
  }
}


/* Minimum readable font size on mobile devices */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  p, span, a, li, td, th, label, small, .small-text {
    font-size: max(12px, inherit);
  }
  
  /* Specific small text elements that need bumping */
  .product-tags span,
  .announcement-bar span,
  .announcement-bar a,
  .footer-bottom p,
  .footer-bottom a,
  .trust-badges .badge span,
  .copyright,
  small {
    font-size: 12px !important;
  }
  
  /* Product card text */
  .product-card .price,
  .product-card .tags span {
    font-size: 12px;
  }
}


/* Tablet navigation fix - extend mobile nav to 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Show hamburger on tablets */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Hide desktop nav on tablets - it doesn't fit well */
  .header-nav {
    display: none !important;
  }
  
  /* Ensure header icons stay visible */
  .header-icons {
    display: flex !important;
    gap: 8px;
  }
  
  /* Adjust header layout for tablet */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
  }
}


/* Collection page hero - proper height and spacing */
.collection-header,


@media (max-width: 768px) {
  .collection-header,
  .collection-hero {
    min-height: 160px;
    padding: 32px 16px;
  }
}


/* ===== AGGRESSIVE MOBILE TYPOGRAPHY FIX ===== */
/* Force minimum 12px on ALL text on mobile/tablet */
@media (max-width: 1024px) {
  /* Base font size bump */
  html { font-size: 14px; -webkit-text-size-adjust: 100%; }
  
  /* All text elements minimum 12px */
  p, span, a, li, td, th, label, small, figcaption, cite, time, address,
  .announcement-bar *, .footer-bottom *, .product-tags *, .trust-badges * {
    font-size: clamp(12px, 1em, 100px) !important;
  }
  
  /* Exception: headings should stay large */
  h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
    font-size: revert !important;
  }
}

/* ===== AGGRESSIVE TOUCH TARGET FIX ===== */
@media (max-width: 1024px) {
  /* All clickable elements need 44px minimum touch area */
  a, button, select, input[type="submit"], input[type="button"],
  [role="button"], .btn, .mobile-toggle {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  /* Navigation links */
  .header-nav a, .mobile-menu a, .footer-links a, footer a {
    min-height: 44px;
    padding: 10px 8px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Icon buttons (search, cart, account) */
  .header-icons a, .header-icons button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Product card tags */
  .product-tags span, .tags span {
    padding: 6px 10px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Select dropdowns */
  select {
    min-height: 44px;
    padding: 8px 12px;
  }
}

/* ===== LANDSCAPE TABLET FIXES ===== */

/* iPad Mini landscape (1024px) - show desktop nav in landscape */
@media (min-width: 1024px) and (orientation: landscape) {
  .mobile-toggle {
    display: none !important;
  }
  .header-nav {
    display: flex !important;
  }
}

/* Touch device accessibility - applies to ALL touch devices regardless of screen width */
/* This catches landscape tablets that are wider than 1024px */
@media (pointer: coarse) {
  /* Minimum touch targets on any touch device */
  a, button, select, input[type="submit"], input[type="button"],
  [role="button"], .btn {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .header-nav a, .footer-links a, footer a, nav a {
    min-height: 44px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
  }
  
  .header-icons a, .header-icons button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Minimum font size on touch devices */
  p, span, a, li, td, th, label, small, figcaption, cite, time, address {
    font-size: clamp(12px, 1em, 100px) !important;
  }
  
  /* Exception: headings stay large */
  h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
    font-size: revert !important;
  }
}

/* Collection hero minimum height on all viewports */


/* ===== COLLECTION HERO FIX ===== */
.collection-hero {
  min-height: 200px;
  max-height: 280px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.collection-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 60, 30, 0.35);
  z-index: 0;
}

.collection-hero > * {
  position: relative;
  z-index: 1;
}

.collection-hero .collection-title {
  font-size: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .collection-hero {
    min-height: 160px;
    max-height: 220px;
    padding: 32px 16px;
  }
  .collection-hero .collection-title {
    font-size: 1.8rem;
  }
  .collection-hero .section-label,
  .collection-hero .collection-breadcrumb {
    font-size: 0.75rem;
  }
  .collection-hero .section-ornament {
    display: none;
  }
}

/* ===== SEARCH PAGE IMPROVEMENTS ===== */
.search-page {
  padding-top: 80px;
}
.search-hero {
  text-align: center;
  padding: 40px 20px 30px;
  background: var(--dark-green);
}
.search-title {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.search-form {
  max-width: 500px;
  margin: 20px auto 0;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 8px 14px;
  gap: 10px;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 1rem;
  outline: none;
}
.search-input::placeholder {
  color: rgba(198,163,78,0.6);
}
.search-submit {
  background: var(--gold);
  color: var(--dark-green);
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.search-results-count {
  text-align: center;
  color: var(--gold);
  padding: 16px 20px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.search-card-form button {
  width: 100%;
  background: var(--gold);
  color: var(--dark-green);
  border: none;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.search-card-form button:hover {
  background: #e6be6a;
}
.search-pages-section {
  padding: 30px 20px 40px;
  text-align: center;
}
.search-pages-section h3 {
  color: var(--gold);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}
.search-pages-section a {
  display: inline-block;
  margin: 6px 10px;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--cream);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}
.search-pages-section a:hover {
  background: var(--gold);
  color: var(--dark-green);
}

.page-hero-banner { margin-top: 80px; }

/* ===== EMAIL POPUP / JOIN THE GROVE ===== */
.email-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.email-popup[style*="display: none"],
.email-popup[style*="display:none"] {
  display: none !important;
}
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}
.email-popup-content {
  position: relative;
  z-index: 10000;
  background: var(--dark-green);
  border-top: 2px solid var(--gold);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}
.email-popup-img {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
.email-popup-body {
  padding: 24px 28px 28px;
  text-align: center;
}
.email-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(198,163,78,0.4);
  color: var(--cream);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.email-popup-close:hover {
  background: var(--gold);
  color: var(--dark-green);
}
.email-popup-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.email-popup-title {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.email-popup-desc {
  color: rgba(245,240,230,0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.email-popup-form {
  display: flex;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}
.email-popup-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(198,163,78,0.4);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-popup-input:focus {
  border-color: var(--gold);
}
.email-popup-input::placeholder {
  color: rgba(198,163,78,0.5);
}
.email-popup-btn {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--dark-green);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.email-popup-btn:hover {
  background: #e6be6a;
}
.email-popup-note {
  color: rgba(245,240,230,0.5);
  font-size: 0.75rem;
  margin-top: 12px;
}
@media (min-width: 769px) {
  .email-popup {
    align-items: center;
  }
  .email-popup-content {
    border-radius: 12px;
    max-width: 420px;
    border: 1px solid var(--gold);
  }
  .email-popup-img {
    height: 140px;
  }
}


/* ============================================
   SUBSCRIBE PAGE - FULL LAYOUT
   ============================================ */

/* Hero */
.sub-hero {
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 700px;
  margin: 0 auto;
}
.sub-hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--cream);
  margin: 0 0 12px;
}
.sub-hero-desc {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* How It Works */
.sub-how-it-works {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.sub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}
.sub-step {
  padding: 20px 12px;
}
.sub-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.sub-step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
  margin: 0 0 8px;
}
.sub-step p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.5;
}

/* Plans Section */
.sub-plans {
  text-align: center;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.sub-plans-desc {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 40px;
}
.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.sub-plan-card {
  background: rgba(15, 35, 24, 0.6);
  border: 1px solid rgba(198, 163, 78, 0.25);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}
.sub-plan-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.sub-plan-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.sub-plan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-plan-info {
  padding: 20px;
}
.sub-plan-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cream);
  margin: 0 0 8px;
}
.sub-plan-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.sub-plan-original {
  text-decoration: line-through;
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.9rem;
}
.sub-plan-arrow {
  color: var(--gold);
}
.sub-plan-sub-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
}
.sub-plan-save {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.sub-plan-variant {
  width: 100%;
  padding: 10px 12px;
  background: rgba(15, 35, 24, 0.8);
  border: 1px solid rgba(198, 163, 78, 0.3);
  border-radius: 6px;
  color: var(--cream);
  font-size: 0.85rem;
  margin-bottom: 12px;
  appearance: auto;
}
.sub-plan-card .btn-gold.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: var(--gold);
  color: var(--dark-green);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.3s;
}
.sub-plan-card .btn-gold.btn-full:hover {
  background: #b8923e;
}

/* Gift Subscription */
.sub-gift {
  text-align: center;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.sub-gift-desc {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 40px;
}
.sub-gift-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sub-gift-card {
  background: rgba(15, 35, 24, 0.6);
  border: 1px solid rgba(198, 163, 78, 0.2);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s;
}
.sub-gift-card:hover {
  border-color: var(--gold);
}
.sub-gift-card.featured {
  border-color: var(--gold);
  background: rgba(198, 163, 78, 0.08);
}
.sub-gift-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark-green);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 10px;
}
.sub-gift-duration {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.sub-gift-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.sub-gift-card p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.5;
  margin-bottom: 12px;
}
.sub-gift-note {
  font-size: 0.75rem;
  color: var(--gold);
  font-style: italic;
}
.sub-gift-notice {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  font-style: italic;
}
.sub-gift-notice a {
  color: var(--gold);
}

/* Manage Section */
.sub-manage {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.sub-manage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.sub-manage-item {
  background: rgba(15, 35, 24, 0.5);
  border: 1px solid rgba(198, 163, 78, 0.15);
  border-radius: 10px;
  padding: 24px;
}
.sub-manage-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin: 0 0 8px;
}
.sub-manage-item p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.5;
}

/* FAQ Section */
.sub-faq {
  text-align: center;
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
}
.sub-faq-list {
  text-align: left;
  margin-top: 30px;
}
.sub-faq-list details {
  border-bottom: 1px solid rgba(198, 163, 78, 0.2);
}
.sub-faq-list summary {
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}
.sub-faq-list summary::-webkit-details-marker { display: none; }
.sub-faq-list summary::after {
  content: '+';
  float: right;
  color: var(--gold);
  font-size: 1.2rem;
}
.sub-faq-list details[open] summary::after {
  content: '−';
}
.sub-faq-list details p {
  padding: 0 0 16px;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.6;
}

/* CTA */
.sub-cta {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 600px;
  margin: 0 auto;
}
.sub-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.sub-cta p {
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 24px;
}
.sub-cta .btn-gold {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--dark-green);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
}

/* --- SUBSCRIBE PAGE MOBILE --- */
@media (max-width: 768px) {
  .sub-hero { padding: 100px 16px 40px; }
  .sub-hero-title { font-size: 2rem; }
  .sub-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sub-plans-grid { grid-template-columns: 1fr; gap: 20px; }
  .sub-gift-options { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sub-manage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sub-hero-title { font-size: 1.6rem; }
  .sub-steps { grid-template-columns: 1fr; }
  .sub-gift-options { grid-template-columns: 1fr; gap: 12px; }
  .sub-gift-card { padding: 20px 12px; }
}
