:root {
  --v3-ink: #171414;
  --v3-muted: #696464;
  --v3-line: #ddd8d3;
  --v3-paper: #f7f5f1;
  --v3-wine: #912724;
}

body.v3-ready {
  background: #fff;
  color: var(--v3-ink);
  padding-top: 106px;
}
body.v3-ready > .topline { position: fixed; inset: 0 0 auto; height: 32px; z-index: 51; }
body.v3-ready > .header { position: fixed; inset: 32px 0 auto; width: 100%; height: 74px; z-index: 50; }
@media(max-width:900px) {
  body.v3-ready { padding-top: 68px; }
  body.v3-ready > .header { top: 0; height: 68px; }
  body.v3-ready .header .brand { width: auto; min-width: 0; }
  body.v3-ready .header .brand img { width: clamp(118px,36vw,145px); max-width: 100%; }
  body.v3-ready .header .bag-button { padding-inline: 10px; }
}

body.v3-ready :is(h1,h2,h3) { text-wrap: balance; }

.retail-hero,
.retail-categories,
.rice-feature,
.store-feature,
.store-contact,
.retail-help {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.retail-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
  padding: 68px 0 82px;
}

.retail-hero__copy h1 {
  max-width: 680px;
  margin: 16px 0 24px;
  font-size: clamp(3.25rem, 6.2vw, 6.8rem);
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.075em;
}

.retail-hero__copy h1 span { color: var(--v3-wine); }

.retail-kicker {
  margin: 0;
  color: var(--v3-wine);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.retail-lead {
  max-width: 530px;
  margin: 0;
  color: var(--v3-muted);
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  line-height: 1.48;
}

.retail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.retail-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--v3-ink);
  border-radius: 999px;
  background: var(--v3-ink);
  color: white;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.retail-button:hover { transform: translateY(-2px); }
.retail-button--ghost { background: transparent; color: var(--v3-ink); }
.retail-button--wine { border-color: var(--v3-wine); background: var(--v3-wine); }

.retail-hero__visual { position: relative; min-width: 0; }
.retail-hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.retail-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--v3-line);
}

.retail-hero__facts div { padding: 17px 16px 0 0; }
.retail-hero__facts strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.retail-hero__facts span { color: var(--v3-muted); font-size: .78rem; }

.retail-categories { position: relative; padding: 46px 0 50px; border-top: 1px solid var(--v3-line); }
.retail-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.retail-section-head h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4.5rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.retail-section-head p { max-width: 430px; margin: 0; color: var(--v3-muted); line-height: 1.5; }

.retail-category-shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.retail-category {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #ddd;
  color: white;
  cursor: pointer;
  text-align: left;
}

.retail-category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.retail-category::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(15, 10, 10, .75)); }
.retail-category span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 17px; font-size: 1.08rem; font-weight: 700; }
.retail-category:hover img { transform: scale(1.035); }

body.v3-ready .catalog { padding-top: 58px; padding-bottom: 110px; border-top: 1px solid var(--v3-line); }

body.v3-ready .catalog-toolbar {
  position: sticky;
  top: 74px;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(0,1fr) 230px;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
body.v3-ready .search-field {
  height: 56px;
  border: 1px solid #d8d3ce;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(41,31,27,.05);
}
body.v3-ready .sort-label {
  position: relative;
  display: block;
  height: 56px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
body.v3-ready .sort-label::before {
  content: "Ordenar por";
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 9px;
  color: var(--v3-muted);
  font-size: .66rem;
  pointer-events: none;
}
body.v3-ready .catalog-toolbar .sort-label select {
  display: block;
  width: 100%;
  height: 56px;
  padding: 20px 40px 5px 18px;
  border: 1px solid #d8d3ce;
  border-radius: 14px;
  background-color: #fff;
  color: var(--v3-ink);
  box-shadow: 0 8px 26px rgba(41,31,27,.05);
  font-size: .88rem;
  font-weight: 700;
}
body.v3-ready .catalog-toolbar .sort-label select:focus,
body.v3-ready .search-field:focus-within {
  border-color: var(--v3-wine);
  box-shadow: 0 0 0 3px rgba(128,16,16,.1);
}

.rice-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 650px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--v3-paper);
}

.rice-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.rice-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 86px); }
.rice-feature h2 { margin: 14px 0 22px; font-size: clamp(3rem, 5vw, 5.6rem); font-weight: 500; line-height: .92; letter-spacing: -.065em; }
.rice-feature__copy > p:not(.retail-kicker) { color: var(--v3-muted); font-size: 1.08rem; line-height: 1.58; }
.rice-feature__prices { display: flex; gap: 46px; margin: 24px 0 4px; padding-top: 22px; border-top: 1px solid var(--v3-line); }
.rice-feature__prices span { display: block; color: var(--v3-muted); font-size: .8rem; }
.rice-feature__prices strong { display: block; margin-top: 5px; color: var(--v3-wine); font-size: 1.45rem; }

.store-feature { padding: 122px 0 90px; }
.store-feature__photos { display: grid; grid-template-columns: 1.45fr .75fr; gap: 16px; align-items: end; }
.store-feature__photos img { display: block; width: 100%; object-fit: cover; border-radius: 16px; }
.store-feature__photos img:first-child { height: min(620px, 56vw); }
.store-feature__photos img:last-child { height: min(440px, 42vw); }

.store-contact {
  display: grid;
  grid-template-columns: minmax(360px,.78fr) minmax(0,1.22fr);
  gap: 28px;
  padding: 96px 0 110px;
  border-top: 1px solid var(--v3-line);
}
.store-contact h2 { margin: 12px 0 34px; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 500; line-height: .94; letter-spacing: -.06em; }
.store-contact__details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: center; }
.store-contact__details div { padding-top: 18px; border-top: 1px solid var(--v3-line); }
.store-contact__details strong { display: block; margin-bottom: 8px; }
.store-contact__details span, .store-contact__details a { color: var(--v3-muted); line-height: 1.5; text-decoration: none; }

.retail-help { padding: 92px 0 120px; border-top: 1px solid var(--v3-line); }
.retail-help__rows { border-top: 1px solid var(--v3-line); }
.retail-help__row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--v3-line); }
.retail-help__row strong { font-size: 1.02rem; }
.retail-help__row p { margin: 0; color: var(--v3-muted); line-height: 1.55; }

.retail-footer { padding: 62px max(24px, calc((100vw - 1280px) / 2)) 24px; border-top: 4px solid var(--v3-wine); background: #f3f0ec; color: var(--v3-ink); }
.retail-footer a { color: inherit; text-decoration: none; }

/* Estrutura criada pelo script: os seletores abaixo mantêm a composição legível mesmo antes do JavaScript carregar. */
.retail-hero-copy h1 { max-width: 680px; margin: 16px 0 24px; font-size: clamp(3.25rem, 6.2vw, 6.8rem); font-weight: 500; line-height: .87; letter-spacing: -.075em; }
.retail-hero-copy > p:first-child { margin: 0; color: var(--v3-wine); font-size: .82rem; font-weight: 700; }
.retail-hero-photo img { display: block; width: 100%; aspect-ratio: 1.12 / 1; border-radius: 18px; object-fit: cover; }
.retail-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--v3-line); }
.retail-facts span { display: flex; align-items: center; gap: 14px; padding: 16px 18px 0 0; color: var(--v3-muted); font-size: .82rem; }
.retail-facts img { flex: 0 0 auto; width: 84px; height: 84px; object-fit: contain; }
.info-symbol { flex: 0 0 auto; width: 34px; height: 34px; fill: none; stroke: var(--v3-wine); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.retail-facts .info-symbol { margin: 12px 7px; }
.retail-facts i { font-style: normal; }
.retail-facts b { display: block; margin-bottom: 4px; color: var(--v3-ink); font-size: .95rem; }

/* A foto é da fachada real: a abertura apresenta a loja sem criar mobiliário fictício. */
.retail-hero { display: block; padding: 28px 0 42px; }
.retail-hero-stage { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 50vw, 620px); overflow: hidden; border-radius: 18px; isolation: isolate; background: #352222; }
.retail-hero-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: -2; }
.retail-hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,14,14,.83) 0%, rgba(25,14,14,.60) 42%, rgba(25,14,14,.08) 82%), linear-gradient(0deg, rgba(25,14,14,.34), transparent 65%); }
.retail-hero-copy { width: min(900px, 90%); padding: clamp(32px, 6vw, 76px); color: #fff; }
.retail-hero-copy > p:first-child { color: #fff; letter-spacing: .12em; font-size: .76rem; }
.retail-hero-copy h1 { max-width: none; margin: 20px 0 22px; font-size: clamp(3rem, 4.8vw, 5.25rem); line-height: .88; font-weight: 600; letter-spacing: -.07em; }
.retail-hero-copy h1 > span,.store-feature-head h2 > span { display: block; }
.retail-hero-copy h1 > span { color: inherit; white-space: nowrap; }
.retail-hero-copy .retail-lead { color: #fff; max-width: 650px; text-wrap: pretty; }
.retail-hero-copy .retail-lead > span { display: block; }
.retail-hero-copy .button.wine { background: #fff; color: #912724; border-color: #fff; }
.retail-hero-copy .retail-link { display: inline-flex; align-items: center; color: #fff; border: 0; }
.retail-facts { margin-top: 22px; }
.retail-link { min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--v3-ink); font: inherit; font-weight: 700; cursor: pointer; }
.retail-section-tools { display: flex; align-items: end; gap: 24px; }
.category-controls { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.category-controls button { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--v3-line); border-radius: 50%; background: #fff; color: var(--v3-ink); font: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.category-controls svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.category-controls button:not(:disabled):hover { border-color: var(--v3-wine); background: var(--v3-wine); color: #fff; }
.category-controls button:disabled { opacity: .35; cursor: default; }
.category-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 22px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x proximity; scrollbar-width: none; }
.category-shelf::-webkit-scrollbar { display: none; }
.category-shelf button { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 0; padding: 0; border: 0; background: transparent; color: var(--v3-ink); cursor: pointer; text-align: center; scroll-snap-align: start; font: inherit; }
.category-shelf button::after { content: none; }
.category-shelf .category-image { display: block; position: relative; width: 150px; height: 150px; overflow: hidden; border: 1px solid #eee7e2; border-radius: 50%; background: #fff; transition: border-color .2s, transform .2s; }
.category-shelf img { position: static; display: block; width: 84%; height: 84%; margin: 8%; object-fit: contain; transition: transform .3s ease; }
.category-shelf .category-label { position: static; display: block; max-width: 150px; color: var(--v3-ink); font-size: .96rem; font-weight: 700; line-height: 1.2; }
.category-shelf button:hover .category-image { border-color: var(--v3-wine); transform: translateY(-3px); }
.category-shelf button:hover img { transform: scale(1.035); }
.category-shelf button:focus-visible { outline: 2px solid var(--v3-wine); outline-offset: 5px; border-radius: 8px; }
/* O painel do catálogo mostra o produto inteiro; a foto não é recortada para preencher a coluna. */
body.v3-ready .category-banner > img { box-sizing: border-box; object-fit: contain; object-position: center; padding: 14px; background: #fff; }
.rice-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.rice-feature > .retail-kicker { grid-column: 1 / -1; padding: 24px 20px; text-align: center; }
.rice-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px,6vw,86px); }
#personalize .rice-feature-copy { text-align: center; }
#personalize .rice-values { justify-content: center; }
.rice-feature-copy h2 { margin: 14px 0 22px; font-size: clamp(3rem,5vw,5.6rem); font-weight: 500; line-height: .92; letter-spacing: -.065em; }
.rice-feature-copy > p:not(.retail-kicker) { color: var(--v3-muted); font-size: 1.08rem; line-height: 1.58; }
.rice-values { display: flex; gap: 46px; margin: 24px 0 30px; padding-top: 22px; border-top: 1px solid var(--v3-line); }
.rice-values span { color: var(--v3-muted); font-size: .8rem; }
.rice-values b { display: block; margin-top: 5px; color: var(--v3-wine); font-size: 1.45rem; }
.store-feature-head { display: block; margin-bottom: 36px; }
.store-feature-head h2 { margin: 0; font-size: clamp(2.8rem,5vw,5.6rem); font-weight: 500; line-height: .94; letter-spacing: -.06em; }
.store-feature-head p { max-width: 520px; margin: 22px 0 0; color: var(--v3-muted); line-height: 1.55; }
.store-feature-gallery { display: grid; grid-template-columns: 1.45fr .75fr; gap: 16px; align-items: end; }
.store-feature-gallery img { display: block; width: 100%; height: min(440px,42vw); object-fit: cover; border-radius: 16px; }
.store-feature-gallery .store-front { height: min(620px,56vw); }
.store-contact dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 0; align-content: center; }
.store-contact dl div { padding-top: 18px; border-top: 1px solid var(--v3-line); }
.store-contact dt { font-weight: 700; }
.store-contact dd { margin: 7px 0 0; color: var(--v3-muted); }
.store-contact dd a { color: inherit; }
.store-contact-actions { display: flex; align-items: center; gap: 20px; }
.store-contact__panel { padding: 42px 42px 34px; border-radius: 18px; background: var(--v3-paper); }
.contact-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 15px; align-items: center; width: 100%; min-height: 75px; padding: 12px 0; border: 0; border-top: 1px solid var(--v3-line); background: transparent; color: var(--v3-ink); text-align: left; text-decoration: none; cursor: pointer; }
.contact-row__icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #cec7c1; border-radius: 50%; color: var(--v3-wine); }
.contact-row__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.contact-row__icon--social { border: 0; }
.contact-row__icon--social img { display: block; width: 30px; height: 30px; object-fit: contain; }
.contact-generated-icon { width: 46px; height: 46px; object-fit: contain; }
.contact-row small { display: block; margin-bottom: 3px; color: var(--v3-muted); font-size: .68rem; }
.contact-row strong { font-size: .92rem; }
.contact-row > b { font-size: 1.1rem; transition: transform .2s ease; }
.contact-row:hover > b { transform: translate(3px,-3px); }
.contact-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 16px; border-top: 1px solid var(--v3-line); color: var(--v3-muted); font-size: .72rem; line-height: 1.5; }
.contact-hours span { display: flex; align-items: center; gap: 9px; }
.contact-hours img { flex: 0 0 auto; width: 62px; height: 62px; object-fit: contain; }
.contact-hours .info-symbol { width: 27px; height: 27px; margin-right: 3px; }
.contact-hours i { font-style: normal; }
.contact-hours b { display: block; color: var(--v3-ink); font-size: .84rem; }
.store-map { display: grid; grid-template-rows: minmax(520px,1fr) auto; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 18px; background: var(--v3-paper); }
.store-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.75) contrast(1.04); }
.map-address { display: grid; grid-template-columns: 46px 1fr auto; gap: 15px; align-items: center; padding: 18px 22px; color: var(--v3-ink); text-decoration: none; }
.map-address strong,.map-address small { display: block; }
.map-address small { margin-top: 4px; color: var(--v3-muted); }
.map-address > b { font-size: 1.2rem; }
.retail-help__heading { text-align: center; margin-bottom: 34px; }
.retail-help__heading h2 { margin: 15px 0 18px; font-size: clamp(2rem,4vw,4rem); font-weight: 500; letter-spacing: -.055em; }
.retail-help__heading > p:last-child { max-width: 560px; margin: 0 auto; color: var(--v3-muted); line-height: 1.6; }
.retail-help__questions { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.retail-help__questions details { border: 1px solid var(--v3-line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s,background .2s; }
.retail-help__questions details[open] { border-color: #b48585; background: #faf6f3; }
.retail-help__questions summary { position: relative; display: block; padding: 24px 64px; text-align: center; font-size: 1.03rem; font-weight: 600; line-height: 1.45; cursor: pointer; list-style: none; }
.retail-help__questions summary::-webkit-details-marker { display: none; }
.retail-help__questions summary > span { position: absolute; top: 50%; right: 23px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1e9e4; color: var(--v3-wine); font: 400 22px/1 Arial,sans-serif; transform: translateY(-50%); transition: transform .2s; }
.retail-help__questions details[open] summary > span { transform: translateY(-50%) rotate(45deg); }
.retail-help__questions summary:focus-visible { outline: 2px solid var(--v3-wine); outline-offset: -4px; }
.retail-help__questions details > p { display: block; max-width: 700px; margin: 0 auto; padding: 0 28px 25px; border: 0; color: var(--v3-muted); text-align: center; font-size: .95rem; line-height: 1.7; }
.retail-help__questions a { color: var(--v3-wine); text-decoration: underline; text-underline-offset: 3px; }
.retail-help__contact { margin-top: 32px; text-align: center; }
.retail-help__contact p { margin: 0 0 10px; color: var(--v3-muted); font-size: .9rem; }
.retail-help__contact a { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--v3-wine); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.retail-footer { display: grid; grid-template-columns: .8fr 1.5fr .55fr; align-items: start; gap: 70px; }
.retail-footer__brand img { display: block; width: 190px; height: auto; }
.retail-footer__brand > p { margin: 24px 0 0; color: var(--v3-muted); font-size: 1.02rem; line-height: 1.45; }
.retail-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.retail-footer .retail-socials > :is(a,button) { display: grid; place-items: center; width: 44px; height: 44px; padding: 7px; border: 0; background: transparent; }
.retail-socials img { width: 28px; height: 28px; object-fit: contain; }
.retail-socials a:hover,.retail-socials button:hover { border-color: var(--v3-wine); }
.retail-socials a:focus-visible,.retail-socials button:focus-visible { outline: 2px solid var(--v3-wine); outline-offset: 3px; }
.retail-help__questions summary,.retail-help__questions details > p { text-align: left; }
#list-title { display: flex; align-items: center; gap: 12px; }
#list-title .list-count { flex: 0 0 auto; min-width: 30px; height: 30px; margin: 0; padding: 0 7px; border-radius: 999px; color: #fff; font: 700 14px/1 Satoshi,sans-serif; letter-spacing: 0; }
.contact-dialog :is(input:not([type=radio]):not([type=checkbox]),select,textarea),.contact-dialog .radio-options label { border-radius: 12px; }
.retail-footer__info { display: grid; grid-template-columns: 1fr 1.15fr .9fr; gap: 30px; }
.retail-footer__info p { margin: 0; }
.retail-footer__info span { display: block; margin-bottom: 11px; color: var(--v3-muted); font-size: .72rem; }
.retail-footer__info b,.retail-footer__info a { display: block; font-size: .88rem; font-weight: 600; line-height: 1.55; }
.retail-footer__info .retail-footer__contact-link { display: inline-flex; align-items: center; gap: 8px; }
.retail-footer__contact-link > img { flex: 0 0 auto; width: 24px; height: 24px; object-fit: contain; }
.retail-footer__contact-link:focus-visible { outline: 2px solid var(--v3-wine); outline-offset: 4px; }
.retail-footer nav { display: grid; gap: 12px; }
.retail-footer nav a { width: max-content; border-bottom: 1px solid transparent; font-size: .88rem; }
.retail-footer nav a:hover { border-color: currentColor; }
.retail-footer button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.retail-footer__base { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; margin-top: 4px; padding-top: 22px; border-top: 1px solid #d4cec7; color: var(--v3-muted); font-size: .74rem; }
.retail-agency { display: flex; flex-direction: row; align-items: baseline; gap: 7px; color: var(--v3-ink) !important; }
.retail-agency span { color: var(--v3-muted); font-size: .68rem; }

@media (max-width: 900px) {
  .retail-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .retail-hero__copy h1 { font-size: clamp(3.6rem, 12vw, 6.4rem); }
  .retail-hero__visual img { aspect-ratio: 1.3 / 1; }
  .retail-section-head { display: block; }
  .retail-section-head p { margin-top: 14px; }
  .rice-feature { grid-template-columns: 1fr; }
  .rice-feature__image { height: 62vw; min-height: 380px; }
  .store-contact { grid-template-columns: 1fr; gap: 46px; }
  .store-map { grid-template-rows: 470px auto; }
  .store-map iframe { min-height: 470px; }
  .store-feature-head { display: block; }
  .store-feature-head p { margin-top: 18px; }
  .retail-footer { grid-template-columns: .75fr 1.25fr; }
  .retail-footer__info { grid-template-columns: 1fr 1fr; }
  .retail-footer nav { grid-column: 1 / -1; grid-template-columns: repeat(4,max-content); }
}

@media (max-width: 640px) {
  .retail-hero,
  .retail-categories,
  .rice-feature,
  .store-feature,
  .store-contact,
  .retail-help { width: calc(100% - 28px); }

  .retail-hero { padding: 34px 0 58px; }
  .retail-hero__copy h1 { margin-top: 12px; font-size: 3.55rem; }
  .retail-lead { font-size: 1.02rem; }
  .retail-actions { margin-top: 26px; }
  .retail-button { flex: 1; padding-inline: 14px; }
  .retail-hero__visual img { aspect-ratio: .9 / 1; }
  .retail-hero__facts { grid-template-columns: 1fr; }
  .retail-hero__facts div { padding: 13px 0; border-bottom: 1px solid var(--v3-line); }

  .retail-categories { padding: 38px 0 24px; }
  .retail-category-shelf { grid-auto-columns: 72%; }
  .retail-category { min-height: 260px; }
  body.v3-ready .catalog { padding-top: 68px; padding-bottom: 80px; }
  body.v3-ready .catalog-toolbar { position: static; grid-template-columns: 1fr; gap: 8px; }
  body.v3-ready .catalog-toolbar .sort-label,
  body.v3-ready .catalog-toolbar .sort-label select { display: block; width: 100%; }

  .rice-feature { border-radius: 14px; }
  .rice-feature__image { min-height: 350px; }
  .rice-feature__copy { padding: 36px 24px 40px; }
  .rice-feature h2 { font-size: 3.15rem; }

  .store-feature { padding: 82px 0 64px; }
  .store-feature__photos { grid-template-columns: 1fr; }
  .store-feature__photos img:first-child,
  .store-feature__photos img:last-child { height: 76vw; }
  .store-feature__photos img:last-child { width: 76%; margin-left: auto; }

  .store-contact { padding: 62px 0; }
  .store-contact__panel { padding: 32px 22px 26px; }
  .store-contact { gap: 14px; }
  .store-map { grid-template-rows: 370px auto; }
  .store-map iframe { min-height: 370px; }
  .contact-hours { grid-template-columns: 1fr; }
  .store-contact__details { grid-template-columns: 1fr; }
  .retail-help { padding: 64px 0 100px; }
  .retail-help__row { grid-template-columns: 1fr; gap: 8px; }

  .retail-footer { padding-top: 44px; padding-bottom: 110px; }
  .retail-facts { grid-template-columns: 1fr; }
  .retail-facts span { padding: 13px 0; border-bottom: 1px solid var(--v3-line); }
  .retail-facts img { width: 76px; height: 76px; }
  .retail-section-head { align-items: start; }
  .retail-section-tools { align-items: center; justify-content: space-between; width: 100%; }
  .retail-section-tools p { max-width: 240px; }
  .category-shelf { grid-auto-columns: 124px; gap: 15px; }
  .category-shelf button { min-height: 0; }
  .category-shelf .category-image { width: 124px; height: 124px; }
  .category-shelf .category-label { max-width: 124px; font-size: .86rem; }
  .store-feature-gallery { grid-template-columns: 1fr; }
  .store-feature-gallery img,.store-feature-gallery .store-front { height: 76vw; }
  .store-feature-gallery img:last-child { width: 76%; margin-left: auto; }
  .store-contact dl { grid-template-columns: 1fr; }
  .retail-help__questions summary { padding: 21px 48px 21px 20px; font-size: .94rem; }
  .retail-help__questions summary > span { right: 13px; width: 24px; height: 24px; }
  .retail-footer { grid-template-columns: 1fr; gap: 36px; }
  .retail-footer__brand > p { margin-top: 18px; }
  .retail-footer__info { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .retail-footer nav { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .retail-footer__base { grid-column: auto; grid-template-columns: 1fr auto; gap: 16px; }
  .retail-footer__base .retail-agency { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.v3-ready .catalog { padding-top: 42px; }
  body.v3-ready .catalog .section-heading { text-align: center; }
  body.v3-ready .catalog .section-heading > p { margin-inline: auto; }
  .retail-section-head { text-align: center; }
  #retail-categories-title > span { display: block; }
  .retail-section-tools { justify-content: center; }
  .retail-section-tools p { max-width: 320px; margin-inline: auto; text-align: center; }
  body.v3-ready .category-banner > img { height: 205px; padding: 12px; }
  .retail-hero { display: block; padding: 12px 0 26px; }
  .retail-hero-stage { min-height: 660px; align-items: flex-end; border-radius: 12px; }
  .retail-hero-stage > img { object-position: 58% center; }
  .retail-hero-stage::after { background: linear-gradient(180deg, rgba(25,14,14,.42), transparent 30%), linear-gradient(0deg, rgba(25,14,14,.89) 0%, rgba(25,14,14,.60) 58%, rgba(25,14,14,.08) 100%); }
  .retail-hero-copy { width: 100%; padding: 28px 20px; text-align: center; }
  .retail-hero-copy > p:first-child { position: absolute; top: 28px; left: 20px; right: 20px; text-align: center; }
  .retail-hero-copy h1 { font-size: clamp(1.75rem, 9vw, 4rem); }
  .retail-hero-copy .retail-lead { margin-inline: auto; font-size: clamp(.72rem,3.6vw,.95rem); }
  .retail-hero-copy .retail-lead > span:first-child { white-space: nowrap; }
  .retail-hero-copy .retail-actions { flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
  #personalize .rice-feature-copy { padding: 30px 20px 36px; }
  #personalize .rice-feature-copy h2 { font-size: clamp(2rem,9vw,2.8rem); }
  #personalize .rice-feature-copy > p:not(.retail-kicker) { font-size: .95rem; }
  .retail-facts > span { flex-direction: column; justify-content: center; gap: 8px; text-align: center; padding-block: 20px; }
  .store-feature-head { text-align: center; }
  .store-feature-head h2 { font-size: clamp(1.65rem,7.8vw,2.2rem); }
  .store-feature-head > p { margin-inline: auto; }
  .store-feature-gallery img:last-child { margin-inline: auto; }
  .store-contact__panel > .retail-kicker,.store-contact__panel > h2 { text-align: center; }
  .contact-hours { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .contact-hours > span { flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
  .retail-footer { text-align: center; }
  .retail-footer__brand img { margin-inline: auto; }
  .retail-socials { justify-content: center; }
  .retail-footer nav { justify-items: center; }
  .retail-footer nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .retail-footer nav a { width: auto; font-size: .82rem; text-align: center; }
  .retail-footer__info > p:last-child { grid-column: 1 / -1; }
  .retail-footer__base { grid-template-columns: 1fr; justify-items: center; }
  body.v3-ready .results-bar { flex-direction: column; justify-content: center; gap: 8px; padding-block: 18px; text-align: center; }
  body.v3-ready .product-group h3 { text-align: center; }
  body.v3-ready .mobile-dock { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; height: calc(64px + env(safe-area-inset-bottom)); padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); z-index: 45; }
  body.v3-ready .mobile-dock > a,body.v3-ready .mobile-dock > button { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 52px; padding: 2px 0; line-height: 1.25; font-size: .7rem; }
  body.v3-ready .mobile-dock .list-count { position: absolute; top: 1px; left: calc(50% + 10px); }
}

.mobile-category-filter { display: none; }
@media (max-width: 900px) {
  body.v3-ready .category-sidebar { display: block; overflow: visible; padding: 0; min-width: 0; }
  body.v3-ready .catalog-help { display: none; }
  body.v3-ready #category-filters { display: none; }
  .mobile-category-filter { display: grid; gap: 8px; color: var(--v3-muted); font-size: .8rem; }
  .mobile-category-filter select { width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid var(--v3-line); border-radius: 12px; background: #fff; color: var(--v3-ink); font: inherit; font-size: .95rem; }
  .mobile-category-filter select:focus-visible { outline: 2px solid var(--v3-wine); outline-offset: 3px; }
}

.store-contact h2 { font-size: clamp(2.2rem,3.4vw,3.75rem); }
body.v3-ready .catalog .section-heading { max-width: none; width: 100%; text-align: center; }
body.v3-ready .catalog .section-heading h2 { font-size: clamp(2rem,4.2vw,4rem); }
body.v3-ready .catalog .section-heading > p { max-width: 840px; margin-inline: auto; }
body.v3-ready .catalog-help { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 26px 12px; }
body.v3-ready .catalog-help > img { display: block; width: 30px; height: 30px; object-fit: contain; }
body.v3-ready .catalog-help > p { margin: 0; font-size: .84rem; line-height: 1.5; }
body.v3-ready .catalog-help .text-button { justify-content: center; margin: 0; padding: 0 0 3px; }
.topline .ui-icon,.retail-footer .ui-icon { width: 14px; height: 14px; margin-left: 4px; }
.contact-row > b,.map-address > b { display: grid; place-items: center; }
.contact-row > b .ui-icon,.map-address > b .ui-icon { width: 19px; height: 19px; }
@media (max-width: 800px) { body.v3-ready .catalog-help { display: none; } }
@media (min-width: 1100px) { body.v3-ready .catalog .section-heading h2 { white-space: nowrap; } }
