/* Be Honey Bee shop prototype: layout and responsive rules.
   Colours, radii and shadows come from the design system tokens. */

.bhb-root { position: relative; min-height: 100vh; font-family: var(--font-body); color: var(--text-primary); transition: background-color var(--duration-slow) var(--ease-honey); -webkit-font-smoothing: antialiased; }
.bhb-root *, .bhb-root *::before, .bhb-root *::after { box-sizing: border-box; }
.bhb-cq { container-type: inline-size; container-name: shop; position: relative; }
.bhb-root img { max-width: 100%; }
.bhb-root button { font-family: inherit; }

/* Type styles (tokens) */
.t-display { font-family: var(--font-display); font-weight: 900; font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); margin: 0; }
.t-h1 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h1); line-height: var(--leading-h1); letter-spacing: var(--tracking-h1); margin: 0; }
.t-h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h2); line-height: var(--leading-h2); letter-spacing: var(--tracking-h2); margin: 0; }
.t-h3 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h3); line-height: var(--leading-h3); letter-spacing: var(--tracking-h3); margin: 0; }
.t-h4 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h4); line-height: var(--leading-h4); letter-spacing: var(--tracking-h4); margin: 0; }
.t-price { font-family: var(--font-display); font-weight: 900; font-size: var(--text-price); line-height: 1.2; margin: 0; }
.t-body-l { font-size: var(--text-body-l); line-height: var(--leading-body-l); color: var(--text-body); margin: 0; max-width: var(--measure); }
.t-body { font-size: var(--text-body-size); line-height: var(--leading-body); color: var(--text-body); margin: 0; max-width: var(--measure); }
.t-small { font-size: var(--text-small); line-height: var(--leading-small); color: var(--text-secondary); margin: 0; }
.t-label { font-size: var(--text-label); line-height: 1.4; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); margin: 0; }

/* Container */
.wrap { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter-desktop); padding-right: var(--gutter-desktop); }
.wrap-wide { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: 120px; }

/* Light blocks on the coloured page ground; colour glows live only inside them */
.block { position: relative; overflow: clip; background: var(--surface-card); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); padding: 80px; }
.block-md { padding: 64px; }

/* More air inside the system's cards (their padding is set inline by the components) */
.bhb-root div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) { padding: 28px !important; gap: 24px !important; border-radius: var(--radius-xl) !important; }
.bhb-root div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) > div:last-child { padding: 0 8px 8px !important; gap: 8px !important; }
.bhb-root div[style*="padding: 32px 24px 28px"] { padding: 48px 32px 40px !important; gap: 18px !important; }
.bhb-root aside[style*="--panel-border"] { padding: 40px !important; gap: 24px !important; }
.block > * { position: relative; }
.block > .glow { position: absolute; }
.glow { width: 560px; height: 560px; border-radius: 50%; filter: blur(80px); opacity: 0.6; pointer-events: none; }
.glow-honey { background: var(--bhb-plastev); }
.glow-sky { background: var(--bhb-sky-light); }
.glow-pink { background: var(--bhb-pink); }
.glow-mint { background: var(--bhb-mint); }
.glow.tr { top: -300px; right: -240px; }
.glow.br { bottom: -300px; right: -240px; }
.glow.bl { bottom: -320px; left: -240px; }
.glow.tl { top: -300px; left: -240px; }
.block .chip { background: var(--surface-subtle); box-shadow: none; }
.block .chip.on { background: var(--bhb-navy); }
.block .native-select { background-color: var(--surface-subtle); box-shadow: none; }
.inset { background: var(--surface-page); border-radius: var(--radius-md); }
.foot-title { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--text-primary); margin: 0 0 6px; }
.section-sm { padding-top: 56px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.layout-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.layout-checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.layout-account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.layout-footer { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) 1.6fr; gap: 40px; }
.sticky-col { position: sticky; top: 120px; }

/* Visibility */
.show-m { display: none !important; }
.show-t { display: none !important; }

/* Header */
.announce { background: var(--surface-dark); color: var(--text-on-dark); font-size: 13px; font-weight: 600; text-align: center; padding: 9px 16px; letter-spacing: 0.01em; }
.announce b { color: var(--bhb-honey); }
.hdr-wrap { position: sticky; top: 16px; z-index: 40; padding-top: 16px; }
.hdr { background: var(--surface-panel); border: var(--panel-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 32px; }
.hdr-nav { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.navlink { position: relative; border: 0; background: none; cursor: pointer; padding: 10px 12px; font: 700 15px var(--font-body); color: var(--text-primary); border-radius: var(--radius-pill); transition: background var(--duration-instant); }
.navlink:hover { background: var(--bhb-honey-cream); }
.navlink-bar { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--bhb-honey); transform-origin: left; transition: transform var(--duration-fast) var(--ease-honey); }
.hdr-actions { display: flex; align-items: center; gap: 4px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; background: var(--surface-subtle); color: var(--text-secondary); font: 700 13px var(--font-body); border-radius: var(--radius-pill); padding: 0 12px; height: 36px; transition: background var(--duration-instant); }
.pill-btn:hover { background: var(--bhb-plastev); color: var(--text-primary); }
.badge-slot { position: relative; display: inline-flex; }
.badge-pos { position: absolute; top: -2px; right: -4px; pointer-events: none; }
.dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-float); padding: 8px; display: grid; gap: 2px; min-width: 190px; z-index: 60; }
.dd-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: none; cursor: pointer; text-align: left; padding: 10px 12px; border-radius: var(--radius-xs); font: 600 14px var(--font-body); color: var(--text-primary); }
.dd-item:hover { background: var(--bhb-honey-cream); }
.dd-sep { height: 1px; background: var(--border-subtle); margin: 6px 4px; }

/* Buttons that are links or chips (not covered by the system's Button) */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; cursor: pointer; border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-primary); font: 700 14px var(--font-body); box-shadow: var(--shadow-xs); transition: background var(--duration-instant), transform var(--duration-fast) var(--ease-spring); white-space: nowrap; }
.chip:hover { transform: scale(var(--hover-scale)); }
.chip.on { background: var(--bhb-navy); color: var(--text-on-dark); }
.textlink { border: 0; background: none; padding: 0 0 2px; cursor: pointer; font: 700 15px var(--font-body); color: var(--text-primary); border-bottom: 2px solid var(--bhb-honey); display: inline-flex; gap: 8px; align-items: center; }
.textlink:hover { color: var(--text-link-hover); }
.arrow-honey { color: var(--bhb-honey-deep); }
.plain-btn { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-secondary); }
.crumbs button { border: 0; background: none; padding: 0; cursor: pointer; font: 600 13px var(--font-body); color: var(--text-secondary); }
.crumbs button:hover { color: var(--text-primary); }
.native-select { height: 44px; border: 0; border-radius: var(--radius-pill); padding: 0 40px 0 18px; font: 700 14px var(--font-body); color: var(--text-primary); background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; box-shadow: var(--shadow-xs); cursor: pointer; }
.swatch-dot { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px var(--bhb-web); transition: box-shadow var(--duration-fast) var(--ease-honey); }
.swatch-dot.on { box-shadow: var(--ring-selected); }

/* Cards and surfaces */
.card { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.card-flat { border-radius: var(--radius-lg); }
.lift { transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bhb-dew); color: var(--text-primary); flex-shrink: 0; }
.icon-circle.sm { width: 48px; height: 48px; }
.ph { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-page); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-label { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, 0.85); border-radius: var(--radius-pill); padding: 4px 10px; font: 700 11px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); }
.cloud { position: absolute; border-radius: 50%; background: rgba(255, 224, 153, 0.5); filter: blur(60px); pointer-events: none; }
.honey-num { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--bhb-honey-deep); }
.cat-tile { border: 0; cursor: pointer; text-align: left; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; min-height: 180px; color: var(--text-primary); transition: transform var(--duration-fast) var(--ease-spring); }
.cat-tile:hover { transform: translateY(-4px) scale(1.01); }
.fav-slot { position: relative; }
.fav-pos { position: absolute; top: 30px; right: 30px; z-index: 2; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 700 12px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); padding: 12px 14px; border-bottom: 2px solid var(--border-subtle); }
.table td { padding: 14px; border-bottom: 1px solid var(--border-subtle); color: var(--text-body); }
.table tr.hl td { background: var(--bhb-honey-cream); font-weight: 700; color: var(--text-primary); }
.scroll-x { overflow-x: auto; }

/* Accordions */
.acc { border-top: 1px solid var(--border-warm); }
.acc:last-child { border-bottom: 1px solid var(--border-warm); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font: 900 18px var(--font-display); color: var(--text-primary); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 700 22px var(--font-body); color: var(--bhb-honey-deep); transition: transform var(--duration-fast) var(--ease-honey); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 2px 20px; display: grid; gap: 10px; }

/* Steps */
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 900 16px var(--font-display); background: var(--surface-subtle); color: var(--text-primary); flex-shrink: 0; }
.step-num.on { background: var(--bhb-navy); color: var(--text-on-dark); }
.step-num.done { background: var(--bhb-mint); }
.option { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: var(--radius-md); background: var(--surface-page); transition: background var(--duration-instant), box-shadow var(--duration-fast); }
.option.on { background: var(--surface-card); box-shadow: var(--ring-selected); }
.side-tab { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: 12px 16px; border-radius: var(--radius-pill); font: 700 15px var(--font-body); color: var(--text-primary); }
.side-tab:hover { background: var(--bhb-honey-cream); }
.side-tab.on { background: var(--bhb-navy); color: var(--text-on-dark); }
.side-tabs { display: grid; gap: 4px; }

/* Overlays (outside the container query wrapper) */
.overlay { position: fixed; inset: 0; background: rgba(30, 58, 95, 0.4); z-index: 80; animation: bhbFade var(--duration-fast) var(--ease-honey); }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); z-index: 90; overflow-y: auto; animation: bhbSlide var(--duration-medium) var(--ease-honey); }
.drawer-left { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 88%); z-index: 90; overflow-y: auto; background: var(--surface-panel); padding: 24px; animation: bhbSlideL var(--duration-medium) var(--ease-honey); display: flex; flex-direction: column; gap: 20px; }
.modal { position: fixed; z-index: 90; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; background: var(--surface-panel); border: var(--panel-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-float); padding: 56px; animation: bhbPop var(--duration-medium) var(--ease-spring); }
.search-panel { position: fixed; z-index: 90; left: 50%; top: 24px; transform: translateX(-50%); width: min(820px, calc(100% - 24px)); max-height: calc(100% - 48px); overflow-y: auto; background: var(--surface-panel); border: var(--panel-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-float); padding: 40px; animation: bhbDrop var(--duration-medium) var(--ease-honey); }
.toast-pos { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; animation: bhbUp var(--duration-medium) var(--ease-spring); }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(420px, calc(100% - 32px)); background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 36px; display: grid; gap: 18px; animation: bhbUp var(--duration-medium) var(--ease-honey); }
.search-input { width: 100%; height: 60px; border: 2px solid transparent; border-radius: var(--radius-pill); background: var(--surface-field); padding: 0 24px 0 56px; font: 600 18px var(--font-body); color: var(--text-primary); outline: none; }
.search-input:focus { border-color: var(--border-strong); box-shadow: var(--ring-field-focus); }
.search-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.result-row { display: flex; gap: 16px; align-items: center; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: 10px; border-radius: var(--radius-md); }
.result-row:hover { background: var(--bhb-honey-cream); }
.textarea { width: 100%; min-height: 96px; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--surface-field); padding: 14px 16px; font: 15px/1.5 var(--font-body); color: var(--text-primary); resize: vertical; outline: none; }
.textarea:focus { border-color: var(--border-strong); box-shadow: var(--ring-field-focus); }

/* Favourite toggle over product cards */
.fav-btn { position: absolute; top: 44px; right: 44px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--surface-card); color: var(--text-primary); box-shadow: var(--shadow-xs); transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-instant); }
.fav-btn:hover { transform: scale(1.08); background: var(--bhb-plastev); }
.fav-btn.on { background: var(--bhb-honey); }
.model-on { box-shadow: var(--ring-selected) !important; }

/* Footer */
.foot-link { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font: 500 15px var(--font-body); color: var(--text-body); }
.foot-link:hover { color: var(--text-link-hover); }
.foot-pill { background: var(--surface-subtle); color: var(--text-secondary); border-radius: var(--radius-pill); padding: 5px 12px; font: 700 12px var(--font-body); }

/* Mobile sticky add-to-hive bar */
.sticky-buy { position: sticky; bottom: 0; z-index: 30; padding: 12px var(--gutter-mobile) 16px; background: var(--surface-panel); border-top: 1px solid var(--border-warm); box-shadow: 0 -8px 24px rgba(122, 80, 20, 0.08); display: flex; gap: 12px; align-items: center; justify-content: space-between; }

/* Size finder */
.sf-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; justify-content: space-between; }
.sf-num { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -0.03em; color: var(--text-primary); min-width: 150px; text-align: center; }
.sf-unit { font-size: 22px; margin-left: 6px; color: var(--text-secondary); letter-spacing: 0; }
.sf-step { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--surface-card); color: var(--text-primary); box-shadow: var(--shadow-xs); transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-instant); }
.sf-step:hover { background: var(--bhb-plastev); transform: scale(1.06); }
.sf-rec { flex: 1 1 320px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 32px 36px; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.sf-rec-size { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--text-primary); }
.sf-range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--bhb-honey) 0%, var(--bhb-honey) var(--p), var(--bhb-web) var(--p), var(--bhb-web) 100%); outline: none; cursor: pointer; margin: 8px 0; }
.sf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bhb-navy); border: 4px solid var(--bhb-milk); box-shadow: var(--shadow-hover); }
.sf-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--bhb-navy); border: 4px solid var(--bhb-milk); box-shadow: var(--shadow-hover); }
.sf-range:focus-visible { box-shadow: var(--ring-focus); }
.sf-scale { display: flex; gap: 4px; }
.sf-seg { flex: 1 1 0; min-width: 0; border: 0; cursor: pointer; border-radius: var(--radius-xs); padding: 10px 2px; background: var(--surface-card); color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--font-body); transition: background var(--duration-instant), transform var(--duration-fast) var(--ease-spring); }
.sf-seg b { font: 800 15px var(--font-body); color: var(--text-primary); }
.sf-seg span { font-size: 11px; white-space: nowrap; }
.sf-seg:hover { transform: translateY(-2px); }
.sf-seg.fits { background: var(--bhb-honey-cream); }
.sf-seg.rec { background: var(--bhb-honey); }
.sf-seg.sel { background: var(--bhb-navy); }
.sf-seg.sel b, .sf-seg.sel span { color: var(--text-on-dark); }
.sf-kids { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sf-kid { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border: 0; cursor: pointer; border-radius: 999px; background: var(--surface-card); box-shadow: var(--shadow-xs); font: 700 14px var(--font-body); color: var(--text-primary); }
.sf-kid-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bhb-pink); }
.sf-table { display: grid; gap: 6px; }
.sf-row { display: grid; grid-template-columns: 72px 1fr 1.2fr 1.3fr 32px; gap: 12px; align-items: center; width: 100%; padding: 18px 24px; border: 0; border-radius: var(--radius-md); background: var(--surface-card); text-align: left; cursor: pointer; font: 500 14px var(--font-body); color: var(--text-body); transition: background var(--duration-instant), box-shadow var(--duration-fast); }
.sf-row.no-avail { grid-template-columns: 72px 1fr 1.2fr 32px; }
.sf-row:hover { box-shadow: var(--shadow-card); }
.sf-row.rec { background: var(--bhb-honey-cream); }
.sf-row.sel { background: var(--bhb-honey-tint); box-shadow: var(--ring-selected); }
.sf-th { display: grid; grid-template-columns: 72px 1fr 1.2fr 1.3fr 32px; gap: 12px; padding: 0 24px 4px; font: 700 12px var(--font-body); color: var(--text-secondary); }
.sf-th.no-avail { grid-template-columns: 72px 1fr 1.2fr 32px; }
.sf-size { font: 900 20px var(--font-display); color: var(--text-primary); }
.sf-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.sf-mark.on { background: var(--bhb-navy); color: var(--text-on-dark); }
.sf-mark.rec { background: var(--bhb-honey); color: var(--text-primary); }
.sf-out { padding: 16px 20px; border-radius: var(--radius-md); background: var(--bhb-error-bg); color: var(--status-error); font-size: 14px; font-weight: 600; }
@media (max-width: 560px) {
  .sf-num { font-size: 52px; min-width: 120px; }
  .sf-seg span { display: none; }
  .sf-row, .sf-th { grid-template-columns: 56px 1fr 1.2fr 28px; }
  .sf-row > :nth-child(3), .sf-th > :nth-child(3) { display: none; }
  .sf-row.no-avail, .sf-th.no-avail { grid-template-columns: 56px 1fr 28px; }
}

/* Gift card preview */
.giftcard { border-radius: var(--radius-lg); padding: 40px; aspect-ratio: 1.6 / 1; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; color: var(--text-primary); box-shadow: var(--shadow-card); }

/* Motion */
.fade-up { animation: bhbUpIn var(--duration-medium) var(--ease-honey) both; }
@keyframes bhbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bhbSlide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bhbSlideL { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bhbPop { from { transform: translate(-50%, -46%) scale(0.97); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes bhbDrop { from { transform: translate(-50%, -16px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes bhbUp { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes bhbUpIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie { animation-name: bhbUpIn; }
@media (prefers-reduced-motion: reduce) { .bhb-root * { animation: none !important; } }

/* ===== Sections as large light blocks, after the old front end ===== */
.bhb-root { --text-muted: rgba(30, 58, 95, 0.62); --soft-shadow: 0 1px 2px rgba(122, 80, 20, 0.03), 0 18px 48px rgba(122, 80, 20, 0.06); }
.section { padding-top: 40px; }
.block { box-shadow: var(--soft-shadow); }
.block-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.block-head .t-h2 { font-size: 44px; }
.muted { color: var(--text-muted) !important; }

/* Cards inside a block become soft inset tiles: no second shadow, quiet dew ground */
.block .card { background: var(--surface-page); box-shadow: none; }
.block .card.lift:hover { box-shadow: none; background: var(--bhb-honey-cream); }
.block .cat-tile { background: var(--surface-page) !important; box-shadow: none !important; }
.block .cat-tile:hover { background: var(--bhb-honey-cream) !important; }
.block div[style*="box-shadow: var(--shadow-card)"]:not([style*="honey-tint"]):not(:has(> div[style*="aspect-ratio: 4 / 5"])) { background: var(--surface-page) !important; box-shadow: none !important; }
.block div[style*="background: var(--bhb-honey-tint)"][style*="--shadow-card"] { box-shadow: none !important; }

/* Product cards inside blocks: flat, photo on dew, text under it */
.bhb-root .bhb-cq .block div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) { background: transparent !important; box-shadow: none !important; padding: 0 !important; gap: 18px !important; border-radius: 0 !important; }
.bhb-root .bhb-cq .block div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) > div:first-child { border-radius: var(--radius-lg) !important; background: var(--surface-page) !important; }
.bhb-root .bhb-cq .block div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) > div:last-child { padding: 0 4px !important; gap: 6px !important; }
.block .fav-btn { top: 16px; right: 16px; }
.block .grid-4 { row-gap: 56px; }

/* Glows: few and faint, only on accent blocks */
.glow { opacity: 0.22; filter: blur(90px); }
.glow:not(.keep) { display: none; }
.bhb-root div[style*="filter: blur(60px)"] { opacity: 0.45; }

/* Header after the reference */
.hdr { padding: 18px 24px 18px 40px; border-radius: 44px; box-shadow: var(--soft-shadow); }
.navlink { font: 800 17px var(--font-display); padding: 10px 14px; }

/* Inputs: tall pills on dew, no outline until focus (TextField draws them inline) */
.bhb-root input[style*="--field-h"] { height: 64px !important; border-radius: 999px !important; padding: 0 26px !important; font-size: 16px !important; }
.bhb-root input[style*="--field-h"]:not(:focus) { box-shadow: none !important; background: var(--bhb-dew) !important; }
.block .bhb-root input[style*="--field-h"]:not(:focus), .block input[style*="--field-h"]:not(:focus) { background: #f6f9fc !important; }
.bhb-root input[style*="--field-h"]::placeholder { color: rgba(30, 58, 95, 0.4); }
.bhb-root label:has(> input[style*="--field-h"]) > span:first-child { font-size: 13px !important; font-weight: 600 !important; color: var(--text-muted) !important; padding-left: 26px; }
.bhb-root label:has(> input[style*="--field-h"]) > span:last-child:not(:first-child) { padding-left: 26px; }
.bhb-root label:has(> input[style*="--field-h"]) { gap: 10px !important; }
.textarea { border-radius: 32px; padding: 20px 26px; background: #f6f9fc; min-height: 120px; }
.search-input { height: 68px; }

/* Size chips and swatches with more room */
.bhb-root button[style*="min-width: 56px"] { height: 56px !important; min-width: 68px !important; background-color: #f1f6fa; }
.bhb-root button[style*="min-width: 56px"][style*="--bhb-navy"] { background-color: var(--bhb-navy) !important; }

/* Option rows */
.option { padding: 26px 30px; border-radius: var(--radius-lg); background: #f6f9fc; }
.option.on { background: var(--surface-card); }

/* Summary rows like the reference: muted labels, strong total */
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; color: var(--text-muted); }
.sum-row b { font-weight: 500; color: var(--text-muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.sum-total b { font: 900 28px var(--font-display); color: var(--text-primary); }
.sep { height: 1px; background: var(--border-subtle); border: 0; margin: 4px 0; }
.points-box { background: var(--bhb-honey-tint); border-radius: 36px; padding: 32px 36px; display: grid; gap: 10px; }

/* Tables */
.table th { padding: 18px 20px; font: 600 14px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-muted); border-bottom: 1px solid var(--border-subtle); }
.table td { padding: 18px 20px; font-size: 15px; color: var(--text-primary); }

/* Accordions */
.acc summary { padding: 24px 2px; font-size: 20px; }
.acc-body { padding: 0 2px 28px; gap: 14px; }

/* Size finder inside the dew inset: table rows like the reference */
.sf-row { background: transparent; border-radius: 0; border-bottom: 1px solid var(--border-subtle); padding: 20px 20px; color: var(--text-primary); font-size: 15px; }
.sf-row:hover { box-shadow: none; background: rgba(255, 255, 255, 0.7); }
.sf-row.rec { background: var(--bhb-honey-cream); border-radius: var(--radius-md); border-bottom-color: transparent; }
.sf-row.sel { background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--ring-selected); border-bottom-color: transparent; }
.sf-th { padding: 0 20px 14px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--border-subtle); }
.sf-seg { padding: 14px 2px; border-radius: var(--radius-sm); }
.sf-rec { box-shadow: none; padding: 32px 36px; }

/* Numbered steps: number and title on one line, left aligned */
.step-head { display: flex; align-items: center; gap: 14px; }
.step-head .honey-num { font-size: 40px; line-height: 1; flex-shrink: 0; }
.step-head b, .step-head h3 { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1.15; color: var(--text-primary); margin: 0; }

/* Hero floating chips */
.hero-chip-l { left: -28px; bottom: 48px; }
.hero-chip-r { right: 24px; top: 28px; }

/* Tablet */
@container shop (max-width: 1100px) {
  .wrap { padding-left: var(--gutter-tablet); padding-right: var(--gutter-tablet); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-footer > :first-child, .layout-footer > :last-child { grid-column: 1 / -1; }
  .hdr-nav .navlink { padding: 10px 8px; font-size: 14px; }
  .t-display { font-size: 72px; }
  .block { padding: 56px; }
  .block-md { padding: 48px; }
  .block-head { margin-bottom: 40px; }
  .block-head .t-h2 { font-size: 38px; }
  .hdr { padding: 14px 18px 14px 28px; }
  .navlink { font-size: 15px; padding: 10px 8px; }
}
@container shop (max-width: 900px) {
  .split, .layout-product, .layout-checkout, .layout-account { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sticky-col { position: static; }
  .side-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .side-tabs .side-tab { width: auto; padding: 10px 14px; font-size: 14px; }
  .hide-t { display: none !important; }
  .show-t { display: flex !important; }
  .section { padding-top: 72px; }
  .t-h1 { font-size: 48px; }
  .t-h2 { font-size: 38px; }
}
/* Phone */
@container shop (max-width: 640px) {
  .wrap { padding-left: var(--gutter-mobile); padding-right: var(--gutter-mobile); }
  .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .layout-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .hide-m { display: none !important; }
  .show-m { display: flex !important; }
  .section { padding-top: 72px; }
  .block, .block-md { padding: 36px 24px !important; border-radius: var(--radius-xl); }
  .bhb-root .card.stack, .bhb-root .card.row { padding: 32px 26px !important; }
  .bhb-root .t-display { width: auto !important; font-size: 46px !important; letter-spacing: -0.03em !important; }
  .block-head { margin-bottom: 28px; }
  .block-head .t-h2 { font-size: 30px; }
  .block .grid-4 { row-gap: 32px; }
  .hero-chip-l { left: 12px !important; bottom: 16px !important; }
  .hero-chip-r { right: 12px !important; top: 12px !important; }
  .hdr { padding: 8px 8px 8px 16px; border-radius: 32px; }
  .option { padding: 18px 20px; }
  .points-box { padding: 24px; border-radius: 28px; }
  .sum-total b { font-size: 24px; }
  .bhb-root input[style*="--field-h"] { height: 56px !important; }
  .acc summary { font-size: 18px; padding: 20px 2px; }
  .table th, .table td { padding: 14px 12px; }
  .bhb-root .cat-tile { padding: 28px 24px !important; min-height: 170px !important; }
  .bhb-root div[style*="--shadow"]:has(> div[style*="aspect-ratio: 4 / 5"]) { padding: 22px !important; }
  .fav-btn { top: 36px; right: 36px; }
  .option { padding: 18px 20px; }
  .modal { padding: 28px 22px; }
  .wrap-wide { padding-left: 10px; padding-right: 10px; }
  .glow { width: 320px; height: 320px; }
  .t-display { font-size: 46px; }
  .t-h1 { font-size: 38px; }
  .t-h2 { font-size: 30px; }
  .t-h3 { font-size: 24px; }
  .t-body-l { font-size: 17px; }
  .hdr { gap: 8px; padding: 8px 8px 8px 14px; border-radius: var(--radius-lg); }
  .announce { font-size: 12px; }
  .modal { padding: 24px; }
  .cat-tile { min-height: 140px; padding: 18px; }
  .honey-num { font-size: 44px; }
  .fav-pos { top: 28px; right: 28px; }
}
