/* ==========================================================================
   THE HARRISDALE CORNER — Core Stylesheet
   Design tokens sourced from THC_MASTER_SHEET brand colours
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,500&display=swap');

:root {
  /* Brand colours */
  --or: #D87A2F;   /* Caramel Orange — primary CTA */
  --cr: #F2E6D6;   /* Latte Cream — section bg */
  --br: #4A2C1D;   /* Deep Roast Brown — headings/body */
  --sg: #A7B7A6;   /* Sage Green — accents */
  --co: #6B3E2A;   /* Cocoa Brown — secondary text */
  --wh: #FAF9F6;   /* Soft Cotton White — main bg */
  --dk: #3A1F16;   /* Dark Chocolate — nav/hero/footer */
  --sd: #E6D0AA;   /* Sand Beige — nav text/labels */
  --ol: #F5A05A;   /* Orange Light — hover state */

  /* Supporting */
  --muted-sage: #5A7A59;
  --forest-green: #3A6A39;
  --dark-green: #3A5A3A;
  --success-green: #2E7A2E;
  --danger-red: #B03030;
  --instagram-pink: #E1306C;
  --facebook-blue: #1877F2;
  --amber-status: #B05000;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 8px 30px rgba(58, 31, 22, 0.10);
  --shadow-strong: 0 16px 50px rgba(58, 31, 22, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--wh);
  color: var(--br);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--br);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.6em;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--or);
  color: var(--wh);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ==========================================================================
   Decorative blobs — signature element echoing the logo artwork
   ========================================================================== */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  filter: blur(0.5px);
  opacity: 0.55;
}
.blob-sage { background: var(--sg); }
.blob-cream { background: var(--sd); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.top-bar {
  background: var(--dk);
  color: var(--sd);
  font-size: 0.82rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--sd); transition: color 0.2s; }
.top-bar a:hover { color: var(--ol); }
.top-bar-contact { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.top-bar-contact svg {
  width: 14px;
  height: 14px;
  fill: var(--or);
  flex-shrink: 0;
}
.top-bar-socials { display: flex; gap: 14px; align-items: center; }
.top-bar-socials svg { width: 16px; height: 16px; fill: currentColor; }

header.site-header {
  background: var(--wh);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(58,31,22,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-logo img { height: 56px; width: auto; }

nav.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
nav.main-nav a {
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  color: var(--co);
  transition: background 0.2s, color 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--cr);
  color: var(--or);
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--or);
  color: var(--wh);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--ol); }
.btn-outline {
  background: transparent;
  border-color: var(--or);
  color: var(--or);
}
.btn-outline:hover { background: var(--or); color: var(--wh); }
.btn-dark {
  background: var(--dk);
  color: var(--sd);
}
.btn-dark:hover { background: var(--co); color: var(--wh); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.cart-btn {
  position: relative;
  background: var(--dk);
  color: var(--wh);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.cart-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--or);
  color: var(--wh);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--br);
  border-radius: 2px;
  transition: 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Floating social sidebar
   ========================================================================== */
.social-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-float a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dk);
  color: var(--wh);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, background 0.2s;
}
.social-float a svg { width: 20px; height: 20px; fill: currentColor; }
.social-float a:hover { transform: scale(1.1) translateX(-2px); background: var(--or); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--dk);
  color: var(--wh);
  overflow: hidden;
  padding: 90px 0 110px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--wh); }
.hero h1 em {
  font-style: italic;
  color: var(--ol);
}
.hero-sub {
  color: var(--sd);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2em; }
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--sd);
  font-size: 0.9rem;
}
.hero-meta strong { color: var(--wh); display: block; font-family: var(--font-display); font-size: 1.1rem; }
.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4/5;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 80px 0; position: relative; }
.section-cream { background: var(--cr); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header p { color: var(--co); }

/* Offer / highlight cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--wh);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cr);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; fill: var(--or); }

.offer-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--or);
  color: var(--wh);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Menu preview */
.menu-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--cr);
  background: var(--wh);
  font-weight: 800;
  color: var(--co);
  transition: all 0.2s;
}
.menu-tab.active, .menu-tab:hover {
  background: var(--or);
  border-color: var(--or);
  color: var(--wh);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cr);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-info h4 { margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.menu-item-info p { color: var(--co); font-size: 0.92rem; margin: 0; }
.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--or);
  font-size: 1.15rem;
  white-space: nowrap;
}
.badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge-gf { background: rgba(58,106,57,0.12); color: var(--forest-green); }
.badge-v { background: rgba(58,90,58,0.12); color: var(--dark-green); }

.add-cart-btn {
  background: var(--cr);
  color: var(--or);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.add-cart-btn:hover { background: var(--or); color: var(--wh); }

/* Reviews */
.reviews-widget-slot {
  background: var(--wh);
  border: 2px dashed var(--sg);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--co);
}

/* CTA strip */
.cta-strip {
  background: var(--or);
  color: var(--wh);
  text-align: center;
  padding: 60px 0;
}
.cta-strip h2 { color: var(--wh); }
.cta-strip .btn-primary { background: var(--dk); }
.cta-strip .btn-primary:hover { background: var(--co); }

/* Footer */
footer.site-footer {
  background: var(--dk);
  color: var(--sd);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: var(--wh);
  font-size: 1rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: var(--sd); transition: color 0.2s; }
.footer-grid a:hover { color: var(--ol); }
.footer-logo img { height: 60px; margin-bottom: 16px; filter: brightness(1.15); }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a svg { width: 18px; height: 18px; fill: var(--sd); }
.footer-socials a:hover svg { fill: var(--ol); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--sand-beige, #cbb896);
}
.footer-bottom a { text-decoration: underline; }

/* ==========================================================================
   Forms (contact, checkout)
   ========================================================================== */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--co);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cr);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--wh);
  color: var(--br);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--or);
  outline: none;
}
/* Custom dropdown (replaces native <select> so option colours render
   consistently across all browsers/OSes, since native option styling
   is ignored by some browsers regardless of CSS) */
.custom-select { position: relative; }
.custom-select-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 2px solid var(--cr);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--wh);
  color: var(--br);
  cursor: pointer;
  transition: border-color 0.2s;
}
.custom-select-toggle:focus,
.custom-select-toggle[aria-expanded="true"] {
  border-color: var(--or);
  outline: none;
}
.custom-select-arrow { flex-shrink: 0; margin-left: 10px; color: var(--or); transition: transform 0.2s; }
.custom-select-toggle[aria-expanded="true"] .custom-select-arrow { transform: rotate(180deg); }
.custom-select-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--wh);
  border: 2px solid var(--or);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.custom-select-list li {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--br);
  cursor: pointer;
}
.custom-select-list li:hover,
.custom-select-list li.selected {
  background: var(--cr);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.85rem; color: var(--co); margin-top: -8px; margin-bottom: 20px; }

/* Toggle pills (order type / dine-in / takeaway) */
.pill-toggle {
  display: flex;
  background: var(--cr);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  margin-bottom: 24px;
}
.pill-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--co);
  transition: all 0.2s;
}
.pill-toggle button.active { background: var(--or); color: var(--wh); }

/* Status message boxes */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success { background: rgba(46,122,46,0.12); color: var(--success-green); }
.alert-error { background: rgba(176,48,48,0.12); color: var(--danger-red); }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,31,22,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--wh);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-strong);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  padding: 24px;
  border-bottom: 2px solid var(--cr);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header button {
  background: none; border: none; font-size: 1.6rem; color: var(--co); line-height: 1;
}
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cr);
}
.cart-line-name { font-weight: 700; font-size: 0.95rem; }
.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-line-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--cr);
  background: var(--wh);
  font-weight: 800;
  color: var(--or);
}
.cart-drawer-footer {
  padding: 24px;
  border-top: 2px solid var(--cr);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.empty-cart { text-align: center; color: var(--co); padding: 60px 20px; }

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }

/* Map + contact split */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.info-list { margin-top: 24px; }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; fill: var(--or); flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--co); margin-bottom: 2px; }

/* Sitemap page */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-grid h3 { color: var(--or); }
.sitemap-grid ul li { margin-bottom: 10px; }
.sitemap-grid a:hover { color: var(--or); text-decoration: underline; }

/* Legal page */
.legal-content h2 { margin-top: 2em; }
.legal-content h3 { margin-top: 1.4em; color: var(--co); }
.legal-content p, .legal-content li { color: var(--co); }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.legal-content li { margin-bottom: 6px; }
.legal-toc {
  background: var(--cr);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.legal-toc a { color: var(--co); display: block; padding: 4px 0; font-weight: 700; }
.legal-toc a:hover { color: var(--or); }

/* Account pages */
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--wh);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}
.auth-tabs { display: flex; gap: 8px; margin-bottom: 28px; background: var(--cr); border-radius: 999px; padding: 5px; }
.auth-tabs button { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 999px; font-weight: 800; color: var(--co); }
.auth-tabs button.active { background: var(--wh); color: var(--or); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.danger-zone {
  margin-top: 32px;
  padding: 20px;
  border: 2px solid rgba(176,48,48,0.25);
  border-radius: var(--radius-sm);
}
.danger-zone h4 { color: var(--danger-red); margin-bottom: 8px; }

/* About page */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }

/* Breadcrumb */
.page-banner {
  background: var(--cr);
  padding: 56px 0 40px;
  text-align: center;
}
.page-banner .eyebrow { }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; aspect-ratio: 16/10; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .top-bar-contact { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .social-float { right: 10px; }
  .social-float a { width: 38px; height: 38px; }
  .social-float a svg { width: 17px; height: 17px; }
  .cart-drawer { width: 100vw; }

  nav.main-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wh);
    flex-direction: column;
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-soft);
  }
  nav.main-nav.mobile-open ul { flex-direction: column; align-items: stretch; width: 100%; }
  nav.main-nav.mobile-open a { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Custom payment dropdown */
.custom-select { position: relative; width: 100%; }
.custom-select-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border: 2px solid var(--cr); border-radius: var(--radius-sm);
  background: var(--wh); color: var(--br); font-family: var(--font-body);
  font-size: 1rem; cursor: pointer; transition: border-color 0.2s;
}
.custom-select-toggle:hover, .custom-select-toggle:focus,
.custom-select-toggle[aria-expanded="true"] { border-color: var(--or); outline: none; }
.custom-select-arrow { flex-shrink: 0; margin-left: 10px; transition: transform 0.2s; color: var(--co); }
.custom-select-toggle[aria-expanded="true"] .custom-select-arrow { transform: rotate(180deg); }
.custom-select-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 6px; background: var(--wh);
  border: 2px solid var(--cr); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); max-height: 220px; overflow-y: auto;
}
.custom-select-list[hidden] { display: none; }
.custom-select-list li { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--br); cursor: pointer; }
.custom-select-list li:hover, .custom-select-list li.selected { background: var(--cr); color: var(--co); }