/*
Theme Name: Spray Shelf
Template: rejuvia-preview
Version: 1.3.4
Description: The Spray Shelf storefront for the existing WooCommerce catalog.
Text Domain: spray-shelf
*/

@font-face {
    font-family: "DM Sans";
    src: url("fonts/dm-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("fonts/instrument-serif.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("fonts/instrument-serif-italic.woff2") format("woff2");
    font-style: italic;
    font-display: swap;
}

:root {
    --paper: #f8f7f1;
    --white: #fffefa;
    --ink: #222e25;
    --fern: #263d2c;
    --moss: #405343;
    --quiet: #4c5b50;
    --rule: #d6d9cc;
    --rust: #c55e3b;
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--moss); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.03; }
h1, h2, .shelf-card h3 { font-family: var(--serif); }
h1 { font-size: clamp(3rem, 6vw, 6.35rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.5rem); letter-spacing: -.026em; }
.wrap { width: min(100% - 7.25rem, 1300px); margin-inline: auto; }
.section { padding-block: 58px 80px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { z-index: 10000; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 12px; clip-path: none; background: #fff; }

.shelf-announcement { background: var(--fern); color: #f8faee; text-align: center; font-size: .81rem; }
.shelf-announcement a { color: inherit; display: inline-flex; align-items: center; gap: .55rem; min-height: 33px; text-decoration: none; }
.shelf-announcement a:hover { text-decoration: underline; }
.shelf-header { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; z-index: 10; }
.shelf-header-grid { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.shelf-wordmark { display: inline-flex; align-items: baseline; width: fit-content; font: 400 2.25rem/.95 var(--serif); letter-spacing: -.042em; color: var(--fern); text-decoration: none; white-space: nowrap; }
.shelf-wordmark span { color: var(--rust); }
.shelf-desktop-nav, .shelf-header-actions { display: flex; align-items: center; }
.shelf-desktop-nav { justify-content: center; gap: clamp(21px, 4vw, 57px); }
.shelf-desktop-nav a { font-size: .95rem; padding-block: 15px; text-decoration: none; white-space: nowrap; }
.shelf-desktop-nav a:hover { text-decoration: underline; }
.shelf-header-actions { position: relative; gap: 7px; justify-content: end; }
.shelf-popover summary, .shelf-header-actions .wc-block-mini-cart__button { width: 45px; min-width: 45px; height: 45px; min-height: 45px; display: grid; place-items: center; color: var(--ink); border: 0; background: transparent; border-radius: 50%; padding: 0; cursor: pointer; }
.shelf-header-actions .wc-block-mini-cart__button { display: flex; justify-content: center; }
.shelf-popover summary:hover, .shelf-header-actions .wc-block-mini-cart__button:hover { background: #edf0e9; }
.shelf-popover summary::-webkit-details-marker { display: none; }
.shelf-popover summary { list-style: none; }
.shelf-icon-search { display: block; width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; margin: -3px 3px 0 0; }
.shelf-icon-search::after { content: ""; width: 8px; height: 1.6px; background: currentColor; position: absolute; bottom: -3px; right: -5px; transform: rotate(46deg); }
.shelf-icon-menu { width: 20px; height: 14px; border-block: 1.6px solid currentColor; display: block; position: relative; }
.shelf-icon-menu::after { content: ""; width: 100%; height: 1.6px; position: absolute; top: 50%; left: 0; margin-top: -1px; background: currentColor; }
.shelf-mobile-nav { display: none; }
.shelf-search form, .shelf-mobile-nav nav { position: absolute; z-index: 15; inset: calc(100% + 8px) 0 auto auto; width: min(360px, calc(100vw - 38px)); padding: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 8px 28px #222e2519; }
.shelf-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.shelf-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.shelf-search-row input { min-width: 0; }
.shelf-search-row button { padding: 8px 14px; border: 0; border-radius: 5px; background: var(--fern); color: white; }
.shelf-mobile-nav nav a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--rule); text-decoration: none; }
.shelf-mobile-nav nav a:last-child { border-bottom: 0; }

.shelf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.015fr); align-items: stretch; gap: clamp(35px, 6vw, 94px); padding-block: clamp(34px, 5vw, 72px) clamp(20px, 3.4vw, 50px); }
.shelf-hero-copy { align-self: center; padding-block: clamp(12px, 3vw, 40px); }
.shelf-kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--moss); letter-spacing: .13em; margin-bottom: 20px; }
.shelf-hero h1 { font-size: clamp(4.6rem, 7.6vw, 7.55rem); max-width: 600px; }
.shelf-hero h1 em { color: var(--moss); font-weight: 400; }
.shelf-hero-copy > p:not(.shelf-kicker) { max-width: 440px; color: var(--quiet); margin-top: 25px; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.shelf-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 29px; }
.shelf-button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 22px; background: var(--fern); color: white; border: 1px solid transparent; border-radius: 5px; font-weight: 650; text-decoration: none; }
.shelf-button:hover { background: #354c3a; color: white; }
.shelf-text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.shelf-hero-visual { min-width: 0; overflow: hidden; border: 1px solid #e1e2d9; border-radius: 12px; background: white; display: flex; flex-direction: column; align-self: center; text-decoration: none; }
.shelf-hero-image { display: grid; place-items: center; aspect-ratio: 1.23; min-width: 0; position: relative; }
.shelf-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; padding: 3%; }
.shelf-hero-caption { padding: 17px 23px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--white); border-top: 1px solid var(--rule); color: var(--ink); }
.shelf-hero-caption div { display: grid; gap: 2px; }
.shelf-hero-caption div span { font-size: .8rem; color: var(--quiet); }
.shelf-hero-caption strong { font: 400 2rem/1 var(--serif); }
.shelf-hero-arrow, .shelf-card-arrow { display: grid; align-items: center; justify-content: center; min-width: 39px; min-height: 39px; border: 1px solid #abb9ab; border-radius: 50%; font-size: 1rem; }

.shelf-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shelf-categories a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 23px; min-height: 83px; border-radius: 8px; text-decoration: none; border: 1px solid var(--rule); background: #eeeee4; }
.shelf-categories a:first-of-type { background: #eee8ee; }
.shelf-categories a:nth-of-type(2) { background: #f3e8df; }
.shelf-categories a span:first-child { display: grid; gap: 2px; }
.shelf-categories strong { font: 400 clamp(1.55rem, 2.7vw, 2.3rem)/1 var(--serif); }
.shelf-categories small { color: var(--quiet); }
.shelf-categories a:hover strong { text-decoration: underline; }
.shelf-section { padding-block: clamp(43px, 7vw, 95px); }
.shelf-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 29px; }
.shelf-card-grid, .products-preview { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.shelf-card { background: var(--white); border: 1px solid var(--rule); border-radius: 11px; overflow: hidden; }
.shelf-card-link { height: 100%; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.shelf-card-image { background: white; aspect-ratio: 1.18; overflow: hidden; border-bottom: 1px solid var(--rule); }
.shelf-card img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; transition: transform .35s; }
.shelf-card-link:hover img { transform: scale(1.035); }
.shelf-card-body { position: relative; flex: 1; padding: 19px 52px 19px 19px; }
.shelf-card-label, .shelf-loop-label { color: var(--quiet); font-size: .76rem; font-weight: 600; }
.shelf-card h3 { margin: 5px 0; font-size: clamp(1.75rem, 3vw, 2.55rem); }
.shelf-card-pack, .shelf-loop-pack { color: var(--quiet); font-size: .83rem; }
.shelf-card-price { font-size: .98rem; font-weight: 700; margin-top: 11px; }
.shelf-card-arrow { position: absolute; right: 15px; bottom: 17px; }
.shelf-tone-plum .shelf-card-body { background: #f5eff5; }
.shelf-tone-rose .shelf-card-body { background: #f6ede9; }
.shelf-tone-honey .shelf-card-body { background: #f7f1df; }
.shelf-tone-sage .shelf-card-body { background: #eef2e6; }

.shelf-guide { display: grid; grid-template-columns: 1fr .8fr; gap: 46px 64px; align-items: center; background: var(--fern); color: #f7f9f0; border-radius: 10px; padding: clamp(24px, 5vw, 58px); margin-bottom: clamp(57px, 7vw, 95px); }
.shelf-guide p { margin-block: 13px 24px; color: #e0eadc; }
.shelf-button-light { background: #eff2e5; color: var(--fern); }
.shelf-button-light:hover { background: white; color: var(--fern); }
.shelf-guide-links a { display: flex; justify-content: space-between; gap: 20px; color: #f7f9f0; padding: 15px 0; border-bottom: 1px solid #8c9c8e; text-decoration: none; }
.shelf-guide-links a:hover { text-decoration: underline; }
.shelf-guide-links a:first-child { border-top: 1px solid #8c9c8e; }

.shelf-footer { border-top: 1px solid var(--rule); background: #eceee4; }
.shelf-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px 40px; padding-block: 50px 42px; }
.shelf-footer p { margin-top: 15px; font-size: .94rem; color: var(--quiet); }
.shelf-footer h2 { font: 700 .88rem/1.5 var(--sans); letter-spacing: normal; margin-bottom: 9px; }
.shelf-footer-grid > div:not(:first-child) a { display: block; width: fit-content; padding-block: 4px; font-size: .9rem; text-decoration: none; }
.shelf-footer-grid > div:not(:first-child) a:hover { text-decoration: underline; }
.shelf-footer-bottom { border-top: 1px solid #cbd0c4; padding-block: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: .81rem; color: var(--quiet); }

.shelf-editorial { min-height: 48vh; }
.shelf-editorial article { max-width: 820px; margin-inline: auto; }
.shelf-editorial h1, .shelf-transaction h1, .shelf-woocommerce h1, .section h1 { margin-bottom: 22px; }
.shelf-editorial p, .shelf-editorial ul, .shelf-editorial ol { margin-block: .8rem 1.05rem; }
.shelf-editorial h2 { font-size: clamp(1.95rem, 3.25vw, 3.2rem); margin-block: 1.9rem .75rem; }
.shelf-editorial h3 { font: 700 1.08rem/1.3 var(--sans); margin-block: 1.3rem .4rem; }
.shelf-editorial .shelf-lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--quiet); max-width: 740px; }
.shelf-editorial details { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.shelf-editorial details p { margin-left: 1.15rem; }
.shelf-editorial details summary { padding-block: 5px; font-weight: 650; cursor: pointer; }
.shelf-editorial .shelf-form-status { padding: 12px; border: 1px solid #abb9ab; border-radius: 7px; }
.shelf-contact { display: grid; gap: 13px; margin-top: 24px; max-width: 630px; }
.shelf-contact label { display: grid; gap: 5px; font-weight: 650; }
.shelf-contact label span, .shelf-contact p { color: var(--quiet); font-size: .9rem; font-weight: 400; }
.shelf-search input, .shelf-contact input, .shelf-contact textarea { color: var(--ink); border: 1px solid #a4afa2; background: white; border-radius: 5px; padding: 10px 12px; }
.shelf-contact textarea { resize: vertical; min-height: 125px; }
.shelf-honeypot { display: none; }

.shelf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 20px; clear: both; }
.shelf-filters a { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 16px; border: 1px solid #9ca899; border-radius: 4px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.shelf-filters a[aria-current="page"], .shelf-filters a:hover { background: var(--fern); color: white; border-color: var(--fern); }
.shelf-woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.shelf-woocommerce ul.products::before, .shelf-woocommerce ul.products::after { content: none; }
.shelf-woocommerce ul.products li.product { float: none; margin: 0; width: auto; min-width: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 11px; overflow: hidden; }
.shelf-woocommerce ul.products li.product img { display: block; width: 100%; aspect-ratio: 1.19; object-fit: contain; margin: 0 0 15px; padding: 7px; background: #fff; border-bottom: 1px solid var(--rule); }
.shelf-woocommerce ul.products .shelf-loop-label, .shelf-woocommerce ul.products .shelf-loop-pack { display: block; margin-inline: 16px; }
.shelf-woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font: 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--serif); padding: 7px 16px 5px; }
.shelf-woocommerce ul.products li.product .price { margin: 10px 16px 0; font-weight: 700; color: var(--ink); font-size: .98rem; }
.shelf-woocommerce ul.products li.product .button { margin: 12px 16px 18px; }
.shelf-woocommerce .woocommerce-result-count { color: var(--quiet); }
.shelf-woocommerce .woocommerce-ordering select { max-width: 100%; padding: .5rem .65rem; border: 1px solid var(--rule); background: white; color: var(--ink); }
.shelf-woocommerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--quiet); }

.shelf-woocommerce div.product .woocommerce-product-gallery { background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.shelf-woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.shelf-woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs { padding: 12px 10px 2px; display: flex; gap: 9px; border-top: 1px solid var(--rule); }
.shelf-woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 68px; min-width: 0; flex: 0 1 68px; }
.shelf-woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 4px; border: 1px solid var(--rule); }
.shelf-woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs .flex-active { border-color: var(--fern); }
.shelf-woocommerce div.product .product_title { font-size: clamp(3.1rem, 5.6vw, 6rem); margin-bottom: 10px; }
.shelf-woocommerce div.product .summary .price, .shelf-woocommerce div.product .woocommerce-variation-price .price { color: var(--ink); font-weight: 700; font-size: 1.16rem; }
.shelf-product-intro { margin-block: 12px 8px; color: var(--quiet); }
.shelf-product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 3px; }
.shelf-product-specs div { padding: 9px 11px; border: 1px solid var(--rule); border-radius: 5px; }
.shelf-product-specs dt { color: var(--quiet); font-size: .76rem; }
.shelf-product-specs dd { margin: 0; font-size: .9rem; font-weight: 650; }
.shelf-product-jump { display: flex; flex-wrap: wrap; column-gap: 14px; margin-bottom: 12px; }
.shelf-product-jump a { display: inline-flex; align-items: center; min-height: 43px; font-size: .84rem; font-weight: 650; }
.shelf-woocommerce .variations { margin-top: 12px; }
.shelf-woocommerce table.variations :is(th, td) { display: block; text-align: left; }
.shelf-woocommerce table.variations label { display: block; margin-bottom: 5px; font-size: .94rem; }
.shelf-woocommerce table.variations select { width: min(100%, 330px); margin: 0 8px 8px 0; min-height: 46px; padding: 8px 9px; border: 1px solid #a4afa2; border-radius: 5px; background: white; color: var(--ink); }
.shelf-woocommerce .quantity .qty { min-height: 44px; color: var(--ink); border: 1px solid #a4afa2; border-radius: 4px; background: white; }
.shelf-woocommerce .shelf-delivery { margin-block: -6px 18px; font-size: .89rem; }
.shelf-woocommerce .product_meta { border-top: 1px solid var(--rule); padding-block: 13px; font-size: .83rem; color: var(--quiet); overflow-wrap: anywhere; }
.shelf-woocommerce .woocommerce-tabs { clear: both; padding-top: 12px; }
.shelf-woocommerce div.product .woocommerce-tabs ul.tabs { margin-bottom: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.shelf-woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 5px 5px 0 0; margin: 0; border-color: var(--rule); background: #e9ede2; }
.shelf-woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fffefa; }
.shelf-woocommerce div.product .woocommerce-tabs ul.tabs li::before, .shelf-woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none; }
.shelf-woocommerce .woocommerce-tabs .panel { background: var(--white); padding: clamp(15px, 4vw, 32px); margin-bottom: 40px; border: 1px solid var(--rule); }
.shelf-woocommerce .woocommerce-tabs .panel p { color: var(--quiet); margin-top: 12px; }
.shelf-product-detail { clear: both; margin-block: 16px 45px; }
.shelf-detail-section { padding: clamp(17px, 4vw, 42px); margin-bottom: 14px; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; scroll-margin-top: 18px; }
.shelf-detail-section h2 { font-size: clamp(2.2rem, 4vw, 3.65rem); margin: 0 0 10px; }
.shelf-detail-section h3 { margin: 20px 0 5px; font: 700 1.04rem/1.4 var(--sans); }
.shelf-detail-section p { color: var(--quiet); }
.shelf-detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: clamp(18px, 5vw, 56px); }
.shelf-detail-serving { margin: 4px 0 14px; font-size: .94rem; }
.shelf-detail-table { width: 100%; margin: 0; border-collapse: collapse; text-align: left; font-size: .94rem; }
.shelf-detail-table th, .shelf-detail-table td { padding: 10px 8px; border-bottom: 1px solid var(--rule); }
.shelf-detail-table td { white-space: nowrap; }
.shelf-detail-table th[scope="row"] { font-weight: 600; }
.shelf-detail-table thead { background: #eef0e6; }
.shelf-detail-note { margin-top: 9px; font-size: .86rem; }
.shelf-label-figure { margin: 0; }
.shelf-label-crop { width: 100%; aspect-ratio: var(--label-ratio); position: relative; overflow: hidden; background: white; border-radius: 7px; }
.shelf-label-crop img { position: absolute; width: var(--label-width); max-width: none; height: auto; display: block; inset: var(--label-top) auto auto var(--label-left); }
.shelf-label-figure figcaption { padding-top: 9px; }
.shelf-label-zoom { min-height: 44px; padding: 8px 13px; border: 1px solid #9ca899; border-radius: 5px; background: var(--white); color: var(--fern); font-weight: 650; }
.shelf-label-zoom:hover { background: #eef0e6; }
.shelf-label-dialog { width: min(850px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 10px; overflow: auto; }
.shelf-label-dialog::backdrop { background: #18251dcc; }
.shelf-label-dialog-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.shelf-detail-section .shelf-label-dialog h2 { font-size: clamp(1.8rem, 4vw, 2.55rem); margin: 0; }
.shelf-label-dialog-bar > div { display: flex; gap: 6px; }
.shelf-label-viewport { overflow: auto; max-height: 72dvh; }
.shelf-label-dialog.is-enlarged .shelf-label-crop { width: max(120%, 690px); }
.shelf-directions { margin: 0; padding-left: 23px; }
.shelf-directions li { padding: 3px 0 5px; }
.shelf-pack-options { background: #eef0e6; border-radius: 7px; padding: 15px; }
.shelf-pack-options h3 { margin-top: 0; }
.shelf-pack-options dl { margin: 7px 0 0; }
.shelf-pack-options dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); padding: 7px 0; }
.shelf-pack-options dd { margin: 0; font-weight: 650; }
.shelf-product-faq { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.shelf-product-faq summary { min-height: 32px; cursor: pointer; font-weight: 650; }
.shelf-product-faq p { margin: 5px 0 7px 1.1em; }
.shelf-detail-source { margin-top: 15px; font-size: .87rem; }
.shelf-woocommerce :is(a, button).button:not(.checkout-button), .shelf-woocommerce button.button.alt, .shelf-transaction :is(a, button).button, .shelf-transaction .wc-block-components-button, .wc-block-mini-cart__footer .wc-block-components-button { min-height: 44px; background: var(--fern); color: white; border-radius: 5px; padding: 11px 16px; }
.shelf-woocommerce .button:hover, .shelf-transaction .button:hover { background: var(--moss); color: white; }
.shelf-transaction article { max-width: 1140px; margin-inline: auto; }
.shelf-transaction .wc-block-components-sidebar .wc-block-components-totals-wrapper { border-top-color: var(--rule); }
.shelf-transaction .wp-block-woocommerce-cart { margin-block: 20px; }

@media (max-width: 1000px) {
    .wrap { width: calc(100% - 4rem); }
    .shelf-hero { gap: 32px; }
    .shelf-hero h1 { font-size: clamp(3.7rem, 8vw, 6.55rem); }
    .shelf-card-body { padding-left: 14px; }
}

@media (max-width: 760px) {
    .wrap { width: calc(100% - 2.25rem); }
    .shelf-header-grid { min-height: 63px; grid-template-columns: 1fr auto; gap: 5px; }
    .shelf-header-actions { gap: 0; }
    .shelf-wordmark { font-size: 2rem; }
    .shelf-desktop-nav { display: none; }
    .shelf-mobile-nav { display: block; }
    .shelf-hero { grid-template-columns: 1fr; gap: 15px; padding-block: 25px 16px; }
    .shelf-hero-copy { padding-block: 0 8px; }
    .shelf-kicker { margin-bottom: 12px; }
    .shelf-hero h1 { font-size: clamp(3.9rem, 10.9vw, 5.8rem); }
    .shelf-hero-copy > p:not(.shelf-kicker) { margin-top: 15px; }
    .shelf-hero-actions { gap: 9px 17px; margin-top: 17px; }
    .shelf-hero-image { max-height: 390px; }
    .shelf-hero-caption { padding: 12px 15px; }
    .shelf-hero-caption strong { font-size: 1.8rem; }
    .shelf-categories { gap: 5px; }
    .shelf-categories a { padding: 10px 7px; gap: 3px; min-height: 64px; }
    .shelf-categories a span:first-child { min-width: 0; }
    .shelf-categories strong { font-size: clamp(1.28rem, 4.7vw, 1.95rem); }
    .shelf-categories small { display: none; }
    .shelf-section-heading { align-items: start; gap: 10px; margin-bottom: 15px; }
    .shelf-section-heading a { font-size: .84rem; text-align: right; }
    .shelf-card-grid, .products-preview, .shelf-woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .shelf-card-body { padding: 11px 12px; display: flex; flex-direction: column; }
    .shelf-card-arrow { display: none; }
    .shelf-card-price { margin-top: auto; padding-top: 7px; }
    .shelf-guide { grid-template-columns: 1fr; gap: 22px; }
    .shelf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding-block: 31px 24px; }
    .shelf-footer-grid > div:first-child { grid-column: 1 / -1; }
    .shelf-woocommerce ul.products li.product .woocommerce-loop-product__title { padding-inline: 11px; }
    .shelf-woocommerce ul.products .shelf-loop-label, .shelf-woocommerce ul.products .shelf-loop-pack, .shelf-woocommerce ul.products li.product .price { margin-inline: 11px; }
    .shelf-woocommerce ul.products li.product .button { margin-inline: 11px; }
    .shelf-woocommerce div.product .woocommerce-product-gallery,
    .shelf-woocommerce div.product .summary { float: none; width: 100%; }
    .shelf-woocommerce div.product .woocommerce-product-gallery { margin-bottom: 23px; }
    .shelf-woocommerce .woocommerce-breadcrumb { margin-bottom: 13px; }
    .shelf-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .shelf-detail-table th, .shelf-detail-table td { padding-inline: 5px; }
}

@media (max-width: 390px) {
    .wrap { width: calc(100% - 1.75rem); }
    .shelf-hero-actions .shelf-button { gap: 11px; padding-inline: 13px; }
    .shelf-hero-actions .shelf-text-link { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .shelf-card img { transition: none; }
}
