/* =====================================================================
   components.css — header, menus, footer, product card, cart drawer, dialogs, floating UI.
   ===================================================================== */

/* ---------- top bar ---------- */
.tb { --tb-fg: var(--c-on-primary); position: relative; z-index: 41; display: flex; align-items: center; min-height: var(--tb-h-m); background: var(--tb-bg, var(--c-primary)); color: var(--tb-fg); font-size: var(--tb-fs-m); font-weight: 500; overflow: hidden; }
@media (min-width: 768px) { .tb { min-height: var(--tb-h); font-size: var(--tb-fs); } }
.tb .mq, .tb__slider, .tb__static, .tb__center { width: 100%; }
.tb__item { display: inline-flex; flex: none; align-items: center; gap: 8px; padding-inline: 28px; white-space: nowrap; }
.tb__item img { height: var(--tb-img-m); width: auto; max-width: none; }
@media (min-width: 768px) { .tb__item img { height: var(--tb-img); } }
.tb__static { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.tb__slider .cr__track > * { justify-content: center; }
.tb__center { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding-block: 6px; }
.tb__code { padding: 2px 12px; border: 1px dashed currentColor; border-radius: var(--radius-xs); font-weight: 700; letter-spacing: .06em; }
.tb__copy { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border: 1px solid currentColor; border-radius: var(--pill); font-size: .8125rem; }
.tb__copy .ic { width: 14px; height: 14px; }
.tb__cd-label { color: var(--tb-cd-label, inherit); }
.tb__cd .cd__unit { color: inherit; } /* the bar's text colour, not the boxed countdown's dark default */
.tb__cd b { color: var(--tb-cd-num, inherit); }
.tb__cd small { color: var(--tb-cd-unit, inherit); opacity: .85; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; color: var(--hd-fg, var(--c-text)); transition: box-shadow .25s, background .25s; }
.hd__bar { position: relative; background: var(--hd-bg, #fff); }
.hd__bar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hd-bg-img, none) center / cover; opacity: var(--hd-bg-op, .1); }
.hd__row { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; }
@media (min-width: 992px) { .hd__row { min-height: 80px; gap: 24px; } }
.hd__start, .hd__end { display: flex; align-items: center; gap: 4px; }
.hd__start { min-width: 0; } /* a wide logo shrinks instead of pushing the icons past a 390px screen */
.hd__end { flex: none; margin-inline-start: auto; gap: 6px; }
.hd__logo { display: inline-flex; align-items: center; position: relative; min-width: 0; margin-inline-start: 4px; }
.hd__logo-img { height: var(--logo-h-m); width: auto; max-width: min(180px, 100%); object-fit: contain; }
@media (min-width: 992px) { .hd__logo-img { height: var(--logo-h); max-width: min(240px, 100%); } }
.hd__logo-img--scroll, .hd__logo-img--trans { position: absolute; inset-inline-start: 0; opacity: 0; }
.hd.is-scrolled .hd__logo-img--scroll { opacity: 1; }
.hd.is-scrolled .hd__logo-img--scroll ~ .hd__logo-img, .hd.is-scrolled .hd__logo-img:has(+ .hd__logo-img--scroll) { opacity: 0; }
.hd__store-name { font-size: 1.25rem; font-weight: 800; }
.hd__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: background .2s; }
.hd__icon:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.hd__icon .ic { width: 22px; height: 22px; }
.hd__lang-code { font-weight: 700; font-size: .875rem; }
.hd__menu-btn { margin-inline-start: -8px; }
@media (min-width: 992px) {
  body.hd-classic .hd__menu-btn, body.hd-style2 .hd__menu-btn { display: grid; }
  body.hd-classic .hd__menu-btn--mobile, body.hd-style2 .hd__menu-btn--mobile { display: none; }
}
.hd__search { position: relative; flex: 1; max-width: 520px; display: none; }
@media (min-width: 992px) { .hd__search { display: flex; } .hd__search-icon:not(.is-always) { display: none; } }
.hd__search--wide { max-width: 760px; }
.hd__search input { height: 46px; padding-inline: 20px 52px; border-radius: var(--pill); background: var(--c-surface); border-color: transparent; }
.hd__search-btn { position: absolute; inset-inline-end: 5px; top: 5px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); }
.hd__search-btn .ic { width: 18px; height: 18px; }
.hd__cta { display: none; align-items: center; gap: 8px; height: 42px; padding-inline: 16px; border: 1px solid var(--cta-border, var(--c-border)); border-radius: var(--pill); background: var(--cta-bg, transparent); color: var(--cta-fg, inherit); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.hd__cta img { width: 22px; height: 22px; object-fit: contain; }
.hd__promo { display: none; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.hd__promo img { height: 28px; width: auto; }
@media (min-width: 1200px) { .hd__cta, .hd__promo { display: inline-flex; } }
.hd__account, .hd__wishlist { display: none; }
@media (min-width: 768px) { .hd__account, .hd__wishlist { display: grid; } }
body.hd-compact-m .hd__row { min-height: 56px; }
.hd.is-scrolled { box-shadow: var(--hd-shadow, 0 2px 10px rgb(0 0 0 / 6%)); }
body.hd-shadow-none .hd.is-scrolled { --hd-shadow: none; }
body.hd-shadow-medium .hd.is-scrolled { --hd-shadow: 0 6px 18px rgb(0 0 0 / 10%); }
body.hd-shadow-strong .hd.is-scrolled { --hd-shadow: 0 10px 30px rgb(0 0 0 / 18%); }
body.hd-border .hd.is-scrolled { border-bottom: 1px solid var(--c-border); }
body.hd-glass .hd.is-scrolled .hd__bar, body.hd-glass .hd.is-scrolled .cb { background: color-mix(in srgb, var(--hd-bg, #fff) 72%, transparent); -webkit-backdrop-filter: blur(var(--hd-blur, 12px)) saturate(1.4); backdrop-filter: blur(var(--hd-blur, 12px)) saturate(1.4); }
body.hd-blur-light { --hd-blur: 6px; }
body.hd-blur-strong { --hd-blur: 22px; }
body.hd-transparent .hd:not(.is-scrolled) .hd__bar, body.hd-transparent .hd:not(.is-scrolled) .cb { background: transparent; }
body.hd-transparent .hd:not(.is-scrolled) { --hd-fg: #fff; --cb-fg: #fff; }
/* fixed over the hero, but below the announcement bar while at the top (top: auto = its place in the flow) */
body.hd-transparent .hd { position: fixed; inset-inline: 0; top: auto; } body.hd-transparent .hd.is-scrolled { top: 0; }
body.hd-transparent .hd:not(.is-scrolled) .hd__logo-img--trans { opacity: 1; }
body.hd-transparent .hd:not(.is-scrolled) .hd__logo-img--trans ~ .hd__logo-img:not(.hd__logo-img--trans) { opacity: 0; }
body.hd-transparent .hd:not(.is-scrolled) .hd__logo:has(.hd__logo-img--trans) > .hd__logo-img:first-child { opacity: 0; }

/* categories bar + inline nav */
.cb { position: relative; background: var(--cb-bg, var(--hd-bg, #fff)); color: var(--cb-fg, inherit); border-top: 1px solid var(--cb-divider, var(--c-border)); transition: transform .25s var(--ease), opacity .25s; display: none; }
@media (min-width: 992px) { .cb { display: block; } }
body.cb-no-divider .cb { border-top-color: transparent; }
body.hd-collapse .hd.is-scrolled.is-down .cb { display: none; }
.nav { display: flex; align-items: center; }
.nav--bar { gap: 2px; overflow-x: auto; scrollbar-width: thin; } /* not none: mouse users had no cue or way to the last items */
/* bar items stay static: a dropdown then sits in .cb, outside the scrolling bar (overflow-x: auto clipped it);
   a panel spans the bar or, in the unified header, the whole header (not just its item) */
.nav__li { position: static; }
.nav--inline .nav__li:not(:has(> .mega--panel)) { position: relative; }
.nav__a { display: inline-flex; align-items: center; gap: 4px; padding: 13px 14px; font-size: .9rem; font-weight: 600; white-space: nowrap; transition: color .2s; }
.nav__a .ic { width: 15px; height: 15px; opacity: .6; transition: transform .2s; }
.nav__li:hover > .nav__a, .nav__li:focus-within > .nav__a { color: var(--c-primary); }
.nav__li:not(.is-shut):hover > .nav__a .ic { transform: rotate(180deg); }
.nav__li[data-overflow] { display: none; }
/* unified header: a long menu wraps instead of squeezing the logo to 0 px and pushing the icons off the page */
.hd__nav { flex: 1; min-width: 0; display: none; justify-content: center; }
.nav--inline { flex-wrap: wrap; justify-content: center; }
@media (min-width: 992px) { .hd__nav { display: flex; } .hd__start { flex-shrink: 0; } }

/* mega menu */
.mega { position: absolute; z-index: 45; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; background: #fff; color: var(--c-text); box-shadow: var(--shadow-lg); }
/* .is-shut: Esc closed it (core.js) until the pointer and focus leave */
.nav__li:not(.is-shut):hover > .mega, .nav__li:not(.is-shut):focus-within > .mega, .nav__li.is-open > .mega { visibility: visible; opacity: 1; transform: none; }
.mega--simple { min-width: 240px; padding: 10px; border-radius: var(--radius); margin-top: 0; }
.mega__list > li { position: relative; }
.mega__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--radius-xs); font-size: .9rem; }
.mega__list a:hover { background: var(--c-surface); color: var(--c-primary); }
.mega__list .ic { width: 15px; height: 15px; }
.mega__flyout { position: absolute; inset-block-start: 0; inset-inline-start: 100%; min-width: 220px; padding: 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transition: opacity .2s; }
.mega__li:hover > .mega__flyout, .mega__li:focus-within > .mega__flyout, .mega__li.is-open > .mega__flyout { visibility: visible; opacity: 1; }
.mega--panel { inset-inline: 0; top: 100%; border-top: 1px solid var(--c-border); }
.mega__inner { display: flex; gap: 32px; padding-block: 28px; }
body.mm-banner-start .mega__inner { flex-direction: row-reverse; }
.mega__cols { flex: 1; display: grid; gap: 24px 28px; grid-template-columns: repeat(var(--mm-cols, 4), minmax(0, 1fr)); align-content: start; }
body.mm-cols-3 { --mm-cols: 3; } body.mm-cols-5 { --mm-cols: 5; } body.mm-cols-6 { --mm-cols: 6; }
.mega__head { display: block; margin-block-end: 8px; font-weight: 700; }
.mega__head:hover { color: var(--c-primary); }
.mega__col ul { display: grid; gap: 6px; }
.mega__col li a { color: var(--c-muted); font-size: .875rem; }
.mega__col li a:hover { color: var(--c-primary); }
.mega__thumb { display: block; margin-block-end: 10px; }
.mega__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--c-surface); }
.mega__banners { display: flex; gap: 14px; }
.mega__banner img { width: 220px; height: 280px; object-fit: cover; border-radius: var(--radius); }

/* ---------- side menu ---------- */
.sm { background: var(--sm-bg, #fff); color: var(--sm-fg, var(--c-text)); }
.sm::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--sm-bg-img, none) center / cover; opacity: var(--sm-bg-op, .1); }
.sm::backdrop { background: color-mix(in srgb, var(--sm-overlay, rgb(10 12 18)) 55%, transparent); } /* the overlay picker gives an opaque hex: as-is it hid the page */
.sm__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--sm-top-bg, transparent); border-bottom: 1px solid var(--c-border); }
.sm__top .drawer__close { color: var(--sm-close, inherit); }
.sm__logo img { height: 40px; width: auto; }
.sm__body { position: relative; flex: 1; overflow-y: auto; padding: 12px 14px; display: grid; grid-auto-rows: max-content; align-content: start; gap: 14px; } /* max-content: the slider (overflow: hidden) got a 0 px row when the body overflowed */
.sm__slider { border-radius: var(--radius); overflow: hidden; }
.sm__slider img { width: 100%; aspect-ratio: 600 / 180; object-fit: cover; }
.sm__slider .cr__dots { position: absolute; inset-block-end: 8px; inset-inline: 0; margin: 0; }
.sm__banners { display: grid; gap: 10px; }
.sm__banners--row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.sm__banners img { width: 100%; border-radius: var(--radius-sm); }
.sm__list { display: grid; gap: 2px; }
.sm__row { display: flex; align-items: center; gap: 6px; border-radius: var(--radius-sm); }
.sm__a { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; font-weight: 600; text-align: start; }
.sm__toggle { display: grid; place-items: center; width: 40px; height: 40px; color: var(--sm-icon, var(--c-muted)); }
button.sm__a.sm__toggle { width: auto; height: auto; display: flex; }
.sm__chev { order: 2; width: 18px; height: 18px; transition: transform .25s; color: var(--sm-icon, var(--c-muted)); }
.sm__li.is-open > .sm__row { background: var(--sm-open-bg, var(--c-surface)); color: var(--sm-open-fg, inherit); }
.sm__li.is-open > .sm__row .sm__chev { transform: rotate(180deg); }
.sm__sub { padding-inline-start: 14px; margin-block: 4px; border-inline-start: 2px solid var(--c-border); }
.sm__sub .sm__a { min-height: 42px; font-weight: 500; font-size: .9rem; }
.sm__a--all { color: var(--sm-accent, var(--c-primary)); }
.sm__img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--c-surface); }
.sm__badge { --b-bg: var(--c-primary); --b-fg: var(--c-on-primary); --b-border: var(--b-bg); order: 1; padding: 2px 10px; font-size: .6875rem; font-weight: 700; border: 1px solid var(--b-border); background: var(--b-bg); color: var(--b-fg); } /* order: decor() prints the badge before the label; margin-inline-start: auto dragged both away from the image */
/* outline / text only: the badge text colour when set, else the border / background colour */
.sm__badge--outline { background: transparent; color: var(--b-fg-text, var(--b-border)); }
.sm__badge--text_only { background: none; border-color: transparent; color: var(--b-fg-text, var(--b-bg)); padding-inline: 0; }
.sm__badge--pill { border-radius: var(--pill); } .sm__badge--rounded { border-radius: 6px; } .sm__badge--sharp { border-radius: 0; }
.sm__badge--small { font-size: .625rem; padding: 1px 8px; } .sm__badge--large { font-size: .8125rem; padding: 4px 12px; }
.sm__bottom { position: relative; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: var(--sm-bottom-bg, var(--c-surface)); color: var(--sm-bottom-fg, inherit); border-top: 1px solid var(--sm-bottom-divider, var(--c-border)); display: grid; gap: 12px; }
.sm__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.sm__action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: var(--radius-sm); font-size: .8125rem; font-weight: 600; text-align: center; }
.sm__action:hover { background: rgb(0 0 0 / 4%); }
.sm__action .badge-count { inset-inline-end: calc(50% - 24px); inset-block-start: 4px; background: var(--sm-badge-bg, var(--c-primary)); color: var(--sm-badge-fg, var(--c-on-primary)); }
.sm__social { display: grid; justify-items: center; gap: 8px; color: var(--sm-social, inherit); font-size: .8125rem; }
.sm__social .social a:hover { color: var(--sm-social-hover, var(--c-primary)); }

/* social icons */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid currentColor; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.social .ic { width: 17px; height: 17px; }

/* ---------- search overlay ---------- */
.srch { position: fixed; inset: 0 0 auto 0; width: 100%; max-height: 92dvh; margin: 0; border-radius: 0 0 22px 22px; box-shadow: var(--shadow-lg); overflow-y: auto; }
.srch[open] { animation: srch-in .3s var(--ease); }
@keyframes srch-in { from { transform: translateY(-20px); opacity: 0; } }
.srch__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 20px 28px; }
.srch__form { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 2px solid var(--c-primary); border-radius: var(--pill); }
.srch__form > .ic { color: var(--c-muted); }
.srch__form input { flex: 1; min-width: 0; border: 0; min-height: 52px; padding: 0; background: none; box-shadow: none; font-size: 1rem; }
.srch__form input[type="search"]::-webkit-search-cancel-button,
.hd__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.srch__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-surface); }
.srch__title { margin-block-end: 10px; font-weight: 700; }
.srch__suggest { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.srch__tiles { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.srch__tile { display: grid; justify-items: center; gap: 6px; flex: none; width: 98px; font-size: .8125rem; text-align: center; }
.srch__tile img { width: 98px; height: 98px; border-radius: 50%; object-fit: cover; background: var(--c-surface); transition: transform .25s; }
.srch__tile:hover img { transform: scale(1.05); }
.srch__prods, .srch__results-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.srch__results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.srch__all { justify-self: center; }

/* ---------- product card ---------- */
.pc { --pc-r: var(--radius); position: relative; display: flex; flex-direction: column; height: 100%; background: var(--pc-bg, #fff); color: var(--pc-fg, inherit); border: 1px solid var(--pc-border, #f0f0f0); border-radius: var(--pc-r); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.pc:hover { box-shadow: var(--shadow); }
body.pc-sharp .pc { --pc-r: 0; }
body.pc-transparent .pc { background: transparent; border-color: transparent; }
body.pc-transparent .pc:hover { box-shadow: none; }
.pc__media { position: relative; aspect-ratio: 1 / var(--pc-ratio-m, 1.1); overflow: hidden; background: var(--c-surface); }
@media (min-width: 768px) { .pc__media { aspect-ratio: 1 / var(--pc-ratio, 1.3); } }
.pc__img-link, .pc__imgs { position: absolute; inset: 0; display: block; }
.pc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
body.pc-contain .pc__img { object-fit: contain; padding: 8px; }
.pc:hover .pc__img:first-child { transform: scale(1.04); }
.pc__img--alt { opacity: 0; }
body.pc-img-hover_second .pc:hover .pc__img--alt, .pc.pc--hover2:hover .pc__img--alt { opacity: 1; }
.pc__slides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pc__slides::-webkit-scrollbar { display: none; }
.pc__slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
body.pc-contain .pc__slides img { object-fit: contain; }
.pc__dots { position: absolute; inset-block-end: 8px; inset-inline: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.pc__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 60%); box-shadow: 0 0 0 1px rgb(0 0 0 / 10%); }
.pc__dots i.is-active { background: var(--c-primary); }
.pc__cd:not(:empty) ~ .pc__dots { inset-block-end: 62px; }
body.pc-oos-gray .pc.is-oos .pc__img, body.pc-oos-gray .pc.is-oos .pc__slides { filter: grayscale(1); opacity: .75; }
.pc__badges { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 2; display: grid; justify-items: start; gap: 6px; }
.pc__badge { padding: 3px 10px; border-radius: var(--pill); background: var(--pc-badge-bg, var(--c-primary)); color: var(--pc-badge-fg, var(--c-on-primary)); font-size: .6875rem; font-weight: 700; line-height: 1.5; }
.pc__badge--custom { background: var(--c-text); color: #fff; }
.pc__badge--oos { background: var(--pc-oos-bg, #6b7280); color: var(--pc-oos-fg, #fff); }
.pc__badge--pre { background: var(--c-warning); color: #fff; }
body.pc-no-discount [data-pc-discount] { display: none; }
.pc__tools { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 3; display: grid; gap: 8px; }
.pc__tool { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--c-text); box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .25s, opacity .25s; }
.pc__tool:hover, .pc__tool[aria-pressed="true"] { background: var(--c-primary); color: var(--c-on-primary); }
.pc__tool[aria-pressed="true"] .ic { fill: currentColor; }
.pc__tool .ic { width: 17px; height: 17px; }
@media (hover: hover) and (min-width: 992px) { .pc__tool { opacity: 0; transform: translateX(-8px); } [dir="ltr"] .pc__tool { transform: translateX(8px); } .pc:hover .pc__tool, .pc:focus-within .pc__tool, .pc__tool[aria-pressed="true"] { opacity: 1; transform: none; } }
body.pc-no-qv .pc__tool--qv, body.pc-no-wishlist .pc__tool[data-wishlist] { display: none; }
.pc__cd { position: absolute; inset-block-end: 8px; inset-inline: 6px; z-index: 2; display: flex; justify-content: center; }
.pc__cd .cd { gap: 3px; width: 100%; justify-content: center; }
/* units share the image width (up to 42 px each): a fixed 164 px row was cut at both sides on 134-170 px phone cards */
.pc__cd .cd__unit { flex: 0 1 42px; min-width: 0; padding: 4px 2px; background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.pc__cd .cd__unit b { font-size: .8125rem; }
.pc__cd .cd__unit small { font-size: .5625rem; }
body.pc-no-cd .pc__cd[data-kind="discount"] { display: none; }
@media (max-width: 767px) { /* phone cards are 116-180 px: tools as Shofy's (30 px) */
  .pc__tool { width: 30px; height: 30px; } .pc__tool .ic { width: 15px; height: 15px; }
}
.pc__ticker { --tk-h: 28px; display: flex; height: var(--tk-h); overflow: hidden; background: var(--tk-bg, var(--c-primary-soft)); color: var(--tk-fg, var(--c-primary-dark)); font-size: var(--tk-fs, 12px); font-weight: 600; }
.pc__ticker .mq { width: 100%; display: flex; align-items: center; }
.pc__ticker .mq:not(.is-ready) .mq__track { animation: none; } /* not built yet (off-screen) */
.pc__ticker .mq__track span { display: inline-flex; align-items: center; gap: 6px; padding-inline: 14px; white-space: nowrap; }
.pc__ticker img { height: var(--tk-ih, 18px); width: auto; }
.pc__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px; }
/* promotional image: a strip atop the card text as Shofy's; a square on the image's corner pushed the tools to its middle */
body.pc-has-promo .pc__body::before { content: ""; align-self: stretch; height: 20px; background: var(--pc-promo-img) center / contain no-repeat; }
@media (min-width: 768px) { body.pc-has-promo .pc__body::before { height: 24px; } }
.pc__rating { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 2px 8px; border-radius: var(--pill); background: var(--pc-rating-bg, #fff7e6); color: var(--pc-rating-fg, #b45309); font-size: .75rem; font-weight: 700; }
.pc__rating .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.pc__rating small { font-weight: 500; } /* no opacity: at 10px it fell to 3.35:1 on the default badge */
body.pc-no-rating .pc__rating { display: none; }
.pc__name { font-size: .9rem; font-weight: 600; line-height: 1.45; color: var(--pc-name, inherit); }
.pc__name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__name a:hover { color: var(--c-primary); }
.pc__desc { display: none; color: var(--pc-desc, var(--c-muted)); font-size: .8125rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.pc-desc .pc__desc { display: -webkit-box; }
.pc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; color: var(--pc-price, var(--c-text)); }
.pc__now { font-size: 1rem; font-weight: 700; }
.is-sale .pc__now { color: var(--pc-price, var(--c-danger)); }
.pc__was { font-size: .8125rem; }
.pc__off { direction: ltr; unicode-bidi: isolate; padding: 1px 8px; border-radius: var(--pill); background: color-mix(in srgb, var(--c-danger) 12%, #fff); color: color-mix(in srgb, var(--c-danger) 80%, #000); font-size: .6875rem; font-weight: 700; } /* 11px text: 4.5:1 needs the darker red */
.pc__from { color: var(--c-muted); font-size: .75rem; }
@media (max-width: 767px) { /* narrow cards: price and old price on one line; the image badge already shows the percentage */
  .pc__price { gap: 4px 6px; } .pc__now { font-size: .9375rem; } .pc__was { font-size: .75rem; }
  .pc:has(.pc__badge--sale) .pc__off { display: none; }
}
.pc__bnpl { display: flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: .72rem; }
.pc__bnpl .ic { width: 14px; height: 14px; }
.pc__opts { display: grid; gap: 6px; }
.pc__opts-title { font-size: .75rem; color: var(--c-muted); }
.pc__foot { margin-top: auto; padding-top: 4px; }
.pc__btn { --btn-bg: var(--pc-btn-bg, var(--c-text)); --btn-fg: var(--pc-btn-fg, #fff); min-height: 40px; font-size: .8125rem; }
.pc__btn--notify { --btn-bg: var(--pc-notify-bg, var(--c-surface)); --btn-fg: var(--pc-notify-fg, var(--c-text)); }
@media (max-width: 767px) { .pc__btn { padding-inline: .6em; } } /* 136-170 px cards: the label wrapped to 2-3 lines (B-10) */
@media (max-width: 374px) { body:not(.pc-compact) .pc__btn .ic { display: none; } }
body.pc-atc-sharp .pc__btn { border-radius: var(--radius-xs); }
body.pc-no-atc .pc__foot { display: none; }
/* desktop: the button takes the price's place on hover; a card showing its options keeps it in the flow (on top it
   covered them), and with the button turned off the price stays */
@media (hover: hover) and (min-width: 992px) {
  body:not(.pc-atc-always):not(.pc-compact) .pc:not(.pc--opts) .pc__foot { position: absolute; inset-inline: 12px; inset-block-end: 12px; z-index: 3; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
  body:not(.pc-atc-always):not(.pc-compact) .pc:not(.pc--opts):hover .pc__foot, body:not(.pc-atc-always):not(.pc-compact) .pc:not(.pc--opts):focus-within .pc__foot { opacity: 1; transform: none; }
  body:not(.pc-atc-always):not(.pc-compact):not(.pc-no-atc) .pc:not(.pc--opts):hover .pc__price { visibility: hidden; }
}
/* compact card style: round cart button beside the price */
body.pc-compact .pc__body { padding-inline-end: 58px; }
body.pc-compact .pc__foot { position: absolute; inset-inline-end: 12px; inset-block-end: 12px; padding: 0; }
body.pc-compact .pc__btn { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
body.pc-compact .pc__btn span { display: none; }

/* product option controls (card, quick view) */
.opt { display: grid; gap: 6px; }
.opt__label { font-size: .8125rem; font-weight: 600; }
.opt__label b { color: var(--c-muted); font-weight: 500; }
.opt__values { display: flex; flex-wrap: wrap; gap: 6px; }
.opt__box { min-width: 36px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--opt-border, var(--c-border)); border-radius: var(--opt-radius, 8px); background: var(--opt-bg, #fff); color: var(--opt-fg, var(--c-text)); font-size: .8125rem; transition: all .15s; }
.opt__box:hover { border-color: var(--opt-hover-border, var(--c-text)); background: var(--opt-hover-bg, #fff); color: var(--opt-hover-fg, var(--c-text)); }
.opt__box.is-active { border-color: var(--opt-active-border, var(--c-text)); background: var(--opt-active-bg, var(--c-text)); color: var(--opt-active-fg, #fff); }
.opt__box.is-disabled { opacity: .4; text-decoration: line-through; }
.opt__swatch { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--c-border); background: var(--sw, #ddd) center / cover; }
.opt__swatch.is-active { box-shadow: 0 0 0 2px var(--c-text); }
.opt__img { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-xs); border: 1px solid var(--c-border); overflow: hidden; }
.opt__img img { width: 100%; height: 100%; object-fit: cover; }
@media (forced-colors: active) { :is(.opt__box, .opt__swatch, .opt__img).is-active { outline: 3px solid Highlight; outline-offset: 2px; } } /* C-19 */
.opt__img.is-active { border: 2px solid var(--c-text); }
.opt select { min-height: 38px; font-size: .875rem; }

/* mini product row */
.pm { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; }
.pm--loading { min-height: 86px; background: linear-gradient(90deg, var(--c-surface), #fff, var(--c-surface)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pm__media img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-xs); background: var(--c-surface); }
.pm__body { display: grid; gap: 4px; min-width: 0; }
.pm__name { font-size: .8125rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm__price { display: flex; gap: 6px; align-items: baseline; font-size: .8125rem; }
.pm__now { font-weight: 700; }
.pm__add { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); }
.pm__add .ic { width: 17px; height: 17px; }

/* ---------- side cart ---------- */
.scart__count { color: var(--c-muted); font-weight: 500; font-size: .9rem; }
.scart__ship { padding: 12px 20px; background: var(--c-surface); font-size: .8125rem; }
.ship-bar { display: grid; gap: 8px; }
.ship-bar__track { height: 6px; border-radius: 6px; background: var(--c-border); overflow: hidden; }
.ship-bar__fill { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: linear-gradient(90deg, var(--c-success), #22c55e); border-radius: inherit; transition: width .4s; }
.scart__body { display: grid; align-content: start; gap: 12px; }
/* while a quantity/remove/coupon call runs (as on the cart page): a second tap would send the stale quantity. The rows'
   contents ignore taps, not the body: a tap through the body lands on the <dialog> itself, which closes it */
.scart.is-busy .scart__body, .scart.is-busy [data-coupon-form] { opacity: .5; transition: opacity .2s; }
.scart.is-busy .scart__body > *, .scart.is-busy [data-coupon-form] > * { pointer-events: none; }
.scart__loading, .scart__empty { display: grid; place-items: center; gap: 14px; min-height: 240px; text-align: center; color: var(--c-muted); }
.scart__empty .ic { width: 52px; height: 52px; color: var(--c-border); }
.ci { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.ci__img { width: 76px; height: 88px; object-fit: cover; border-radius: var(--radius-xs); background: var(--c-surface); }
.ci__body { display: grid; gap: 6px; min-width: 0; }
.ci__name { font-size: .875rem; font-weight: 600; line-height: 1.4; }
.ci__meta { color: var(--c-muted); font-size: .75rem; }
.ci__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ci__price { font-weight: 700; font-size: .9rem; }
.ci__price del { font-weight: 400; font-size: .75rem; margin-inline-start: 4px; }
.ci__remove { color: var(--c-muted); font-size: .75rem; display: inline-flex; gap: 4px; align-items: center; }
.ci__remove:hover { color: var(--c-danger); }
.ci__err { color: var(--c-danger); font-size: .75rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--pill); }
[dir="ltr"] .qty { flex-direction: row-reverse; }
.qty button { display: grid; place-items: center; width: 32px; height: 32px; }
.qty button .ic { width: 15px; height: 15px; }
.qty input { width: 38px; min-height: 0; height: 32px; padding: 0; border: 0; text-align: center; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.scart__suggest { margin-block-start: 16px; padding-block-start: 12px; border-top: 1px solid var(--c-border); }
.scart__suggest-title { margin-block-end: 10px; font-weight: 700; font-size: .875rem; }
.scart__suggest-list { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.scart__foot { display: grid; gap: 12px; margin-block-start: 16px; padding-block-start: 16px; border-top: 1px solid var(--c-border); }
.scart__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.coupon { display: flex; gap: 8px; }
.coupon input { min-height: 40px; }
.coupon__applied { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: var(--radius-xs); background: color-mix(in srgb, var(--c-success) 10%, #fff); color: var(--c-success); font-size: .8125rem; font-weight: 600; }
.totals { display: grid; gap: 6px; font-size: .875rem; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals dt { color: var(--c-muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .is-total dt, .totals .is-total dd { color: var(--c-text); font-size: 1rem; font-weight: 800; }

/* ---------- quick view & notify ---------- */
.qv { --modal-w: 980px; }
.qv__body { min-height: 300px; }
.qv__loading { display: grid; place-items: center; min-height: 380px; }
.qv__grid { display: grid; gap: 22px; padding: 22px; }
@media (min-width: 768px) { .qv__grid { grid-template-columns: 1fr 1fr; padding: 28px; } }
.qv__gallery { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-surface); }
.qv__gallery .cr__track img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.qv__info { display: grid; align-content: start; gap: 14px; }
.qv__name { font-size: 1.35rem; }
.qv__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 1.25rem; font-weight: 800; }
.qv__price del { font-size: .95rem; font-weight: 500; }
.qv__desc { color: var(--c-muted); font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv__actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.qv__actions .btn--block { grid-column: 1 / -1; }
.qv__more { justify-self: start; font-size: .875rem; color: var(--c-primary); text-decoration: underline; }
.notify { --modal-w: 440px; }
.notify__form { display: grid; gap: 14px; padding: 28px; }

/* ---------- floating: whatsapp, to-top, bottom bar, app banner ---------- */
.wa { position: fixed; z-index: 60; inset-block-end: var(--wa-b, 22px); display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 48px; height: 48px; border-radius: 50%; background: var(--wa-bg, #128C7E); color: var(--wa-fg, #fff); font-weight: 700; transition: transform .2s; }
.wa:hover { transform: translateY(-3px); }
.wa--right { right: var(--wa-s, 22px); } .wa--left { left: var(--wa-s, 22px); }
.wa .ic { width: 26px; height: 26px; }
.wa img { width: 28px; height: 28px; }
.wa--small { width: 40px; height: 40px; } .wa--small .ic { width: 22px; height: 22px; }
.wa--large { width: 56px; height: 56px; } .wa--large .ic { width: 30px; height: 30px; } /* sizes as Shofy's: bigger ones sat on more controls (ISSUE-007) */
.wa--rounded { border-radius: 16px; }
.wa--pill { width: auto; padding-inline: 14px 16px; border-radius: var(--pill); font-size: .875rem; }
.wa--shadow { box-shadow: 0 10px 25px rgb(0 0 0 / 18%); }
.wa--pulse::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; z-index: -1; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }
.wa--pill.wa--pulse::before { animation-name: pulse-wide; } /* a 1.4x ring on a wide pill spread ~90 px past it */
@keyframes pulse-wide { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.12, 1.4); opacity: 0; } }
@media (max-width: 767px) { /* phones: compact, as in Shofy (56 px and a 178 px pill felt big there) */
  .wa { width: 44px; height: 44px; gap: 6px; } .wa .ic { width: 24px; height: 24px; } .wa img { width: 26px; height: 26px; }
  .wa--small { width: 38px; height: 38px; } .wa--small .ic { width: 20px; height: 20px; }
  .wa--large { width: 50px; height: 50px; } .wa--large .ic { width: 28px; height: 28px; }
  .wa--pill { width: auto; padding-inline: 12px 14px; font-size: .8125rem; }
}
body.has-bottom-bar .wa, body.has-bottom-bar .to-top { margin-block-end: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { body.has-bottom-bar .wa, body.has-bottom-bar .to-top { margin-block-end: 0; } }
/* at the end of the page the floats sit on the footer's last row (copyright, region button, payments): give that row room */
body:has(.fl > :is(.wa, .to-top)) .ft__bottom { padding-block-end: 100px; }
.to-top { position: fixed; z-index: 59; inset-block-end: 22px; inset-inline-start: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pc-btn-bg, var(--c-text)); color: var(--pc-btn-fg, #fff); box-shadow: var(--shadow); }
/* WhatsApp's side is physical (the setting says right/left): back-to-top takes the other physical side, in RTL too */
.wa--right ~ .to-top { inset-inline: auto; left: 22px; } .wa--left ~ .to-top { inset-inline: auto; right: 22px; }
/* a fixed 62 px (+ safe area): the page padding, the floats and the product sticky bar are all offset by it */
.bbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 50; min-height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--bb-bg, #fff); color: var(--bb-fg, var(--c-text)); box-shadow: 0 -4px 18px rgb(0 0 0 / 8%); }
@media (min-width: 992px) { .bbar { display: none; } }
body.has-bottom-bar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { body.has-bottom-bar { padding-bottom: 0; } }
.bbar__a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 9px 4px 7px; font-size: .6875rem; font-weight: 600; opacity: .8; }
.bbar__a .ic { width: 21px; height: 21px; }
.bbar__a.is-active { opacity: 1; color: var(--bb-active, var(--c-primary)); }
.bbar__a .badge-count { inset-inline-end: calc(50% - 22px); inset-block-start: 3px; }
.appb { position: fixed; inset-inline: 10px; inset-block-start: calc(var(--hd-bottom, 0px) + 10px); z-index: 70; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--appb-bg, #fff); box-shadow: var(--shadow-lg); animation: toast-in .4s var(--ease); }
@media (min-width: 992px) { .appb { display: none !important; } }
.appb__close { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; display: grid; place-items: center; width: 30px; height: 30px; }
.appb__img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.appb__copy { display: grid; gap: 4px; padding-inline-end: 22px; }
.appb__title { font-weight: 800; }
.appb__sub, .appb__details { font-size: .8125rem; color: var(--c-muted); }
.appb__stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.appb__btn { padding: 6px 14px; border-radius: var(--pill); background: var(--c-text); color: #fff; font-size: .75rem; font-weight: 700; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--loader-bg, #fff); transition: opacity .4s, visibility .4s; }
.loader--glass { background: color-mix(in srgb, var(--loader-bg, #fff) 60%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { max-width: 180px; max-height: 90px; width: auto; animation: breathe 1.4s ease-in-out infinite; }
.loader__spin { width: 42px; height: 42px; border: 3px solid var(--c-border); border-top-color: var(--c-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes breathe { 50% { transform: scale(.94); opacity: .7; } }

/* ---------- footer ---------- */
.ft { position: relative; margin-block-start: clamp(40px, 6vw, 80px); background: var(--ft-bg, #fafafa); color: var(--ft-fg, var(--c-text)); }
.ft::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--ft-bg-img, none) center / cover; opacity: var(--ft-bg-op, .1); }
.ft__grid { position: relative; display: grid; gap: 28px; padding-block: 44px 28px; grid-template-areas: "brand" "about" "links1" "links2" "contact"; }
@media (min-width: 768px) { .ft__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "brand links1 links2 contact" "about links1 links2 contact"; column-gap: 40px; row-gap: 14px; } }
.ft__brand { grid-area: brand; display: grid; gap: 16px; justify-items: start; }
.ft__about { grid-area: about; }
.ft__links:nth-of-type(1) { grid-area: links1; }
.ft__links:nth-of-type(2) { grid-area: links2; }
.ft__links:only-of-type { grid-area: links1; }
.ft__contact { grid-area: contact; }
.ft__logo img { max-height: 64px; width: auto; }
.ft__text { color: color-mix(in srgb, currentColor 72%, transparent); font-size: .875rem; line-height: 1.8; }
.ft__title { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; font-size: 1rem; font-weight: 800; list-style: none; cursor: default; }
.ft__title::-webkit-details-marker { display: none; }
.ft__chev { display: none; width: 18px; height: 18px; transition: transform .2s; }
.ft__links ul { display: grid; gap: 10px; font-size: .875rem; }
.ft__links a { opacity: .8; transition: opacity .2s, color .2s; }
.ft__links a:hover { opacity: 1; color: var(--c-primary); }
.ft__contact-list { display: grid; gap: 12px; }
.ft__contact-list a, .ft__place { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.ft__contact-list .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: color-mix(in srgb, currentColor 7%, transparent); }
.ft__contact-list a, .ft__place { overflow-wrap: anywhere; } /* a long e-mail must not widen its column */
.ft__contact-list small { display: block; color: color-mix(in srgb, currentColor 60%, transparent); font-size: .75rem; }
.ft--icons-small .ft__contact-list .ic { width: 30px; height: 30px; padding: 7px; }
.ft[class*="ft--icons-"] .ft__contact-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ft[class*="ft--icons-"] .ft__contact-list span span, .ft[class*="ft--icons-"] .ft__contact-list a > span { display: none; }
.ft__social-title { margin-block: 16px 8px; font-size: .8125rem; font-weight: 700; }
.ft__certs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: var(--radius-sm); font-size: .75rem; font-weight: 700; }
.cert img { height: 30px; width: auto; }
.cert small { display: block; font-weight: 500; opacity: .7; }
.ft__bottom { position: relative; background: var(--ft-after-bg, color-mix(in srgb, currentColor 4%, transparent)); color: var(--ft-after-fg, inherit); font-size: .8125rem; }
.ft__bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.ft__region { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: var(--pill); }
.ft__region .ic { width: 16px; height: 16px; }
.ft__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.ft__pay img { height: 26px; width: auto; padding: 3px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--c-border); }
.ft--center .ft__grid { text-align: center; }
.ft--center .ft__brand { justify-items: center; }
.ft--center .ft__title { justify-content: center; }
.ft--center .ft__contact-list a, .ft--center .ft__place, .ft--center .social, .ft--center .ft__certs { justify-content: center; }
@media (max-width: 767px) {
  .ft--accordion .ft__links, .ft--accordion .ft__contact { border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); padding-bottom: 6px; }
  .ft--accordion .ft__title { cursor: pointer; margin-block-end: 10px; }
  .ft--accordion .ft__chev { display: block; }
  .ft--accordion details[open] > .ft__title .ft__chev { transform: rotate(180deg); }
  .ft__bottom-row { justify-content: center; text-align: center; }
}

/* ---------- FAQ accordion (ui.faq_list) ---------- */
.faq { display: grid; gap: 12px; align-items: start; }
@media (min-width: 768px) { .faq--2 { grid-template-columns: 1fr 1fr; } }
.faq__item { border: 1px solid var(--faq-border, var(--c-border)); border-radius: var(--radius-sm); background: var(--faq-bg, #fff); transition: background .2s, border-color .2s; }
.faq__item[open] { background: var(--faq-active-bg, var(--faq-bg, #fff)); border-color: var(--faq-active-border, var(--c-primary)); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--faq-q, inherit); font-weight: 600; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__item[open] .faq__q { color: var(--faq-active-q, var(--faq-q, inherit)); }
.faq__icon { width: 18px; height: 18px; transition: transform .25s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 16px 16px; color: var(--faq-a, var(--c-muted)); font-size: .9rem; }
.faq__item[open] .faq__a { color: var(--faq-active-a, var(--faq-a, var(--c-muted))); }
