/*
   Clofits shop UI — header actions, announcement, trust strip, collection
   toolbar and filter drawer, product page helpers, info pages, footer live
   strip and the chat widget. Monochrome, Georgia display type.
*/
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Announcement + header ---------- */
.announcement-bar { background: #151515; color: #fff; text-align: center; font-size: .8rem; letter-spacing: .02em; padding: .5rem 1rem; }
.announcement-bar a { color: inherit; text-decoration: none; }
.announcement-bar a:hover { text-decoration: underline; }
.header-actions { position: absolute; inset: 50% var(--right) auto auto; transform: translateY(-50%); display: flex; gap: .3rem; }
.header-icon { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.header-icon:hover { background: var(--soft); }
.header-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.header-icon .bag-count { top: .1rem; right: .05rem; min-width: 1.05rem; text-align: center; }
.logo img { display: block; max-height: 2.4rem; width: auto; }
.showroom-launch { margin-right: 9rem; }
@media (max-width: 760px) {
    .site-header { grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; padding-block: .55rem; }
    .site-header .logo { justify-self: start; }
    .site-header .search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .header-actions { position: static; transform: none; grid-column: 2; grid-row: 1; }
    .header-icon { width: 2.35rem; height: 2.35rem; }
    .showroom-launch { margin-right: 0; grid-column: 1 / -1; justify-self: center; }
}

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; padding: var(--section-gap) var(--right) var(--section-gap) var(--left); }
.trust-card { display: flex; gap: .85rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.trust-card svg { flex: none; width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 50%; background: #151515; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-card b { display: block; font-size: .95rem; }
.trust-card span { display: block; color: var(--muted); font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
    .trust-card { animation: trust-in .5s var(--trust-delay, 0ms) both cubic-bezier(.2, .75, .25, 1); }
    @keyframes trust-in { from { opacity: 0; translate: 0 .6rem; } }
}

/* ---------- Collection banner + toolbar ---------- */
.collection-banner { position: relative; display: grid; align-content: end; gap: .35rem; min-height: clamp(9rem, 18vw, 13rem); margin-bottom: 1rem; padding: clamp(1.1rem, 2.5vw, 2rem); border-radius: 1.25rem; overflow: hidden; color: #fff; background: #151515 var(--banner) center 30% / cover no-repeat; isolation: isolate; }
.collection-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .72), rgb(0 0 0 / .25) 70%, transparent); }
.collection-banner.is-plain { min-height: 0; padding: 0 0 .25rem; color: inherit; background: none; }
.collection-banner.is-plain::before { display: none; }
.collection-banner h1 { font: 700 clamp(1.7rem, 3.6vw, 2.8rem)/1.05 Georgia, serif; }
.collection-banner p { font-size: .88rem; opacity: .85; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .78rem; opacity: .85; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.subcategory-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; margin-bottom: .75rem; scrollbar-width: none; }
.subcategory-pills a { flex: none; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; font-size: .85rem; text-decoration: none; transition: background-color .2s, color .2s; }
.subcategory-pills a:hover { background: #151515; color: #fff; border-color: #151515; }

.shop-toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: .6rem; margin-inline: calc(var(--left) * -0.15); padding: .6rem .5rem; background: rgb(248 248 248 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.shop-toolbar:has(+ *) { border-bottom-color: var(--line); }
.filter-trigger { display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: .6rem 1rem; border: 1px solid #151515; border-radius: 2rem; background: #151515; color: #fff; font-size: .88rem; font-weight: 700; }
.filter-trigger svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.filter-count { display: grid; place-items: center; min-width: 1.3rem; height: 1.3rem; padding-inline: .3rem; border-radius: 1rem; background: #fff; color: #151515; font-size: .72rem; }
.quick-sizes { display: flex; gap: .35rem; min-width: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.quick-sizes a { flex: none; min-width: 2.4rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; text-align: center; font-size: .8rem; text-decoration: none; }
.quick-sizes a:hover { border-color: #151515; }
.quick-sizes a.is-on { background: #151515; border-color: #151515; color: #fff; }
.sort-form { flex: none; margin-left: auto; }
.sort-form label { display: flex; align-items: center; gap: .35rem; padding: .25rem .25rem .25rem .85rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; font-size: .82rem; }
.sort-form span { color: var(--muted); }
.sort-form select { border: 0; background: transparent; padding: .35rem .25rem; font-weight: 700; font-size: .85rem; cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .7rem 0 1rem; }
.active-filters a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 2rem; background: #eaeaea; font-size: .8rem; text-decoration: none; }
.active-filters a span { font-size: 1rem; line-height: 1; }
.active-filters a:hover { background: #dcdcdc; }
.active-filters .clear-filters { background: none; text-decoration: underline; }
@media (max-width: 760px) {
    .shop-toolbar { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; }
    .quick-sizes { order: 3; flex-basis: 100%; }
}

/* Filter drawer */
.filter-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(100%, 25rem); height: 100%; max-height: 100%; padding: 0; border: 0; background: #fff; color: inherit; }
.filter-drawer::backdrop { background: rgb(0 0 0 / .5); backdrop-filter: blur(2px); }
.filter-drawer form { display: flex; flex-direction: column; height: 100%; }
.filter-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line); }
.filter-head h2 { font: 700 1.5rem Georgia, serif; }
.filter-body { flex: 1; overflow-y: auto; padding: .5rem 1.35rem 1.5rem; }
.filter-group { margin: 0; padding: 1.1rem 0; border: 0; border-bottom: 1px solid var(--line); }
.filter-group legend { float: left; width: 100%; margin-bottom: .75rem; font-weight: 700; font-size: .95rem; }
.filter-group legend + * { clear: both; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-chips label { cursor: pointer; }
.filter-chips input, .filter-swatches input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chips span { display: block; min-width: 2.7rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .7rem; text-align: center; font-size: .85rem; transition: background-color .15s, color .15s, border-color .15s; }
.filter-chips label:hover span { border-color: #151515; }
.filter-chips input:checked + span { background: #151515; border-color: #151515; color: #fff; }
.filter-chips input:focus-visible + span, .filter-swatches input:focus-visible + span { outline: 2px solid #151515; outline-offset: 2px; }
.filter-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.2rem, 1fr)); gap: .7rem .4rem; }
.filter-swatches label { display: grid; justify-items: center; gap: .3rem; cursor: pointer; }
.filter-swatches span { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); transition: box-shadow .15s; }
.filter-swatches input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15), 0 0 0 2px #fff, 0 0 0 4px #151515; }
.filter-swatches small { font-size: .72rem; color: var(--muted); text-align: center; text-transform: capitalize; }
.price-values { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.price-slider { position: relative; height: 1.6rem; }
.price-slider::before { content: ""; position: absolute; inset: 50% 0 auto; height: .3rem; translate: 0 -50%; border-radius: 1rem; background: linear-gradient(90deg, #ddd var(--low, 0%), #151515 var(--low, 0%) var(--high, 100%), #ddd var(--high, 100%)); }
.price-slider input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.3rem; height: 1.3rem; border: 3px solid #151515; border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.price-slider input::-moz-range-thumb { width: 1rem; height: 1rem; border: 3px solid #151515; border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.price-slider input::-webkit-slider-runnable-track { background: none; }
.price-slider input::-moz-range-track { background: none; }
.filter-switch { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; cursor: pointer; font-size: .92rem; }
.filter-switch input { position: absolute; opacity: 0; }
.filter-switch span { position: relative; width: 2.6rem; height: 1.5rem; border-radius: 1rem; background: #d4d4d4; transition: background-color .2s; }
.filter-switch span::after { content: ""; position: absolute; inset: .2rem auto auto .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: translate .2s; }
.filter-switch input:checked + span { background: #151515; }
.filter-switch input:checked + span::after { translate: 1.1rem 0; }
.filter-switch input:focus-visible + span { outline: 2px solid #151515; outline-offset: 2px; }
.filter-foot { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; padding: 1rem 1.35rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filter-foot a { padding: .8rem 1rem; font-weight: 700; font-size: .9rem; }
.filter-foot button { padding: .9rem; border: 0; border-radius: 2rem; background: #151515; color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
    .filter-drawer[open] { animation: drawer-in .32s cubic-bezier(.2, .75, .25, 1); }
    @keyframes drawer-in { from { translate: -100% 0; } }
}

/* ---------- Product page helpers ---------- */
.product-low-stock { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; color: #8a2b0e; font-size: .88rem; font-weight: 700; }
.product-low-stock span { width: .55rem; height: .55rem; border-radius: 50%; background: #d1491c; box-shadow: 0 0 0 4px rgb(209 73 28 / .18); }
.product-eta { display: flex; gap: .6rem; align-items: flex-start; margin-top: .85rem; padding: .75rem .9rem; border-radius: .9rem; background: #f0f0ee; font-size: .88rem; }
.product-eta svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.product-eta a { color: var(--muted); }
.product-trust { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .8rem; color: #333; }
.product-trust li { display: flex; align-items: center; gap: .35rem; }
.product-trust svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.size-guide-link { float: right; font-weight: 400; font-size: .82rem; color: var(--muted); }
.product-sizes legend { width: 100%; }
.product-sizes.needs-size { animation: needs-size .5s ease 2; }
@keyframes needs-size { 50% { translate: .4rem 0; } }
.product-whatsapp { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .55rem; padding: .8rem; border: 1px solid #151515; border-radius: 2rem; font-weight: 700; text-decoration: none; }
.product-whatsapp:hover { background: #151515; color: #fff; }
.product-whatsapp svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.preorder-card { margin-top: 1rem; padding: 1.1rem; border: 1px dashed #151515; border-radius: 1rem; background: #fff; }
.preorder-card h2 { font: 700 1.15rem Georgia, serif; margin-bottom: .3rem; }
.preorder-card > p { color: var(--muted); font-size: .88rem; }
.preorder-card form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .8rem; }
.preorder-card label { display: grid; gap: .25rem; font-size: .8rem; font-weight: 700; }
.preorder-card :is(input, select) { padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .6rem; font-weight: 400; background: #fff; }
.preorder-card button { grid-column: 1 / -1; }
.preorder-done { font-size: .95rem; }
.sticky-buy { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / .08); }
.sticky-buy img { width: 2.8rem; height: 3.4rem; object-fit: cover; border-radius: .45rem; }
.sticky-buy b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .88rem; }
.sticky-buy span { font-size: .85rem; color: var(--muted); }
.sticky-buy button { padding: .75rem 1.2rem; border: 0; border-radius: 2rem; background: #151515; color: #fff; font-weight: 700; }
@media (min-width: 761px) { .sticky-buy { display: none !important; } }
@media (max-width: 760px) { body:has(.sticky-buy:not([hidden])) :is(#open-bag, .chat-widget) { translate: 0 -4.5rem; } }

/* ---------- Info pages ---------- */
.info-page { width: min(100% - 2rem, 58rem); margin: clamp(1.5rem, 4vw, 3rem) auto clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1rem; }
.info-page h1 { font: 700 clamp(1.9rem, 4vw, 2.9rem)/1.1 Georgia, serif; }
.info-page h2 { font: 700 1.15rem Georgia, serif; margin-bottom: .5rem; }
.info-lead { color: #444; font-size: 1rem; line-height: 1.55; }
.info-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.info-tabs a { flex: none; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; font-size: .85rem; text-decoration: none; }
.info-tabs a[aria-current] { background: #151515; border-color: #151515; color: #fff; }
.info-card { padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; line-height: 1.55; }
.info-card p + p { margin-top: .7rem; }
.info-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: .75rem; align-items: end; }
.info-form.track-form { grid-template-columns: minmax(0, 1fr) auto; }
.info-form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 700; }
.info-form input { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: .7rem; font-weight: 400; }
.info-button { display: inline-flex; justify-content: center; align-items: center; padding: .85rem 1.4rem; border: 1px solid #151515; border-radius: 2rem; background: #151515; color: #fff; font-weight: 700; text-decoration: none; }
.info-button.ghost { background: transparent; color: inherit; justify-self: start; }
.info-error { grid-column: 1 / -1; color: #a1260f; font-size: .88rem; }
@media (max-width: 640px) { .info-form, .info-form.track-form { grid-template-columns: 1fr; } }
.track-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.track-head small { display: block; color: var(--muted); font-size: .75rem; }
.track-status { margin: 1rem 0 .5rem; font-weight: 700; }
.order-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: .75rem 0 1rem; padding: 0; list-style: none; counter-reset: step; }
.order-progress li { position: relative; display: grid; justify-items: center; gap: .4rem; text-align: center; font-size: .75rem; color: var(--muted); }
.order-progress li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid #ccc; background: #fff; color: #151515; font-weight: 700; z-index: 1; }
.order-progress li + li::after { content: ""; position: absolute; top: .9rem; right: 50%; width: 100%; height: 2px; background: #ccc; }
.order-progress li.is-done { background: #151515; color: #fff; }
.order-progress li.is-done::before { content: "✓"; border-color: #151515; background: #151515; color: #fff; }
.order-progress li.is-done::after { background: #151515; }
.online-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #a3a3a3; vertical-align: middle; }
.online-dot.is-online { background: #1f9d55; box-shadow: 0 0 0 3px rgb(31 157 85 / .2); }
.contact-grid, .area-grid, .size-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
.contact-card { display: grid; gap: .2rem; text-align: left; text-decoration: none; color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, translate .2s; }
.contact-card:hover { border-color: #151515; translate: 0 -2px; }
.contact-card span { font-size: 1.5rem; }
.contact-card small, .area-card small { color: var(--muted); }
.area-card { display: grid; gap: .25rem; }
.area-card strong { font: 700 1.6rem Georgia, serif; }
.store-info-copy { white-space: pre-line; }
.measure-list { display: grid; gap: .45rem; padding-left: 1.1rem; }
.size-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.size-chips span { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: .5rem; font-size: .8rem; }
.policy-text h2 { margin-top: 1.1rem; }
.policy-text ul { padding-left: 1.2rem; }
.not-found { display: grid; justify-items: center; gap: .9rem; padding-block: 2rem; text-align: center; }
.not-found-code { font: 700 clamp(5rem, 18vw, 10rem)/1 Georgia, serif; letter-spacing: -.04em; background: linear-gradient(180deg, #151515, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found-search { width: min(100%, 30rem); }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.not-found-links a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 2rem; background: #fff; text-decoration: none; font-size: .88rem; }
.not-found-links a:hover { background: #151515; color: #fff; }

/* ---------- Footer live strip ---------- */
.footer-live-delivery [data-delivery-status] b { color: #151515; }
.footer-eta { display: grid; gap: .3rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .82rem; }
.footer-eta li { display: flex; justify-content: space-between; gap: .5rem; }
.footer-eta span { color: var(--muted); }
.footer-live-support h2 { display: flex; align-items: center; gap: .5rem; }
.footer-support-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.footer-support-actions :is(a, button) { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .85rem; border: 1px solid #151515; border-radius: 2rem; background: #fff; color: #151515; font-size: .82rem; font-weight: 700; text-decoration: none; }
.footer-support-actions :is(a, button):hover { background: #151515; color: #fff; }
.footer-support-actions svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.footer-social { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; flex-basis: 100%; }
.footer-social a { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .8rem; text-decoration: none; }
.store-footer-columns { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-badges li { padding: .4rem .8rem; border-radius: 2rem; background: #ececec; font-size: .78rem; font-weight: 700; }

/* ---------- Chat widget ---------- */
.chat-widget { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; transition: translate .25s; }
.chat-launcher { position: relative; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 0; border-radius: 50%; background: #151515; color: #fff; box-shadow: 0 10px 28px rgb(0 0 0 / .25); transition: scale .2s; }
.chat-launcher:hover { scale: 1.06; }
.chat-launcher svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chat-launcher .online-dot { position: absolute; top: .3rem; right: .3rem; box-shadow: 0 0 0 2px #151515; }
.chat-widget.is-open .chat-launcher { display: none; }
.chat-panel { display: flex; flex-direction: column; width: min(calc(100vw - 2rem), 23rem); height: min(34rem, calc(100dvh - 2rem)); border-radius: 1.25rem; background: #fff; box-shadow: 0 24px 60px rgb(0 0 0 / .25); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; background: #151515; color: #fff; }
.chat-head b { display: block; font: 700 1.15rem Georgia, serif; }
.chat-head small { font-size: .75rem; opacity: .85; }
.chat-head button { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 1.2rem; }
.chat-quick { display: flex; gap: .4rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); }
.chat-quick:empty { display: none; }
.chat-quick a { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .75rem; font-weight: 700; text-decoration: none; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 1rem .9rem; overflow-y: auto; list-style: none; background: #f6f6f5; }
.chat-msg { max-width: 85%; padding: .6rem .8rem; border-radius: 1rem; font-size: .88rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat-msg small { display: block; font-size: .7rem; font-weight: 700; opacity: .7; margin-bottom: .1rem; }
.chat-msg.is-bot, .chat-msg.is-staff { align-self: flex-start; background: #fff; border-bottom-left-radius: .3rem; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.chat-msg.is-visitor { align-self: flex-end; background: #151515; color: #fff; border-bottom-right-radius: .3rem; }
.chat-suggestions { display: flex; gap: .35rem; padding: .55rem .9rem 0; overflow-x: auto; scrollbar-width: none; }
.chat-suggestions button { flex: none; padding: .35rem .7rem; border: 1px solid #151515; border-radius: 2rem; background: #fff; font-size: .75rem; }
.chat-suggestions button:hover { background: #151515; color: #fff; }
.chat-form { display: flex; gap: .4rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); }
.chat-form input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .88rem; }
.chat-form button { display: grid; place-items: center; width: 2.6rem; border: 0; border-radius: 50%; background: #151515; color: #fff; }
.chat-form svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
    .chat-panel:not([hidden]) { animation: chat-in .25s cubic-bezier(.2, .75, .25, 1); transform-origin: bottom right; }
    @keyframes chat-in { from { opacity: 0; scale: .92; } }
    .chat-msg { animation: chat-msg .25s ease-out; }
    @keyframes chat-msg { from { opacity: 0; translate: 0 .4rem; } }
}
@media (max-width: 760px) { .chat-widget { bottom: calc(4.6rem + env(safe-area-inset-bottom)); } }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ---------- Product page: brand, discount, video, Q&A ---------- */
.product-brand { margin-top: .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-off { display: inline-block; margin-left: .45rem; padding: .15rem .5rem; border-radius: 2rem; background: #151515; color: #fff; font-size: .75rem; font-weight: 700; vertical-align: middle; }
.product-sale-ends { margin-top: .3rem; color: #8a2b0e; font-size: .85rem; font-weight: 700; }
.product-short { margin-top: .6rem; color: #333; line-height: 1.55; }
.product-sold-out { margin-top: 1rem; padding: .9rem 1rem; border-radius: .9rem; background: #f0f0ee; font-weight: 700; }
.product-trust li.is-highlight { font-weight: 700; color: #151515; }
.colour-chip { display: inline-block; width: .85rem; height: .85rem; margin-right: .35rem; border-radius: 50%; background: var(--chip); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); vertical-align: -1px; }
.product-video, .product-video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: .75rem; border: 0; border-radius: 1rem; overflow: hidden; background: #111; }
.product-video { padding: 0; cursor: pointer; }
.product-video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, scale .4s; }
.product-video:hover img { opacity: 1; scale: 1.03; }
.product-video-play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: rgb(255 255 255 / .92); box-shadow: 0 10px 30px rgb(0 0 0 / .3); }
.product-video-play svg { width: 1.6rem; height: 1.6rem; fill: #151515; margin-left: .2rem; }
.product-video-label { position: absolute; left: 1rem; bottom: .8rem; color: #fff; font-weight: 700; font-size: .85rem; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.product-gallery.video-first .product-video { order: -1; margin: 0 0 .75rem; }
.product-gallery.video-first { display: flex; flex-direction: column; }
.product-description h2 { margin: 1rem 0 .4rem; font: 700 1.05rem Georgia, serif; }
.product-description ul, .product-description ol { padding-left: 1.2rem; }
.product-description p + p { margin-top: .6rem; }
.product-faq { width: min(100% - 2rem, 62rem); margin: clamp(1.5rem, 4vw, 3rem) auto; }
.product-faq h2 { font: 700 clamp(1.4rem, 2.6vw, 2rem) Georgia, serif; margin-bottom: 1rem; }
.product-faq-list { display: grid; gap: .5rem; }
.product-faq details { border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.product-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; cursor: pointer; font-weight: 700; list-style: none; }
.product-faq summary::-webkit-details-marker { display: none; }
.product-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: rotate .2s; }
.product-faq details[open] summary::after { rotate: 45deg; }
.product-faq details p { padding: 0 1.1rem 1rem; color: #444; line-height: 1.55; }
.product-faq-more { margin-top: .9rem; color: var(--muted); }
.product-faq-more button { border: 0; background: none; padding: 0; color: #151515; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Logo images from Admin → Header & logo */
.site-header .logo img { width: var(--logo-w, 140px); max-height: none; height: auto; }
.site-header.is-sticky { position: sticky; top: 0; z-index: 30; background: rgb(248 248 248 / .94); backdrop-filter: blur(10px); }
.store-footer-brand .logo img { display: block; max-width: 60vw; height: auto; }
@media (max-width: 760px) { .site-header .logo img { width: var(--logo-w-mobile, 110px); } }
.chat-logo { display: block; width: 110px; height: auto; margin-bottom: 3px; }
.store-footer-brand .logo img { width: 190px; }

/* ---------- Discount campaigns ---------- */
.campaign-nav { position: relative; display: inline-flex !important; align-items: center; gap: .4rem; padding: .45rem .85rem !important; border-radius: 2rem; background: var(--c); color: var(--ct) !important; font-weight: 800; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; }
.campaign-nav em { padding: .1rem .45rem; border-radius: 1rem; background: rgb(255 255 255 / .22); font-style: normal; font-size: .72rem; font-weight: 800; }
.campaign-nav-spark { display: inline-block; }
.campaign-nav[aria-current] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
@media (prefers-reduced-motion: no-preference) {
    .anim-shimmer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); background-size: 250% 100%; animation: campaign-shimmer 2.6s linear infinite; }
    .anim-pulse { animation: campaign-pulse 1.8s ease-in-out infinite; }
    .anim-glow { animation: campaign-glow 2s ease-in-out infinite; }
    .anim-bounce .campaign-nav-spark, .anim-bounce.campaign-nav em { animation: campaign-bounce 1.2s ease-in-out infinite; }
    .campaign-nav .campaign-nav-spark { animation: campaign-spin 4s linear infinite; }
    .anim-pop { animation: campaign-pop 2.4s ease-in-out infinite; }
    @keyframes campaign-shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
    @keyframes campaign-pulse { 50% { transform: scale(1.06); } }
    @keyframes campaign-glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); } }
    @keyframes campaign-bounce { 50% { transform: translateY(-3px); } }
    @keyframes campaign-spin { to { rotate: 360deg; } }
    @keyframes campaign-pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.12); } }
}
.campaign-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; background: var(--c); color: var(--ct); text-decoration: none; }
.campaign-bar b { font-weight: 800; }
.campaign-bar-clock { font-variant-numeric: tabular-nums; }
.sale-hero { position: relative; display: grid; gap: .6rem; justify-items: start; margin-bottom: 1rem; padding: clamp(1.4rem, 4vw, 3rem); border-radius: 1.4rem; overflow: hidden; isolation: isolate; color: var(--ct); background: var(--c) var(--banner, none) center / cover no-repeat; }
.sale-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 92%, black), color-mix(in srgb, var(--c) 55%, transparent) 70%, transparent); }
.sale-hero.anim-shimmer::after { z-index: -1; }
.sale-hero h1 { font: 800 clamp(2rem, 6vw, 4.2rem)/1 Georgia, serif; letter-spacing: -.02em; }
.sale-kicker { padding: .25rem .7rem; border-radius: 2rem; background: rgb(255 255 255 / .2); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sale-tagline { font-size: 1.1rem; font-weight: 600; }
.sale-description { max-width: 60ch; opacity: .9; }
.sale-clock { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.sale-clock-label { margin-right: .3rem; font-weight: 700; }
.sale-clock-box { display: grid; justify-items: center; min-width: 3.4rem; padding: .45rem .5rem; border-radius: .8rem; background: rgb(0 0 0 / .28); }
.sale-clock-box b { font: 800 1.6rem/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.sale-clock-box small { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.sale-rules { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.sale-rules li { padding: .35rem .75rem; border-radius: 2rem; background: rgb(255 255 255 / .92); color: #151515; font-size: .82rem; font-weight: 700; }
.sale-gate { display: grid; gap: .5rem; width: min(100%, 34rem); }
.sale-form { display: flex; flex-wrap: wrap; gap: .4rem; }
.sale-form input { flex: 1; min-width: 9rem; padding: .7rem .9rem; border: 0; border-radius: 2rem; }
.sale-form button, .sale-note button { padding: .7rem 1.1rem; border: 0; border-radius: 2rem; background: #151515; color: #fff; font-weight: 800; cursor: pointer; }
.sale-done { font-weight: 700; }
.sale-error { color: #fff; background: #b42318; padding: .3rem .7rem; border-radius: .5rem; }
.sale-count { font-size: .85rem; opacity: .9; }
@media (max-width: 760px) { .sale-hero { background-image: var(--banner-m, var(--banner, none)); } }
.product { position: relative; }
.sale-sticker { position: absolute; top: .6rem; left: .6rem; z-index: 3; padding: .25rem .55rem; border-radius: 2rem; background: var(--c); color: var(--ct); font-size: .78rem; font-weight: 800; box-shadow: 0 4px 12px rgb(0 0 0 / .18); }
.kicker-sale { font-weight: 800; }
.price del { margin-left: .35rem; color: var(--muted); font-size: .85em; }
.sale-left { margin-top: -.4rem; color: #b42318; font-size: .78rem; font-weight: 700; }
.product-campaign { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .8rem; margin-top: .7rem; padding: .7rem .9rem; border-radius: .9rem; background: var(--c); color: var(--ct); text-decoration: none; font-size: .88rem; overflow: hidden; isolation: isolate; }
.product-campaign b { font-variant-numeric: tabular-nums; }
.sale-progress { height: .5rem; margin-top: .6rem; border-radius: 1rem; background: #e9e7e2; overflow: hidden; }
.sale-progress span { display: block; height: 100%; border-radius: inherit; background: var(--c); }
.sale-progress-text { margin-top: .25rem; font-size: .8rem; font-weight: 700; color: #8a2b0e; }
.campaign-hint { margin-top: .5rem; padding: .5rem .7rem; border-radius: .7rem; background: #fff6df; color: #6a4a00; font-size: .84rem; font-weight: 600; }
.campaign-hint.is-done { background: #e5f3ea; color: #12733d; }
.campaign-saving dt, .campaign-saving dd { color: #12733d; font-weight: 700; }
.you-saved { margin-top: .6rem; padding: .6rem .8rem; border-radius: .7rem; background: #e5f3ea; color: #12733d; font-size: .9rem; }
.muted-note { margin: .5rem 0; color: var(--muted); font-size: .85rem; }
.category-nav .campaign-nav, .category-nav .campaign-nav[aria-current] { background: var(--c) !important; color: var(--ct) !important; }
.category-nav .campaign-nav span, .category-nav .campaign-nav em { color: inherit !important; }
