/* ==========================================================================
   Rose of Isa — Shared Stylesheet
   ========================================================================== */

/* ---- Design Tokens ---- */
:root {
  /* Colors (from logo palette) */
  --color-maroon-900: #4c0f0f;
  --color-maroon-700: #6b1410;
  --color-orange-500: #ef733b;
  --color-orange-600: #d8581d;
  --color-cream-100: #faf6ed;
  --color-cream-50: #fffdf8;
  --color-charcoal-900: #231f1c;
  --color-charcoal-600: #58504b;
  --color-sage-600: #5b712f;
  --color-white: #ffffff;
  --color-border: #e2d9cd;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-card: 0 4px 16px rgba(76, 15, 15, 0.10);
  --shadow-raised: 0 8px 28px rgba(76, 15, 15, 0.16);

  /* Type */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max: 1312px;
  --transition-fast: 0.18s ease;
  --transition-medium: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-charcoal-900);
  background: var(--color-cream-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-charcoal-900);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-orange-500);
  color: var(--color-white);
  border: 1.5px solid var(--color-orange-500);
}

.btn-primary:hover {
  background: var(--color-orange-600);
  border-color: var(--color-orange-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216, 88, 29, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(216, 88, 29, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-secondary.on-light {
  color: var(--color-maroon-900);
  border-color: var(--color-maroon-900);
}

.btn-secondary.on-light:hover {
  background: rgba(76, 15, 15, 0.06);
}

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---- Header ---- */
.site-header {
  background: var(--color-maroon-900);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cream-100);
  flex-shrink: 0;
  object-fit: cover;
}

.logo-text .wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-cream-100);
  letter-spacing: 0.2px;
}

.logo-text .subline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-orange-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-cream-100);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-orange-500);
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-orange-500);
}

.main-nav a:hover::after { width: 100%; }

.main-nav a.active {
  font-weight: 600;
  color: var(--color-orange-500);
}

.main-nav a.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 200;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-cream-100);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-maroon-900);
  color: var(--color-white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding: 64px 0 48px;
}

.footer-brand .wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-cream-100);
  display: block;
  margin-bottom: 4px;
}

.footer-brand .subline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-orange-500);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-cream-100);
  margin-bottom: 14px;
}

.footer-col p, .footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--color-orange-500); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Page Hero (interior pages) ---- */
.page-hero {
  background: var(--color-maroon-900);
  padding: 72px 0;
  text-align: center;
}

.page-hero .eyebrow { margin-bottom: 8px; }

.page-hero h1 {
  font-size: 44px;
  line-height: 1.18;
  color: var(--color-cream-100);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto;
}

/* ---- Shared text bits ---- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-orange-600);
}

.page-hero .eyebrow { color: var(--color-orange-500); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 32px;
  margin: 10px 0 12px;
}

.section-head p {
  font-size: 18px;
  color: var(--color-charcoal-600);
  line-height: 1.5;
}

.section-head.left-align {
  text-align: left;
  margin: 0 0 36px;
  max-width: none;
}

/* ---- Logo (SVG image replacement) ---- */
.site-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
}

/* ---- Hero (Home) — full bleed bg image, text left, gradient on left ---- */
.hero {
  position: relative;
  min-height: 672px;
  overflow: hidden;
  background: var(--color-maroon-900);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 96px;
  display: block;
  text-align: left;
}

.hero-text {
  max-width: 520px;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-cream-100);
  margin-bottom: 28px;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--color-cream-100);
  margin-bottom: 24px;
  text-align: left;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin-bottom: 36px;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Hero background image fills entire section */
.hero-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Subtle left-side gradient — keeps image bright, text readable */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(40,8,8,0.60) 0%,
    rgba(40,8,8,0.42) 30%,
    rgba(40,8,8,0.12) 60%,
    rgba(40,8,8,0.00) 100%
  );
  z-index: 1;
}

.hero-bg .container { position: relative; z-index: 2; }

/* Remove old hero-image floating box — no longer needed */
.hero-image { display: none; }

/* ---- Category / Product cards ---- */
.section { padding: 96px 0; }
.section.tight { padding: 48px 0; }
.section.alt-bg { background: var(--color-cream-100); }
.section.white-bg { background: var(--color-white); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-raised);
}

.category-card .card-image {
  height: 180px;
  background: var(--color-cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-card .card-image img { width: 100%; height: 100%; object-fit: cover; }

.category-card .card-image .placeholder-label {
  font-size: 13px;
  color: #b3998a;
}

.category-card .card-content { padding: 20px; }

.category-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 14px;
  color: var(--color-charcoal-600);
}

/* ---- Product list rows (Products page) ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}

.product-row.bordered {
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.product-row.bordered:hover {
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.product-row.tint-orange .thumb { background: rgba(239, 115, 59, 0.12); }

.product-row .thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--color-cream-100);
  flex-shrink: 0;
  overflow: hidden;
}

.product-row .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-row span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
}

/* ---- Store Hours Banner ---- */
.hours-banner {
  background: var(--color-orange-500);
  padding: 56px 0;
}

.hours-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hours-left { display: flex; align-items: center; gap: 20px; }

.hours-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.hours-left h3 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.hours-left p { color: rgba(255,255,255,0.9); }

.hours-cards { display: flex; gap: 16px; flex-wrap: wrap; }

.hours-card {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}

.hours-card .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 4px;
}

.hours-card .time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

/* ---- About Teaser / Story split ---- */
.split-section .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.split-section.reverse .container { flex-direction: row-reverse; }

.split-image {
  flex-shrink: 0;
  width: 480px;
  height: 420px;
  border-radius: var(--radius-lg);
  background: var(--color-cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image .placeholder-label { font-size: 13px; color: #b3998a; padding: 0 24px; text-align: center; }

.split-text { max-width: 560px; }
.split-text h2 { font-size: 36px; margin: 8px 0 20px; line-height: 1.2; }
.split-text p { font-size: 18px; line-height: 1.6; color: var(--color-charcoal-600); margin-bottom: 16px; }
.split-text p.emphasis { font-weight: 600; color: var(--color-charcoal-900); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-maroon-900);
  margin-top: 8px;
  transition: gap var(--transition-fast);
}

.text-link:hover { gap: 14px; }

/* ---- Welcome Intro ---- */
.welcome-intro { text-align: center; padding: 64px 0 40px; }
.welcome-intro p.lead {
  font-size: 19px;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 24px;
}

.note-badge {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: var(--color-cream-100);
  color: var(--color-maroon-900);
  font-size: 14px;
  font-weight: 500;
}

/* ---- Vision / Mission cards ---- */
.vm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.vm-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }

.vm-card h3 { font-size: 20px; color: var(--color-orange-600); margin-bottom: 10px; }
.vm-card p { font-size: 18px; line-height: 1.55; color: var(--color-charcoal-600); }

/* ---- Value / Feature cards ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.value-card.on-tint { background: var(--color-cream-100); }

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

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 115, 59, 0.15);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 22px; height: 22px; }

.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 15px; line-height: 1.55; color: var(--color-charcoal-600); }

/* ---- Community pills ---- */
.community-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.pill {
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: var(--color-cream-100);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-maroon-900);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.pill:hover {
  transform: translateY(-3px);
  background: var(--color-orange-500);
  color: var(--color-white);
}

/* ---- Trust strip ---- */
.trust-strip { background: var(--color-cream-100); padding: 56px 0; }

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  text-align: center;
}

.trust-stat .value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-maroon-900);
  margin-bottom: 6px;
}

.trust-stat .label {
  font-size: 14px;
  color: var(--color-charcoal-600);
}

/* ---- Thank you note ---- */
.thank-you { text-align: center; padding: 72px 0; }

.thank-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 115, 59, 0.15);
  margin: 0 auto 16px;
}

.thank-you h3 { font-size: 24px; margin-bottom: 16px; }

.thank-you p.body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-charcoal-600);
  max-width: 640px;
  margin: 0 auto 16px;
}

.thank-you .signoff {
  font-weight: 600;
  font-size: 17px;
  color: var(--color-orange-600);
}

/* ---- Final CTA ---- */
.final-cta {
  background: var(--color-maroon-900);
  padding: 96px 0;
  text-align: center;
}

.final-cta h2 { font-size: 36px; color: var(--color-cream-100); margin-bottom: 16px; }

.final-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta .hero-actions { justify-content: center; }

/* ---- Contact page ---- */
.contact-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; flex: 0 0 480px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-cream-100);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.contact-card .icon-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange-500);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon-dot svg { width: 20px; height: 20px; stroke: white; }

.contact-card h4 { font-size: 17px; margin-bottom: 4px; }
.contact-card p { font-size: 15px; line-height: 1.5; color: var(--color-charcoal-600); }
.contact-card a { color: var(--color-charcoal-600); transition: color var(--transition-fast); }
.contact-card a:hover { color: var(--color-orange-600); }

.map-wrap {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 560px;
  background: var(--color-cream-100);
}

.map-wrap iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }

/* ---- Mobile nav drawer ---- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--color-maroon-900);
  z-index: 200;
  padding: 96px 32px 32px;
  transition: right var(--transition-medium);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-cream-100);
}

.mobile-nav a.active { color: var(--color-orange-500); font-weight: 600; }
.mobile-nav .btn { margin-top: 12px; align-self: flex-start; }

/* ---- Hero background image ---- */
.hero-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 600px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(76, 15, 15, 0.62);
  z-index: 0;
}

.hero-bg .container {
  position: relative;
  z-index: 1;
}

/* ---- Hero NO overlay (products, contact, about pages) ---- */
.page-hero-no-overlay {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Dark text-shadow for legibility on bright photos without overlay */
.page-hero-no-overlay .container {
  position: relative;
  z-index: 1;
}

.page-hero-no-overlay h1 {
  font-size: 44px;
  line-height: 1.18;
  color: var(--color-cream-100);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
}

.page-hero-no-overlay .eyebrow {
  color: var(--color-orange-500);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.page-hero-no-overlay p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ---- Product Card Grid (Figma style — image top, label below) ---- */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(76,15,15,0.08);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  cursor: default;
  text-decoration: none;
  color: inherit;
  display: block;
}

a.product-card { cursor: pointer; }

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(76,15,15,0.14);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-cream-100);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.product-card-label {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-charcoal-900);
  line-height: 1.3;
}

/* No-image placeholder card */
.product-card--no-img .product-card-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--no-img .product-card-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--color-border);
}

/* Responsive product card grid */
@media (max-width: 1100px) {
  .product-card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .product-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-label { font-size: 13px; padding: 10px 12px; }
  .page-hero-no-overlay h1 { font-size: 30px; }
  .page-hero-no-overlay p { font-size: 16px; }
}

/* ---- Products Page Hero — cream/light bg, centred dark text, Figma style ---- */
.page-hero-products {
  background: #FBF3E8;
  background-image: url('../images/hero/hero-products-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 352px;
  display: flex;
  align-items: center;
  text-align: center;
}

.page-hero-products .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-products .eyebrow {
  color: var(--color-orange-600);
  margin-bottom: 12px;
}

.page-hero-products h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-charcoal-900);
  margin-bottom: 20px;
}

.page-hero-products p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-charcoal-600);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- 3-column product card grid (All Collections) ---- */
.product-card-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- 4-column product card grid (Frozen, Specialty) ---- */
.product-card-grid--4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---- Flag Icon Cards (Asian Groceries) ---- */
.flag-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flag-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
}

.flag-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.flag-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  overflow: hidden;
}

.flag-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-charcoal-900);
  line-height: 1.3;
}

/* Responsive flag cards */
@media (max-width: 1100px) {
  .flag-card-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .product-card-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .page-hero-products h1 { font-size: 40px; }
}

@media (max-width: 640px) {
  .flag-card-grid { grid-template-columns: 1fr; }
  .product-card-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .product-card-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .page-hero-products h1 { font-size: 30px; }
  .page-hero-products p { font-size: 16px; }
  .page-hero-products { min-height: 280px; }
}

/* ---- Hero (Home) responsive ---- */
@media (max-width: 860px) {
  .hero-text h1 { font-size: 44px; }
}

@media (max-width: 640px) {
  .hero { min-height: 480px; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* Page hero with background image (old overlay version — kept for about/contact) */
.page-hero-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 360px;
  image-rendering: -webkit-optimize-contrast;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(76, 15, 15, 0.68);
  z-index: 0;
}

.page-hero-bg .container {
  position: relative;
  z-index: 1;
}

/* Products page hero — light overlay since bg is light */
.page-hero-bg.light-bg::before {
  background: rgba(76, 15, 15, 0.72);
}

/* ---- About split image ---- */
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---- All Collections grid ---- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-raised);
}

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

.collection-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collection-label {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-charcoal-900);
  border-top: 1px solid var(--color-border);
}

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

@media (max-width: 1100px) {
  .hero .container { flex-direction: column; }
  .hero-text { max-width: 520px; text-align: left; }
  .hero-text p { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-image { width: 100%; max-width: 480px; height: 360px; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .value-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }

  .split-section .container,
  .split-section.reverse .container { flex-direction: column; }
  .split-image { width: 100%; max-width: 480px; }
  .split-text { max-width: 100%; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }

  .contact-layout { flex-direction: column; }
  .contact-info { flex: 1 1 auto; width: 100%; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav-overlay { display: block; }

  .vm-row { grid-template-columns: 1fr; }
  .trust-strip .container { justify-content: center; gap: 40px 60px; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-md); }

  .site-header { padding: 16px 0; }
  .logo-text .wordmark { font-size: 17px; }
  .logo-mark { width: 38px; height: 38px; }

  .hero { padding: 56px 0; }
  .hero-text { text-align: left; }
  .hero-text h1 { font-size: 34px; text-align: left; }
  .hero-text p { font-size: 16px; text-align: left; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: auto; }

  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 16px; }

  .section { padding: 56px 0; }
  .section.tight { padding: 32px 0; }
  .section-head h2 { font-size: 26px; }

  .category-grid { grid-template-columns: 1fr; }
  .value-grid, .value-grid.cols-4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }

  .hours-banner .container { flex-direction: column; align-items: flex-start; }
  .hours-cards { width: 100%; }
  .hours-card { flex: 1; }

  .split-text h2 { font-size: 28px; }
  .split-text p { font-size: 16px; }

  .footer-main { grid-template-columns: 1fr; padding: 48px 0 32px; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .final-cta h2 { font-size: 28px; }
  .final-cta .hero-actions { flex-direction: column; }
  .final-cta .btn { width: 100%; }

  .vm-card, .value-card { padding: 24px 20px; }

  .map-wrap, .map-wrap iframe { min-height: 320px; }
}
