:root {
  color-scheme: light;
  --ink: #1d2d25;
  --muted: #5b6b61;
  --green: #194635;
  --deep: #14392e;
  --pale: #edf3ed;
  --edge: #dce3db;
  --paper: #f8f7f3;
  --white: #fff;
  --amber: #f3cc79;
  --serif: "Instrument Serif", Baskervville, Georgia, serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #a26818; outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
.symbols { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { width: min(1336px, calc(100% - 92px)); margin-inline: auto; }
.masthead { position: relative; z-index: 4; border-bottom: 1px solid #d4c8bc; background: #e8e0d7; color: #332a24; }
.masthead-bar { padding-block: 7px; background: #52453c; color: #fff9f2; font-size: 11px; font-weight: 650; line-height: 1.45; text-align: center; }
.masthead-bar span { padding-inline: 4px; color: #e2c898; }
.masthead-inner { min-height: 77px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 1.7vw, 28px); }
.wordmark { display: inline-flex; align-items: center; justify-self: start; }
.shopovia-logo { display: block; width: 85px; height: auto; }
.wordmark .shopovia-logo { width: 106px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 1.35vw, 22px); font-size: 13px; font-weight: 650; white-space: nowrap; }
.main-nav > a, .nav-products > summary { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; border-bottom: 2px solid transparent; }
.main-nav > a:hover, .nav-products > summary:hover { color: var(--green); border-color: #938474; }
.main-nav .current { color: var(--deep); font-weight: 800; border-color: var(--green); }
.masthead-actions { display: flex; align-items: center; justify-content: end; gap: 7px; }
.nav-toggle.button { display: none; color: #3c3028; background: #fffaf4; border-color: #cdbfb2; }
.nav-toggle.button:hover, .nav-toggle[aria-expanded="true"] { background: #f0e8dc; border-color: #a99788; }
.nav-products { position: relative; }
.nav-products > summary { cursor: pointer; list-style: none; }
.nav-products > summary::-webkit-details-marker { display: none; }
.nav-products > summary .icon { width: 14px; height: 14px; }
.nav-products[open] > summary .icon { transform: rotate(180deg); }
.nav-category-list { position: absolute; inset: calc(100% + 8px) auto auto 0; width: min(370px, 87vw); list-style: none; margin: 0; padding: 9px; border: 1px solid #d9cec2; border-radius: 12px; background: #fffaf3; box-shadow: 0 12px 28px #473b2c29; white-space: normal; }
.nav-products[open] .nav-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.nav-category-list a { display: flex; align-items: center; min-height: 38px; padding: 7px 9px; border-radius: 6px; }
.nav-category-list a:hover, .nav-category-list a:focus-visible { background: #eee5da; color: var(--deep); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; min-height: 44px; padding: 0 14px; font-size: 14px; line-height: 1.15; font-weight: 700; transition: background-color .16s, border-color .16s, color .16s; }
.button .icon { width: 18px; height: 18px; }
.header-shortlist { justify-self: end; border-color: #d5ded4; background: #fdfdf9; color: var(--green); gap: 8px; }
.header-shortlist:hover, .secondary-button:hover { background: var(--pale); border-color: #a8bdab; }
.count { display: inline-grid; place-items: center; min-width: 24px; padding-inline: 5px; height: 24px; border-radius: 999px; background: #e4eee4; color: var(--green); font-size: 12px; font-weight: 750; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; min-height: 348px; margin-top: 24px; border: 1px solid #e5e1d1; border-radius: 21px; background: #efede2; color: var(--deep); box-shadow: 0 12px 32px #20372b0c; }
.hero-art { grid-area: 1 / 2; background: #19382c url("assets/produce-hero.webp") 66% 58% / cover no-repeat; }
.hero-inner { grid-area: 1 / 1; align-self: center; min-width: 0; padding: 32px clamp(17px, 3vw, 48px) 34px clamp(24px, 5vw, 72px); }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 2px; line-height: 1.3; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: #446353; }
.hero-eyebrow span { width: 22px; height: 2px; background: #a67731; }
.hero h1 { margin: 14px 0 12px; font: 400 clamp(42px, 5.25vw, 82px)/.94 var(--serif); letter-spacing: -.064em; }
.hero h1 em { color: #47735b; font-weight: 400; }
.hero-description { max-width: 365px; color: #40574a; font-size: 14px; line-height: 1.6; }
.hero-button { color: #fff; background: var(--green); margin-top: 19px; min-height: 45px; padding-inline: 16px; }
.hero-button:hover { background: #256248; }
.hero-button .icon { margin-left: 6px; }
.catalogue { padding: 29px 0 62px; scroll-margin-top: 14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-eyebrow { color: #47735b; }
.section-heading h2 { margin-top: 4px; font: 400 clamp(39px, 4vw, 55px)/1.02 var(--serif); letter-spacing: -.047em; }
.product-total { font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.catalogue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 24px; align-items: start; }
.range-filters { display: inline-flex; gap: 4px; margin-bottom: 9px; padding: 4px; border: 1px solid #e0e6dc; border-radius: 10px; background: #eef1e9; }
.range-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 5px 18px; border: 1px solid transparent; border-radius: 7px; color: var(--green); background: transparent; font-size: 13px; font-weight: 700; }
.range-button:hover { background: #e4eee3; }
.range-button[aria-pressed="true"] { color: white; background: var(--green); }
.category-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.category-filters:has([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-button { display: flex; align-items: center; gap: clamp(6px, 1.1vw, 14px); min-width: 0; min-height: 70px; padding: 8px 11px; color: var(--ink); background: #fffefa; border: 1px solid var(--edge); border-radius: 12px; text-align: left; }
.category-button:hover { border-color: #a0b6a5; background: #f2f5ec; }
.category-art { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 auto; overflow: hidden; color: var(--green); background: #edf0e5; border-radius: 9px; }
.category-art img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category-label { display: block; min-width: 0; font-size: 13px; line-height: 1.18; font-weight: 720; }
.category-label small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--muted); }
.category-button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.category-button[aria-pressed="true"] .category-art { background: #e5ecdc; }
.category-button[aria-pressed="true"] small { color: #d3e3d5; }
.filter-bar { display: flex; gap: 8px; padding: 7px; background: #eeeee6; border: 1px solid #e7e7dc; border-radius: 12px; }
.search-field, .brand-field { position: relative; display: flex; align-items: center; min-height: 46px; background: #fff; border: 1px solid var(--edge); border-radius: 8px; color: var(--muted); }
.search-field:focus-within, .brand-field:focus-within { outline: 2px solid #a26818; }
.search-field { flex: 1; min-width: 0; padding-left: 13px; gap: 9px; }
.search-field input, .brand-field select { min-width: 0; outline: 0; border: 0; background: transparent; color: var(--ink); border-radius: 8px; font-size: 14px; }
.search-field input { flex: 1; width: 100%; padding: 11px 10px 11px 0; }
.search-field input::placeholder { color: #626d65; }
.search-field .icon { width: 17px; height: 17px; }
.brand-field > span { padding-left: 12px; font-size: 12px; font-weight: 700; pointer-events: none; }
.brand-field select { padding: 11px 34px 11px 12px; min-height: 44px; appearance: none; }
.brand-field .icon { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; }
.results-meta { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.text-button { min-height: 35px; padding: 3px 4px; color: var(--green); font-weight: 700; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.product-ranges { display: grid; gap: 25px; }
.range-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 2px 0 9px; padding-bottom: 6px; border-bottom: 1px solid var(--edge); }
.range-heading h3 { color: var(--deep); font: 400 clamp(26px, 2.7vw, 35px)/1.12 var(--serif); letter-spacing: -.03em; }
.range-heading span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: #fffefa; border: 1px solid #e2e4da; border-radius: 15px; box-shadow: 0 3px 12px #1d2d2509; transition: box-shadow .16s, border-color .16s; }
.product-card:hover { border-color: #a8bfab; box-shadow: 0 8px 22px #20372b13; }
.product-image { position: relative; display: grid; place-items: center; width: 100%; height: clamp(128px, 12vw, 174px); margin: 0; padding: 15px 18px 6px; background: #ecf0e5; border: 0; }
.product-card[data-product-category="citrus"] .product-image { background: radial-gradient(ellipse, #f8f4e9, #f3ead8); }
.product-card[data-product-category="mangoes"] .product-image { background: radial-gradient(ellipse, #f8f6ec, #f0ebd6); }
.product-card[data-product-category="roots"] .product-image { background: radial-gradient(ellipse, #f6f4ec, #ece8dc); }
.product-card[data-product-category="vegetables"] .product-image { background: radial-gradient(ellipse, #f6f6ea, #e5ecdc); }
.product-image:focus-visible { outline-offset: -4px; z-index: 1; }
.product-image img { display: block; width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.category-tag { position: absolute; top: 9px; left: 9px; background: #fcfdf8; border: 1px solid #dde7da; color: #365e46; border-radius: 6px; padding: 3px 7px; font-size: 10px; font-weight: 750; }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 14px 13px 13px; }
.product-code { color: #5c7465; font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.product-name { display: inline; padding: 0; background: none; border: 0; color: var(--ink); text-align: left; font: 700 18px/1.2 var(--sans); letter-spacing: -.37px; }
.product-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-origin { margin-top: 5px; font-size: 12px; color: var(--muted); }
.product-facts { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 8px; margin: 11px 0 9px; padding: 9px 9px 9px 10px; background: #f2f5ee; border: 1px solid #e7ede4; border-radius: 8px; }
.product-facts dt { display: flex; align-items: center; gap: 5px; color: #496757; font-size: 10px; font-weight: 750; line-height: 1.2; }
.product-facts .icon { width: 13px; height: 13px; }
.product-facts dd { margin: 4px 0 0; font-size: 12px; line-height: 1.35; overflow-wrap: break-word; }
.price-label { margin-top: auto; padding: 1px 0 7px; color: var(--green); font-size: 11px; font-weight: 750; }
.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); gap: 6px; padding-top: 8px; border-top: 1px solid #e8ede6; }
.detail-button { padding-inline: 5px; border-color: #dce6d9; color: var(--green); background: white; font-size: 12px; }
.detail-button:hover { background: var(--pale); border-color: #abc2b0; }
.card-actions .select-button { background: var(--green); border-color: var(--green); color: white; }
.card-actions .select-button:hover { background: #256248; }
.card-actions .select-button[aria-pressed="true"] { background: #eaf4e9; border-color: #a8c6ae; color: var(--green); }
.select-button { min-height: 40px; padding: 0 8px; gap: 4px; color: var(--green); background: #f1f6ef; border-color: #e2ebe0; font-size: 12px; }
.select-button .icon { width: 15px; height: 15px; }
.select-button:hover { background: #e5f0e4; border-color: #b6ccba; }
.select-button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.sidebar { position: sticky; top: 16px; display: grid; gap: 13px; }
.shortlist { background: #fffefa; border: 1px solid #dce6d9; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 18px #1d2d250a; }
.shortlist-heading { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 9px; padding: 14px 13px; color: #fffefa; background: linear-gradient(120deg, #214c3a, #14392e); }
.shortlist-heading .panel-icon { color: #f6f0d8; background: #ffffff19; }
.shortlist-heading .count { color: #253620; background: #eddfb3; }
.shortlist-heading h3, .pricing h3 { font-size: 15px; line-height: 1.3; }
.panel-icon { width: 35px; height: 35px; display: grid; place-items: center; background: #e9f1e9; color: var(--green); border-radius: 8px; }
.panel-icon .icon { width: 18px; height: 18px; }
.empty-shortlist { text-align: center; padding: 19px 15px 18px; }
.empty-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 9px; background: #f0f4ee; color: #486b53; border-radius: 50%; }
.empty-shortlist strong { display: block; font-size: 14px; }
.empty-shortlist p { color: var(--muted); font-size: 12px; line-height: 1.45; max-width: 210px; margin: 3px auto 0; }
.shortlist-actions { padding: 11px 13px 12px; border-top: 1px solid #e9eee7; }
.shortlist-actions p { text-align: center; font-size: 11px; color: var(--muted); margin-top: 7px; }
.quote-button { width: 100%; justify-content: space-between; background: var(--green); color: white; }
.quote-button:hover, .primary-button:hover { background: #256248; }
.quote-button:disabled { color: #5e6b62; background: #edf0eb; }
.selected-list { list-style: none; padding: 4px 11px; margin: 0; max-height: min(36vh, 284px); overflow: auto; }
.selected-list li { display: grid; grid-template-columns: 37px 1fr 40px; align-items: center; gap: 7px; padding: 6px 0; }
.selected-list li + li { border-top: 1px solid #eef0ed; }
.selected-thumb { width: 37px; height: 37px; object-fit: contain; border-radius: 5px; }
.selected-list strong, .quote-line strong { display: block; font-size: 12px; line-height: 1.3; }
.selected-list small, .quote-line small { color: var(--muted); font-size: 11px; line-height: 1.25; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--green); }
.icon-button:hover { background: var(--pale); }
.icon-button .icon { width: 17px; height: 17px; }
.catalogue-pdf { padding: 13px; border: 1px solid #e3dece; border-radius: 14px; background: #fffdf6; }
.catalogue-pdf-heading { display: flex; align-items: center; gap: 9px; }
.catalogue-pdf-heading .panel-icon { flex: none; background: #f0e8d5; }
.catalogue-pdf h3 { font-size: 15px; line-height: 1.3; }
.catalogue-pdf p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.catalogue-pdf-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.catalogue-pdf-actions .button { flex: 1; padding-inline: 8px; white-space: nowrap; font-size: 12px; }
.catalogue-pdf-actions .icon { width: 14px; height: 14px; }
.pricing { display: flex; align-items: flex-start; gap: 9px; padding: 13px; border: 1px solid #dce7d8; border-radius: 14px; background: var(--pale); }
.pricing .panel-icon { background: #dceade; }
.pricing p { margin-top: 4px; font-size: 12px; line-height: 1.45; color: #536659; }
.pricing .trade-terms { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; color: var(--green); font-size: 10px; font-weight: 750; }
.trade-terms li { padding: 2px 6px; border: 1px solid #cfe0cf; border-radius: 5px; background: #f9fcf7; }
.empty-results { padding: 38px 16px; text-align: center; grid-column: 1 / -1; background: white; border: 1px dashed var(--edge); border-radius: 10px; }
.empty-results .icon { color: #47735b; margin-bottom: 5px; }
.empty-results h3 { font-size: 17px; }
.empty-results p { margin-top: 5px; color: var(--muted); }
.site-footer { border-top: 4px solid #a39485; background: #5b4d42; color: #fbf1e6; }
.footer-inner { display: grid; grid-template-columns: 1.15fr 1fr .95fr 1.05fr; gap: clamp(18px, 3vw, 42px); align-items: start; padding-block: 36px 31px; }
.site-footer h2 { margin: 0 0 13px; font-size: 15px; line-height: 1.25; color: #fffaf4; }
.footer-brand p, .footer-list { font-size: 13px; line-height: 1.55; }
.footer-brand p { max-width: 30ch; }
.footer-brand .footer-export { margin-top: 12px; color: #efe1cf; font-size: 12px; }
.footer-logo { display: inline-flex; align-items: center; min-height: 49px; margin: 0 0 14px; padding: 4px 11px; border-radius: 8px; background: #f1e8dc; }
.footer-logo .shopovia-logo { width: 80px; }
.footer-list { display: grid; gap: 5px; list-style: none; margin: 0; padding: 0; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline-color: #fae7b8; }
.footer-contact-list { gap: 9px; overflow-wrap: anywhere; }
.footer-contact-list .icon, .footer-quote .icon { width: 14px; height: 14px; flex: none; }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 7px; }
.footer-section address { font-style: normal; }
.footer-quote { display: inline-flex; align-items: center; gap: 6px; margin: 13px 0 0; color: #fff2da; font-size: 13px; font-weight: 750; }
.footer-bottom { border-top: 1px solid #78685a; background: #4d4138; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 14px; }
.footer-bottom small, .footer-policies { font-size: 12px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.mobile-actions { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dialog { width: min(100% - 28px, 635px); max-height: min(88vh, 850px); max-height: min(88dvh, 850px); padding: 0; color: var(--ink); background: #fffefa; border: 1px solid var(--edge); border-radius: 15px; box-shadow: 0 22px 65px #142e2655; }
.dialog::backdrop { background: #0e261ee0; }
.dialog-header { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--edge); background: #fffefa; }
.dialog h2 { font: 400 33px/1.04 var(--serif); letter-spacing: -.032em; }
.dialog-header h2 { margin-top: 4px; }
.dialog-intro { color: var(--muted); font-size: 14px; margin: 8px 0 13px; }
#product-detail, #quotation-form, #quote-success { padding: 16px 20px 20px; }
.detail-content { display: flex; align-items: center; gap: 15px; }
.detail-image { width: 115px; height: 105px; border-radius: 8px; object-fit: contain; }
.detail-content h2 { margin-top: 3px; }
.detail-specs { display: grid; grid-template-columns: minmax(96px, auto) 1fr; padding: 0; font-size: 13px; }
.detail-specs dt, .detail-specs dd { border-top: 1px solid #e8ede6; padding: 7px 0; margin: 0; }
.detail-specs dt { padding-right: 9px; color: var(--green); font-weight: 700; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dialog-actions .select-button { padding-inline: 12px; }
.primary-button { color: white; background: var(--green); }
.secondary-button { color: var(--green); background: white; border-color: var(--edge); }
.quotation-dialog { width: min(100% - 28px, 675px); }
.quote-fieldset { min-width: 0; border: 1px solid var(--edge); border-radius: 10px; padding: 10px 12px 13px; margin: 0 0 13px; }
.quote-fieldset legend { padding-inline: 5px; color: var(--green); font-weight: 750; }
.quote-line { display: grid; grid-template-columns: minmax(0, 1fr) 100px 112px; gap: 8px; align-items: end; }
.quote-item-name { align-self: center; }
.quote-specifications { grid-column: 1 / -1; }
.optional { color: var(--muted); font-weight: 400; }
.quote-line + .quote-line { border-top: 1px solid var(--edge); margin-top: 7px; padding-top: 7px; }
.quote-fieldset label { display: block; font-size: 12px; font-weight: 650; }
.quote-fieldset input, .quote-fieldset select, .quote-fieldset textarea { min-width: 0; width: 100%; display: block; min-height: 44px; padding: 7px 8px; margin-top: 4px; color: var(--ink); font-size: 16px; font-weight: 400; background: #fff; border: 1px solid #bbcabe; border-radius: 6px; }
.quote-fieldset textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-wide { grid-column: 1 / -1; }
.required { color: #825419; }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .catalogue-layout { grid-template-columns: minmax(0, 1fr) 265px; gap: 16px; }
  .product-grid { gap: 10px; }
  .category-button { padding-inline: 8px; }
  .category-art { width: 40px; height: 40px; }
}
@media (min-width: 851px) and (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .masthead-inner { min-height: 67px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; }
  .masthead-actions { grid-column: 2; grid-row: 1; }
  .nav-toggle.button { display: inline-flex; }
  .main-nav { display: none; grid-area: 2 / 1 / auto / -1; padding-block: 8px 12px; border-top: 1px solid #cdbfb2; }
  .masthead-inner:has(.nav-toggle[aria-expanded="true"]) .main-nav { display: grid; gap: 1px; max-height: min(70vh, 510px); overflow-y: auto; justify-content: stretch; }
  .main-nav > a, .nav-products > summary { display: flex; padding-inline: 9px; }
  .nav-category-list { position: static; width: auto; margin-block: 4px 8px; box-shadow: none; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 38px); }
  .catalogue-layout { display: flex; flex-direction: column; align-items: stretch; }
  .sidebar { position: static; order: -1; }
  .sidebar .shortlist { display: none; }
  .mobile-actions:not([hidden]) { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6px; position: fixed; z-index: 3; bottom: max(10px, env(safe-area-inset-bottom)); left: 50%; width: min(420px, calc(100% - 24px)); padding: 5px; transform: translateX(-50%); background: #fffefa; border: 1px solid #d9e6d9; border-radius: 12px; box-shadow: 0 3px 14px #142e2640; }
  .mobile-actions .button { min-height: 44px; padding-inline: 7px; font-size: 13px; }
  .mobile-shortlist { color: var(--green); background: var(--pale); }
  .mobile-shortlist:hover { background: #dae9db; }
  body:has(.mobile-actions:not([hidden])) .site-footer { padding-bottom: 65px; }
  .product-image { height: clamp(147px, 22vw, 190px); }
  .hero { min-height: 315px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  .masthead-inner { min-height: 61px; }
  .wordmark .shopovia-logo { width: 76px; }
  .nav-toggle.button { padding-inline: 8px; font-size: 12px; }
  .nav-toggle .icon { width: 16px; height: 16px; }
  .header-shortlist { padding-inline: 9px; font-size: 12px; }
  .header-shortlist .icon { width: 15px; height: 15px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 13px; border-radius: 15px; }
  .hero-inner { padding: 21px 17px 19px; }
  .hero-art { grid-area: 2 / 1; min-height: 147px; background-position: 65% 59%; }
  .hero h1 { margin: 10px 0 10px; font-size: clamp(40px, 11.8vw, 59px); }
  .hero-description { max-width: 300px; font-size: 13px; }
  .hero-button { margin-top: 13px; font-size: 13px; }
  .catalogue { padding: 24px 0 27px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 12px; }
  .section-heading h2 { font-size: 39px; }
  .section-eyebrow { font-size: 10px; }
  .category-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-bottom: 12px; }
  .category-button { min-height: 46px; gap: 7px; padding: 4px 7px; border-radius: 8px; }
  .range-filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .range-button { min-height: 39px; padding-inline: 4px; font-size: 12px; }
  .category-art { width: 30px; height: 30px; border-radius: 5px; }
  .category-art .icon { width: 17px; height: 17px; }
  .category-label { font-size: 12px; }
  .category-label small { display: inline; margin-left: 4px; font-size: 10px; white-space: nowrap; }
  .filter-bar { gap: 5px; padding: 4px; }
  .search-field { padding-left: 8px; gap: 5px; }
  .search-field input, .brand-field select { font-size: 16px; }
  .search-field input::placeholder { font-size: 13px; }
  .brand-field > span { display: none; }
  .brand-field select { padding: 10px 22px 10px 6px; font-size: 16px; }
  .brand-field .icon { right: 5px; width: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-image { height: clamp(118px, 34vw, 175px); padding: 17px 9px 5px; }
  .card-content { padding: 9px 8px 8px; }
  .product-name { font-size: 16px; }
  .product-facts { grid-template-columns: 1fr; padding: 7px; gap: 6px; }
  .product-facts dd { font-size: 11px; }
  .card-actions { grid-template-columns: 1fr; gap: 4px; }
  .card-actions .detail-button { grid-row: 2; }
  .select-button { min-height: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 23px; padding-block: 24px; }
  .footer-inner > :not(:first-child) { padding-top: 17px; border-top: 1px solid #807163; }
  .footer-bottom-inner { align-items: flex-start; }
  .dialog-header { padding: 8px 12px; }
  #product-detail, #quotation-form, #quote-success { padding: 12px; }
  .dialog h2 { font-size: 28px; }
  .detail-image { width: 78px; height: 78px; }
  .quote-line { grid-template-columns: minmax(0, 1fr) 72px 90px; gap: 6px; }
  .quote-fieldset { padding-inline: 7px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .category-label small { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.quote-status { margin-top: 9px; color: #685025; font-size: 13px; }
.quote-status:empty { display: none; }
#success-title { font-size: 19px; }
