/* =====================================================================
   Takeef.com — storefront redesign layer (loaded last)
   Colours and type come from TAKEEF.COM Brand Identity Guidelines v1.0
   (doc/, untracked). Amber is the one deliberate addition — see the note below.
   ===================================================================== */
:root {
    /* Brand Book v1.0 colours, exactly as specified */
    --tk-primary: #0B5C9E;      /* Takeef Blue */
    --tk-blue-500: #1673B8;     /* Blue 500 */
    --tk-cyan: #14B6F4;         /* Flow Cyan */
    --tk-navy: #0A1B2E;         /* Night Navy */
    --tk-ink: #0F1B2A;          /* Ink */
    --tk-ink-2: #3B4A5C;        /* Slate */
    --tk-frost: #EAF6FD;        /* Ice */

    /* Shades/tints derived from the above for states and surfaces */
    --tk-primary-dark: #084A7F;
    --tk-cyan-deep: #0CA2DD;    /* Flow Cyan, pressed/hover */
    --tk-muted: #5F7183;
    --tk-ice: #8FDFFB;
    --tk-line: #CFE4F2;
    --tk-bg: #F4FAFE;

    /* State colours. The book defines no error/success hues, and these say
       "out of stock" / "in stock" rather than expressing the brand. */
    --tk-danger: #C2372E;
    --tk-success: #1E7B4C;

    /* One family, per the book: weight carries the hierarchy, not a second face */
    --tk-display: 'IBM Plex Sans Arabic', 'IBMPlexSansArabic_Regular', sans-serif;
    --tk-text: 'IBM Plex Sans Arabic', 'IBMPlexSansArabic_Regular', sans-serif;
    --tk-tabbar-h: 64px;

    /* 8pt scale from the book. Layout spacing uses the whole steps; inside a
       component the 4px half-step is allowed, which is what keeps card interiors
       from doubling in height. Nothing uses an off-scale number. */
    --sp-0: 4px;
    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-6: 48px;

    /* Book radii: 12–16px for components, 24px for large surfaces */
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;
}

body.tk-body { background: var(--tk-bg); font-family: var(--tk-text); color: var(--tk-ink); }
.tk-body h1, .tk-body h2, .tk-body h3 { font-family: var(--tk-display); }

/* ---------- section heading ---------- */
.tk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.tk-head__title { font-family: var(--tk-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.25; margin: 0; color: var(--tk-ink); }
.tk-head__sub { margin: 8px 0 0; color: var(--tk-muted); font-size: .95rem; max-width: 60ch; }
.tk-head__link { flex: none; font-weight: 700; font-size: .95rem; color: var(--tk-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(11, 92, 158, .32); }
.tk-head__link:hover { color: var(--tk-primary-dark); text-decoration-color: currentColor; }

/* ======================= shop by AC type =======================
   Each tile is the face of an indoor unit: a low white panel with the
   louvre slit from the logo along its bottom edge. Pointing at one opens
   the louvre and lets a breath of cyan out. Photos are deliberately not
   used here — the glyph says where the unit mounts, which is the thing
   a buyer is actually choosing between.
   ============================================================== */
@property --tkt-gap { syntax: '<length>'; inherits: false; initial-value: 0px; }

.tkt { padding: var(--sp-4) 0 var(--sp-1); }
.tkt__wall { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2);
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); }

.tkt__unit { --tkt-gap: 0px;
    position: relative; height: 100%; display: flex; align-items: center; gap: 16px;
    padding: 16px 16px 20px; background: #fff; border: 1px solid var(--tk-line);
    border-radius: 16px 16px 8px 8px; overflow: hidden;
    text-decoration: none; color: var(--tk-ink);
    transition: border-color .2s, box-shadow .2s, transform .2s; }

.tkt__glyph { flex: none; width: 40px; height: 40px; color: var(--tk-primary); }
.tkt__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tkt__name { font-family: var(--tk-display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.tkt__count { font-size: .84rem; color: var(--tk-muted); font-variant-numeric: tabular-nums; }

/* the air outlet: slats shut flush by default, open under the pointer */
.tkt__vent { position: absolute; inset-inline: 16px; bottom: 8px; height: 6px;
    background: repeating-linear-gradient(to bottom,
        var(--tk-cyan) 0 2px, transparent 2px calc(2px + var(--tkt-gap)));
    opacity: .3; transition: --tkt-gap .35s cubic-bezier(.3, .7, .2, 1), opacity .25s; }

a.tkt__unit:hover, a.tkt__unit:focus-visible { --tkt-gap: 2px;
    color: var(--tk-ink); border-color: var(--tk-cyan); transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11, 92, 158, .14); }
a.tkt__unit:hover .tkt__vent, a.tkt__unit:focus-visible .tkt__vent { opacity: .95; }
a.tkt__unit:focus-visible { outline: 3px solid var(--tk-ice); outline-offset: 4px; }

/* nothing in stock yet: a shut unit, not a broken link */
.tkt__unit--soon { border-style: dashed; background: transparent; color: var(--tk-ink-2); }
.tkt__unit--soon .tkt__glyph { color: var(--tk-muted); opacity: .6; }
.tkt__unit--soon .tkt__vent { opacity: 0; }

@media (max-width: 767.98px) {
    .tkt { padding-top: var(--sp-3); }
    .tkt__wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tkt__unit { gap: 12px; padding: 12px 12px 16px; border-radius: 12px 12px 4px 4px; }
    .tkt__glyph { width: 32px; height: 32px; }
    .tkt__name { font-size: .88rem; }
    .tkt__count { font-size: .75rem; }
    .tkt__vent { inset-inline: 12px; bottom: 4px; height: 4px; opacity: .22; }
    .tk-head { margin-bottom: 12px; }
    .tk-head__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tkt__unit, .tkt__vent { transition: none; }
    a.tkt__unit:hover, a.tkt__unit:focus-visible { transform: none; }
}

/* ======================= brands wall ======================= */
.tk-brands { padding: var(--sp-4) 0 var(--sp-1); }
.tk-brands__wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--tk-line); border: 1px solid var(--tk-line); border-radius: var(--r-lg); overflow: hidden; }
.tk-brands__wall > li { background: #fff; }
.tk-brand { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 12px 20px; text-decoration: none; color: var(--tk-ink); transition: background-color .2s; }
.tk-brand:hover { background: var(--tk-frost); color: var(--tk-ink); }
.tk-brand:focus-visible { outline: 3px solid var(--tk-ice); outline-offset: -4px; }
.tk-brand__logo { height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tk-brand__logo img { max-height: 52px; max-width: min(132px, 85%); object-fit: contain; }
.tk-brand__name { font-family: var(--tk-display); font-weight: 600; font-size: .95rem; }
.tk-brand__count { font-size: .8rem; color: var(--tk-muted); }

@media (max-width: 767.98px) {
    .tk-brands { padding-top: var(--sp-3); }
    .tk-brands__wall { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 34%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .tk-brands__wall::-webkit-scrollbar { display: none; }
    .tk-brands__wall > li { scroll-snap-align: start; }
    .tk-brand { padding: 16px 8px 12px; gap: 4px; }
    .tk-brand__logo { height: 40px; }
    .tk-brand__logo img { max-height: 36px; }
    .tk-brand__name { font-size: .85rem; }
}

/* brands page grid (no sideways scroll) */
.tk-brands--page .tk-brands__wall { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-flow: row; grid-template-rows: none; overflow: visible; }

/* ======================= product rails ======================= */
.tk-rail { padding: var(--sp-4) 0 var(--sp-0); }
.tk-rail .card__content { position: relative; margin: 0; padding: 4px 4px 16px; border-radius: 0; overflow: hidden; }
.tk-rail .swiper-slide { height: auto; }
.tk-rail .swiper-button-next, .tk-rail .swiper-button-prev { top: 38%; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: var(--tk-ink); font-size: 1rem; box-shadow: 0 4px 14px rgba(14, 42, 59, .16); }
.tk-rail .swiper-button-next { left: 8px; right: auto; }
.tk-rail .swiper-button-prev { right: 8px; left: auto; }
.tk-rail .swiper-button-disabled { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 767.98px) { .tk-rail .swiper-button-next, .tk-rail .swiper-button-prev { display: none; } }
@media (max-width: 767.98px) { .tk-rail { padding-top: var(--sp-3); } }

/* ======================= product card ======================= */
.pc { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pc:hover { border-color: var(--tk-cyan); box-shadow: 0 10px 24px rgba(14, 42, 59, .10); }
.pc__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid var(--tk-frost); }
.pc__img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.pc:hover .pc__img { transform: scale(1.04); }
.pc__deal { position: absolute; top: 12px; right: 12px; padding: 4px 8px; border-radius: var(--r-sm); background: var(--tk-navy); color: #fff; font-family: var(--tk-display); font-weight: 700; font-size: .8rem; direction: ltr; }
.pc__flag { position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: var(--r-sm); background: var(--tk-ink); color: #fff; font-size: .72rem; font-weight: 700; }
.pc__flag--soft { background: #fff; color: var(--tk-primary); border: 1px solid var(--tk-line); }
.pc__soldout { position: absolute; inset-inline: 0; bottom: 0; padding: 8px; text-align: center; background: rgba(14, 42, 59, .82); color: #fff; font-size: .8rem; font-weight: 700; }
.pc--out .pc__img { filter: grayscale(.6); opacity: .75; }

.pc__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 16px; }
.pc__brand { display: inline-flex; height: 20px; align-self: flex-start; }
.pc__brand img { height: 100%; max-width: 84px; object-fit: contain; object-position: right center; }
.pc__title { margin: 0; font-family: var(--tk-text); font-weight: 700; font-size: .98rem; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__title a { color: var(--tk-ink); text-decoration: none; }
.pc__title a:hover { color: var(--tk-primary); }
.pc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pc__now { font-family: var(--tk-display); font-weight: 700; font-size: 1.25rem; color: var(--tk-primary-dark); font-variant-numeric: tabular-nums; }
.pc__now small { font-size: .7em; font-weight: 500; }
.pc__was { color: var(--tk-muted); font-size: .85rem; }
.pc__meta { margin: 0; font-size: .8rem; color: var(--tk-muted); min-height: 1.3em; }
.pc__stock--low { color: var(--tk-danger); font-weight: 700; }
.pc__stock--out { color: var(--tk-danger); font-weight: 700; }
.pc__stock--ok { color: var(--tk-success); }

.pc__actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
.pc__actions form { margin: 0; }
.pc__buy { flex: 1; }
.pc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: var(--r-sm); font-family: var(--tk-text); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .1s; white-space: nowrap; }
.pc__btn:active { transform: scale(.97); }
.pc__btn:focus-visible { outline: 3px solid var(--tk-ice); outline-offset: 4px; }
/* Flow Cyan on Ink: 7.4:1, and the only place Flow Cyan is used as a fill */
.pc__btn--buy { background: var(--tk-cyan); color: var(--tk-ink); }
.pc__btn--buy:hover { background: var(--tk-cyan-deep); color: var(--tk-ink); }
.pc__btn--cart { width: 46px; padding: 0; background: var(--tk-frost); color: var(--tk-primary); font-size: 1.05rem; }
.pc__btn--cart:hover { background: var(--tk-primary); color: #fff; }
.pc__btn--ghost { background: var(--tk-frost); color: var(--tk-primary); }
.pc__btn--ghost:hover { background: var(--tk-line); color: var(--tk-primary-dark); }
.pc__btn--line { background: #fff; color: var(--tk-primary); box-shadow: inset 0 0 0 1.5px var(--tk-primary); }
.pc__btn--line:hover { background: var(--tk-primary); color: #fff; }

@media (max-width: 575.98px) {
    .pc { border-radius: var(--r-md); }
    .pc__body { padding: 12px 12px 12px; gap: 4px; }
    .pc__brand { height: 16px; }
    .pc__title { font-size: .86rem; }
    .pc__now { font-size: 1.05rem; }
    .pc__was { font-size: .75rem; }
    .pc__meta { font-size: .72rem; }
    .pc__btn { height: 38px; font-size: .85rem; border-radius: var(--r-sm); padding: 0 8px; }
    .pc__btn--cart { width: 38px; }
    .pc__deal, .pc__flag { top: 8px; font-size: .68rem; padding: 4px 8px; }
    .pc__deal { right: 8px; }
    .pc__flag { left: 8px; }
}

/* ======================= product page ======================= */
.product_details_page { padding-top: 8px; }
.tk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; font-size: .85rem; color: var(--tk-muted); }
.tk-crumbs a { color: var(--tk-primary); text-decoration: none; }
.tk-crumbs > span { color: var(--tk-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

.pd { height: 100%; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-lg); padding: 24px; }
.pd__tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pd__brand { display: inline-flex; height: 30px; padding: 4px 12px; border: 1px solid var(--tk-line); border-radius: var(--r-sm); }
.pd__brand img { height: 100%; max-width: 110px; object-fit: contain; }
.pd__chip { padding: 4px 12px; border-radius: var(--r-pill); background: var(--tk-frost); color: var(--tk-primary); font-size: .85rem; font-weight: 700; text-decoration: none; }
.pd__title { font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.35; color: var(--tk-ink); margin: 0 0 16px; }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.pd__now { font-family: var(--tk-display); font-weight: 700; font-size: 2rem; color: var(--tk-primary-dark); font-variant-numeric: tabular-nums; }
.pd__now small { font-size: .55em; font-weight: 500; }
.pd__was { color: var(--tk-muted); }
.pd__save { padding: 4px 12px; border-radius: var(--r-sm); background: var(--tk-frost); color: var(--tk-primary); font-weight: 700; font-size: .85rem; }
.pd__facts { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--tk-frost); }
.pd__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tk-frost); font-size: .95rem; color: var(--tk-ink-2); }
.pd__facts li > i, .pd__facts li > svg { width: 20px; text-align: center; color: var(--tk-primary); }
.pd__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd__actions form { margin: 0; }
.pd__btn { height: 52px; font-size: 1.05rem; border-radius: var(--r-md); }
.pd__share { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--tk-primary); font-weight: 600; font-size: .9rem; }
.pd-desc { margin-top: 24px; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-lg); padding: 24px; }
.pd-desc .tk-head__title { margin-bottom: 12px; }
.pd-desc__body { line-height: 1.85; color: var(--tk-ink-2); overflow-wrap: anywhere; }
.pd-desc__body img { max-width: 100%; height: auto; }
.pd-desc__body table { width: 100%; }

.pd-bar { display: none; }
@media (max-width: 991.98px) {
    .pd { padding: 20px; }
    .pd__actions { grid-template-columns: 1fr; }
    .pd-desc { padding: 20px; }
    .pd-bar { position: fixed; z-index: 1035; inset-inline: 0; bottom: calc(var(--tk-tabbar-h) + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--tk-line); box-shadow: 0 -6px 18px rgba(14, 42, 59, .08); transform: translateY(140%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .pd-bar.is-on { transform: none; visibility: visible; }
    .pd-bar__price { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
    .pd-bar__price b { font-family: var(--tk-display); font-size: 1.2rem; color: var(--tk-primary-dark); }
    .pd-bar__price span { font-size: .75rem; color: var(--tk-muted); }
    .pd-bar form { margin: 0; flex: 0 0 48%; }
    .pd-bar .pc__btn { height: 46px; }
}

/* ======================= listing page ======================= */
.tk-listbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-md); }
.tk-listbar__title { display: flex; align-items: baseline; gap: 12px; }
.tk-listbar__title .tk-head__title { font-size: 1.25rem; }
.tk-listbar__count { font-size: .85rem; color: var(--tk-muted); }
.tk-listbar__tools { display: flex; align-items: center; gap: 8px; }
.tk-listbar__tools .form-select { border-radius: var(--r-sm); border-color: var(--tk-line); }
.tk-filter-btn { height: 34px; padding: 0 16px; border: 1px solid var(--tk-line); border-radius: var(--r-sm); background: #fff; color: var(--tk-ink); font-weight: 700; font-size: .9rem; }
.tk-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; }
.tk-sheet__title { font-size: 1.1rem; font-weight: 700; margin: 0; }
@media (max-width: 991.98px) {
    .tk-sheet.offcanvas-lg.offcanvas-bottom { height: auto; max-height: 82vh; border-radius: var(--r-lg) var(--r-lg) 0 0; border: 0; }
    .tk-sheet #filterForm { overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
    .products_page { margin-top: 12px !important; }
    .tk-listbar { padding: 8px 12px; }
    .tk-listbar__tools .form-select { max-width: 150px; }
}

/* ======================= app shell (mobile) ======================= */
.tk-tabbar { display: none; }
@media (max-width: 991.98px) {
    body.tk-body { padding-bottom: calc(var(--tk-tabbar-h) + env(safe-area-inset-bottom)); }
    .tk-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--tk-line); }
    .tk-header > .navbar:first-child { padding: 8px 0 8px; }
    .tk-header > .navbar:first-child > .container { flex-wrap: wrap; row-gap: 8px; }
    .tk-header .mobile-links { padding: 0; }
    .tk-header .mobile-links .nav-btns { display: none; }
    .tk-header .navbar-brand { padding: 0; margin: 0; }
    .tk-header nav .navbar-brand .img-brand { width: 118px; }
    .tk-header .navbar-toggler { border: 0; padding: 8px 8px; box-shadow: none; }
    .tk-header .nav-bottom { padding: 0; border: 0; }
    .tk-header .nav-bottom .navbar-collapse { max-height: 70vh; overflow-y: auto; }
    .tk-header .nav-bottom .navbar-nav { padding-bottom: 8px !important; }

    .tk-msearch { position: relative; width: 100%; margin: 0; }
    .tk-header .tk-msearch input { width: 100%; height: 44px; margin: 0; padding: 0 44px 0 16px; border: 1px solid transparent; border-radius: var(--r-sm); background: var(--tk-frost); color: var(--tk-ink); font-size: .95rem; -webkit-appearance: none; appearance: none; }
    .tk-msearch input::placeholder { color: var(--tk-muted); }
    .tk-msearch input:focus { outline: none; background: #fff; border-color: var(--tk-primary); }
    .tk-msearch > i, .tk-msearch > svg { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--tk-muted); pointer-events: none; }

    .tk-tabbar { position: fixed; z-index: 1040; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tk-tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-top: 1px solid var(--tk-line); }
    .tk-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--tk-muted); text-decoration: none; font-size: .7rem; font-weight: 600; -webkit-tap-highlight-color: transparent; }
    .tk-tab i, .tk-tab svg { font-size: 1.15rem; }
    .tk-tab.is-active { color: var(--tk-primary); }
    .tk-tab.is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--tk-primary); }
    .tk-tab:active { background: var(--tk-frost); }
    .tk-tab--wa i, .tk-tab--wa svg { color: #1FAF57; }
    .tk-tab__icon { position: relative; }
    .tk-tab__badge { position: absolute; top: -8px; inset-inline-end: -12px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: var(--tk-cyan); color: var(--tk-ink); font-size: .68rem; line-height: 18px; text-align: center; font-family: var(--tk-display); }

    /* hero: shorter, rounded, app-like */
    .tk-body .slider-bg { height: 38vh; min-height: 220px; max-height: 340px; }
    .tk-body .slider-title { font-size: 1.6rem; margin-bottom: .5rem; }
    .tk-body .slider-description { font-size: .95rem; margin-bottom: 1rem; }
    .tk-body .slider-btn { padding: 12px 24px; font-size: .95rem; }

    footer { padding-bottom: 8px; }
    .tk-body iframe { height: 220px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .pc__img, .pd-bar, .pc__btn { transition: none; }
}

/* ======================= SEO landing copy + FAQ ======================= */
.tk-intro { margin: -4px 0 16px; color: var(--tk-ink-2); font-size: .95rem; line-height: 1.8; max-width: 75ch; }
.tk-faq { margin-top: 36px; padding: 24px 24px; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-lg); }
.tk-faq .tk-head__title { font-size: 1.2rem; margin-bottom: 12px; }
.tk-faq__item { border-bottom: 1px solid var(--tk-frost); }
.tk-faq__item:last-of-type { border-bottom: 0; }
.tk-faq__item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--tk-ink); display: flex; justify-content: space-between; gap: 12px; }
.tk-faq__item summary::-webkit-details-marker { display: none; }
.tk-faq__item summary::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--tk-frost); color: var(--tk-primary); display: grid; place-items: center; font-weight: 700; }
.tk-faq__item[open] summary::after { content: "−"; }
.tk-faq__item p { margin: 0 0 16px; color: var(--tk-ink-2); line-height: 1.8; }
.tk-faq__updated { margin: 12px 0 0; font-size: .82rem; color: var(--tk-muted); }

/* ======================= search results ======================= */
.tk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.tk-chips__label { font-size: .85rem; color: var(--tk-muted); }
.tk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--tk-line); color: var(--tk-primary); font-weight: 700; font-size: .88rem; text-decoration: none; }
.tk-chip:hover { border-color: var(--tk-primary); color: var(--tk-primary-dark); }
.tk-chip img { height: 16px; max-width: 48px; object-fit: contain; }
.tk-note { padding: 12px 16px; border-radius: var(--r-sm); background: var(--tk-frost); color: var(--tk-ink-2); font-size: .9rem; }
.tk-empty { max-width: 640px; margin: 24px auto; padding: 28px; text-align: center; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-lg); color: var(--tk-ink-2); }
.tk-empty .tk-head__title { margin-bottom: 12px; }

/* ======================= search suggestions ======================= */
.tk-suggest { position: absolute; z-index: 1060; top: calc(100% + 6px); inset-inline: 0; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--tk-line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(14, 42, 59, .16); text-align: start; }
.tk-suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 8px 8px; border-bottom: 1px solid var(--tk-frost); margin-bottom: 4px; }
.tk-suggest__opt { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tk-ink); border-radius: var(--r-sm); }
.tk-suggest__chip { padding: 4px 12px; border-radius: var(--r-pill); background: var(--tk-frost); color: var(--tk-primary); font-weight: 700; font-size: .85rem; gap: 8px; }
.tk-suggest__chip img { height: 14px; max-width: 44px; object-fit: contain; }
.tk-suggest__product { padding: 8px; }
.tk-suggest__product img { width: 48px; height: 36px; flex: none; object-fit: contain; border-radius: var(--r-sm); border: 1px solid var(--tk-frost); background: #fff; }
.tk-suggest__name { flex: 1; font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-suggest__price { flex: none; font-family: var(--tk-display); font-weight: 700; font-size: .9rem; color: var(--tk-primary-dark); }
.tk-suggest__all { justify-content: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--tk-frost); border-radius: 0 0 12px 12px; color: var(--tk-primary); font-weight: 700; font-size: .9rem; }
.tk-suggest__opt:hover, .tk-suggest__opt.is-active { background: var(--tk-frost); color: var(--tk-ink); }
.tk-suggest__chip.is-active, .tk-suggest__chip:hover { background: var(--tk-primary); color: #fff; }
.tk-suggest__empty { margin: 0; padding: 16px; color: var(--tk-muted); font-size: .9rem; text-align: center; }
@media (max-width: 991.98px) { .tk-suggest { max-height: 62vh; } }
