/* Island of Durian Store v3 · shell: tokens, red info strip, header with mega menu, drawer, footer, tab bar,
   WhatsApp button, floating promo box, toasts, search suggestions. Loaded on every page. All type is sans: Archivo for headings and UI,
   Hanken Grotesk for running text. Classes start with x so they never collide with the parent theme. */

:root {
	/* Palette r7 (Peter, 18 Nov 2026): white page, warm off-white bands, soft pastel cards. Brand red is an accent
	   (buttons, prices, badges, active states), never a big surface; no black or charcoal backgrounds. Dark ink is
	   for text only. Each soft tint has a darker accent for small text and icons on it (all AA on their tint). */
	--red: #E3161E;
	--red-ink: #C8141C;
	--red-hover: #C8141C;
	--red-deep: #7E0E14;
	--red-bg: #FDECEC;
	--red-bg-2: #FADADB;
	--green: #12823F;
	--green-bg: #E5F5EB;
	--ink: #2A2527;
	--ink-2: #6B6466;
	--ink-3: #757072;
	--muted: #9A9395;
	--line: #EEE8E2;
	--line-2: #DED7D0;
	--bg: #F6F2EE;
	--white: #FFFFFF;
	--linen: #FAF7F3;
	--linen-2: #F3EEE8;
	--charcoal: #2A2527;
	--charcoal-2: #3A3436;
	--wa: #1FA855;
	--wa-ink: #15803D;
	/* soft tints (cards, bands) and their accents */
	--blush: #FDECEC;  --blush-ink: #C8141C;
	--peach: #FDF0E6;  --peach-ink: #9C5426;
	--sand: #F6EFE6;   --sand-ink: #7A5C3A;
	--sky: #EAF3FB;    --sky-ink: #2F6E9E;
	--mint: #E8F5EF;   --mint-ink: #276E50;
	--sage: #EEF3E8;   --sage-ink: #4E6A33;
	--mist: #EEF2F6;   --mist-ink: #4A5A6A;
	--aqua: #E6F4F4;   --aqua-ink: #256B6C;
	/* member tiers */
	--t-bronze: #FBEDE3;   --t-bronze-ink: #9A4E26;
	--t-silver: #EDF2F7;   --t-silver-ink: #4F6276;
	--t-gold: #FDF3D6;     --t-gold-ink: #8A5A00;
	--t-platinum: #EFEDFC; --t-platinum-ink: #4E3FC0;
	/* old names still read by some templates */
	--paper: var(--bg);
	--paper-2: #EEECED;
	--lr-bg: var(--red-bg);
	--lr: var(--red);
	--lr-deep: var(--red-ink);
	--lr-ink: var(--ink);
	--vq-bg: var(--mist);
	--vq-2: var(--mist);
	--vq-text: #F5F4F4;
	--brass: var(--red);
	--brass-2: var(--red-bg-2);
	--display: "Archivo", "Hanken Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
	--body: "Hanken Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
	--w: 1320px;
	--gut: clamp(16px, 3vw, 40px);
	--r: 14px;
	--r-sm: 8px;
	--sh: 0 18px 40px -20px rgba(30, 26, 29, .32);
	--sh-card: 0 1px 2px rgba(30, 26, 29, .06), 0 6px 18px -10px rgba(30, 26, 29, .16);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--tab-h: 0px;
}

.xd { background: var(--white); }
.xw { width: 100%; max-width: calc(var(--w) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--body); }
.skip-link:focus { top: 12px; color: #fff; }
.skip-link:hover { color: #fff; }
.xd :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
:where(.xd) .ic { width: 22px; height: 22px; flex: none; }
html.no-scroll { overflow: hidden; }

/* Red info strip ------------------------------------------------------------------------------------------------ */
.xtop { background: var(--red); color: #fff; font: 600 13px/1 var(--display); }
.xtop-in { display: flex; align-items: center; gap: 24px; height: 36px; }
:where(.xtop) a { color: inherit; text-decoration: none; }
.xtop a:hover, .xtop a:focus-visible { color: inherit; } /* the parent theme's red link hover vanished on the red strip (sheet #26) */
.xtop-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.xtop-track { display: flex; width: max-content; gap: 0; }
.xtop-track > * { display: inline-flex; align-items: center; white-space: nowrap; padding-right: 44px; }
.xtop-track > *::before { content: ""; width: 14px; height: 2px; margin-right: 12px; background: rgba(255, 255, 255, .6); }
.xtop-track a:hover { text-decoration: underline; text-underline-offset: 3px; }
html.motion .xtop-track { animation: xmarquee 46s linear infinite; }
.xtop-marquee:hover .xtop-track { animation-play-state: paused; }
@keyframes xmarquee { to { transform: translateX(-50%); } }
.xtop-links { display: flex; align-items: center; gap: 18px; flex: none; }
.xtop-links > a { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.xtop-links > a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.xtop-links .ic { width: 15px; height: 15px; }
.xd .lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 2px; }
.xd .lang a { padding: 3px 8px; border-radius: 999px; font: 700 11px/1.2 var(--display); letter-spacing: .04em; color: inherit; opacity: .85; text-decoration: none; }
.xd .lang a.is-on { background: #fff; color: var(--red-ink); opacity: 1; }
.xd .lang--drawer { border-color: var(--line-2); }
.xd .lang--drawer a.is-on { background: var(--red); color: #fff; }
.xd .lang--footer { border-color: var(--line-2); }
.xd .lang--footer a { color: var(--ink-2); opacity: 1; }
.xd .lang--footer a.is-on { background: var(--red); color: #fff; }

/* Header -------------------------------------------------------------------------------------------------------- */
.xhd { position: sticky; top: 0; z-index: 60; background: var(--white); color: var(--ink); font-family: var(--display); box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.xhd.is-stuck { box-shadow: 0 8px 24px -16px rgba(23, 23, 28, .4); }
:where(.xhd) a { color: inherit; text-decoration: none; }
.xhd-main { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 1.8vw, 24px); height: 76px; }
.xhd-burger { display: none; }
.xhd-logo img { height: 44px; width: auto; display: block; }
.xhd-cats-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: var(--r-sm); background: var(--red-bg); color: var(--red-ink); font: 700 15px/1 var(--display); transition: background .2s, color .2s; }
.xhd-cats-btn:hover, .xhd-cats-btn[aria-expanded="true"] { background: var(--red); color: #fff; }
.xhd-cats-btn .ic { width: 20px; height: 20px; }
.xhd-cats-btn .ic:last-child { width: 16px; height: 16px; transition: transform .2s; }
.xhd-cats-btn[aria-expanded="true"] .ic:last-child { transform: rotate(180deg); }
.xhd-search { position: relative; display: flex; align-items: center; height: 46px; width: 100%; background: var(--bg); border: 1.5px solid var(--bg); border-radius: var(--r-sm); padding: 0 4px 0 14px; transition: border-color .2s, background .2s; }
.xhd-search:focus-within { border-color: var(--red); background: #fff; }
.xhd-search input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px 0 0; font: 500 15.5px/1 var(--body); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.xhd-search input::placeholder { color: var(--ink-3); }
.xhd-search input::-webkit-search-cancel-button { display: none; }
.xhd-search button[type="submit"] { width: 44px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--red); color: #fff; cursor: pointer; }
.xhd-search button[type="submit"] .ic { width: 20px; height: 20px; }
.xhd-icons { display: flex; align-items: center; gap: 4px; }
.xhd-ic { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.xhd-ic:hover { background: var(--bg); }
.xhd-sep { width: 1px; height: 28px; margin: 0 8px; background: var(--line); }
.xhd-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-sm); background: var(--red); border: 1.5px solid var(--red); color: #fff !important; font: 700 14.5px/1 var(--display); white-space: nowrap; }
.xhd-btn:hover { background: var(--red-ink); border-color: var(--red-ink); }
.xhd-btn--line { background: #fff; color: var(--red-ink) !important; margin-right: 6px; }
.xhd-btn--line:hover { background: var(--red-bg); border-color: var(--red); }
.xhd-account { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px; }
.xhd-account:hover { background: var(--bg); }
.xhd-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 16px/1 var(--display); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red-bg-2); }
.xhd-account-txt { display: grid; line-height: 1.2; }
.xhd-account-txt small { font: 500 12.5px/1.3 var(--body); color: var(--ink-3); }
.xhd-account:hover .xhd-account-txt small { color: var(--ink-2); }
.xhd-account-txt b { font-size: 14.5px; }
.xhd-cart em, .xtab em { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 800 11px/19px var(--display); text-align: center; font-style: normal; box-shadow: 0 0 0 2px #fff; }
.xhd-cart em[hidden], .xtab em[hidden] { display: none; }
.xhd-cart em.bump, .xtab em.bump { animation: xbump .5s var(--ease); }
@keyframes xbump { 40% { transform: scale(1.35); } }

.xhd-nav { border-top: 1px solid var(--line); }
.xhd-nav-in { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.xhd-nav-in::-webkit-scrollbar { display: none; }
.xhd-nav-in a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 6px; font: 600 14.5px/1 var(--display); white-space: nowrap; color: var(--ink-2); }
.xhd-nav-in a:hover { background: var(--bg); color: var(--ink); }
.xhd-nav-in a.is-strong { color: var(--ink); font-weight: 800; }
.xhd-nav-in a.is-promo { color: var(--red-ink); font-weight: 700; }
.xhd-nav-in a.is-promo:not(.is-promo + .is-promo) { margin-left: auto; }
.xhd-nav-in a .ic { width: 16px; height: 16px; }

/* Mega menu */
.xmega { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(23, 23, 28, .45); animation: xdrop .2s var(--ease); }
@keyframes xdrop { from { opacity: 0; transform: translateY(-6px); } }
.xmega-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding-block: 28px 32px; }
.xmega-h { margin: 0 0 14px; font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.xmega-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.xmega-cats a { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px; border-radius: 10px; }
.xmega-cats a:hover { background: var(--bg); }
.xmega-cats span { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--bg); }
.xmega-cats img { width: 100%; height: 100%; object-fit: cover; }
.xmega-cats b { font-size: 15.5px; align-self: end; }
.xmega-cats small { font: 500 12.5px/1.3 var(--body); color: var(--ink-3); align-self: start; }
.xmega-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.xmega-brands a { display: grid; justify-items: center; align-content: center; gap: 8px; height: 92px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); text-align: center; transition: border-color .2s, transform .2s var(--ease); }
.xmega-brands a:hover { border-color: var(--red); transform: translateY(-2px); }
.xmega-brands img { height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.xmega-brands small { font: 500 12px/1 var(--body); color: var(--ink-3); }
.xmega-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--red-ink) !important; }
.xmega-all .ic { width: 16px; height: 16px; }
.xbrand-word { font: 800 17px/1.1 var(--display); letter-spacing: -.01em; }

/* Search suggestions (markup from the parent app.js) */
.xhd .suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--sh); border: 1px solid var(--line); padding: 8px; z-index: 30; max-height: 70vh; overflow-y: auto; font-family: var(--body); }
.xhd .suggest[hidden] { display: none; }
.xhd .suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; font-size: 15px; }
.xhd .suggest a:hover, .xhd .suggest a.is-on { background: var(--bg); }
.xhd .suggest img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--bg); }
.xhd .suggest .s-price { margin-left: auto; font-weight: 800; white-space: nowrap; color: var(--red-ink); }
.xhd .suggest .s-terms { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.xhd .suggest .s-terms a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.xhd .suggest-all { justify-content: center; font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 !important; margin-top: 6px; color: var(--red-ink); }
.xhd .suggest-label { padding: 8px; font-size: 13px; color: var(--ink-3); margin: 0; }

/* Drawer (opened by the parent app.js: [data-drawer].is-open) ----------------------------------------------------- */
.xdr { position: fixed; inset: 0; z-index: 100; visibility: hidden; font-family: var(--display); }
.xdr.is-open { visibility: visible; }
.xdr-scrim { position: absolute; inset: 0; background: rgba(23, 23, 28, .5); opacity: 0; transition: opacity .3s; }
.xdr.is-open .xdr-scrim { opacity: 1; }
.xdr .xdr-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 400px); background: var(--linen); color: var(--ink); overflow-y: auto; padding: 0 0 40px; transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 14px; }
.xdr.is-open .xdr-panel { transform: none; }
:where(.xdr) a { color: inherit; text-decoration: none; }
.xdr-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 3px solid var(--red); }
.xdr-head img { height: 32px; width: auto; }
.xdr-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 0; cursor: pointer; color: inherit; }
.xdr-member { display: flex; align-items: center; gap: 12px; margin-inline: 16px; padding: 14px; border-radius: 12px; background: var(--t-gold); box-shadow: inset 0 0 0 1px #F1E3B8; color: var(--ink) !important; font-weight: 700; }
.xdr-member > .ic { color: var(--t-gold-ink); }
.xdr-member span { display: grid; }
.xdr-member small { font: 500 13px/1.3 var(--body); color: var(--ink-2); }
.xdr-label { margin: 4px 16px -6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.xdr-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-inline: 16px; }
.xdr-brands a { display: grid; place-items: center; height: 60px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.xdr-brands img { max-height: 24px; width: auto; max-width: 100%; }
.xdr-brands .xbrand-word { font-size: 13px; text-align: center; }
.xdr-list { list-style: none; margin: 0 16px; padding: 0; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.xdr-list li + li { border-top: 1px solid var(--line); }
.xdr-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 600; font-size: 15.5px; }
.xdr-list .ic { width: 18px; color: var(--ink-3); }
.xdr .lang { margin-inline: 16px; align-self: flex-start; }

/* Assurance row above the footer (pages other than the homepage): linen cards, tinted icon tiles (r7) ------------- */
.xa { background: #fff; color: var(--ink); font-family: var(--display); border-top: 1px solid var(--line); }
.xa-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 28px; }
.xa-item { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 12px; background: var(--linen); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; }
.xa-item > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky); color: var(--sky-ink); }
.xa-item:nth-child(2) > .ic { background: var(--peach); color: var(--peach-ink); }
.xa-item:nth-child(3) > .ic { background: var(--t-gold); color: var(--t-gold-ink); }
.xa-item:nth-child(4) > .ic { background: var(--mint); color: var(--wa-ink); }
.xa-item b { display: block; font-size: 15px; }
.xa-item span { font: 400 13.5px/1.4 var(--body); color: var(--ink-2); }
a.xa-item:hover b { color: var(--red-ink); }

/* Footer: light linen (r7), dark text, red links and accents, the brands' own colour logos on white chips -------- */
.xft { position: relative; overflow: hidden; background: var(--linen); color: var(--ink); font: 400 15px/1.55 var(--body); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); isolation: isolate; }
:where(.xft) a { color: inherit; text-decoration: none; }
.xft a:hover, .xft a:focus-visible { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }
.xft h2 { margin: 0 0 14px; font: 800 14px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.xft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.xft-col a { color: var(--ink-2); }
.xft-brands, .xft-channels { --rule: linear-gradient(var(--line-2), var(--line-2)) no-repeat; }
.xft-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 32px; margin-bottom: 36px; background: var(--rule) var(--gut) 100% / calc(100% - 2 * var(--gut)) 1px; }
.xft-brands a { display: grid; place-items: center; min-width: 112px; height: 56px; padding: 0 18px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
.xft-brands a:hover { box-shadow: inset 0 0 0 1.5px var(--red); transform: translateY(-1px); text-decoration: none; }
.xft-brands img { height: 26px; width: auto; max-width: 120px; object-fit: contain; }
.xft-brands .xbrand-word { color: var(--ink); font-size: 15px; }
.xft-top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; }
.xft-brand img { height: 48px; width: auto; display: block; }
.xft-brand p { margin: 18px 0; max-width: 38ch; color: var(--ink-2); }
.xft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.xft-contact .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--red); }
.xft-channels { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 56px; padding-block: 28px; background: var(--rule) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px; }
.xft-social, .xft-market { display: flex; flex-wrap: wrap; gap: 8px; }
.xft-social a, .xft-market a, .xft-market span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 13.5px/1 var(--display); }
.xft-social .ic { width: 18px; height: 18px; color: var(--red); }
.xft-social a:hover, .xft-market a:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red-ink); text-decoration: none; }
.xft-legal-band { background: var(--linen-2); border-top: 1px solid var(--line); }
.xft-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px 22px; font-size: 13.5px; }
.xft-legal p { margin: 0; color: var(--ink-2); }

/* Floating promo box (footer.php, Seller Center → Dekorasi Toko) ------------------------------------------------------ */
.xfloat { position: fixed; right: 22px; bottom: calc(22px + 52px + 14px + var(--tab-h)); z-index: 54; width: 172px; font-family: var(--display); opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .25s, transform .3s var(--ease); }
.xfloat.is-in { opacity: 1; transform: none; }
.xfloat-card { display: grid; justify-items: center; gap: 2px; padding: 16px 12px 14px; border-radius: 14px; background: #fff; color: var(--ink) !important; text-align: center; text-decoration: none; box-shadow: 0 18px 36px -18px rgba(42, 37, 39, .45); border: 2px dashed var(--red); transition: transform .2s var(--ease); }
.xfloat-card:hover { transform: translateY(-2px); }
.xfloat-card--img { padding: 0; border: 0; overflow: hidden; background: transparent; }
.xfloat-card--img img { display: block; width: 100%; height: auto; }
.xfloat-ic .ic { width: 26px; height: 26px; color: var(--red); }
.xfloat small { font: 700 11px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.xfloat b { font: 900 19px/1.1 var(--display); font-stretch: 88%; color: var(--red-ink); }
.xfloat i { font: 500 11.5px/1.3 var(--body); font-style: normal; color: var(--ink-2); }
.xfloat em { margin-top: 6px; padding: 6px 16px; border-radius: 6px; background: var(--red); color: #fff; font: 800 13px/1 var(--display); font-style: normal; }
.xfloat-x { position: absolute; right: -8px; top: -8px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px -4px rgba(42, 37, 39, .4); }
.xfloat-x .ic { width: 14px; height: 14px; }

/* Mobile tab bar, WhatsApp, toasts ----------------------------------------------------------------------------------- */
.xtab { display: none; }
.xwa { position: fixed; right: 22px; bottom: calc(22px + var(--tab-h)); z-index: 55; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font: 700 15px/1 var(--display); text-decoration: none; box-shadow: 0 14px 30px -12px rgba(15, 90, 45, .6); transition: transform .2s var(--ease); }
.xwa:hover { transform: translateY(-2px); color: #fff; }
.xwa .ic { width: 24px; height: 24px; }
.xd .toasts { position: fixed; top: auto; right: auto; left: 50%; bottom: calc(28px + var(--tab-h)); transform: translateX(-50%); z-index: 120; display: grid; align-content: end; gap: 8px; width: min(92vw, 440px); height: auto; pointer-events: none; font-family: var(--body); }
.xd .toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-height: 0; height: auto; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(42, 37, 39, .45); border-left: 4px solid var(--green); font-size: 15px; animation: xtoast .35s var(--ease); }
.xd .toast img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.xd .toast span { flex: 1; }
.xd .toast a { color: var(--red-ink); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.xd .toast.is-error { background: var(--blush); color: var(--ink); border-left-color: var(--red); }
.xd .toast.is-out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes xtoast { from { opacity: 0; transform: translateY(10px); } }

/* Tablet & phone ----------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.xhd-account-txt { display: none; }
	.xhd-account { padding: 3px; }
	.xtop-links > a:not(:first-child) { display: none; }
	.xhd-cats-btn span { display: none; }
	.xhd-cats-btn { padding: 0 12px; }
	.xmega-in { grid-template-columns: 1fr; gap: 24px; }
	.xmega-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	:root { --tab-h: 62px; }
	.xd { padding-bottom: var(--tab-h); }
	.xtop-links { display: none; }
	.xtop-in { height: 32px; }
	.xhd-main { grid-template-columns: 44px 1fr auto; grid-template-areas: "burger logo icons" "search search search"; height: auto; gap: 6px 8px; padding-block: 8px 10px; }
	.xhd-burger { grid-area: burger; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
	.xhd-burger span, .xhd-burger span::before, .xhd-burger span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
	.xhd-burger span::before, .xhd-burger span::after { content: ""; position: absolute; left: 0; }
	.xhd-burger span::before { top: -7px; }
	.xhd-burger span::after { top: 7px; }
	.xhd-logo { grid-area: logo; justify-self: center; }
	.xhd-logo img { height: 34px; }
	.xhd-cats-btn { display: none; }
	.xhd-icons { grid-area: icons; gap: 0; }
	.xhd-account, .xhd-sep, .xhd-btn { display: none; }
	.xhd-ic { width: 42px; height: 42px; }
	.xhd-search { grid-area: search; height: 44px; }
	.xhd-search input[type="search"] { font-size: 16px; }
	.xhd-nav-in { height: 44px; }
	.xhd-nav-in a { font-size: 14px; padding: 0 10px; }
	.xhd-nav-in a.is-promo:not(.is-promo + .is-promo) { margin-left: 0; }
	.xmega { display: none !important; }

	.xtab { position: fixed; inset: auto 0 0; z-index: 58; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); font-family: var(--display); }
	.xtab a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-decoration: none; }
	.xtab a.is-on { color: var(--red); }
	.xtab .ic { width: 24px; height: 24px; }
	.xtab em { top: 6px; right: calc(50% - 22px); }
	.xwa { right: 14px; bottom: calc(14px + var(--tab-h)); width: 52px; height: 52px; padding: 0; justify-content: center; }
	.xwa span { display: none; }
	.xfloat { right: 12px; bottom: calc(14px + 52px + 12px + var(--tab-h)); width: 104px; }
	.xfloat-card { padding: 10px 6px 9px; border-width: 1.5px; border-radius: 12px; }
	.xfloat-ic .ic { width: 20px; height: 20px; }
	.xfloat small { font-size: 9px; letter-spacing: .03em; }
	.xfloat b { font-size: 13.5px; }
	.xfloat i { display: none; }
	.xfloat em { margin-top: 4px; padding: 4px 10px; font-size: 11.5px; }
	.xfloat-x { width: 22px; height: 22px; right: -6px; top: -6px; }

	.xa-in { grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 20px; }
	.xa-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
	.xft-brands { gap: 8px; }
	.xft-brands a { height: 48px; padding: 0 12px; flex: 1 1 calc(33% - 8px); }
	.xft-brands img { height: 20px; }
	.xft-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.xft-brand { grid-column: 1 / -1; }
	.xft-channels { grid-template-columns: 1fr; gap: 20px; }
	.xft-legal { flex-direction: column; align-items: flex-start; }
}
