/* ==========================================================================
   NHÀ XANH — 3D INTERACTIVE EXPERIENCE & SPATIAL UI SYSTEM
   Includes:
   1. 3D Card Tilt, Parallax Z-Layers & Studio Specular Glare
   2. 3D Atmospheric Botanical Particles (Floating Petals & Leaves)
   3. 3D Bouquet & Planter Customizer Studio
   4. 3D Room & Sunlight Visualizer (Time-of-day Shadow & Raycasting)
   5. 3D Plant & Floral Finder Quiz (3D Flip Deck)
   6. 3D Digital Care Passport (Two-sided Flip Card + .ics Calendar)
   7. 3D Folding Greeting Card & Embossed Wax Seal
   ========================================================================== */

:root {
    --nx-emerald: var(--color-green, #0D4B28);
    --nx-emerald-deep: var(--color-green-dark, #08331B);
    --nx-sage: #6C7E36;
    --nx-coral: var(--color-orange, #E1724F);
    --nx-rose: var(--color-orange-light, #F69680);
    --nx-cream: var(--color-cream, #FAF5EC);
    --nx-paper: var(--color-cream-dark, #F4EFE4);
    --nx-gold: #D49B4B;
}

/* --------------------------------------------------------------------------
   1. GLOBAL 3D TILT, GLARE & Z-DEPTH ELEVATION
   -------------------------------------------------------------------------- */
.nx-tilt-card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.nx-tilt-card.is-tilting {
    transition: transform 0.06s linear;
    z-index: 5;
}

.nx-tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 252, 245, 0.42) 0%,
        rgba(255, 252, 245, 0.12) 35%,
        transparent 70%
    );
    mix-blend-mode: overlay;
}

.nx-tilt-card.is-tilting .nx-tilt-glare {
    opacity: 1;
}

.nx-tilt-card .product-card-img-wrap img,
.nx-tilt-card .storefront-specimen-viewport img {
    transform: translateZ(26px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-tilt-card.is-tilting .product-card-img-wrap img {
    transform: translateZ(34px) scale(1.03);
}

/* Quick 3D Experience Ribbon under Hero */
.nx-3d-quickbar {
    background: linear-gradient(90deg, #0D4B28 0%, #1E3A2B 55%, #2B4C38 100%);
    color: #FAF5EC;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nx-3d-quickbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.nx-3d-quickbar-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F69680;
}

.nx-3d-quickbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nx-3d-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(250, 245, 236, 0.1);
    border: 1px solid rgba(250, 245, 236, 0.22);
    color: #FAF5EC;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nx-3d-pill-link:hover {
    background: #E1724F;
    border-color: #E1724F;
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. 3D ATMOSPHERIC BOTANICAL PARTICLES & FLOATING TOGGLE
   -------------------------------------------------------------------------- */
.nx-3d-particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 35;
    overflow: hidden;
    perspective: 900px;
}

.nx-3d-particles-canvas.is-paused {
    display: none;
}

.nx-floating-petal {
    position: absolute;
    top: -40px;
    pointer-events: none;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0.68;
    filter: drop-shadow(0 6px 10px rgba(13, 75, 40, 0.12));
}

.nx-atmosphere-toggle {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(13, 75, 40, 0.92);
    color: #FAF5EC;
    border: 1px solid rgba(250, 245, 236, 0.24);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(13, 75, 40, 0.22);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.nx-atmosphere-toggle:hover {
    background: #E1724F;
    transform: translateY(-2px);
}

.nx-atmosphere-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8CE99A;
    box-shadow: 0 0 8px #8CE99A;
}

.nx-atmosphere-toggle[aria-pressed="false"] .nx-atmosphere-dot {
    background: #FAA28E;
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   3. XƯỞNG PHỐI HOA & CHẬU CÂY 3D TƯƠNG TÁC (3D BOUQUET & PLANTER STUDIO)
   -------------------------------------------------------------------------- */
.nx-studio-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #F6F1E6 0%, #EFE8D8 100%);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    position: relative;
    overflow: hidden;
}

.nx-studio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .nx-studio-grid {
        grid-template-columns: 1.08fr 1fr;
        gap: 44px;
    }
}

.nx-studio-viewport-card {
    background: radial-gradient(circle at 50% 32%, #FFFFFF 0%, #F4EDE0 68%, #E7DEC9 100%);
    border: 1px solid rgba(13, 75, 40, 0.16);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 24px 56px rgba(13, 75, 40, 0.08);
    overflow: hidden;
}

.nx-studio-viewport-card[data-lighting="morning"] {
    background: radial-gradient(circle at 30% 25%, #FFFDF9 0%, #F2ECE1 65%, #E1D8C5 100%);
}
.nx-studio-viewport-card[data-lighting="noon"] {
    background: radial-gradient(circle at 50% 15%, #FFFFFF 0%, #F7F2E7 68%, #E6DEC8 100%);
}
.nx-studio-viewport-card[data-lighting="sunset"] {
    background: radial-gradient(circle at 75% 30%, #FFF3E6 0%, #F3E2D0 62%, #DFC8B0 100%);
}

.nx-studio-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 3;
}

.nx-studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(13, 75, 40, 0.09);
    color: var(--nx-emerald);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nx-studio-light-pills {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 75, 40, 0.14);
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
}

.nx-light-btn {
    border: 0;
    background: transparent;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-ink-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nx-light-btn.active {
    background: var(--nx-emerald);
    color: #fff;
}

/* 3D Turntable Stage */
.nx-3d-stage-wrap {
    perspective: 1200px;
    height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    position: relative;
}

.nx-3d-stage-wrap:active {
    cursor: grabbing;
}

.nx-3d-turntable {
    width: 320px;
    height: 360px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--studio-pitch, -6deg)) rotateY(var(--studio-yaw, 12deg));
    transition: transform 0.15s ease-out;
}

/* Sunbeam overlay inside 3D studio */
.nx-studio-sunbeam {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 236, 199, 0.36) 0%, rgba(255, 255, 255, 0) 58%);
    transform: translateZ(80px);
    mix-blend-mode: soft-light;
}

/* 3D Wooden/Stone Pedestal Disc */
.nx-3d-plinth-disc {
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 240px;
    height: 58px;
    margin-left: -120px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #D8CCB8 0%, #B8A88E 72%, #938268 100%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 34px rgba(30, 42, 28, 0.24), inset 0 4px 10px rgba(255, 255, 255, 0.5);
    transform: translateZ(-10px) rotateX(68deg);
}

/* Multi-layer Z-depth Botanical Composition */
.nx-3d-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.nx-3d-layer-aura {
    transform: translateZ(-45px);
}

.nx-3d-layer-foliage {
    transform: translateZ(8px) translateY(-28px);
}

.nx-3d-layer-blooms {
    transform: translateZ(38px) translateY(-42px);
}

.nx-3d-layer-vessel {
    transform: translateZ(24px) translateY(62px);
}

.nx-3d-layer-badge {
    transform: translateZ(68px) translate(88px, 38px);
}

.nx-floating-price-tag {
    background: rgba(13, 75, 40, 0.94);
    color: #FAF5EC;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(250, 245, 236, 0.3);
    box-shadow: 0 12px 24px rgba(13, 75, 40, 0.24);
    font-size: 12px;
    line-height: 1.35;
}

.nx-floating-price-tag strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 16px;
    color: #F69680;
}

/* Turntable Rotation Slider Controls */
.nx-studio-rot-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(13, 75, 40, 0.12);
    border-radius: 14px;
    padding: 12px 16px;
    z-index: 3;
}

@media (max-width: 576px) {
    .nx-studio-rot-controls {
        grid-template-columns: 1fr;
    }
}

.nx-rot-slider-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nx-rot-slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--nx-emerald);
}

.nx-rot-slider-group input[type="range"] {
    width: 100%;
    accent-color: var(--nx-emerald);
    cursor: pointer;
}

/* Right Column: Studio Configurator Controls */
.nx-studio-controls-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 32px rgba(13, 75, 40, 0.04);
}

.nx-config-step {
    margin-bottom: 20px;
}

.nx-config-step-title {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nx-emerald);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.nx-config-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nx-config-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid var(--color-line);
    background: #FAF8F3;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}

.nx-config-btn:hover {
    border-color: var(--nx-sage);
    background: #fff;
}

.nx-config-btn.active {
    border-color: var(--nx-emerald);
    background: rgba(13, 75, 40, 0.06);
    box-shadow: 0 4px 12px rgba(13, 75, 40, 0.08);
}

.nx-config-swatch {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.nx-config-meta {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.25;
}

.nx-config-meta small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-ink-muted);
    margin-top: 2px;
}

.nx-studio-summary-bar {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nx-studio-total-price {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--nx-emerald);
}

/* --------------------------------------------------------------------------
   4. TRẮC NGHIỆM 3D "BẮT MẠCH KHÔNG GIAN XANH" (3D FLIP PLANT FINDER)
   -------------------------------------------------------------------------- */
.nx-quiz-section {
    padding: 72px 0;
    background: var(--color-cream-light);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.nx-quiz-stage {
    perspective: 1400px;
    max-width: 920px;
    margin: 0 auto;
}

.nx-quiz-card-3d {
    background: var(--color-white);
    border: 1px solid var(--color-line-dark);
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.nx-quiz-card-3d.is-flipping {
    transform: rotateY(90deg) scale(0.96);
    opacity: 0.3;
}

.nx-quiz-progress {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.nx-quiz-step-pill {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: var(--color-cream-dark);
    overflow: hidden;
}

.nx-quiz-step-pill.active {
    background: var(--nx-emerald);
}

.nx-quiz-step-pill.done {
    background: var(--nx-sage);
}

.nx-quiz-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.nx-quiz-choice-btn {
    background: var(--color-cream-light);
    border: 1.5px solid var(--color-line-dark);
    border-radius: 16px;
    padding: 22px 20px;
    text-align: left;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-quiz-choice-btn:hover {
    border-color: var(--nx-emerald);
    background: var(--color-cream-dark);
    transform: translateY(-4px) rotateX(4deg);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.nx-quiz-choice-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--nx-coral);
    margin-bottom: 8px;
}

.nx-quiz-choice-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--nx-emerald);
    margin-bottom: 6px;
}

.nx-quiz-choice-desc {
    font-size: 13.5px;
    color: var(--color-ink-muted);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   5. ƯỚM THỬ CÂY & HOA VÀO PHÒNG 3D (3D ROOM & SUNLIGHT VISUALIZER)
   -------------------------------------------------------------------------- */
.nx-room-visualizer-section {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--color-line);
}

.nx-room-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .nx-room-grid {
        grid-template-columns: 1.35fr 1fr;
    }
}

.nx-room-stage-3d {
    position: relative;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    perspective: 1100px;
    border: 1px solid rgba(13, 75, 40, 0.16);
    background: #E9E1D2;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.08), 0 18px 40px rgba(13, 75, 40, 0.07);
}

/* 3D Back Wall & Floor Planes */
.nx-room-wall {
    position: absolute;
    inset: 0 0 34% 0;
    background: var(--room-wall-bg, linear-gradient(180deg, #F3EDE0 0%, #E2D8C3 100%));
    transition: background 0.4s ease, filter 0.3s ease;
}

.nx-room-floor {
    position: absolute;
    inset: 66% -10% -10% -10%;
    background: var(--room-floor-bg, linear-gradient(180deg, #C7A882 0%, #A6845B 100%));
    transform-origin: top center;
    transform: rotateX(52deg);
    border-top: 3px solid rgba(90, 68, 42, 0.28);
    transition: background 0.4s ease, filter 0.3s ease;
}

/* Window Light Ray Beam */
.nx-room-sunray {
    position: absolute;
    top: -10%;
    left: var(--sun-ray-left, 20%);
    width: 65%;
    height: 120%;
    background: linear-gradient(
        var(--sun-ray-angle, 118deg),
        rgba(255, 244, 214, var(--sun-intensity, 0.55)) 0%,
        rgba(255, 232, 185, 0.18) 55%,
        transparent 85%
    );
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: all 0.2s ease;
}

/* Dynamic 3D Cast Shadow on Table/Floor */
.nx-room-cast-shadow {
    position: absolute;
    bottom: 16%;
    left: 50%;
    width: 170px;
    height: 44px;
    margin-left: -85px;
    border-radius: 50%;
    background: rgba(20, 28, 18, var(--shadow-alpha, 0.36));
    filter: blur(var(--shadow-blur, 10px));
    transform-origin: center center;
    transform: translateX(var(--shadow-offset-x, 28px)) scaleX(var(--shadow-scale-x, 1.25)) skewX(var(--shadow-skew, 24deg));
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

/* 3D Specimen Inside Room */
.nx-room-plant-holder {
    position: absolute;
    bottom: 17%;
    left: 50%;
    transform: translateX(-50%) scale(var(--plant-scale, 1));
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
    z-index: 4;
}

.nx-room-plant-card {
    width: 220px;
    height: 250px;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    background: #FAF5EC;
    position: relative;
}

.nx-room-plant-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reference Scale Prop (Teacup / Height Ruler) */
.nx-room-scale-ruler {
    position: absolute;
    left: -58px;
    bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 8px;
    border-right: 1.5px dashed rgba(13, 75, 40, 0.55);
    font-size: 11px;
    font-weight: 700;
    color: var(--nx-emerald);
}

/* --------------------------------------------------------------------------
   6. HỘ CHIẾU CHĂM CÂY SỐ 3D (2-SIDED 3D FLIP CARE PASSPORT)
   -------------------------------------------------------------------------- */
.nx-passport-perspective {
    perspective: 1200px;
    margin-bottom: 24px;
}

.nx-passport-flipper {
    position: relative;
    width: 100%;
    min-height: 230px;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-passport-flipper.is-flipped {
    transform: rotateY(180deg);
}

.nx-passport-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-line-dark);
    padding: 20px 22px;
    background: var(--color-white);
}

.nx-passport-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0D4B28 0%, #1D3B2A 100%);
    color: #FAF5EC;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nx-passport-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.nx-metric-chip {
    background: var(--color-cream-light);
    border: 1px solid var(--color-line-dark);
    border-radius: 10px;
    padding: 10px 12px;
}

.nx-metric-chip span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-ink-muted);
}

.nx-metric-chip strong {
    font-size: 13.5px;
    color: var(--nx-emerald);
}

/* --------------------------------------------------------------------------
   7. BÀN VIẾT THIỆP 3D LẬT MỞ & ĐÓNG DẤU SÁP (3D ENVELOPE & WAX SEAL)
   -------------------------------------------------------------------------- */
.nx-3d-envelope-stage {
    perspective: 1200px;
    position: relative;
}

.nx-3d-card-shell {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-3d-envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54%;
    background: light-dark(
        linear-gradient(180deg, #EFE5D4 0%, #E3D5BE 100%),
        linear-gradient(180deg, #272B34 0%, #1F232B 100%)
    );
    border: 1px solid var(--color-line-dark);
    border-radius: 14px 14px 90px 90px;
    transform-origin: top center;
    transform: rotateX(180deg);
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.nx-3d-card-shell.is-sealed .nx-3d-envelope-flap {
    transform: rotateX(0deg);
    opacity: 1;
    pointer-events: auto;
}

.nx-3d-card-shell.is-sealed .lomo-stationery-card {
    background: var(--color-cream-dark);
}

/* Embossed 3D Terracotta Wax Seal */
.nx-wax-seal-3d {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #EA7B58 0%, #C84D2B 65%, #8E2F15 100%);
    border: 3px solid #B54120;
    box-shadow:
        0 8px 18px rgba(80, 22, 8, 0.38),
        inset 0 3px 6px rgba(255, 210, 190, 0.45),
        inset 0 -4px 8px rgba(60, 14, 4, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFE8DC;
    font-family: var(--font-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: scale(0.4) translateZ(30px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}

.nx-3d-card-shell.is-sealed .nx-wax-seal-3d {
    transform: scale(1) translateZ(30px);
}

/* ==========================================================================
   8. LIGHT / DARK THEME TOGGLE BUTTON & VIEW TRANSITION CIRCULAR REVEAL
   ========================================================================== */

/* Dual Logo Switching (Light vs Dark) — High specificity so only ONE logo shows */
.brand-logo img.brand-logo-light {
    display: block !important;
}
.brand-logo img.brand-logo-dark {
    display: none !important;
}

/* Toggle options visibility: show "Switch to dark" when light, "Switch to light" when dark */
.nx-theme-opt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.nx-theme-opt-to-light {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) .brand-logo img.brand-logo-light {
        display: none !important;
    }
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) .brand-logo img.brand-logo-dark {
        display: block !important;
    }
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) .nx-theme-opt-to-dark {
        display: none;
    }
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) .nx-theme-opt-to-light {
        display: inline-flex;
    }
}

:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) .brand-logo img.brand-logo-light {
    display: none !important;
}
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) .brand-logo img.brand-logo-dark {
    display: block !important;
}
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) .nx-theme-opt-to-dark {
    display: none;
}
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) .nx-theme-opt-to-light {
    display: inline-flex;
}

/* Botanical Sun & Moon Pill Button */
.nx-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px 0 6px;
    border-radius: 999px;
    border: 1px solid var(--color-line-dark);
    background: light-dark(
        linear-gradient(135deg, #FFFDF8 0%, #F4EBDD 100%),
        linear-gradient(135deg, #252932 0%, #181B21 100%)
    );
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: light-dark(
        0 3px 10px rgba(38, 58, 48, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08)
    );
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.nx-theme-toggle:hover {
    border-color: var(--color-orange);
    box-shadow: light-dark(
        0 6px 16px rgba(212, 123, 97, 0.22),
        0 6px 18px rgba(140, 224, 154, 0.24)
    );
}

@media (prefers-reduced-motion: no-preference) {
    .nx-theme-toggle:hover {
        transform: translateY(-1.5px) scale(1.03);
    }
    .nx-theme-toggle:active {
        transform: scale(0.95);
    }
}

.nx-theme-icon-wrap {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: light-dark(
        radial-gradient(circle at 35% 35%, #FFE8A3 0%, #F39C42 100%),
        radial-gradient(circle at 35% 35%, #2D5A40 0%, #163022 100%)
    );
    color: light-dark(#6A3400, #A8F0B4);
    box-shadow: light-dark(
        0 2px 6px rgba(243, 156, 66, 0.35),
        0 0 10px rgba(140, 224, 154, 0.35)
    );
}

@media (prefers-reduced-motion: no-preference) {
    .nx-theme-icon-wrap svg {
        transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .nx-theme-toggle:hover .nx-icon-sun {
        transform: rotate(90deg) scale(1.12);
    }
    .nx-theme-toggle:hover .nx-icon-moon {
        transform: rotate(-22deg) scale(1.12);
    }
    .nx-theme-toggle.is-animating .nx-theme-icon-wrap svg {
        animation: nxThemeOrbSpin 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

@keyframes nxThemeOrbSpin {
    0% {
        transform: scale(0.4) rotate(-140deg);
        opacity: 0.3;
    }
    65% {
        transform: scale(1.22) rotate(18deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Circular Ripple View Transition for Theme Switching */
@media (prefers-reduced-motion: no-preference) {
    :root[data-theme-transitioning="true"]::view-transition-old(root),
    :root[data-theme-transitioning="true"]::view-transition-new(root) {
        animation: none;
        mix-blend-mode: normal;
    }

    :root[data-theme-transitioning="true"]::view-transition-old(root) {
        z-index: 1;
    }

    :root[data-theme-transitioning="true"]::view-transition-new(root) {
        z-index: 9999;
        animation: nxThemeCircularReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
}

@keyframes nxThemeCircularReveal {
    from {
        clip-path: circle(0px at var(--theme-x, 90%) var(--theme-y, 36px));
    }
    to {
        clip-path: circle(var(--theme-r, 1800px) at var(--theme-x, 90%) var(--theme-y, 36px));
    }
}

/* Floating Theme Toast Badge */
.nx-theme-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    background: light-dark(rgba(255, 253, 249, 0.96), rgba(30, 33, 40, 0.96));
    color: var(--color-ink);
    border: 1px solid var(--color-line-dark);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-theme-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Harmonized Dark Mode Surface Adaptation for Global Components */
.site-header {
    background-color: light-dark(rgba(250, 245, 236, 0.94), rgba(18, 19, 22, 0.94)) !important;
    backdrop-filter: blur(12px);
}

.product-card,
.lomo-product-card,
.home-category-card,
.admin-card,
.ncl-archival-card,
.ncl-journal-lead,
.ncl-journal-row,
.lomo-modal-card,
.form-control-lomo,
.lomo-form-input,
.lomo-form-select,
.lomo-form-textarea {
    background-color: var(--color-white);
    color: var(--color-ink);
    border-color: var(--color-line);
}

:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) [style*="background: #fff"],
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) [style*="background:#fff"],
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) [style*="background: #FFFFFF"],
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) [style*="background: #FAF5EC"],
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) [style*="background: #F3EFE4"],
:root:is(:has(> head > meta[name="color-scheme"][content="dark"]), [data-theme="dark"]) #selfReceiveAddressPrompt {
    background: var(--color-white) !important;
    color: var(--color-ink);
    border-color: var(--color-line-dark) !important;
}

@media (prefers-color-scheme: dark) {
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) [style*="background: #fff"],
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) [style*="background:#fff"],
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) [style*="background: #FFFFFF"],
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) [style*="background: #FAF5EC"],
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) [style*="background: #F3EFE4"],
    :root:not(:has(> head > meta[name="color-scheme"][content="light"])):not([data-theme="light"]) #selfReceiveAddressPrompt {
        background: var(--color-white) !important;
        color: var(--color-ink);
        border-color: var(--color-line-dark) !important;
    }
}

/* ==========================================================================
   9. EDITORIAL BLOG & PLANT CARE JOURNAL (NHÀ XANH JOURNAL)
   ========================================================================== */
.nx-journal-masthead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--color-line);
}

.nx-journal-masthead-copy {
    max-width: 720px;
}

.nx-journal-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 36px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nx-journal-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nx-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: var(--color-cream-light);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nx-cat-pill:hover {
    border-color: var(--color-green);
    color: var(--color-green);
}

.nx-cat-pill.is-active {
    background: light-dark(#1E4A22, #285640);
    border-color: light-dark(#1E4A22, #8CE09A);
    color: #FAF5EC;
}

.nx-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(128, 128, 128, 0.14);
}

.nx-cat-pill.is-active .nx-cat-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.nx-journal-search {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 360px;
    min-width: 240px;
}

.nx-journal-search-input {
    width: 100%;
    font-size: 13.5px;
    padding: 8px 14px;
}

/* Featured Article Hero Card */
.nx-featured-article-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 44px;
    box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
    .nx-featured-article-card {
        grid-template-columns: 1.08fr 1fr;
    }
}

.nx-featured-media {
    position: relative;
    display: block;
    min-height: 320px;
    overflow: hidden;
    background: var(--color-cream-light);
}

.nx-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-featured-article-card:hover .nx-featured-media img {
    transform: scale(1.04);
}

.nx-featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 28, 21, 0.84);
    color: #FAF5EC;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.nx-featured-body {
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nx-article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-ink-muted);
    margin-bottom: 10px;
}

.nx-meta-category {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-orange);
}

.nx-featured-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 2.5vw, 31px);
    line-height: 1.28;
    margin-bottom: 14px;
}

.nx-featured-title a {
    color: var(--color-green);
    text-decoration: none;
}

.nx-featured-title a:hover {
    color: var(--color-orange);
}

.nx-featured-summary {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-ink-muted);
    margin-bottom: 18px;
}

.nx-featured-takeaways {
    background: var(--color-cream-light);
    border-left: 3px solid var(--color-green);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 13.5px;
}

.nx-takeaway-heading {
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 6px;
}

.nx-featured-takeaways ul {
    margin: 0;
    padding-left: 18px;
    color: var(--color-ink);
    line-height: 1.6;
}

.nx-featured-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line);
}

/* Articles Grid & Cards */
.nx-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

.nx-article-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.nx-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-orange);
}

.nx-article-card-media {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--color-cream-light);
}

.nx-article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nx-article-card:hover .nx-article-card-media img {
    transform: scale(1.05);
}

.nx-card-readtime {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 28, 21, 0.78);
    color: #FAF5EC;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.nx-article-card-body {
    padding: 22px 24px 14px;
}

.nx-article-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.nx-article-card-title a {
    color: var(--color-green);
    text-decoration: none;
}

.nx-article-card-title a:hover {
    color: var(--color-orange);
}

.nx-article-card-excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-ink-muted);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nx-card-specs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nx-card-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-line);
    font-size: 11.5px;
    color: var(--color-ink-muted);
}

.nx-card-spec-chip strong {
    color: var(--color-ink);
}

.nx-article-card-footer {
    padding: 14px 24px 18px;
    border-top: 1px solid var(--color-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.nx-read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-green);
    text-decoration: none;
}

.nx-read-more-link:hover {
    color: var(--color-orange);
}

.nx-source-footnote {
    font-size: 11.5px;
    color: var(--color-ink-light);
    font-style: italic;
}

/* Article Detail Page & Reading Progress Bar */
.nx-reading-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 9995;
    background: transparent;
    pointer-events: none;
}

.nx-reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-green) 0%, var(--color-orange) 100%);
    transition: width 0.1s linear;
}

.nx-article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 16px;
}

@media (min-width: 992px) {
    .nx-article-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
}

.nx-article-main {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: var(--shadow-sm);
}

.nx-article-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.nx-article-read-pill {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-ink-muted);
}

.nx-article-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.25;
    color: var(--color-green);
    margin-bottom: 16px;
}

.nx-article-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-ink);
    font-weight: 500;
    margin-bottom: 24px;
}

.nx-article-byline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    margin-bottom: 28px;
}

.nx-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-green-bg);
    border: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nx-author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-ink);
}

.nx-author-date {
    font-size: 12.5px;
    color: var(--color-ink-muted);
}

.nx-article-tags-inline,
.nx-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nx-tag-chip {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-line);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-green);
}

.nx-article-hero-figure,
.nx-section-figure {
    margin: 0 0 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-cream-light);
    border: 1px solid var(--color-line);
}

.nx-article-hero-figure img,
.nx-section-figure img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.nx-article-hero-figure figcaption,
.nx-section-figure figcaption {
    padding: 12px 18px;
    font-size: 13px;
    color: var(--color-ink-muted);
    font-style: italic;
    border-top: 1px solid var(--color-line);
}

/* 4-Tile Care Specs Dashboard */
.nx-care-specs-box {
    background: var(--color-cream-light);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    margin-bottom: 28px;
}

.nx-care-specs-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-green);
    margin-bottom: 14px;
}

.nx-care-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 12px;
}

.nx-care-spec-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-care-spec-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.nx-care-spec-label {
    font-size: 11.5px;
    color: var(--color-ink-muted);
}

.nx-care-spec-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
}

/* Key Takeaways Box */
.nx-key-takeaways-box {
    background: var(--color-green-bg);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-green);
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 28px;
}

.nx-takeaways-title {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--color-green);
    margin-bottom: 12px;
}

.nx-takeaways-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--color-ink);
}

/* Pull Quote */
.nx-pullquote {
    margin: 0 0 32px 0;
    padding: 22px 28px;
    background: var(--color-cream-light);
    border-left: 4px solid var(--color-orange);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-green);
}

.nx-pullquote p {
    margin: 0;
}

/* Article Body Sections */
.nx-article-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nx-article-section {
    scroll-margin-top: 100px;
}

.nx-section-heading {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-green);
    margin-bottom: 14px;
}

.nx-section-paragraph {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-ink);
    margin-bottom: 16px;
}

.nx-section-checklist {
    margin: 14px 0 20px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--color-ink);
}

.nx-florist-tip {
    margin: 18px 0 22px;
    padding: 18px 22px;
    background: var(--color-orange-bg);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-orange);
    border-radius: 10px;
}

.nx-florist-tip-header {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-orange);
    margin-bottom: 6px;
}

.nx-florist-tip-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-ink);
}

/* Article Footer & Subtle Corner Source Attribution */
.nx-article-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
}

.nx-article-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.nx-article-source-credit {
    font-size: 12.5px;
    color: var(--color-ink-muted);
    font-style: italic;
}

.nx-article-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

/* Sticky Sidebar (Table of Contents) */
.nx-article-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nx-sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.nx-sidebar-kicker {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-orange);
    margin-bottom: 12px;
}

.nx-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nx-toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--color-ink-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nx-toc-link:hover,
.nx-toc-link.is-active {
    background: var(--color-cream-light);
    border-left-color: var(--color-green);
    color: var(--color-green);
    font-weight: 600;
}

.nx-atelier-promo-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.nx-atelier-promo-card p {
    font-size: 13.5px;
    color: var(--color-ink-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nx-related-articles-section {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--color-line);
}

