/* ==========================================================================
   Al Farida — stockists, sizes & business inquiries
   ========================================================================== */

:root {
  --ink: #3e2b2f;
  --ink-soft: #584047;
  --muted: #796d69;
  --cream: #faf7f0;
  --sand: #f2dab2;
  --header-bg: #f4ecdf;
  --header-line: #e3d6c1;
  --photo-bg: #fcf9f1;
  --line: #e5ddd0;
  --line-strong: #d3c5b0;
  --gold: #886335;
  --focus: #a6753b;
  --green: #506647;
  --terracotta: #a54a3c;
  --terracotta-dark: #873c31;
  --wa: #25d366;
  --wa-ink: #1a8a49;
  --wa-dark: #136b38;
  --chip: #ebe8e4;
  --chip-ink: #5a5250;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(62, 43, 47, .05), 0 3px 10px rgba(62, 43, 47, .05);
  --shadow: 0 1px 2px rgba(62, 43, 47, .05), 0 10px 28px rgba(62, 43, 47, .08);
  --shadow-lg: 0 2px 6px rgba(62, 43, 47, .06), 0 24px 48px rgba(62, 43, 47, .15);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 152px;
  --header-compact: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-compact) + 20px); }
body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  background: var(--cream);
  font-family: Cairo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2 { font-family: Mirza, serif; font-weight: 700; margin: 0; }
h3 { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1280px; width: calc(100% - 80px); margin-inline: auto; }
.sr-only { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip { position: absolute; top: -100px; right: 20px; padding: 8px 14px; background: #fff; border-radius: var(--radius-sm); z-index: 2000; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* Eyebrow + display headings: clear gap above, tight line-height */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .2px; color: var(--gold); }
h1 { font-size: 76px; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 56px; line-height: 1.05; }
/* Mirza's tall letters rise ~0.22em above the line box; give headings under an eyebrow room for them */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { padding-top: .2em; }

/* --------------------------------------------------------------------------
   Buttons & text buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 11px 22px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.button:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(62, 43, 47, .16); }
.button:active { transform: translateY(0); box-shadow: none; }
.button.primary { background: var(--ink); color: var(--cream); }
.button.primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

.text-button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; margin: 0; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.text-button .i { width: 14px; height: 14px; }
.text-button:hover { background: #efe6d6; color: var(--ink); }

/* --------------------------------------------------------------------------
   Header — large emblem that compacts on scroll
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1100;
  background: rgba(244, 236, 223, .97);
  border-bottom: 1px solid var(--header-line);
  transition: box-shadow .35s var(--ease), background-color .35s;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(244, 236, 223, .9); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); }
}
.site-header.is-compact { box-shadow: 0 8px 28px rgba(62, 43, 47, .1); }

.header-bar {
  display: flex; align-items: center; gap: 48px;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.is-compact .header-bar { height: var(--header-compact); }

.brand-home { display: block; line-height: 0; border-radius: var(--radius-sm); transition: transform .3s var(--ease), opacity .2s; }
.brand-home:hover { transform: scale(1.04); }
.logo { display: block; width: auto; height: 128px; transition: height .4s var(--ease); }
.is-compact .logo { height: 58px; }

.header-navigation { display: flex; align-items: center; gap: 36px; }
.header-navigation a {
  position: relative; padding: 8px 0;
  font-size: 15px; font-weight: 600; line-height: 1.6;
  text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.header-navigation a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s var(--ease), background-color .2s;
}
.header-navigation a:hover { color: var(--gold); }
.header-navigation a:hover::after { transform: scaleX(1); }
.header-navigation a.nav-active { color: var(--ink); }
.header-navigation a.nav-active::after { transform: scaleX(1); background: var(--ink); }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-inline-start: auto; padding: 10px 20px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  font-size: 14px; font-weight: 700; line-height: 1.6; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.header-cta .i { width: 20px; height: 20px; color: var(--wa-ink); transition: color .2s; }
.header-cta:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(62, 43, 47, .18); }
.header-cta:hover .i { color: var(--wa); }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 0 28px; }
.intro-copy { min-width: 0; }
.intro h1 { font-size: clamp(50px, 6.6vw, 76px); }
.br-mobile { display: none; }

/* Brand line as an ink stamp at the far (left) end of the intro */
.stamp {
  flex-shrink: 0; order: 1; width: 160px; height: 160px; margin-inline-end: 6px;
  color: var(--terracotta); overflow: visible;
  opacity: .9; mix-blend-mode: multiply;
}
.stamp-body { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(-12deg); animation: stamp-in .7s var(--ease) .25s both; }
.stamp-ring { fill: none; stroke: currentColor; stroke-width: 1.3; }
.stamp-ring.is-outer { stroke-width: 3.6; }
.stamp-arc, .stamp-logo, .stamp-star { fill: currentColor; }
.stamp-arc { font-family: Cairo, sans-serif; font-size: 16.5px; font-weight: 700; }
.stamp-arc.is-top { font-size: 15px; }
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-26deg) scale(1.25); }
  60% { opacity: 1; transform: rotate(-10deg) scale(.95); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}
.intro-text { max-width: 780px; margin: -5px 0 0; font-size: 16px; line-height: 1.9; color: var(--muted); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */
.locator { padding-bottom: 72px; }
.filter-bar { display: flex; gap: 12px; align-items: stretch; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.filter-bar > .filters { flex: 1; min-width: 0; }
.filter-trigger { display: none; }

.field {
  position: relative; display: flex; align-items: center; gap: 10px; min-width: 0;
  height: 54px; padding-inline: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(62, 43, 47, .03);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px rgba(62, 43, 47, .08); }
.field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(166, 117, 59, .16); }
.field > .i { color: var(--muted); transition: color .2s; }
.field:hover > .i, .field:focus-within > .i { color: var(--ink); }
.field input, .field select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; color: var(--ink); }
.field-search { flex: 2 1 320px; }
.field-select { flex: 1 1 180px; padding: 0; cursor: pointer; }
.field-select select { appearance: none; -webkit-appearance: none; padding-inline: 16px 42px; cursor: pointer; }
.field-select .chev { position: absolute; left: 14px; pointer-events: none; transition: transform .25s var(--ease), color .2s; }
.field-select:hover .chev { transform: translateY(2px); }
.field-select:has(option[value=""]:checked) select { color: var(--muted); }
input::placeholder, textarea::placeholder { color: #9b918c; opacity: 1; }
.field input::placeholder { font-size: 14px; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }

.locate {
  flex: 0 0 auto; height: 54px; padding-inline: 22px;
  background: var(--terracotta); border-color: var(--terracotta); color: #fff;
}
.locate .i { width: 20px; height: 20px; }
.locate:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: #fff; box-shadow: 0 8px 20px rgba(165, 74, 60, .28); }
.locate.is-loading .i { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.filter-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; margin: 12px 0 18px; }
.status { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.status.error { color: #933728; }
.reset-button { color: var(--terracotta); }
.reset-button:hover { background: #f6e4df; color: var(--terracotta-dark); }

/* --------------------------------------------------------------------------
   Locator workspace (list + map)
   -------------------------------------------------------------------------- */
.mobile-view { display: none; }
.locator-workspace {
  display: grid; grid-template-columns: 370px 1fr;
  height: 600px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.results-panel { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; flex-shrink: 0; }
.results-heading span { font-size: 11px; color: var(--muted); padding: 2px 10px; border-radius: 999px; background: #f4efe6; }
.results { overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }

.store-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-bottom: 1px solid #f0e9df;
  transition: background-color .2s;
}
.store-card:hover { background: #faf6ee; }
.store-card.selected { background: #f6efe3; box-shadow: inset -3px 0 var(--ink); }
.store-card:has(.store-name:focus-visible) { outline: 3px solid var(--focus); outline-offset: -3px; }
.store-body { flex: 1; min-width: 0; }
.store-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.store-name {
  padding: 0; border: 0; background: none; outline: none;
  color: var(--ink); text-align: right; font-size: 15px; font-weight: 700; line-height: 1.7;
}
.store-name::after { content: ''; position: absolute; inset: 0; }
.distance { flex-shrink: 0; margin-top: 2px; padding: 0 8px; border-radius: 999px; background: #eaf0e6; color: var(--green); font-size: 11px; font-weight: 700; line-height: 1.9; white-space: nowrap; }
.distance:empty { display: none; }
.store-region { margin: 2px 0 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.location-note { margin: -4px 0 10px; font-size: 11px; color: var(--muted); }
.store-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; margin-inline-start: -8px; }
.store-action {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border: 0; border-radius: 6px; background: transparent;
  color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.7; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.store-action .i { width: 15px; height: 15px; color: var(--gold); transition: color .2s; }
.store-action:hover { background: #efe5d3; color: var(--ink); }
.store-action:hover .i { color: var(--ink); }
.store-action.is-wa .i { color: var(--wa-ink); }
.store-chevron { width: 18px; height: 18px; color: #b8aa98; transition: transform .25s var(--ease), color .2s; }
.store-card:hover .store-chevron, .store-card.selected .store-chevron { color: var(--ink); }
.store-card:hover .store-chevron { transform: translateX(-4px); }

.empty { padding: 40px 25px; text-align: center; }
.empty h3 { font-size: 18px; }
.empty p { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }

/* Map */
.map-panel { position: relative; min-width: 0; background: #ece9dd; }
.map-panel #map { height: 100%; z-index: 1; font-family: Cairo, sans-serif; direction: ltr; }
.map-toolbar { position: absolute; left: 65px; right: 15px; top: 15px; z-index: 400; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.map-button {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border: 1px solid #ddd3c4; border-radius: 999px;
  background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
  font-size: 12px; font-weight: 700; line-height: 1.6;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.map-button .i { width: 15px; height: 15px; }
.map-button:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.map-key { z-index: 400; position: absolute; bottom: 28px; right: 14px; display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); font-size: 11px; }
.key-dot { display: inline-block; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; }
.map-error { position: absolute; top: 64px; right: 20px; left: 20px; z-index: 500; margin: 0; padding: 15px; border-radius: var(--radius); background: #fff1dd; font-size: 13px; }

.map-pin {
  display: grid; place-items: center; width: 27px; height: 27px;
  background: var(--ink); border: 2px solid #fff; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg); box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  transition: transform .2s var(--ease), background-color .2s;
}
.map-pin::after { content: ''; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; }
.farida-marker:hover .map-pin { transform: rotate(-45deg) scale(1.15); background: var(--terracotta); }
.map-cluster {
  display: grid; place-items: center;
  background: rgba(62, 43, 47, .92); border: 4px solid rgba(242, 218, 178, .92); border-radius: 50%;
  color: #fff; font-family: Cairo, sans-serif; font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15); transition: transform .2s var(--ease);
}
.map-cluster:hover { transform: scale(1.08); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 14px 18px 14px 16px; min-width: 180px; text-align: right; direction: rtl; font-family: Cairo, sans-serif; line-height: 1.8; }
.leaflet-popup-content h3 { font-size: 14px; margin: 0; }
.leaflet-popup-content p { margin: 2px 0 10px; font-size: 11px; color: var(--muted); }
.popup-actions { display: flex; gap: 4px; margin-inline-start: -8px; }
.leaflet-container a.store-action { color: var(--ink); }
.leaflet-control-attribution { font-size: 9px !important; }
.leaflet-container a.leaflet-popup-close-button { padding: 2px !important; }
.leaflet-bar a { transition: background-color .2s, color .2s; }
.leaflet-bar a:hover { background: #f4efe6; color: var(--ink); }

.map-footnote { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* "Couldn't find a store?" callout */
.help-callout {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 20px 24px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.help-icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #e2f5e8; color: var(--wa-ink); }
.help-icon .i { width: 26px; height: 26px; }
.help-copy { flex: 1; min-width: 0; }
.help-copy h3 { font-size: 17px; line-height: 1.6; }
.help-copy p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.wa-button { flex-shrink: 0; background: var(--wa-ink); border-color: var(--wa-ink); color: #fff; }
.wa-button .i { width: 20px; height: 20px; }
.wa-button:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; box-shadow: 0 8px 20px rgba(19, 107, 56, .28); }

/* --------------------------------------------------------------------------
   Sizes & prices
   -------------------------------------------------------------------------- */
.delivery-section { background: var(--header-bg); border-block: 1px solid var(--header-line); }
.factory-catalog { padding: 72px 0 80px; }
.section-head h2 { font-size: 58px; }
.section-note { max-width: 720px; margin: 18px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.catalog-label { margin: 36px 0 18px; font-size: 16px; line-height: 1.6; }

.product-grid, .chilled-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.product-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:has(.product-order:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.product-visual { display: flex; align-items: center; justify-content: center; height: 220px; padding: 24px; background: var(--photo-bg); overflow: hidden; }
/* Studio shots share the --photo-bg backdrop, so they fill the area edge to edge with no blending */
.product-visual.is-studio { padding: 0; }
.is-studio .product-photo { mix-blend-mode: normal; }
.product-card[data-product="vacuum-250g"] .product-visual { background: #fefdf8; }
.product-photo {
  display: block; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .6s var(--ease);
}
.product-card:hover .product-photo { transform: scale(1.06); }
.product-card[data-product="sweet"] .product-visual { padding: 0; }
.product-card[data-product="sweet"] .product-photo { object-fit: cover; mix-blend-mode: normal; }

.product-info { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 20px 20px; }
.product-size {
  display: inline-block; padding: 2px 10px; border-radius: 6px;
  background: var(--chip); color: var(--chip-ink);
  font-size: 12px; font-weight: 700; line-height: 1.8;
}
.product-info h3 { margin: 10px 0 0; font-size: 18px; line-height: 1.6; }
.product-description { margin: 4px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.product-availability { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--green); }
.product-price-label { display: block; margin-top: 10px; font-size: 11px; color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 0; }
.product-price strong { font-size: 30px; font-weight: 700; line-height: 1.5; }
.product-price > span { font-size: 13px; color: var(--muted); }
.product-store-note { margin: 2px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }

.product-order {
  align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding: 10px 14px;
  border-radius: var(--radius); background: #f4efe6; color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1.7; text-decoration: none; outline: none;
  transition: background-color .25s, color .25s;
}
.product-info > :nth-last-child(2) { margin-bottom: 16px; }
.product-order::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-order .i { width: 19px; height: 19px; color: var(--wa-ink); transition: color .25s, transform .25s var(--ease); }
.product-card:hover .product-order { background: var(--ink); color: #fff; }
.product-card:hover .product-order .i { color: var(--wa); transform: translateX(-3px); }
.yanboot-link .i { color: var(--green); }
.product-card:hover .yanboot-link { background: var(--green); }
.product-card:hover .yanboot-link .i { color: #fff; }

.chilled-products { margin-top: 56px; padding-top: 48px; border-top: 1px solid #dccfbb; }
.chilled-intro { grid-column: span 2; align-self: center; padding-inline-end: 32px; }
.chilled-intro h3 { font-family: Mirza, serif; font-size: 40px; line-height: 1.1; }
.chilled-intro > p:last-child { max-width: 380px; margin: 14px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* Contact panel */
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); align-items: center; gap: 28px;
  margin-top: 56px; padding: 28px 32px;
  background: var(--ink); color: var(--cream); border-radius: 20px;
  box-shadow: var(--shadow);
}
.contact-intro h3 { font-family: Mirza, serif; font-size: 32px; line-height: 1.25; }
.contact-intro p { margin: 8px 0 0; font-size: 13px; line-height: 1.8; color: rgba(250, 247, 240, .7); }
.contact-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-tile {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.contact-tile:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; }
.contact-icon .i { width: 21px; height: 21px; }
.contact-icon.is-phone { background: var(--sand); color: var(--ink); }
.contact-icon.is-wa { background: var(--wa); color: #fff; }
.contact-icon.is-fb { background: linear-gradient(135deg, #0a7cff, #a334fa 70%, #ff6968); color: #fff; }
.contact-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.5; }
.contact-text small { font-size: 11px; color: rgba(250, 247, 240, .65); }
.contact-text strong { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-text strong[dir=ltr] { text-align: right; letter-spacing: .4px; }
.contact-chev { width: 16px; height: 16px; opacity: .45; transition: opacity .25s, transform .25s var(--ease); }
.contact-tile:hover .contact-chev { opacity: 1; transform: translateX(-3px); }

/* --------------------------------------------------------------------------
   Business & export
   -------------------------------------------------------------------------- */
.business-section { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; padding: 88px 0 96px; }
.business-intro h2 { font-size: 64px; line-height: 1; }
.business-intro > p:not(.eyebrow) { max-width: 320px; margin: 22px 0; font-size: 14px; color: var(--muted); }
.email-link {
  display: inline-flex; align-items: center; gap: 8px; margin-inline-start: -10px;
  padding: 6px 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.email-link .i { color: var(--gold); }
.email-link:hover { background: #f1e8d8; color: var(--ink); }
.privacy-note { margin-top: 40px !important; font-size: 11px !important; }

.inquiry-form { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.route-options { display: flex; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.route-options legend { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.route-options label { position: relative; flex: 1; cursor: pointer; }
.route-options input { position: absolute; opacity: 0; }
.route-options span {
  display: block; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; font-size: 13px; font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.route-options label:hover span { border-color: var(--line-strong); background: #faf6ee; }
.route-options input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.route-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form label { display: block; font-size: 12px; font-weight: 600; }
.inquiry-form > label { margin-top: 16px; }
.inquiry-form input:not([type=radio]), .inquiry-form select, .inquiry-form textarea {
  display: block; width: 100%; min-height: 46px; margin: 6px 0 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fdfcf9; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.inquiry-form input:not([type=radio]):hover, .inquiry-form select:hover, .inquiry-form textarea:hover { border-color: var(--line-strong); background: #fff; }
.inquiry-form input:not([type=radio]):focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(166, 117, 59, .16); }
.inquiry-form textarea { resize: vertical; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-left: 38px; cursor: pointer; }
.select-wrap .chev { position: absolute; left: 12px; top: 50%; margin-top: -6px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.optional { padding-right: 5px; font-size: 10px; font-weight: 400; color: var(--muted); }
.form-bottom { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.form-bottom > span { font-size: 11px; color: var(--muted); }
.i-send { transform: scaleX(-1); transition: transform .25s var(--ease); }
#send-inquiry:hover .i-send { transform: scaleX(-1) translate(3px, -2px); }
.inquiry-form .status { margin: 12px 0 0; }
.inquiry-form [aria-invalid=true] { border-color: #a24332 !important; }
.small-link { font-size: 12px; color: var(--muted); transition: color .2s; }
.small-link:hover { color: var(--ink); }
.honeypot { position: fixed; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--sand) url("assets/art.svg") center / auto 84% no-repeat; color: var(--ink); }
.footer-inner { padding: 58px 0 24px; text-align: center; }
.footer-title { margin: 0 0 14px; font-size: 46px; line-height: 1.2; }
.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin: 0; font-size: 16px; font-weight: 600; }
.footer-contacts a { text-decoration: underline; text-decoration-color: rgba(62, 43, 47, .35); text-underline-offset: 6px; transition: color .2s, text-decoration-color .2s; }
.footer-contacts a:hover { color: var(--gold); text-decoration-color: currentColor; }
.footer-contacts span { opacity: .45; }
.footer-legal { margin: 40px 0 0; font-size: 12px; font-weight: 600; opacity: .75; }

/* --------------------------------------------------------------------------
   Store dialog
   -------------------------------------------------------------------------- */
dialog {
  width: 460px; max-width: calc(100% - 30px); padding: 34px 32px 28px;
  border: 0; border-radius: 18px; background: var(--cream); color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}
dialog::backdrop { background: rgba(44, 32, 36, .5); backdrop-filter: blur(2px); }
dialog[open] { animation: dialog-in .3s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.close-button {
  position: absolute; top: 12px; left: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); transition: background-color .2s;
}
.close-button:hover { background: #ece3d4; }
dialog .eyebrow { margin-bottom: 8px; }
dialog h3 { margin: 0 0 10px; font-family: Mirza, serif; font-size: 34px; line-height: 1.2; }
dialog p { font-size: 13px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 14px; }
dialog .button { min-height: 44px; padding: 9px 18px; font-size: 13px; }
dialog .button .i { width: 17px; height: 17px; }
.detail-note { padding-top: 14px; border-top: 1px solid var(--line); }
dialog .small-link { display: inline-flex; align-items: center; gap: 5px; }
dialog .small-link .i { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Filter bottom sheet (tablet & phone)
   -------------------------------------------------------------------------- */
.sheet {
  position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(88vh, 640px);
  max-height: min(88dvh, 640px); /* shrinks above the on-screen keyboard */ overscroll-behavior: contain;
  margin: 0; padding: 10px 20px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0; background: var(--cream);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .18); overflow: auto;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .35s var(--ease); }
.sheet.is-closing { animation: sheet-down .25s ease-in forwards; }
html:has(.sheet[open]) { overflow: hidden; } /* keep the page behind still */
.sheet::backdrop { background: rgba(44, 32, 36, .45); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
.sheet.is-closing::backdrop { animation: fade-out .25s ease forwards; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.sheet-handle { align-self: center; width: 44px; height: 5px; margin-bottom: 14px; border-radius: 3px; background: #d8ccbb; }
.sheet-title { margin: 0 0 16px; font-family: Cairo, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.6; }
.sheet .close-button { top: 22px; left: 14px; }
.sheet-body .filters { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
.sheet-body .field { flex: none; width: 100%; height: 52px; }
.sheet-body .field input, .sheet-body .field select { font-size: 16px; }
.sheet-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sheet-foot .text-button { padding: 10px 12px; font-size: 13px; }
.sheet-foot .button { flex: 1; }
.option-list { display: flex; flex-direction: column; gap: 8px; }
.option-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--ink); font-size: 16px; font-weight: 600; text-align: start;
  transition: border-color .2s, background-color .2s;
}
.option-item:hover { border-color: var(--line-strong); background: #faf6ee; }
.option-item .i { width: 20px; height: 20px; color: var(--terracotta); opacity: 0; transition: opacity .2s; }
.option-item[aria-pressed=true] { border-color: var(--ink); background: #f6efe3; }
.option-item[aria-pressed=true] .i { opacity: 1; }
.select-sheet-trigger { display: none; }
@media (min-width: 600px) { .sheet { width: min(100%, 560px); margin-inline: auto; padding-inline: 24px; } }

/* Without JavaScript (e.g. some phone file viewers) the locator cannot work: say so instead */
.no-js-notice { display: none; }
.no-js .no-js-notice { display: block; margin: 0 0 20px; padding: 16px 18px; border-radius: var(--radius); background: #fff1dd; font-size: 14px; line-height: 1.9; }
.no-js .filter-bar, .no-js .filter-meta, .no-js .mobile-view, .no-js .locator-workspace, .no-js .map-footnote { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid, .chilled-products { gap: 18px; }
  .product-visual { height: 190px; padding: 20px; }
  .product-info { padding: 16px; }
  .contact-panel { grid-template-columns: 1fr; }
  .business-section { gap: 40px; grid-template-columns: 1fr 1.7fr; }
}

@media (max-width: 1000px) {
  .stamp { width: 150px; height: 150px; }
  .wrap { width: calc(100% - 40px); }
  .locator-workspace { grid-template-columns: 320px 1fr; }
  .business-intro h2 { font-size: 54px; }
}

/* Header switches to two rows: emblem + CTA, then the menu */
@media (max-width: 900px) {
  :root { --header-h: 157px; --header-compact: 105px; }
  .header-bar { flex-wrap: wrap; gap: 0 12px; height: auto; }
  .is-compact .header-bar { height: auto; }
  .brand-home { display: flex; align-items: center; height: 108px; transition: height .4s var(--ease), transform .3s var(--ease); }
  .is-compact .brand-home { height: 60px; }
  .logo { height: 88px; }
  .is-compact .logo { height: 44px; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
  .header-navigation {
    order: 3; flex: 1 0 100%; justify-content: center; gap: 28px;
    height: 48px; border-top: 1px solid var(--header-line);
    transition: height .4s var(--ease);
  }
  .is-compact .header-navigation { height: 44px; }
  .header-navigation a { font-size: 13px; padding: 6px 0; }
  .product-grid, .chilled-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chilled-intro { grid-column: 1 / -1; padding: 0; }

  /* One "search & filter" button; the fields open in a bottom sheet */
  .filter-trigger {
    display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
    height: 54px; padding-inline: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink); font-size: 14px; font-weight: 700;
    box-shadow: 0 1px 2px rgba(62, 43, 47, .03);
    transition: border-color .2s, box-shadow .2s;
  }
  .filter-trigger:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px rgba(62, 43, 47, .08); }
  .filter-trigger[aria-expanded=true] { border-color: var(--ink); }
  .filter-trigger-label { flex: 1; min-width: 0; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .filter-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--terracotta); color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
  .filter-trigger .chev { width: 16px; height: 16px; color: var(--muted); }

  /* Form dropdowns open the option sheet instead of the native picker */
  .js .select-sheet-trigger { display: block; position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .js .select-wrap:hover select { border-color: var(--line-strong); background: #fff; }
  .business-section { display: block; padding: 64px 0; }
  .business-intro { margin-bottom: 28px; }
  .business-intro h2 br { display: none; }
  .business-intro > p:not(.eyebrow) { max-width: 560px; }
  .privacy-note { margin: 12px 0 0 !important; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }
  h1, .intro h1 { font-size: 44px; line-height: 1.15; letter-spacing: -.5px; }
  /* Stamp floats beside the heading; the intro line wraps around its circle */
  .intro { display: flow-root; padding: 30px 0 24px; }
  .br-mobile { display: inline; }
  .stamp { float: left; width: 118px; height: 118px; margin: -4px 0 0; shape-outside: circle(50%) border-box; shape-margin: 8px; }
  .intro-text { margin-top: -4px; font-size: 14px; line-height: 1.85; }

  .filter-bar { gap: 10px; }
  .filter-trigger { height: 50px; padding-inline: 14px; }
  .field { padding-inline: 12px; }
  .field-select select { padding-inline: 12px 36px; font-size: 14px; }
  .field-select .chev { left: 12px; }
  .locate { height: 50px; padding-inline: 14px; font-size: 13px; gap: 7px; }
  .filter-meta { margin: 10px 0 14px; align-items: flex-start; }

  .mobile-view { display: flex; gap: 4px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .mobile-view button {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 50%;
    padding: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--ink);
    font-size: 13px; font-weight: 600; transition: background-color .2s, color .2s;
  }
  .mobile-view button .i { width: 16px; height: 16px; }
  .mobile-view button:hover { background: #f4efe6; }
  .mobile-view button[aria-pressed=true] { background: var(--ink); color: #fff; }

  .locator-workspace { display: block; height: 480px; }
  .results-panel { height: 100%; border: 0; }
  .map-panel { height: 100%; }
  .locator-workspace[data-view=list] .map-panel { display: none; }
  .locator-workspace[data-view=map] .results-panel { display: none; }
  .results-heading { padding: 12px 16px; }
  .store-card { padding: 14px 16px 14px 12px; }
  .store-name { font-size: 14px; }
  .store-action { min-height: 34px; }
  .map-toolbar { left: 52px; right: 8px; top: 12px; gap: 4px; }
  .map-button { padding: 6px 10px; font-size: 11px; }
  .map-key { right: 8px; bottom: 25px; font-size: 10px; }
  .map-footnote { font-size: 11px; flex-wrap: wrap; gap: 6px 20px; }
  .locator { padding-bottom: 48px; }

  .help-callout { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .help-icon { width: 44px; height: 44px; }
  .help-icon .i { width: 22px; height: 22px; }
  .help-copy { flex: 1 1 200px; }
  .help-copy h3 { font-size: 16px; }
  .wa-button { flex: 1 1 100%; }

  .factory-catalog { padding: 48px 0 56px; }
  h2, .section-head h2 { font-size: 42px; line-height: 1.1; }
  .section-note { font-size: 13px; margin-top: 12px; }
  .catalog-label { margin: 26px 0 14px; font-size: 15px; }
  .product-grid, .chilled-products { gap: 12px; }
  .product-card { border-radius: 14px; }
  .product-card:hover { transform: translateY(-3px); }
  .product-visual { height: 150px; padding: 14px; }
  .product-info { padding: 12px 12px 14px; }
  .product-size { font-size: 11px; padding: 1px 8px; }
  .product-info h3 { font-size: 15px; margin-top: 8px; }
  .product-price strong { font-size: 24px; }
  .product-price > span { font-size: 11px; }
  .product-description { font-size: 12px; }
  .product-info { padding: 12px 10px 12px; }
  .product-order { justify-content: center; padding: 8px; font-size: 11.5px; gap: 5px; white-space: nowrap; }
  .product-order .i { width: 16px; height: 16px; }
  .chilled-products { margin-top: 40px; padding-top: 36px; }
  .chilled-intro h3 { font-size: 32px; }
  .chilled-intro > p:last-child { max-width: none; font-size: 13px; margin: 10px 0 6px; }

  .contact-panel { margin-top: 40px; padding: 22px 18px; gap: 18px; border-radius: 18px; }
  .contact-intro h3 { font-size: 28px; }
  .contact-actions { grid-template-columns: 1fr; gap: 10px; }

  .business-section { padding: 48px 0; }
  .business-intro h2 { font-size: 44px; line-height: 1.1; }
  .business-intro > p:not(.eyebrow) { font-size: 13px; margin: 14px 0; }
  .inquiry-form { padding: 20px; }
  .route-options span { font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .inquiry-form input:not([type=radio]), .inquiry-form select, .inquiry-form textarea { font-size: 16px; }
  .form-bottom { flex-wrap: wrap; gap: 10px 16px; }

  .site-footer { background-size: auto 70%; }
  .footer-inner { padding: 42px 0 18px; }
  .footer-title { font-size: 36px; }
  .footer-contacts { font-size: 14px; gap: 6px 14px; }
  .footer-legal { margin-top: 30px; font-size: 11px; line-height: 1.8; }

  dialog { padding: 30px 22px 22px; }
  dialog h3 { font-size: 28px; }
}

@media (max-width: 380px) {
  .header-cta span { font-size: 12px; }
  .header-cta { padding: 7px 11px; gap: 7px; }
  .header-navigation { gap: 18px; }
  .header-navigation a { font-size: 12px; }
}

/* Very narrow phones: the locate button keeps its icon; the label stays for screen readers */
@media (max-width: 340px) {
  .locate { padding-inline: 15px; }
  .locate span { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

