/* ==========================================================================
   NEWYES DAYLIGHT STUDIO™ (v4.0 — Authentic Hardware & Daylight Luxury Edition)
   100% Faithful to Real NEWYES SyncPen & Notebook · Elegant Daylight Palette
   Includes Instant 1-Click Sale Mode Toggle (Regular Mode vs Boutique Sale Mode)
   ========================================================================== */

:root {
    --dl-studio-bg: #E6EAF1;
    --dl-studio-light: #F3F5F8;
    --dl-paper: #FAF9F5;
    --dl-white: #FFFFFF;
    --dl-glass: rgba(255, 255, 255, 0.84);
    --dl-glass-strong: rgba(255, 255, 255, 0.94);
    --dl-ink: #141416;
    --dl-ink-soft: #2C2E35;
    --dl-slate: #5A6070;
    --dl-muted: #848A9A;
    --dl-emerald: #0F5132;
    --dl-emerald-bright: #157347;
    --dl-emerald-tint: rgba(15, 81, 50, 0.08);
    --dl-gold: #B8965A;
    --dl-gold-deep: #96753C;
    --dl-gold-tint: rgba(184, 150, 90, 0.14);
    --dl-border: rgba(20, 20, 22, 0.09);
    --dl-border-strong: rgba(20, 20, 22, 0.16);
    --dl-shadow-sm: 0 8px 24px rgba(20, 20, 26, 0.06);
    --dl-shadow-md: 0 18px 48px rgba(20, 20, 26, 0.09);
    --dl-shadow-lg: 0 28px 72px rgba(20, 20, 26, 0.13);
    --dl-font-he: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    --dl-font-en: 'Outfit', 'Heebo', sans-serif;
    --dl-font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Critical Sticky Fix: overflow-x: clip + overflow-y: visible keeps position:sticky 100% locked */
html, body, body.dl-atelier-body {
    width: 100%;
    min-height: 100%;
    background-color: var(--dl-studio-bg) !important;
    color: var(--dl-ink) !important;
    font-family: var(--dl-font-he) !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(15, 81, 50, 0.16);
    color: var(--dl-ink);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dl-studio-light);
}
::-webkit-scrollbar-thumb {
    background: #B8BECA;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dl-emerald);
}

/* ==========================================================================
   SALE MODE VISIBILITY ENGINE (Default: OFF, 1-Click Toggleable)
   ========================================================================== */
.dl-sale-only {
    display: none !important;
}

body.is-sale-active .dl-sale-only {
    display: inline-flex !important;
}

body.is-sale-active .dl-sale-block {
    display: flex !important;
}

body.is-sale-active .dl-regular-only {
    display: none !important;
}

/* Optional Top Sale Ribbon when Sale Mode is Active */
.dl-sale-ribbon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(90deg, #141416 0%, #0F5132 50%, #141416 100%);
    color: #FFFFFF;
    z-index: 950;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(184, 150, 90, 0.45);
}

body.is-sale-active .dl-sale-ribbon {
    display: flex;
}

.dl-sale-ribbon strong {
    color: #F3DFB8;
    font-weight: 800;
}

.dl-sale-ribbon-code {
    background: rgba(184, 150, 90, 0.28);
    border: 1px solid #B8965A;
    color: #FFF;
    font-family: var(--dl-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 99px;
    cursor: pointer;
}

/* ==========================================================================
   1. FRAMELESS DAYLIGHT STUDIO HUD HEADER
   ========================================================================== */
.dl-hud-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 900;
    background: linear-gradient(180deg, rgba(230, 234, 241, 0.92) 0%, rgba(230, 234, 241, 0.55) 70%, transparent 100%);
    transition: top 0.3s ease;
    pointer-events: none;
}

body.is-sale-active .dl-hud-header {
    top: 36px;
}

.dl-hud-header > * {
    pointer-events: auto;
}

.dl-brand-cluster {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: var(--dl-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--dl-border);
    box-shadow: var(--dl-shadow-sm);
}

.dl-brand-logo-img {
    height: 19px;
    width: auto;
    display: block;
}

.dl-brand-divider {
    width: 1px;
    height: 18px;
    background: rgba(20, 20, 22, 0.15);
}

.dl-brand-tag {
    font-family: var(--dl-font-en);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dl-ink);
    text-transform: uppercase;
    direction: ltr;
}

/* Center Scrollytelling Chapter Pills */
.dl-chapter-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 999px;
    background: var(--dl-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--dl-border);
    box-shadow: var(--dl-shadow-md);
}

.dl-chapter-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--dl-slate);
    font-family: var(--dl-font-he);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.dl-chapter-btn .dl-ch-num {
    font-family: var(--dl-font-mono);
    font-size: 10.5px;
    color: var(--dl-emerald);
    font-weight: 700;
}

.dl-chapter-btn:hover {
    color: var(--dl-ink);
    background: rgba(20, 20, 22, 0.05);
}

.dl-chapter-btn.is-active {
    background: var(--dl-ink);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(20, 20, 22, 0.22);
}

.dl-chapter-btn.is-active .dl-ch-num {
    color: #6EE7B7;
}

.dl-autoplay-btn {
    appearance: none;
    border: 1px solid rgba(15, 81, 50, 0.25);
    background: var(--dl-emerald-tint);
    color: var(--dl-emerald);
    font-family: var(--dl-font-he);
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.dl-autoplay-btn:hover,
.dl-autoplay-btn.is-playing {
    background: var(--dl-emerald);
    color: #FFFFFF;
}

/* Left HUD Actions */
.dl-hud-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-cart-trigger {
    appearance: none;
    border: 1px solid var(--dl-border);
    background: var(--dl-glass);
    backdrop-filter: blur(20px);
    color: var(--dl-ink);
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--dl-font-he);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--dl-shadow-sm);
    transition: all 0.25s ease;
}

.dl-cart-trigger:hover {
    border-color: var(--dl-ink);
}

.dl-cart-count {
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--dl-emerald);
    color: #FFFFFF;
    font-family: var(--dl-font-mono);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dl-primary-cta {
    appearance: none;
    border: none;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--dl-ink);
    color: #FFFFFF;
    font-family: var(--dl-font-he);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 26px rgba(20, 20, 22, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-primary-cta:hover {
    background: var(--dl-emerald);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 81, 50, 0.28);
}

/* ==========================================================================
   2. PINNED 540VH FULL-VIEWPORT (100VW X 100VH) DAYLIGHT SCROLLYTELLING STAGE
   ========================================================================== */
.dl-scrolly-track {
    position: relative;
    width: 100%;
    height: 540vh;
    background: var(--dl-studio-bg);
}

.dl-sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* Exact studio background match to real_exploded_master.png (#E2E7EF -> #EAEEF5) */
    background: radial-gradient(circle at 50% 48%, #ECEFF5 0%, #E2E7EF 65%, #DAE0EA 100%);
}

/* Layer 1: Subtle Architectural Studio Grid & Floating Light Motes Canvas */
#dl-ambient-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Layer 2: Giant Kinetic Architectural Typography Behind the Real Hardware */
.dl-kinetic-backdrop {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    direction: ltr;
    user-select: none;
}

.dl-kinetic-act {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.dl-kinetic-act.is-visible {
    opacity: 1;
}

.dl-kinetic-line {
    font-family: var(--dl-font-en);
    font-size: clamp(68px, 13.8vw, 220px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.04em;
    white-space: nowrap;
    text-transform: uppercase;
    will-change: transform;
}

.dl-kinetic-line.is-solid {
    color: rgba(20, 20, 26, 0.045);
}

.dl-kinetic-line.is-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(15, 81, 50, 0.13);
}

/* Layer 3: Centerpiece 120fps Real SyncPen & Notebook Scrollytelling Canvas */
.dl-hardware-centerpiece {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    perspective: 1400px;
}

.dl-hardware-stage-wrap {
    position: relative;
    width: min(92vw, 1280px);
    height: min(84vh, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    will-change: transform;
}

#dl-scrolly-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    /* Soft radial feather so studio edges blend 100% seamlessly into #E2E7EF */
    -webkit-mask-image: radial-gradient(ellipse 48% 46% at 50% 50%, #000 68%, rgba(0,0,0,0.6) 86%, transparent 99%);
    mask-image: radial-gradient(ellipse 48% 46% at 50% 50%, #000 68%, rgba(0,0,0,0.6) 86%, transparent 99%);
}

/* Layer 4: Act 02 Real Hardware Exploded SVG Callout Overlay */
.dl-exploded-telemetry-layer {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.dl-exploded-telemetry-layer.is-active {
    opacity: 1;
    visibility: visible;
}

.dl-telemetry-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dl-leader-line {
    fill: none;
    stroke: var(--dl-emerald);
    stroke-width: 1.5;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    opacity: 0.65;
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-exploded-telemetry-layer.is-active .dl-leader-line {
    stroke-dashoffset: 0;
}

.dl-target-dot {
    fill: var(--dl-emerald);
}

.dl-target-ring {
    fill: none;
    stroke: var(--dl-emerald);
    stroke-width: 1.4;
    animation: dlPulseRing 2.4s infinite ease-out;
}

@keyframes dlPulseRing {
    0% { r: 4px; opacity: 0.85; }
    100% { r: 16px; opacity: 0; }
}

/* Frosted White Quartz Callout Cards */
.dl-callout-node {
    position: absolute;
    width: 285px;
    padding: 13px 17px;
    background: var(--dl-glass-strong);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--dl-border);
    border-right: 3px solid var(--dl-emerald);
    border-radius: 12px;
    box-shadow: var(--dl-shadow-md);
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(12px);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-callout-node.is-left {
    border-right: 1px solid var(--dl-border);
    border-left: 3px solid var(--dl-ink);
}

.dl-exploded-telemetry-layer.is-active .dl-callout-node {
    transform: translateY(0);
    opacity: 1;
}

.dl-callout-node:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: var(--dl-shadow-lg);
    border-color: var(--dl-emerald);
}

.dl-callout-code {
    font-family: var(--dl-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--dl-emerald);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    direction: ltr;
}

.dl-callout-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--dl-ink);
    margin-bottom: 3px;
}

.dl-callout-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--dl-slate);
}

/* Layer 5: Act 03 Real 4-Pillar Spec Bar */
.dl-spec-pillars-bar {
    position: absolute;
    top: 96px;
    left: 50%;
    transform: translateX(-50%) translateY(-14px);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 32px;
    background: var(--dl-glass-strong);
    backdrop-filter: blur(24px);
    border: 1px solid var(--dl-border);
    border-radius: 999px;
    box-shadow: var(--dl-shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-spec-pillars-bar.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dl-spec-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
}

.dl-spec-pillar-val {
    font-size: 17px;
    font-weight: 900;
    color: var(--dl-emerald);
}

.dl-spec-pillar-lbl {
    font-size: 11.5px;
    color: var(--dl-slate);
    font-weight: 500;
}

.dl-spec-sep {
    width: 1px;
    height: 28px;
    background: var(--dl-border);
}

/* Layer 6: Act 04 Real Interactive DMatrix™ Notebook & SMART NEWYES App Deck */
.dl-live-studio-deck {
    position: absolute;
    left: 4.5vw;
    top: 52%;
    transform: translateY(-50%) translateX(-30px);
    width: min(520px, 45vw);
    z-index: 20;
    background: var(--dl-glass-strong);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--dl-border-strong);
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: var(--dl-shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-live-studio-deck.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.dl-studio-deck-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dl-border);
}

.dl-app-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-app-brand img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.dl-app-brand strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--dl-ink);
}

.dl-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--dl-emerald);
    background: var(--dl-emerald-tint);
    padding: 4px 10px;
    border-radius: 99px;
}

.dl-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dl-emerald);
}

/* Real Lined DMatrix™ Paper Pad with Printed Control Buttons at Bottom */
.dl-real-paper-sheet {
    position: relative;
    width: 100%;
    height: 195px;
    border-radius: 14px;
    background-color: #FAF9F5;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 25px,
        rgba(20, 20, 26, 0.08) 25px,
        rgba(20, 20, 26, 0.08) 26px
    );
    border: 1px solid rgba(20, 20, 26, 0.14);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    margin-bottom: 12px;
}

/* Spiral holes along the right edge (RTL Hebrew opening right-to-left!) */
.dl-paper-spiral-right {
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 8px;
    width: 10px;
    background-image: radial-gradient(circle, #8E939E 3px, transparent 3.5px);
    background-size: 10px 18px;
    pointer-events: none;
    opacity: 0.65;
}

#dl-paper-draw-canvas {
    width: 100%;
    height: 100%;
    cursor: crosshair;
    display: block;
}

/* Real Printed Paper Control Icons at the Bottom of the DMatrix™ Sheet */
.dl-printed-paper-bar {
    position: absolute;
    bottom: 8px;
    left: 12px;
    right: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.dl-paper-icon-btn {
    appearance: none;
    border: 1px solid rgba(20, 20, 26, 0.22);
    background: rgba(255, 255, 255, 0.88);
    color: var(--dl-slate);
    font-family: var(--dl-font-en);
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dl-paper-icon-btn:hover,
.dl-paper-icon-btn.is-active {
    background: var(--dl-ink);
    color: #FFF;
    border-color: var(--dl-ink);
}

.dl-ocr-result-box {
    background: var(--dl-studio-light);
    border: 1px solid var(--dl-border);
    border-radius: 12px;
    padding: 12px 14px;
}

.dl-ocr-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--dl-emerald);
}

.dl-export-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dl-export-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dl-slate);
    background: #FFF;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--dl-border);
}

.dl-export-badge img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.dl-ocr-output-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--dl-ink);
    line-height: 1.5;
}

/* ==========================================================================
   3. PERIMETER EDITORIAL STORY CAPTION & TELEMETRY RING
   ========================================================================== */
.dl-story-caption-dock {
    position: absolute;
    bottom: 34px;
    right: 42px;
    z-index: 25;
    max-width: 490px;
    pointer-events: none;
}

.dl-story-card {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: var(--dl-glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--dl-border);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: var(--dl-shadow-md);
    pointer-events: auto;
    animation: dlStoryIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dl-story-card.is-active {
    display: flex;
}

@keyframes dlStoryIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.dl-story-eyebrow {
    font-family: var(--dl-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--dl-emerald);
    text-transform: uppercase;
    direction: ltr;
}

.dl-story-title {
    font-size: clamp(22px, 2.3vw, 31px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dl-ink);
}

.dl-story-title span {
    color: var(--dl-emerald);
}

.dl-story-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--dl-slate);
}

.dl-story-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* Bottom-Left Scroll Progress Indicator */
.dl-telemetry-corner {
    position: absolute;
    bottom: 34px;
    left: 42px;
    z-index: 22;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--dl-glass);
    backdrop-filter: blur(18px);
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--dl-border);
    box-shadow: var(--dl-shadow-sm);
    direction: ltr;
    font-family: var(--dl-font-mono);
}

.dl-scroll-progress-ring {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-scroll-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dl-ring-bg {
    fill: none;
    stroke: rgba(20, 20, 22, 0.1);
    stroke-width: 2.5;
}

.dl-ring-fill {
    fill: none;
    stroke: var(--dl-emerald);
    stroke-width: 2.8;
    stroke-dasharray: 113.1;
    stroke-dashoffset: 113.1;
    transition: stroke-dashoffset 0.1s linear;
}

.dl-ring-pct {
    position: absolute;
    font-size: 10px;
    font-weight: 800;
    color: var(--dl-ink);
}

.dl-telemetry-readout {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    color: var(--dl-slate);
}

.dl-telemetry-readout strong {
    color: var(--dl-ink);
    font-size: 11px;
}

/* ==========================================================================
   4. ACT 05: EXACT KIT CONTENTS & OFFICIAL DAYLIGHT STOREFRONT
   ========================================================================== */
.dl-atelier-world {
    position: relative;
    z-index: 30;
    background: linear-gradient(180deg, var(--dl-studio-bg) 0%, #F7F8FA 14%, #FFFFFF 100%);
    padding: 100px 5vw 120px;
    border-top: 1px solid var(--dl-border);
}

.dl-container {
    max-width: 1380px;
    margin: 0 auto;
}

.dl-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 52px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dl-border);
}

.dl-section-eyebrow {
    font-family: var(--dl-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--dl-emerald);
    text-transform: uppercase;
    direction: ltr;
    display: block;
    margin-bottom: 8px;
}

.dl-section-title {
    font-size: clamp(30px, 3.8vw, 52px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--dl-ink);
}

.dl-section-title span {
    color: var(--dl-emerald);
}

.dl-section-sub {
    max-width: 460px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--dl-slate);
}

/* Exact Kit Contents Showcase (Real Video + Real Photos + 5-Item Table) */
.dl-kit-showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: start;
    margin-bottom: 110px;
}

.dl-kit-media-card {
    background: #FFFFFF;
    border: 1px solid var(--dl-border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--dl-shadow-md);
}

.dl-kit-viewport {
    width: 100%;
    height: 410px;
    border-radius: 16px;
    background: #F3F5F8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.dl-kit-viewport video,
.dl-kit-viewport img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dl-kit-switcher {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dl-kit-switch-btn {
    flex: 1;
    appearance: none;
    border: 1px solid var(--dl-border);
    background: var(--dl-studio-light);
    color: var(--dl-slate);
    font-family: var(--dl-font-he);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dl-kit-switch-btn.is-active,
.dl-kit-switch-btn:hover {
    background: var(--dl-ink);
    color: #FFFFFF;
    border-color: var(--dl-ink);
}

/* Authentic 5-Item Specification Table */
.dl-contents-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dl-content-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid var(--dl-border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--dl-shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dl-content-row:hover {
    transform: translateX(-4px);
    border-color: var(--dl-emerald);
}

.dl-content-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--dl-emerald-tint);
    color: var(--dl-emerald);
    font-family: var(--dl-font-mono);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-content-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dl-ink);
    margin-bottom: 4px;
}

.dl-content-info p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--dl-slate);
}

.dl-content-qty {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--dl-emerald);
    background: var(--dl-emerald-tint);
    padding: 5px 12px;
    border-radius: 99px;
    white-space: nowrap;
}

.dl-erasable-callout {
    margin-top: 16px;
    background: #FAF8F3;
    border: 1px solid rgba(184, 150, 90, 0.35);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    color: var(--dl-ink-soft);
}

/* 3 Flagship Purchase Options */
.dl-editions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 110px;
}

.dl-edition-card {
    background: #FFFFFF;
    border: 1px solid var(--dl-border);
    border-radius: 24px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--dl-shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-edition-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dl-shadow-lg);
    border-color: var(--dl-border-strong);
}

.dl-edition-card.is-featured {
    border: 2px solid var(--dl-emerald);
    box-shadow: var(--dl-shadow-lg);
}

.dl-edition-tag {
    display: inline-flex;
    width: fit-content;
    font-family: var(--dl-font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    background: var(--dl-studio-light);
    color: var(--dl-slate);
    margin-bottom: 16px;
}

.dl-edition-card.is-featured .dl-edition-tag {
    background: var(--dl-emerald);
    color: #FFFFFF;
}

.dl-edition-name {
    font-size: 25px;
    font-weight: 900;
    color: var(--dl-ink);
    margin-bottom: 8px;
}

.dl-edition-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--dl-slate);
    margin-bottom: 22px;
}

.dl-edition-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dl-border);
}

.dl-price-main {
    font-family: var(--dl-font-en);
    font-size: 40px;
    font-weight: 900;
    color: var(--dl-ink);
    line-height: 1;
}

body.is-sale-active .dl-price-main.dl-sale-only {
    color: var(--dl-emerald);
}

.dl-price-strike {
    font-size: 18px;
    color: var(--dl-muted);
    text-decoration: line-through;
}

.dl-sale-badge-inline {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--dl-gold-deep);
    background: var(--dl-gold-tint);
    padding: 3px 10px;
    border-radius: 99px;
    margin-right: auto;
}

.dl-edition-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 22px 0 30px;
}

.dl-edition-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--dl-ink-soft);
    line-height: 1.45;
}

.dl-edition-perks li::before {
    content: '✓';
    color: var(--dl-emerald);
    font-weight: 900;
}

.dl-edition-btn {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: 1px solid var(--dl-ink);
    background: transparent;
    color: var(--dl-ink);
    font-family: var(--dl-font-he);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dl-edition-card.is-featured .dl-edition-btn,
.dl-edition-btn:hover {
    background: var(--dl-ink);
    color: #FFFFFF;
}

.dl-edition-card.is-featured .dl-edition-btn:hover {
    background: var(--dl-emerald);
    border-color: var(--dl-emerald);
}

/* Official WooCommerce Product Catalog Grid */
.dl-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dl-filter-pill {
    appearance: none;
    border: 1px solid var(--dl-border);
    background: #FFFFFF;
    color: var(--dl-slate);
    font-family: var(--dl-font-he);
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dl-filter-pill:hover {
    border-color: var(--dl-ink);
    color: var(--dl-ink);
}

.dl-filter-pill.is-active {
    background: var(--dl-ink);
    color: #FFFFFF;
    border-color: var(--dl-ink);
}

.dl-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 24px;
}

.dl-product-card {
    background: #FFFFFF;
    border: 1px solid var(--dl-border);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--dl-shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dl-shadow-md);
    border-color: var(--dl-border-strong);
}

.dl-product-stage {
    position: relative;
    height: 220px;
    border-radius: 14px;
    background: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    margin-bottom: 18px;
    overflow: hidden;
}

.dl-product-stage img {
    max-width: 86%;
    max-height: 86%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-product-card:hover .dl-product-stage img {
    transform: scale(1.06);
}

.dl-product-sale-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--dl-gold);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
}

.dl-product-cat {
    font-family: var(--dl-font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--dl-emerald);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.dl-product-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--dl-ink);
    line-height: 1.38;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
}

.dl-product-title:hover {
    color: var(--dl-emerald);
}

.dl-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--dl-border);
}

.dl-prod-price-reg {
    font-family: var(--dl-font-en);
    font-size: 21px;
    font-weight: 900;
    color: var(--dl-ink);
}

.dl-prod-price-sale {
    font-family: var(--dl-font-en);
    font-size: 21px;
    font-weight: 900;
    color: var(--dl-emerald);
}

.dl-prod-price-old {
    font-size: 13px;
    color: var(--dl-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.dl-add-btn {
    appearance: none;
    border: 1px solid var(--dl-border-strong);
    background: var(--dl-studio-light);
    color: var(--dl-ink);
    font-family: var(--dl-font-he);
    font-size: 13px;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dl-add-btn:hover {
    background: var(--dl-ink);
    color: #FFFFFF;
    border-color: var(--dl-ink);
}

/* ==========================================================================
   5. SLIDE-OVER DAYLIGHT CART DRAWER & FLOATING 1-CLICK ADMIN BAR
   ========================================================================== */
.dl-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 26, 0.45);
    backdrop-filter: blur(6px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dl-cart-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.dl-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: #FFFFFF;
    border-right: 1px solid var(--dl-border);
    z-index: 1250;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 24px 0 80px rgba(20, 20, 26, 0.2);
}

.dl-cart-drawer.is-open {
    transform: translateX(0);
}

.dl-cart-head {
    padding: 22px 26px;
    border-bottom: 1px solid var(--dl-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dl-cart-head h3 {
    font-size: 19px;
    font-weight: 900;
    color: var(--dl-ink);
}

.dl-cart-close {
    appearance: none;
    border: 1px solid var(--dl-border);
    background: var(--dl-studio-light);
    color: var(--dl-ink);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.dl-cart-body {
    flex: 1;
    padding: 24px 26px;
    overflow-y: auto;
}

.dl-cart-foot {
    padding: 20px 26px;
    border-top: 1px solid var(--dl-border);
    background: var(--dl-studio-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-checkout-btn {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background: var(--dl-emerald);
    color: #FFFFFF;
    font-size: 15.5px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Staging Control Dock (1-Click Sale Mode Toggle + Edition Switcher) */
.dl-staging-dock {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(20, 20, 26, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    font-size: 12px;
}

.dl-sale-toggle-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: var(--dl-font-he);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
}

.dl-sale-toggle-btn.is-on {
    background: linear-gradient(135deg, #D4AF37, #B8965A);
    color: #141416;
    border-color: transparent;
    font-weight: 800;
}

.dl-dock-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dl-dock-link:hover,
.dl-dock-link.is-current {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
}

/* Footer */
.dl-footer {
    margin-top: 90px;
    padding-top: 34px;
    border-top: 1px solid var(--dl-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--dl-slate);
    font-size: 13.5px;
}

.dl-footer a {
    color: var(--dl-ink);
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
}

@media (max-width: 1100px) {
    .dl-chapter-nav { display: none; }
    .dl-kit-showcase-grid, .dl-editions-grid { grid-template-columns: 1fr; }
    .dl-callout-node { width: 220px; padding: 10px 12px; }
    .dl-live-studio-deck {
        left: 4vw;
        right: 4vw;
        width: auto;
        top: auto;
        bottom: 24px;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .dl-hud-header { padding: 0 16px; }
    .dl-callout-node, .dl-telemetry-corner { display: none; }
    .dl-story-caption-dock { right: 16px; left: 16px; bottom: 72px; }
}
