/* =========================================================================
   BEAMING THREADS — STORE LAYER
   Commerce UI: product cards, cart + favorites drawers, quick-view,
   checkout sheet (card / Google Pay / Apple Pay), toasts, AI concierge.
   Built on the tokens in style.css (ink / bone / brass / neon).
   ========================================================================= */

:root {
    --store-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --card-line: rgba(243, 238, 228, 0.16);
}

/* =========================================================
   NAV UTILITIES (cart + favorites + concierge triggers)
   ========================================================= */
.nav-utils {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 26px;
}

.util-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ink-line);
    background: transparent;
    color: var(--text-on-ink);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s var(--store-ease), background 0.2s var(--store-ease), color 0.2s var(--store-ease);
}
.util-btn svg { width: 19px; height: 19px; display: block; }
.util-btn:hover {
    border-color: var(--brass-bright);
    color: var(--brass-bright);
}
.util-btn .util-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--gradient-neon);
    color: #0b0710;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    transform: scale(0);
    transition: transform 0.25s var(--store-ease);
}
.util-btn .util-count.show { transform: scale(1); }

@media (max-width: 780px) {
    .nav-utils { margin-left: auto; margin-right: 10px; }
    .util-btn { width: 38px; height: 38px; }
}

/* hero trust row (home) */
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 22px;
    margin-top: 30px;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
    color: var(--text-on-ink-dim);
}
.hero-trust i { font-style: normal; color: var(--text-on-ink); }
.hero-trust span:first-child { color: var(--brass-bright); }

/* =========================================================
   PRODUCT CARD  (shop grid + home rails)
   ========================================================= */
.bt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 20px;
}

.bt-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
}
.bt-rail .p-card { scroll-snap-align: start; }

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ink-soft);
    border: 1px solid var(--card-line);
    overflow: hidden;
    transition: transform 0.3s var(--store-ease), box-shadow 0.3s var(--store-ease), border-color 0.3s var(--store-ease);
}
.p-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-violet);
    box-shadow: 0 22px 48px rgba(155, 92, 255, 0.24);
}

/* image / placeholder frame */
.p-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #f6f3ec;
    overflow: hidden;
}
.p-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--store-ease);
}
.p-card:hover .p-media img { transform: scale(1.04); }

/* branded placeholder when no photo yet */
.p-media.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), transparent 60%),
        var(--ph-grad, linear-gradient(150deg, #1a1622, #0c0b12));
}
.p-ph-inner {
    text-align: center;
    padding: 22px;
    color: #fff;
}
.p-ph-cat {
    margin-top: 0;
    font-family: "Oswald", var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 19px;
}
.p-ph-note {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* badges + heart on media */
.p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 9px;
    background: #0b0710;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}
.p-badge.sale { background: var(--gradient-neon); color: #0b0710; border: none; }

.p-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: rgba(11, 7, 16, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s var(--store-ease), transform 0.2s var(--store-ease);
}
.p-fav svg { width: 18px; height: 18px; }
.p-fav:hover { transform: scale(1.12); }
.p-fav.active { color: var(--neon-pink); }
.p-fav.active svg { fill: var(--neon-pink); }

.p-quick {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 12px;
    transform: translateY(102%);
    transition: transform 0.32s var(--store-ease);
}
.p-card:hover .p-quick { transform: translateY(0); }
.p-quick button {
    width: 100%;
    padding: 12px;
    border: none;
    background: rgba(255,255,255,0.94);
    color: #0b0710;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s var(--store-ease);
}
.p-quick button:hover { background: #fff; }
@media (hover: none) { .p-quick { position: static; transform: none; padding: 0; }
    .p-quick button { padding: 13px; background: #14121b; color: #fff; } }

.p-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 18px;
    flex: 1;
}
.p-cat-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon-cyan);
}
.p-name {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--text-on-ink);
    line-height: 1.2;
}
.p-meta { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 8px; }
.p-price { display: flex; align-items: baseline; gap: 8px; }
.p-price .now { font-family: var(--font-mono); font-size: 15px; color: var(--brass-bright); font-weight: 700; }
.p-price .was { font-family: var(--font-mono); font-size: 12px; color: var(--text-on-ink-dim); text-decoration: line-through; }
.p-add {
    border: 1px solid var(--card-line);
    background: transparent;
    color: var(--text-on-ink);
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 20px; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s var(--store-ease), color 0.2s var(--store-ease), border-color 0.2s var(--store-ease);
}
.p-add:hover { background: var(--brass); color: #0b0710; border-color: var(--brass); }

/* =========================================================
   CONTINUOUS SHOP SECTION HEADER (Stüssy-luxe)
   ========================================================= */
.bt-shop-wrap { background: #000; color: #fff; }
.bt-cat-block { padding: 58px 0 8px; }
.bt-cat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.bt-cat-head .bt-cat-id { display: flex; align-items: baseline; gap: 16px; }
.bt-cat-kicker { display:block; margin-bottom:8px; color:#ffd84d; font-family:"Fraunces",Georgia,serif; font-size:14px; font-style:italic; font-weight:400; letter-spacing:.02em; line-height:1; }
.bt-cat-head .bt-cat-no {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon-cyan);
    letter-spacing: 0.14em;
}
.bt-cat-head h3 {
    font-family: "Oswald", var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.94;
    font-size: clamp(30px, 4.6vw, 58px);
    margin: 0;
}
.bt-cat-head .bt-cat-blurb { max-width: 320px; color: rgba(255,255,255,0.56); font-size: 14px; padding-bottom: 6px; }

/* =========================================================
   OVERLAYS (shared scrim for drawers + modal + checkout + bot)
   ========================================================= */
.bt-scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 5, 9, 0.66);
    backdrop-filter: blur(3px);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--store-ease), visibility 0.28s var(--store-ease);
}
.bt-scrim.open { opacity: 1; visibility: visible; }

/* Right-side drawer shell (cart + favorites) */
.bt-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(430px, 94vw);
    background: var(--bone);
    color: var(--text-on-bone);
    z-index: 320;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.36s var(--store-ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}
.bt-drawer.open { transform: translateX(0); }
.bt-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--bone-line);
}
.bt-drawer-head h3 { font-size: 22px; }
.bt-drawer-head .count-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-bone-dim); margin-top: 4px; }
.bt-x {
    background: none; border: none; cursor: pointer;
    font-size: 22px; line-height: 1; color: var(--text-on-bone);
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s var(--store-ease);
}
.bt-x:hover { background: var(--bone-soft); }
.bt-drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bt-drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--bone-line); }

/* line item */
.li {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bone-line);
}
.li-thumb {
    width: 62px; height: 76px;
    background: #ece6da center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    border: 1px solid var(--bone-line);
}
.li-info .li-name { font-family: var(--font-display); font-size: 15px; line-height: 1.2; }
.li-info .li-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-bone-dim); margin-top: 3px; }
.li-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.li-qty button { width: 24px; height: 24px; border: 1px solid var(--bone-line); background: transparent; cursor: pointer; font-size: 15px; line-height: 1; border-radius: 50%; }
.li-qty span { font-family: var(--font-mono); font-size: 13px; min-width: 16px; text-align: center; }
.li-right { text-align: right; }
.li-right .li-price { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.li-remove { background: none; border: none; cursor: pointer; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-bone-dim); margin-top: 8px; text-decoration: underline; }
.li-remove:hover { color: var(--crimson); }

.bt-empty { text-align: center; padding: 60px 20px; color: var(--text-on-bone-dim); }
.bt-empty .bt-empty-mark { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.05em; }
.bt-empty p { margin-top: 12px; font-size: 14px; }
.bt-empty .btn { margin-top: 22px; }

.bt-totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; }
.bt-totals.grand { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bone-line); }
.bt-totals.grand .t-val { font-family: var(--font-display); font-size: 24px; }
.bt-totals .t-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-bone-dim); }
.bt-totals .t-val { font-family: var(--font-mono); font-weight: 700; }
.btn-full { width: 100%; justify-content: center; margin-top: 16px; }
.ship-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-bone-dim); text-align: center; margin-top: 12px; }

/* favorites grid inside drawer */
.fav-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--bone-line); }
.fav-item .btn-mini { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--bone-line); background: transparent; cursor: pointer; white-space: nowrap; }
.fav-item .btn-mini:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* =========================================================
   PRODUCT QUICK-VIEW + CHECKOUT (centered modal)
   ========================================================= */
.bt-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%);
    width: min(940px, 94vw);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--bone);
    color: var(--text-on-bone);
    z-index: 330;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--store-ease), transform 0.3s var(--store-ease), visibility 0.3s var(--store-ease);
    box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}
.bt-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.bt-modal .bt-x { position: absolute; top: 16px; right: 16px; z-index: 4; background: rgba(255,255,255,0.7); }

/* -- quick view -- */
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .qv-grid { grid-template-columns: 1fr; } }
.qv-media { position: relative; aspect-ratio: 1/1; background: #f0ece2; overflow: hidden; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-media.is-placeholder { display: flex; align-items: center; justify-content: center; }
.qv-info { padding: 40px 40px 36px; display: flex; flex-direction: column; }
@media (max-width: 720px) { .qv-info { padding: 28px 24px; } }
.qv-info .p-cat-tag { color: var(--brass-deep); }
.qv-info h2 { font-size: 30px; margin: 10px 0 14px; }
.qv-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.qv-price .now { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }
.qv-price .was { font-family: var(--font-mono); font-size: 15px; text-decoration: line-through; color: var(--text-on-bone-dim); }
.qv-price .save { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--bone); padding: 4px 8px; }
.qv-desc { font-size: 14.5px; color: var(--text-on-bone-dim); margin: 12px 0 20px; line-height: 1.6; }
.qv-sizes { margin-bottom: 20px; }
.qv-sizes .qv-label, .qv-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-bone-dim); margin-bottom: 10px; display: block; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-chip { min-width: 44px; padding: 10px 8px; border: 1px solid var(--bone-line); background: transparent; font-family: var(--font-mono); font-size: 12px; cursor: pointer; text-align: center; transition: all 0.15s var(--store-ease); }
.size-chip.active, .size-chip:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.qv-actions { display: flex; gap: 10px; margin-top: auto; }
.qv-actions .btn { flex: 1; justify-content: center; }
.qv-fav-btn { width: 54px; flex: none !important; padding: 0 !important; }
.qv-fav-btn.active { color: var(--neon-pink); border-color: var(--neon-pink); }
.qv-amz { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-bone-dim); }
.qv-amz:hover { color: var(--brass-deep); }

/* -- checkout -- */
.co-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 760px) { .co-wrap { grid-template-columns: 1fr; } }
.co-pay { padding: 40px; }
@media (max-width: 760px) { .co-pay { padding: 28px 22px; } }
.co-summary { padding: 40px; background: var(--ink); color: var(--text-on-ink); }
@media (max-width: 760px) { .co-summary { padding: 28px 22px; order: -1; } }
.co-summary h4 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ink-line); font-size: 13.5px; }
.co-line .cl-name { color: var(--text-on-ink-dim); }
.co-line .cl-name b { color: #fff; font-weight: 500; display: block; font-family: var(--font-display); font-size: 15px; }
.co-line .cl-price { font-family: var(--font-mono); }
.co-sum-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.co-sum-tot .t-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-bright); }
.co-sum-tot .t-val { font-family: var(--font-display); font-size: 30px; color: #fff; }
.co-trust { margin-top: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-on-ink-dim); line-height: 1.8; }

.co-pay h3 { font-size: 24px; margin-bottom: 6px; }
.co-pay .co-sub { color: var(--text-on-bone-dim); font-size: 13.5px; margin-bottom: 22px; }

/* express pay buttons */
.express-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pay-express {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px;
    border: none; border-radius: 6px; cursor: pointer;
    font-family: -apple-system, "Inter", sans-serif; font-weight: 600; font-size: 15px;
    transition: transform 0.15s var(--store-ease), opacity 0.15s var(--store-ease);
}
.pay-express:hover { transform: translateY(-1px); }
.pay-express:active { opacity: 0.85; }
.pay-apple { background: #000; color: #fff; }
.pay-apple svg { width: 17px; height: 17px; fill: #fff; }
.pay-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.pay-google svg { width: 18px; height: 18px; }

.co-or { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-bone-dim); }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--bone-line); }

/* card form */
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-bone-dim); margin-bottom: 7px; }
.co-input {
    width: 100%; padding: 13px 14px;
    border: 1px solid var(--bone-line);
    background: #fff;
    font-family: var(--font-mono); font-size: 14px; color: var(--ink);
    border-radius: 4px;
    transition: border-color 0.18s var(--store-ease), box-shadow 0.18s var(--store-ease);
}
.co-input:focus { outline: none; border-color: var(--neon-violet); box-shadow: 0 0 0 3px rgba(155,92,255,0.16); }
.co-input.invalid { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(122,35,49,0.14); }
.co-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-card-wrap { position: relative; }
.co-card-brand { position: absolute; right: 12px; top: 34px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); }
.pay-submit { width: 100%; justify-content: center; margin-top: 8px; height: 52px; }
.co-note { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: var(--text-on-bone-dim); line-height: 1.7; text-align: center; }
.co-note b { color: var(--brass-deep); }

/* success state */
.co-done { padding: 60px 40px; text-align: center; }
.co-done .co-check { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--gradient-neon); display: flex; align-items: center; justify-content: center; font-size: 38px; color: #0b0710; }
.co-done h3 { font-size: 28px; margin-bottom: 10px; }
.co-done p { color: var(--text-on-bone-dim); font-size: 14.5px; max-width: 400px; margin: 0 auto; }
.co-done .order-id { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; margin-top: 18px; color: var(--brass-deep); }

/* =========================================================
   TOASTS
   ========================================================= */
.bt-toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.bt-toast {
    display: flex; align-items: center; gap: 12px;
    background: #0b0710; color: #fff;
    padding: 13px 20px;
    border: 1px solid rgba(255,255,255,0.14);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.3s var(--store-ease), transform 0.3s var(--store-ease);
}
.bt-toast.show { opacity: 1; transform: translateY(0); }
.bt-toast .toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-neon); flex: none; }

/* =========================================================
   AI CONCIERGE (chatbot)
   ========================================================= */
.bot-launch {
    position: fixed;
    bottom: 22px; right: 22px;
    z-index: 350;
    display: flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 20px 0 16px;
    border: none; border-radius: 30px;
    background: var(--gradient-neon);
    color: #0b0710;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(155, 92, 255, 0.42);
    transition: transform 0.22s var(--store-ease), box-shadow 0.22s var(--store-ease);
}
.bot-launch:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(155, 92, 255, 0.55); }
.bot-launch .bot-orb { width: 30px; height: 30px; border-radius: 50%; background: #0b0710; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.bot-launch.hidden { transform: scale(0); pointer-events: none; }
@media (max-width: 560px) { .bot-launch span.bot-label { display: none; } .bot-launch { padding: 0; width: 56px; justify-content: center; } }

.bot-panel {
    position: fixed;
    bottom: 22px; right: 22px;
    z-index: 351;
    width: min(390px, calc(100vw - 32px));
    height: min(620px, calc(100vh - 44px));
    background: var(--bone);
    border: 1px solid var(--bone-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.98);
    transition: opacity 0.28s var(--store-ease), transform 0.28s var(--store-ease), visibility 0.28s var(--store-ease);
}
.bot-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.bot-head {
    background: var(--ink); color: #fff;
    padding: 18px 18px 16px;
    display: flex; align-items: center; gap: 12px;
    position: relative;
}
.bot-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-neon); }
.bot-head .bot-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-neon); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bot-head .bot-id h4 { color: #fff; font-size: 16px; }
.bot-head .bot-id .bot-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neon-cyan); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.bot-head .bot-id .bot-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.bot-head .bt-x { margin-left: auto; color: #fff; }
.bot-head .bt-x:hover { background: rgba(255,255,255,0.12); }

.bot-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bot-msg { max-width: 84%; font-size: 14px; line-height: 1.5; }
.bot-msg.bot { align-self: flex-start; }
.bot-msg.bot .bubble { background: #fff; border: 1px solid var(--bone-line); padding: 12px 14px; border-radius: 4px 16px 16px 16px; }
.bot-msg.user { align-self: flex-end; }
.bot-msg.user .bubble { background: var(--ink); color: var(--bone); padding: 12px 14px; border-radius: 16px 4px 16px 16px; }

.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bot-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--bone-line);
    background: #fff;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em;
    cursor: pointer; border-radius: 20px;
    transition: all 0.16s var(--store-ease);
}
.bot-chip:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-1px); }
.bot-chip .chip-arrow { opacity: 0.5; }

.bot-typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px; }
.bot-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-deep); opacity: 0.5; animation: botblink 1.2s infinite; }
.bot-typing span:nth-child(2) { animation-delay: 0.2s; }
.bot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes botblink { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.bot-foot { padding: 12px 14px; border-top: 1px solid var(--bone-line); background: var(--bone); }
.bot-quick { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.bot-quick::-webkit-scrollbar { display: none; }
.bot-quick button { white-space: nowrap; padding: 7px 12px; border: 1px solid var(--bone-line); background: transparent; border-radius: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; cursor: pointer; color: var(--text-on-bone-dim); }
.bot-quick button:hover { border-color: var(--brass); color: var(--brass-deep); }
.bot-input-row { display: flex; gap: 8px; }
.bot-input {
    flex: 1; padding: 12px 14px;
    border: 1px solid var(--bone-line); border-radius: 22px;
    font-family: var(--font-body); font-size: 14px;
    background: #fff;
}
.bot-input:focus { outline: none; border-color: var(--neon-violet); box-shadow: 0 0 0 3px rgba(155,92,255,0.14); }
.bot-send {
    width: 46px; height: 46px; flex: none;
    border: none; border-radius: 50%;
    background: var(--ink); color: var(--bone);
    cursor: pointer; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s var(--store-ease);
}
.bot-send:hover { background: var(--brass-deep); }

@media (prefers-reduced-motion: reduce) {
    .p-card, .p-media img, .bt-drawer, .bt-modal, .bot-panel, .bt-toast { transition: none !important; }
    .p-card:hover { transform: none; }
}

/* Formal sport-editorial commerce overrides */
.util-btn { width: 38px; height: 38px; border-radius: 0; border-color: rgba(255,255,255,0.32); }
.util-btn:hover { color: #fff; border-color: #fff; }
.util-btn .util-count { border-radius: 0; background: #ffd84d; color: #000; }
.hero-trust { font-family: var(--font-body); }
.bt-grid { gap: 12px; }
.bt-rail { gap: 12px; }
.p-card { background: #000; border-color: rgba(255,255,255,0.26); border-radius: 0; }
.p-card:hover { transform: none; border-color: #fff; box-shadow: none; }
.p-card:hover .p-media img { transform: none; }
.p-media.is-placeholder { background: #1a1a1a; }
.p-badge { border-radius: 0; background: #fff; color: #000; border: 0; font-family: var(--font-body); font-weight: 700; }
.p-badge.sale { background: #ffd84d; color: #000; }
.p-fav { border-radius: 0; background: #000; border: 1px solid rgba(255,255,255,0.4); }
.p-fav.active { color: #ffd84d; }
.p-fav.active svg { fill: #ffd84d; }
.p-quick { padding: 0; }
.p-quick button { background: #fff; border-radius: 0; font-family: var(--font-body); font-weight: 700; }
.p-body { padding: 16px; }
.p-cat-tag { color: #fff; font-family: var(--font-body); font-weight: 700; }
.p-name { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 21px; }
.p-price .now { color: #fff; font-family: var(--font-body); }
.p-add { border-radius: 0; border-color: #fff; }
.p-add:hover { background: #fff; color: #000; border-color: #fff; }
.bt-cat-block { padding: 66px 0 12px; }
.bt-cat-head { border-bottom-color: rgba(255,255,255,0.45); }
.bt-cat-head .bt-cat-no { color: #fff; font-family: var(--font-body); font-weight: 700; }
.bt-cat-head h3 { letter-spacing: -0.02em; }
.bt-cat-head { position:relative; overflow:hidden; }
.bt-cat-head::after { content:""; position:absolute; right:35%; bottom:-42px; width:122px; height:122px; background:url("../assets/img/whitefox/cherry.png") center/contain no-repeat; opacity:.2; transform:rotate(-14deg); pointer-events:none; }
.bt-cat-head > * { position:relative; z-index:1; }
.bt-cat-block:nth-child(3n+2) .bt-cat-head::after { background-image:url("../assets/img/cancun/flamingo.png"); transform:rotate(11deg); }
.bt-cat-block:nth-child(3n) .bt-cat-head::after { background-image:url("../assets/img/tokyo/legend.png"); transform:rotate(-7deg); }
@media (max-width:780px) { .bt-cat-head::after { right:-18px; opacity:.13; } .bt-cat-kicker { font-size:13px; } }
.bt-scrim { background: rgba(0,0,0,0.75); backdrop-filter: none; }
.bt-drawer, .bt-modal { border-radius: 0; box-shadow: none; }
.bt-x, .li-qty button, .p-fav { border-radius: 0; }
.qv-info .p-cat-tag { color: #000; }
.qv-fav-btn.active { color: #000; border-color: #000; background: #ffd84d; }
.co-input:focus, .bot-input:focus { border-color: #000; box-shadow: 0 0 0 2px #000; }
.co-done .co-check, .bt-toast .toast-dot { border-radius: 0; background: #ffd84d; }
.bot-launch { border-radius: 0; background: #000; color: #fff; box-shadow: none; border: 1px solid #fff; }
.bot-launch .bot-orb { border-radius: 0; background: #fff; color: #000; }
.bot-panel { border-radius: 0; }
.bot-head::before { background: #ffd84d; }
.bot-head .bot-ava { border-radius: 0; background: #ffd84d; }
.bot-head .bot-id .bot-status { color: #fff; }
.bot-head .bot-id .bot-status::before { background: #ffd84d; box-shadow: none; }
.bot-chip, .bot-input, .bot-quick button { border-radius: 0; }
.bot-send { border-radius: 0; }
