/* === VELVETICA CONVERSION SUITE V2 (B2B STUDIO ZASH + MOTION + MOBILE CRO) === */
:root { --vv-accent: #111827; --vv-bg: #ffffff; --vv-fg: #0f172a; --vv-muted: #64748b; --vv-border: rgba(15,23,42,0.12); --vv-card: #f8fafc; }
[data-vv-surface="dark"] { --vv-bg: #0c0c0f; --vv-fg: #f4f1ea; --vv-muted: #a1a1aa; --vv-border: rgba(255,255,255,0.14); --vv-card: #16161b; }

/* Mobile Sticky Header Cap & Zero Search-Bar Overlap */
@media (max-width: 767px) {
    .vsw-jump-bar { display: none !important; }
    .svh-root, header.vs-hdr-sticky {
        max-height: 60px !important;
        z-index: 9500 !important;
    }
    header.header--mobile, header.vg-arena-mobile-header {
        height: auto !important; min-height: 60px !important; max-height: none !important;
        position: sticky !important; top: 0 !important; z-index: 9500 !important;
    }
    header.header--mobile .ps-search--mobile { position: relative !important; top: auto !important; bottom: auto !important; display: block !important; }
    header.header--mobile + .vv-stories-bar { margin-top: 6px; position: relative; z-index: 1; }
}

/* 1. Mobile Shoppable IG Stories (<=749px) */
.vv-stories-bar { display: none; }
@media (max-width: 749px) {
    .vv-stories-bar {
        display: flex; gap: 12px; overflow-x: auto; padding: 10px 14px 12px;
        background: var(--vv-bg); border-bottom: 1px solid var(--vv-border);
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .vv-stories-bar::-webkit-scrollbar { display: none; }
    .vv-story-chip {
        flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px;
        background: none; border: 0; padding: 0; color: var(--vv-fg); cursor: pointer;
    }
    .vv-story-ring {
        width: 60px; height: 60px; border-radius: 50%; padding: 2.5px;
        background: linear-gradient(135deg, #f59e0b, #ef4444, #a855f7);
        display: flex; align-items: center; justify-content: center;
    }
    .vv-story-ring img {
        width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
        background: var(--vv-card); border: 2px solid var(--vv-bg);
    }
    .vv-story-lbl { font-size: 11px; font-weight: 600; max-width: 66px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

.vv-story-modal {
    position: fixed; inset: 0; z-index: 10500; background: #09090b; color: #fff;
    display: none; flex-direction: column; justify-content: space-between;
}
.vv-story-modal.is-open { display: flex; }
.vv-story-top { padding: 14px 14px 8px; }
.vv-story-bars { display: flex; gap: 4px; margin-bottom: 10px; }
.vv-story-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.28); border-radius: 99px; overflow: hidden; }
.vv-story-bar > span { display: block; height: 100%; width: 0%; background: #fff; transition: width 0.1s linear; }
.vv-story-hdr { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.vv-story-close { background: rgba(255,255,255,0.16); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.vv-story-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.vv-story-media img { max-width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; background: #fff; padding: 12px; }
.vv-story-bottom { padding: 12px 14px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.vv-story-card {
    display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.96); color: #0f172a;
    border-radius: 14px; padding: 8px 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.vv-story-card img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #f8fafc; }
.vv-story-card-info { flex: 1; min-width: 0; }
.vv-story-card-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-story-card-sub { font-size: 11px; color: #475569; }
.vv-story-bag-btn { background: #0f172a; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }
.vv-story-sheet {
    position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: #0f172a;
    border-radius: 18px 18px 0 0; padding: 18px 16px 24px; transform: translateY(100%); transition: transform 0.25s ease;
}
.vv-story-sheet.is-open { transform: translateY(0); }
.vv-size-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.vv-size-pill { padding: 7px 14px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.vv-size-pill.is-active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* 2. Mobile <600px Swipeable Rail + Scrubber */
.vv-mob-rail-wrap { display: none; }
@media (max-width: 600px) {
    .vv-mob-rail-wrap { display: block; padding: 12px 0 8px; }
    .vv-mob-rail-track {
        display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 4px 16px 12px; scrollbar-width: none;
    }
    .vv-mob-rail-track::-webkit-scrollbar { display: none; }
    .vv-mob-rail-card {
        flex: 0 0 78%; scroll-snap-align: center; background: var(--vv-card);
        border: 1px solid var(--vv-border); border-radius: 16px; padding: 14px;
        display: flex; flex-direction: column; gap: 8px; position: relative;
    }
    .vv-mob-rail-card img { width: 100%; height: 190px; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; }
    .vv-mob-rail-tag { position: absolute; top: 22px; right: 22px; background: var(--vv-fg); color: var(--vv-bg); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
    .vv-mob-scrubber { display: flex; align-items: center; gap: 10px; padding: 4px 18px 8px; font-size: 11px; color: var(--vv-muted); }
    .vv-mob-scrubber input { flex: 1; accent-color: var(--vv-accent); }
}

/* 3. Diagonal Sweeping Gear/Boot Orbit Wheel */
.vv-orbit-sec {
    position: relative; overflow: hidden; padding: 42px 20px 36px;
    background: var(--vv-bg); color: var(--vv-fg); border-top: 1px solid var(--vv-border);
}
.vv-orbit-head { max-width: 1280px; margin: 0 auto 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.vv-orbit-title { font-size: clamp(22px, 3vw, 34px); font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.vv-orbit-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--vv-muted); }
.vv-orbit-stage {
    position: relative; height: 320px; max-width: 1280px; margin: 0 auto; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.vv-orbit-item {
    position: absolute; left: 50%; top: 50%; width: 220px; height: 220px;
    border-radius: 18px; background: #fff; border: 1px solid var(--vv-border);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center;
    padding: 14px; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), opacity 0.25s; cursor: pointer;
}
.vv-orbit-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vv-orbit-controls {
    max-width: 1280px; margin: 16px auto 0; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.vv-wheel-wrap { flex: 1; min-width: 220px; max-width: 420px; display: flex; align-items: center; gap: 10px; }
.vv-wheel-range {
    flex: 1; height: 10px; border-radius: 999px;
    background: linear-gradient(90deg, #94a3b8, #334155, #94a3b8);
    accent-color: var(--vv-accent); cursor: ew-resize;
}
.vv-orbit-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vv-orbit-sz {
    padding: 6px 11px; border: 1px solid var(--vv-border); background: var(--vv-card); color: var(--vv-fg);
    border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.vv-orbit-sz:hover, .vv-orbit-sz.is-picked { background: var(--vv-accent); color: #fff; border-color: var(--vv-accent); }

/* 4. Size Advisor Drawer / Bottom Sheet + Persistent PDP Match Pill */
.vv-fit-badge-btn {
    display: inline-flex; align-items: center; gap: 8px; margin: 10px 0;
    padding: 9px 14px; border-radius: 999px; border: 1px solid var(--vv-border);
    background: var(--vv-card); color: var(--vv-fg); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.vv-fit-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; display: inline-block; }
.vv-advisor-backdrop {
    position: fixed; inset: 0; z-index: 10600; background: rgba(0,0,0,0.55);
    display: none; justify-content: flex-end; align-items: stretch;
}
.vv-advisor-backdrop.is-open { display: flex; }
.vv-advisor-panel {
    width: 100%; max-width: 430px; background: var(--vv-bg); color: var(--vv-fg);
    padding: 22px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.3);
}
@media (max-width: 640px) {
    .vv-advisor-backdrop { align-items: flex-end; justify-content: center; }
    .vv-advisor-panel { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 88vh; }
}
.vv-seg { display: flex; border: 1px solid var(--vv-border); border-radius: 10px; overflow: hidden; }
.vv-seg button {
    flex: 1; padding: 9px; border: 0; background: transparent; color: var(--vv-fg);
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.vv-seg button.is-active { background: var(--vv-accent); color: #fff; }
.vv-shape-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vv-shape-btn {
    padding: 10px 6px; border: 1px solid var(--vv-border); border-radius: 10px;
    background: var(--vv-card); color: var(--vv-fg); font-size: 11px; font-weight: 700; cursor: pointer; text-align: center;
}
.vv-shape-btn.is-active { border-color: var(--vv-accent); box-shadow: 0 0 0 2px var(--vv-accent) inset; }

/* 5. Power Suite Hybrid B2B PDP Conversion Stack + Shrinkage Simulator */
.vv-power-suite {
    margin: 16px 0; padding: 14px; border: 1px solid var(--vv-border); border-radius: 14px;
    background: var(--vv-card); color: var(--vv-fg); display: flex; flex-direction: column; gap: 12px;
}
.vv-live-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.vv-pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.2); }
.vv-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.vv-trust-item { font-size: 11.5px; font-weight: 700; padding: 7px 10px; border-radius: 8px; background: var(--vv-bg); border: 1px solid var(--vv-border); }
.vv-moq-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vv-moq-card {
    padding: 9px 8px; border-radius: 10px; border: 1px solid var(--vv-border); background: var(--vv-bg);
    text-align: center; cursor: pointer; font-size: 11.5px; font-weight: 700;
}
.vv-moq-card.is-active { border-color: var(--vv-accent); background: var(--vv-accent); color: #fff; }
.vv-timeline { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding-top: 6px; border-top: 1px dashed var(--vv-border); color: var(--vv-muted); }
.vv-shrink-sim {
    border: 1px solid var(--vv-border); border-radius: 10px; padding: 10px 12px;
    background: var(--vv-bg); display: flex; flex-direction: column; gap: 8px;
}
.vv-shrink-btns { display: flex; gap: 6px; }
.vv-shrink-btns button {
    flex: 1; padding: 6px 8px; font-size: 11px; font-weight: 700; border-radius: 8px;
    border: 1px solid var(--vv-border); background: var(--vv-card); color: var(--vv-fg); cursor: pointer;
}
.vv-shrink-btns button.is-active { background: var(--vv-accent); color: #fff; border-color: var(--vv-accent); }
.vv-shrink-readout { font-size: 11.5px; line-height: 1.45; }

/* 6. Studio Zash 5-Slot Sample Crate + Extruding Thermal Quote Receipt */
.vv-ghosted img { opacity: 0.25 !important; filter: grayscale(0.6); transition: opacity 0.3s; }
.vv-byob-bar {
    position: fixed; left: 16px; bottom: 16px; z-index: 9400;
    background: var(--vv-bg); color: var(--vv-fg); border: 1px solid var(--vv-border);
    border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 32px rgba(0,0,0,0.22);
    display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); flex-wrap: wrap;
}
.vv-byob-prog { width: 84px; height: 6px; background: var(--vv-border); border-radius: 999px; overflow: hidden; }
.vv-byob-prog > span { display: block; height: 100%; background: var(--vv-accent); transition: width 0.25s; }
.vv-receipt-backdrop {
    position: fixed; inset: 0; z-index: 10800; background: rgba(0,0,0,0.72);
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.vv-receipt-backdrop.is-open { display: flex; }
.vv-printer-slot {
    width: 100%; max-width: 400px; background: linear-gradient(180deg, #d4d4d8, #a1a1aa);
    padding: 12px 12px 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.vv-printer-bezel { height: 10px; background: #18181b; border-radius: 6px; margin-bottom: 0; }
.vv-receipt-paper {
    background: #fcfaf5; color: #18181b; padding: 18px 16px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    border-bottom: 3px dashed #a1a1aa; max-height: 76vh; overflow-y: auto;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.55s cubic-bezier(.16,1,.3,1);
}
.vv-receipt-backdrop.is-open .vv-receipt-paper { clip-path: inset(0 0 0% 0); }
.vv-receipt-items { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; border-top: 1px dashed #94a3b8; border-bottom: 1px dashed #94a3b8; padding: 8px 0; }
.vv-receipt-row { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.vv-receipt-row img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid #e2e8f0; }

/* 7. Net-New Motion Modules (4-Plane Giant Word, Parabolic Fan, 01/05 Collage) */
.vv-motion-stage {
    max-width: 1280px; margin: 28px auto; padding: 24px 18px; border-radius: 20px;
    border: 1px solid var(--vv-border); background: var(--vv-card); color: var(--vv-fg); overflow: hidden;
}
.vv-plane-slider {
    position: relative; min-height: 290px; display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; border-radius: 16px; padding: 22px; background: radial-gradient(circle at 60% 50%, var(--sku-aura, rgba(234,88,12,0.14)), transparent 65%);
}
.vv-giant-word {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-size: clamp(54px, 11vw, 130px); font-weight: 900; letter-spacing: -0.04em;
    opacity: 0.06; pointer-events: none; white-space: nowrap; text-transform: uppercase; z-index: 1;
}
.vv-plane-hud { position: relative; z-index: 3; flex: 1; min-width: 220px; }
.vv-plane-cutout { position: relative; z-index: 2; width: 210px; height: 210px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.vv-plane-cutout img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,0.22)); transition: transform 0.35s; }
.vv-fan-row {
    display: flex; gap: 14px; overflow-x: auto; padding: 24px 12px 28px; scrollbar-width: none;
}
.vv-fan-row::-webkit-scrollbar { display: none; }
.vv-fan-card {
    flex: 0 0 150px; background: var(--vv-bg); border: 1px solid var(--vv-border); border-radius: 14px;
    padding: 10px; text-align: center; text-decoration: none; color: inherit;
    transition: transform 0.25s ease;
}
.vv-fan-card img { width: 100%; height: 110px; object-fit: contain; background: #fff; border-radius: 8px; }
.vv-collage-wrap {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: center; margin-top: 20px;
}
@media (max-width: 767px) { .vv-collage-wrap { grid-template-columns: 1fr; } }
.vv-collage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vv-collage-card {
    background: #fff; border: 1px solid var(--vv-border); border-radius: 12px; padding: 6px;
    transition: transform 0.2s ease; cursor: pointer;
}
.vv-collage-card img { width: 100%; height: 76px; object-fit: contain; display: block; }

.vv-game-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 9400;
    background: var(--vv-accent); color: #fff; border: 0; border-radius: 999px;
    padding: 10px 16px; font-size: 12px; font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,0.28); cursor: pointer;
}
.vv-game-modal {
    position: fixed; inset: 0; z-index: 10700; background: rgba(0,0,0,0.68);
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.vv-game-modal.is-open { display: flex; }
.vv-game-box {
    width: 100%; max-width: 390px; background: #fff; color: #0f172a;
    border-radius: 18px; padding: 18px; text-align: center; position: relative;
}
