/* ========================================
   Modern Effects System - Optimized
   Pure CSS version - no PNG assets required
   All sprite images replaced with generated
   gradient / pattern layers.
   ======================================== */

/* ----------------------------------------
   RAIN
   Diagonal repeating streaks simulate falling rain
   ---------------------------------------- */

@keyframes rain {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 500px;
    }
}

.effect-rain {
    background-image:
        repeating-linear-gradient(
            70deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0.35) 1px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0) 14px
        );
    background-repeat: repeat;
    background-size: 60px 220px;
    animation: rain 0.45s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
}

/* ======================================== */

/* ----------------------------------------
   SPARKLE
   Small radial-gradient dots at varied positions/sizes
   mimic a twinkling star sprite, layered twice for
   parallax-like density.
   ---------------------------------------- */

@keyframes sparkle {
    0%, 100% {
        background-position:
            0 0, 40px 60px, 90px 20px, 140px 90px,
            20px 130px, 160px 40px, 60px 170px;
        opacity: 0.85;
    }
    50% {
        background-position:
            4px 2px, 44px 56px, 86px 24px, 144px 86px,
            16px 134px, 164px 36px, 56px 174px;
        opacity: 1;
    }
}

.effect-sparkle {
    background-image:
        radial-gradient(circle, #fff 0 1px, transparent 2px),
        radial-gradient(circle, #fff 0 1.5px, transparent 2.5px),
        radial-gradient(circle, #fff 0 1px, transparent 2px),
        radial-gradient(circle, #fff 0 2px, transparent 3px),
        radial-gradient(circle, #fff 0 1px, transparent 2px),
        radial-gradient(circle, #fff 0 1.5px, transparent 2.5px),
        radial-gradient(circle, #fff 0 1px, transparent 2px);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 2.4s ease-in-out infinite;
    will-change: background-position, opacity;
    transform: translateZ(0);
    filter: brightness(1.08) saturate(1.1);
}

/* ======================================== */

/* ----------------------------------------
   SLIDING GLASS
   Diagonal glossy light band sliding across the surface,
   built from two soft linear-gradient sheens.
   ---------------------------------------- */

@keyframes glass {
    0% {
        background-position: -150% 0, 0 0;
    }
    100% {
        background-position: 250% 0, 0 0;
    }
}

.effect-sliding-glass {
    background-image:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.55) 48%,
            rgba(255, 255, 255, 0.15) 52%,
            rgba(255, 255, 255, 0) 70%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        );
    background-repeat: no-repeat, no-repeat;
    background-size: 60% 100%, 100% 100%;
    animation: glass 3.5s ease-in-out infinite;
    will-change: background-position;
    transform: translateZ(0);
    opacity: 0.95;
    backdrop-filter: blur(2px);
}

/* ======================================== */

/* ----------------------------------------
   CONFETTI
   Small colored rectangles/dots via repeated
   radial + conic gradients standing in for
   the confetti sprite sheet.
   ---------------------------------------- */

@keyframes confetti {
    0% {
        background-position:
            0 -20px, 30px 0px, 70px -10px, 110px 10px,
            150px -30px, 20px 40px, 90px 60px;
        transform: translateZ(0) rotate(0deg);
    }
    100% {
        background-position:
            0 480px, 30px 500px, 70px 490px, 110px 510px,
            150px 470px, 20px 540px, 90px 560px;
        transform: translateZ(0) rotate(6deg);
    }
}

.effect-confetti {
    background-image:
        radial-gradient(circle, #ff5c8a 0 3px, transparent 4px),
        radial-gradient(circle, #ffd166 0 3px, transparent 4px),
        radial-gradient(circle, #06d6a0 0 3px, transparent 4px),
        radial-gradient(circle, #4cc9f0 0 3px, transparent 4px),
        radial-gradient(circle, #b892ff 0 3px, transparent 4px),
        radial-gradient(circle, #ff9f1c 0 3px, transparent 4px),
        radial-gradient(circle, #f72585 0 3px, transparent 4px);
    background-repeat: repeat;
    background-size: 180px 180px;
    animation: confetti 4s linear infinite;
    will-change: background-position, transform;
    filter: saturate(1.15) contrast(1.05);
}

/* ======================================== */

/* ----------------------------------------
   SNOW
   White circular dots of varying size, falling
   downward with a gentle horizontal drift.
   ---------------------------------------- */

@keyframes snow {
    0% {
        background-position:
            0 -30px, 60px -60px, 120px -10px,
            20px -90px, 90px -40px;
    }
    100% {
        background-position:
            30px 400px, 40px 430px, 150px 380px,
            50px 460px, 110px 410px;
    }
}

.effect-snow {
    background-image:
        radial-gradient(circle, #ffffff 0 2px, transparent 3px),
        radial-gradient(circle, #ffffff 0 1.5px, transparent 2.5px),
        radial-gradient(circle, #ffffff 0 2.5px, transparent 3.5px),
        radial-gradient(circle, #ffffff 0 1px, transparent 2px),
        radial-gradient(circle, #ffffff 0 2px, transparent 3px);
    background-repeat: repeat;
    background-size: 220px 220px;
    animation: snow 6s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
    filter: brightness(1.05);
}

/* =========================================================
   Ultra-Smooth Hardware Accelerated Slider Optimizations
   ========================================================= */
.slider-wrapper,
.slider,
.tvdipe-display-area {
    position: relative;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.tvdiper-slider-next-pre {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

.tvdiper-slider-next-pre > * {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform;
}

.slider.is-dragging,
.slider.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* ==========================================================================
   TVDTHEME LUXURY SLIDER TRANSITION ENGINE & CHOREOGRAPHY
   ========================================================================== */

/* 1. Cross-fade mode with silky smooth cross-dissolve */
.slider-type-fade .tvdiper-slider-next-pre {
    transform: none !important;
    will-change: auto !important;
}

.slider-type-fade .tvdiper-slider-next-pre > * {
    opacity: 0 !important;
    z-index: 1 !important;
    left: 0px !important;
    top: 0px !important;
    position: absolute !important;
    width: 100% !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: opacity;
}

.slider-type-fade .tvdiper-slider-next-pre > .select-true {
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
}

/* ==========================================================================
   1.5. 3D Book Page Flip Mode (Default Luxury Experience)
   ========================================================================== */
.slider-style-book,
.slider-type-book {
    perspective: 2200px !important;
    position: relative !important;
    border-radius: 14px !important;
}

.slider-wrapper:has(.slider-style-book),
.slider-wrapper:has(.slider-type-book),
.slider-wrapper.slider-type-book,
.slider-wrapper.slider-style-book {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.4),
        2px 1px 0 0 rgba(255, 255, 255, 0.08),
        4px 3px 0 0 rgba(15, 23, 42, 0.3),
        7px 5px 0 0 rgba(15, 23, 42, 0.15) !important;
}

.slider-style-book .tvdipe-display-area,
.slider-type-book .tvdipe-display-area {
    overflow: hidden !important;
    border-radius: 14px !important;
    position: relative !important;
}

/* Book Spine shadow along left binding (Book mode only) */
.slider-style-book .tvdipe-display-area::before,
.slider-type-book .tvdipe-display-area::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 30px !important;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%) !important;
    z-index: 20 !important;
    pointer-events: none !important;
    border-radius: 14px 0 0 14px !important;
}

.slider-style-book .tvdiper-slider-next-pre,
.slider-type-book .tvdiper-slider-next-pre {
    transform: none !important;
    perspective: 2200px !important;
    perspective-origin: 0% 50% !important;
    transform-style: preserve-3d !important;
    position: relative !important;
    width: 100% !important;
}

.slider-style-book .tvdiper-slider-next-pre > *,
.slider-type-book .tvdiper-slider-next-pre > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transform-origin: 0% 50% !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: transform 0.95s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.75s ease, filter 0.75s ease !important;
    will-change: transform, opacity !important;
}

/* Inactive slide (folded away like a turned page) */
.slider-style-book .tvdiper-slider-next-pre > :not(.select-true),
.slider-type-book .tvdiper-slider-next-pre > :not(.select-true) {
    transform: rotateY(-88deg) scale(0.96) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    filter: brightness(0.6) !important;
}

/* Active slide (open flat with realistic spine depth & soft outer rim shadow) */
.slider-style-book .tvdiper-slider-next-pre > .select-true,
.slider-type-book .tvdiper-slider-next-pre > .select-true {
    transform: rotateY(0deg) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
    filter: brightness(1) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), inset 20px 0 32px -10px rgba(0, 0, 0, 0.4), inset -10px 0 18px -10px rgba(0, 0, 0, 0.2) !important;
}

.slider-style-book .banner-layers,
.slider-type-book .banner-layers {
    position: relative !important;
    z-index: 10 !important;
}

/* ==========================================================================
   1.6. 3D Card Flip Mode
   ========================================================================== */
.slider-style-flip,
.slider-type-flip {
    perspective: 2000px !important;
    position: relative !important;
    border-radius: 14px !important;
}

.slider-style-flip .tvdipe-display-area,
.slider-type-flip .tvdipe-display-area {
    overflow: hidden !important;
    border-radius: 14px !important;
    position: relative !important;
}

.slider-style-flip .tvdiper-slider-next-pre,
.slider-type-flip .tvdiper-slider-next-pre {
    transform: none !important;
    perspective: 2000px !important;
    transform-style: preserve-3d !important;
    position: relative !important;
    width: 100% !important;
}

.slider-style-flip .tvdiper-slider-next-pre > *,
.slider-type-flip .tvdiper-slider-next-pre > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transform-origin: 50% 50% !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.65s ease, filter 0.65s ease !important;
    will-change: transform, opacity !important;
}

.slider-style-flip .tvdiper-slider-next-pre > :not(.select-true),
.slider-type-flip .tvdiper-slider-next-pre > :not(.select-true) {
    transform: rotateY(-88deg) scale(0.92) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    filter: brightness(0.6) !important;
}

.slider-style-flip .tvdiper-slider-next-pre > .select-true,
.slider-type-flip .tvdiper-slider-next-pre > .select-true {
    transform: rotateY(0deg) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
    filter: brightness(1) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
}

.slider-style-flip .banner-layers,
.slider-type-flip .banner-layers {
    position: relative !important;
    z-index: 10 !important;
}

/* 2. Slide mode: Smooth depth & easing transitions */
.slider .tvdiper-slider-next-pre > * {
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Inactive slide subtle depth recession and soften */
.slider:not(.slider-type-fade) .tvdiper-slider-next-pre > :not(.select-true) .banner-inner,
.slider:not(.slider-type-fade) .tvdiper-slider-next-pre > :not(.select-true) > .tvd-hero-panel__inner {
    transform: scale(0.96);
    opacity: 0.55;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active slide crisp focus & full expansion */
.slider:not(.slider-type-fade) .tvdiper-slider-next-pre > .select-true .banner-inner,
.slider:not(.slider-type-fade) .tvdiper-slider-next-pre > .select-true > .tvd-hero-panel__inner {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Cinematic Staggered Typography Reveal for Active Slide */
.slider .tvdiper-slider-next-pre > .select-true .text-box h1,
.slider .tvdiper-slider-next-pre > .select-true .text-box h2,
.slider .tvdiper-slider-next-pre > .select-true .text-box h3 {
    animation: tvdSlideTextUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.12s;
}

.slider .tvdiper-slider-next-pre > .select-true .text-box p {
    animation: tvdSlideTextUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.24s;
}

.slider .tvdiper-slider-next-pre > .select-true .text-box .button,
.slider .tvdiper-slider-next-pre > .select-true .text-box a.button {
    animation: tvdSlideTextUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.36s;
}

/* Inactive slide text state: gracefully dissolves */
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box h1,
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box h2,
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box h3,
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box p,
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box .button,
.slider .tvdiper-slider-next-pre > :not(.select-true) .text-box a.button {
    opacity: 0 !important;
    transform: translateY(16px) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
    animation: none !important;
}

@keyframes tvdSlideTextUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Modern Frosted Glass Capsule Pagination Dots */
.slider-wrapper .tvdipe-web-point {
    bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    background: rgba(15, 23, 42, 0.38) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 99px !important;
    width: fit-content !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.slider-wrapper .tvdipe-web-point .dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 99px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    margin: 0 !important;
    opacity: 0.8 !important;
    cursor: pointer !important;
}

.slider-wrapper .tvdipe-web-point .dot:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    transform: scale(1.2);
}

.slider-wrapper .tvdipe-web-point .dot.select-true {
    width: 28px !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

/* 5. Sleek Glassmorphic Navigation Buttons */
.slider-wrapper .btt-tvdipe-next-pre {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.42) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease, transform 0.25s ease !important;
    opacity: 0.85 !important;
}

.slider-wrapper .btt-tvdipe-next-pre svg path {
    fill: #ffffff !important;
}

.slider-wrapper .btt-tvdipe-next-pre:hover {
    background: rgba(34, 197, 94, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45) !important;
    filter: brightness(1.1);
    transform: translateY(-50%) scale(1.08) !important;
    opacity: 1 !important;
}

.slider-wrapper .btt-tvdipe-next-pre:active {
    filter: brightness(0.95);
    transform: translateY(-50%) scale(0.98) !important;
}

/* Responsive adjustments for tablets and phones */
@media (max-width: 850px) {
    .slider-wrapper .btt-tvdipe-next-pre {
        width: 40px !important;
        height: 40px !important;
        left: 10px !important;
    }
    .slider-wrapper .btt-tvdipe-next-pre.next {
        right: 10px !important;
        left: auto !important;
    }
    .slider-wrapper .tvdipe-web-point {
        bottom: 16px !important;
        padding: 5px 12px !important;
    }
}

@media (max-width: 600px) {
    .slider-style-book,
    .slider-style-flip,
    .slider-type-book,
    .slider-type-flip,
    .slider-wrapper:has(.slider-style-book),
    .slider-wrapper:has(.slider-style-flip),
    .slider-wrapper:has(.slider-type-book),
    .slider-wrapper:has(.slider-type-flip) {
        border-radius: 10px !important;
    }
    .slider-style-book .tvdipe-display-area,
    .slider-style-flip .tvdipe-display-area,
    .slider-type-book .tvdipe-display-area,
    .slider-type-flip .tvdipe-display-area,
    .slider-style-book .tvdiper-slider-next-pre > *,
    .slider-style-flip .tvdiper-slider-next-pre > *,
    .slider-type-book .tvdiper-slider-next-pre > *,
    .slider-type-flip .tvdiper-slider-next-pre > * {
        border-radius: 10px !important;
    }
    .slider-style-book .tvdipe-display-area::before,
    .slider-type-book .tvdipe-display-area::before {
        width: 18px !important;
        border-radius: 10px 0 0 10px !important;
    }
    .slider-wrapper .btt-tvdipe-next-pre {
        width: 34px !important;
        height: 34px !important;
        left: 6px !important;
    }
    .slider-wrapper .btt-tvdipe-next-pre.next {
        right: 6px !important;
        left: auto !important;
    }
    .slider-wrapper .tvdipe-web-point {
        bottom: 12px !important;
        padding: 4px 10px !important;
        gap: 6px !important;
    }
    .slider-wrapper .tvdipe-web-point .dot {
        width: 6px !important;
        height: 6px !important;
    }
    .slider-wrapper .tvdipe-web-point .dot.select-true {
        width: 22px !important;
    }
}

@media (max-width: 420px) {
    .slider-wrapper .btt-tvdipe-next-pre {
        width: 30px !important;
        height: 30px !important;
        left: 4px !important;
    }
    .slider-wrapper .btt-tvdipe-next-pre.next {
        right: 4px !important;
        left: auto !important;
    }
    .slider-style-book .tvdipe-display-area::before,
    .slider-type-book .tvdipe-display-area::before {
        width: 14px !important;
    }
    .slider-wrapper .tvdipe-web-point {
        bottom: 8px !important;
        padding: 3px 8px !important;
    }
}

/* ==========================================================================
   TVD ELEMENT: PANORAMA MULTI-PANEL 3D SLICES (tvdelm_panorama_slice)
   ========================================================================== */
.tvd-panorama-slice-wrapper {
  position: relative;
  width: 100%;
}

.tvd-panorama-slice,
.tvd-lotus-story {
  display: flex;
  gap: var(--panorama-gap, clamp(5px, .75vw, 12px));
  height: var(--panorama-height, clamp(340px, 35vw, 520px));
  overflow: visible;
  padding: 8px 0;
  position: relative;
  box-sizing: border-box;
}

.tvd-panorama-slice__panel,
.tvd-lotus-story__panel {
  background-image: var(--panorama-image, var(--lotus-image));
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: var(--panorama-bg-size, 500% 100%);
  flex: 1 1 0;
  min-width: 0;
  filter: saturate(1.04) contrast(1.02);
  border-radius: var(--panorama-radius, 0px);
  transition: flex-grow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s ease,
              box-shadow 0.35s ease;
  position: relative;
  will-change: transform, flex-grow;
}

/* Perspective 3D (Zigzag Accordion Slices) */
.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--1,
.tvd-lotus-story__panel--1 { clip-path: polygon(0 4%, 100% 9%, 100% 91%, 0 96%); }

.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--2,
.tvd-lotus-story__panel--2 { clip-path: polygon(0 1%, 100% 7%, 100% 93%, 0 99%); }

.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--3,
.tvd-lotus-story__panel--3 { clip-path: polygon(0 7%, 100% 1%, 100% 99%, 0 93%); }

.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--4,
.tvd-lotus-story__panel--4 { clip-path: polygon(0 7%, 100% 1%, 100% 99%, 0 93%); }

.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--5,
.tvd-lotus-story__panel--5 { clip-path: polygon(0 9%, 100% 4%, 100% 96%, 0 91%); }

.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--6 { clip-path: polygon(0 3%, 100% 8%, 100% 92%, 0 97%); }
.tvd-panorama-slice.style-perspective-3d .tvd-panorama-slice__panel--7 { clip-path: polygon(0 8%, 100% 3%, 100% 97%, 0 92%); }

/* Wave Rhythm */
.tvd-panorama-slice.style-wave .tvd-panorama-slice__panel:nth-child(odd) {
  clip-path: polygon(0 8%, 100% 2%, 100% 92%, 0 98%);
}
.tvd-panorama-slice.style-wave .tvd-panorama-slice__panel:nth-child(even) {
  clip-path: polygon(0 2%, 100% 8%, 100% 98%, 0 92%);
}

/* Slant Right */
.tvd-panorama-slice.style-slant-right .tvd-panorama-slice__panel {
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}

/* Slant Left */
.tvd-panorama-slice.style-slant-left .tvd-panorama-slice__panel {
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

/* Straight Slats */
.tvd-panorama-slice.style-straight .tvd-panorama-slice__panel {
  clip-path: none;
}

/* Hover States */
.tvd-panorama-slice.hover-expand .tvd-panorama-slice__panel:hover {
  flex-grow: 1.6;
  z-index: 3;
}
.tvd-panorama-slice.hover-lift .tvd-panorama-slice__panel:hover {
  transform: translateY(-8px);
  z-index: 3;
}
.tvd-panorama-slice.hover-zoom .tvd-panorama-slice__panel:hover {
  transform: scale(1.04);
  z-index: 3;
}
.tvd-panorama-slice.hover-brightness .tvd-panorama-slice__panel:hover {
  filter: brightness(1.15) saturate(1.1);
  z-index: 3;
}

/* Shadow Styles */
.tvd-panorama-slice.shadow-subtle .tvd-panorama-slice__panel {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.tvd-panorama-slice.shadow-soft .tvd-panorama-slice__panel {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.14);
}
.tvd-panorama-slice.shadow-deep .tvd-panorama-slice__panel {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
}
.tvd-panorama-slice.shadow-glow .tvd-panorama-slice__panel {
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

/* Responsive */
@media (max-width: 849px) {
  .tvd-panorama-slice {
    height: var(--panorama-height--md, clamp(300px, 50vw, 400px)) !important;
  }
}
@media (max-width: 549px) {
  .tvd-panorama-slice {
    gap: var(--panorama-gap--sm, 4px) !important;
    height: var(--panorama-height--sm, 300px) !important;
  }
}
.tvd-lotus-story__eyebrow {
  color: #5d765f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  margin-bottom: 12px;
}
.tvd-lotus-story__title {
  color: #174b2a;
  font-family: Roboto, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 76px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 24px;
}
.tvd-lotus-story__copy {
  color: #34463a;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  max-width: 390px;
}
.tvd-lotus-story__signature {
  border-bottom: 1px solid #9eb4a1;
  color: #31583b;
  display: inline-block;
  font-family: Roboto, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 34px);
  font-style: italic;
  margin-top: 34px;
  padding: 0 42px 8px 0;
}
@media (max-width: 849px) {
  .tvd-lotus-story { height: clamp(300px, 65vw, 440px); margin-top: 24px; }
  .tvd-lotus-story__copy { max-width: none; }
}
@media (max-width: 549px) {
  .tvd-lotus-story { gap: 4px; height: 300px; }
  .tvd-lotus-story__panel { background-size: 500% 100%; }
  .tvd-lotus-story__title { font-size: 48px; }
  .tvd-lotus-story__copy { font-size: 15px; line-height: 1.65; }
}
.tvd-nature-editorial { border-radius: 28px; box-shadow: 0 24px 60px rgba(24,59,39,.18); min-height: 460px; overflow: hidden; position: relative; }
.tvd-nature-editorial img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.tvd-nature-editorial__badge { backdrop-filter: blur(12px); background: rgba(255,255,255,.84); border-radius: 99px; bottom: 22px; color: #24472e; font-size: 11px; font-weight: 800; left: 22px; letter-spacing: .12em; padding: 10px 16px; position: absolute; }
.tvd-rice-hero { align-items: center; background-image: linear-gradient(90deg,rgba(8,13,11,.9) 0%,rgba(8,13,11,.55) 43%,rgba(8,13,11,.06) 76%),var(--rice-image); background-position: center; background-size: cover; border-radius: 28px; display: flex; min-height: clamp(520px,55vw,720px); overflow: hidden; padding: clamp(34px,7vw,90px); }
.tvd-rice-hero__content { max-width: 570px; }
.tvd-rice-hero__kicker { color: #f4c76a; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.tvd-rice-hero h2 { color: #fff; font-family: Roboto,"Times New Roman",serif; font-size: clamp(52px,7vw,94px); line-height: .94; margin: 18px 0 24px; }
.tvd-rice-hero p { color: rgba(255,255,255,.82); font-size: clamp(16px,1.5vw,20px); line-height: 1.75; max-width: 540px; }
.tvd-rice-hero__actions { margin-top: 30px; }
@media (max-width: 849px) { .tvd-nature-editorial { min-height: 360px; } .tvd-rice-hero { border-radius: 20px; min-height: 580px; } }
@media (max-width: 549px) { .tvd-nature-editorial { border-radius: 18px; min-height: 280px; } .tvd-rice-hero { background-position: 62% center; border-radius: 16px; min-height: 540px; padding: 28px 22px; } }

/* ==========================================================================
   Section preset: Interior Hero - Pham Gia (Nâng Tầm Không Gian)
   ========================================================================== */
.tvd-interior-hero-wrapper {
  background-color: #f1f3f5;
  padding: 16px;
  border-radius: 32px;
  position: relative;
  box-sizing: border-box;
}

.tvd-interior-hero {
  position: relative;
  min-height: clamp(540px, 60vw, 720px);
  background-image: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.2) 100%), var(--interior-hero-img, url('../images/section-templates/interior-pham-gia.webp'));
  background-size: cover;
  background-position: center center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 26px;
  box-sizing: border-box;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.tvd-interior-hero__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 10;
  width: 100%;
}

.tvd-interior-hero__brand-nav {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4px 14px 4px 10px;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  gap: 12px;
  height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
}

.tvd-interior-hero__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding-right: 4px;
}

.tvd-interior-hero__logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.tvd-interior-hero__logo-icon {
  width: 20px;
  height: 14px;
  fill: #b91c1c;
}

.tvd-interior-hero__logo-title {
  font-size: 12px;
  font-weight: 800;
  color: #7f1d1d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tvd-interior-hero__logo-sub {
  font-size: 8px;
  color: #64748b;
  letter-spacing: 0.3px;
}

.tvd-interior-hero__home-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #991b1b;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}
.tvd-interior-hero__home-btn:hover {
  transform: scale(1.06);
  background: #b91c1c;
}

.tvd-interior-hero__nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tvd-interior-hero__nav-links li a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.tvd-interior-hero__nav-links li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

.tvd-interior-hero__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Nav shortcode wrapper ── */
.tvd-interior-hero__nav-links-wrap {
  display: flex;
  align-items: center;
}
.tvd-interior-hero__nav-links-wrap .nav-wrapper,
.tvd-interior-hero__nav-links-wrap .nav-menu-container {
  display: flex;
  align-items: center;
}
/* Override theme nav-line/nav-horizontal styles to be flat inline */
.tvd-interior-hero__brand-nav .tvd-interior-hero__nav-links,
.tvd-interior-hero__brand-nav nav > .nav-wrapper > ul,
.tvd-interior-hero__brand-nav nav > .nav-menu-container > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.tvd-interior-hero__brand-nav nav ul li,
.tvd-interior-hero__brand-nav nav > .nav-wrapper > ul > li,
.tvd-interior-hero__brand-nav nav > .nav-menu-container > ul > li {
  margin: 0;
  padding: 0;
}
.tvd-interior-hero__brand-nav nav a,
.tvd-interior-hero__brand-nav .tvd-interior-hero__nav-links a,
.tvd-interior-hero__brand-nav nav ul li > a,
.tvd-interior-hero__brand-nav nav > .nav-wrapper > ul > li > a,
.tvd-interior-hero__brand-nav nav > .nav-menu-container > ul > li > a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 12px !important;
  border-radius: 99px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
}
.tvd-interior-hero__brand-nav nav a:hover,
.tvd-interior-hero__brand-nav .tvd-interior-hero__nav-links a:hover,
.tvd-interior-hero__brand-nav nav ul li > a:hover,
.tvd-interior-hero__brand-nav nav > .nav-wrapper > ul > li > a:hover,
.tvd-interior-hero__brand-nav nav > .nav-menu-container > ul > li > a:hover,
.tvd-interior-hero__brand-nav nav ul li.current-menu-item > a {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
}
/* Hide dropdown submenus from topbar */
.tvd-interior-hero__brand-nav nav ul ul,
.tvd-interior-hero__brand-nav nav .sub-menu,
.tvd-interior-hero__brand-nav nav .nav-dropdown,
.tvd-interior-hero__brand-nav nav ul.children {
  display: none !important;
}

.tvd-interior-hero__icon-pills {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4px 6px;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  gap: 4px;
}

/* ── Search shortcode inside hero ── */
.tvd-interior-hero__search-wrap {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}
.tvd-interior-hero__search-wrap .search-form-categories {
  display: none !important;
}
.tvd-interior-hero__search-wrap .tvdelm-search-box,
.tvd-interior-hero__search-wrap .searchform-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.tvd-interior-hero__search-wrap form {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
}
.tvd-interior-hero__search-wrap .tvd-layout-line {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
.tvd-interior-hero__search-wrap .searchform__field input[type="search"],
.tvd-interior-hero__search-wrap input[type="search"],
.tvd-interior-hero__search-wrap input[type="text"] {
  width: 0;
  padding: 0;
  opacity: 0;
  border: none;
  background: transparent;
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  font-size: 12px;
  outline: none;
  color: #0f172a;
}
.tvd-interior-hero__search-wrap:focus-within .searchform__field input[type="search"],
.tvd-interior-hero__search-wrap:focus-within input[type="search"],
.tvd-interior-hero__search-wrap:focus-within input[type="text"],
.tvd-interior-hero__search-wrap.is-open input[type="search"],
.tvd-interior-hero__search-wrap.is-open input[type="text"] {
  width: 140px;
  padding: 5px 10px;
  opacity: 1;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  background: #fff;
  margin-right: 4px;
}
.tvd-interior-hero__search-wrap button[type="submit"],
.tvd-interior-hero__search-wrap .search-submit,
.tvd-interior-hero__search-wrap .tvdelm-serch-bbt,
.tvd-interior-hero__search-wrap input[type="submit"] {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #475569 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}
.tvd-interior-hero__search-wrap button[type="submit"]:hover,
.tvd-interior-hero__search-wrap .tvdelm-serch-bbt:hover {
  background: #ffffff !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.tvd-interior-hero__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  transition: all 0.2s ease;
}
.tvd-interior-hero__icon-btn:hover {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tvd-interior-hero__cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.tvd-interior-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #0f172a;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tvd-interior-hero__cta-btn span.arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.2s ease;
}
.tvd-interior-hero__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.tvd-interior-hero__cta-btn:hover span.arrow-circle {
  transform: translateX(3px);
  background: #0f172a;
  color: #ffffff;
}

/* ==========================================================================
   Left Vertical Time & Quote Card
   ========================================================================== */
.tvd-interior-hero__ticker {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}
.tvd-interior-hero__ticker-time {
  color: #0f172a;
  font-weight: 700;
}

.tvd-interior-hero__quote-card {
  position: absolute;
  left: 45px;
  top: 48%;
  transform: translateY(-50%);
  max-width: 220px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  z-index: 6;
  animation: tvd-hero-float-quote 6s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tvd-interior-hero__quote-card:hover {
  transform: translateY(calc(-50% - 4px)) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.tvd-interior-hero__quote-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   Center Big Typography
   ========================================================================== */
.tvd-interior-hero__center-title {
  text-align: center;
  align-self: center;
  margin: auto 0;
  z-index: 4;
  pointer-events: none;
}
.tvd-interior-hero__title-main {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
}
.tvd-interior-hero__title-serif,
.tvd-serif-italic-title .section-title-main,
.tvd-serif-italic-title h2,
.tvd-serif-italic-title {
  font-family: Georgia, "Playfair Display", "Times New Roman", serif !important;
  font-size: clamp(42px, 7vw, 90px);
  font-style: italic !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  line-height: 1.05 !important;
  margin: 4px 0 0 0 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0,0,0,0.25) !important;
}

/* ==========================================================================
   Bottom Bar Layout
   ========================================================================== */
.tvd-interior-hero__bottombar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  z-index: 8;
}

/* ==========================================================================
   Trust & Guarantee Micro-Bar
   ========================================================================== */
.tvd-interior-hero__trust-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  white-space: nowrap;
  align-self: flex-end;
  flex-shrink: 0;
}
.tvd-interior-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.tvd-interior-hero__trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #475569;
}
.tvd-interior-hero__trust-item .emoji,
.tvd-interior-hero__trust-item img.emoji {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}
.tvd-interior-hero__trust-divider {
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.tvd-interior-hero__stats-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 110px;
  animation: tvd-hero-float-stats 7s ease-in-out infinite 0.5s;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tvd-interior-hero__stats-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.tvd-interior-hero__avatar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  position: relative;
}
.tvd-interior-hero__avatar-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.tvd-interior-hero__avatar-stack img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.tvd-interior-hero__avatar-stack img:first-child {
  margin-left: 0;
}
.tvd-interior-hero__avatar-stack:hover img {
  transform: scale(1.08);
}
.tvd-interior-hero__badge-shield {
  position: absolute;
  bottom: -4px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-size: 8.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  animation: tvd-hero-badge-pulse 3s infinite;
}
.tvd-interior-hero__stats-num {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-top: 2px;
}
.tvd-interior-hero__stats-label {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 1px;
}
.tvd-interior-hero__stats-tag {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f1f5f9;
  font-size: 9.5px;
  font-weight: 600;
  color: #475569;
}

/* ==========================================================================
   Mini Showcase Widget
   ========================================================================== */
.tvd-interior-hero__showcase-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  gap: 12px;
  max-width: 320px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.tvd-interior-hero__showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.tvd-interior-hero__showcase-thumb-wrap {
  width: 90px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.tvd-interior-hero__showcase-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tvd-interior-hero__showcase-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  pointer-events: none;
}
.tvd-interior-hero__showcase-nav-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}
.tvd-interior-hero__showcase-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  transform: scale(1.1);
}
.tvd-interior-hero__showcase-counter {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.65);
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1;
}
.tvd-interior-hero__showcase-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tvd-interior-hero__showcase-caption {
  font-size: 11px;
  line-height: 1.45;
  color: #334155;
  margin: 0;
  transition: opacity 0.15s ease;
}
.tvd-interior-hero__showcase-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tvd-interior-hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tvd-interior-hero__dot.active {
  width: 14px;
  border-radius: 99px;
  background: #0f172a;
}

/* ==========================================================================
   Interactive Furniture Hotspots
   ========================================================================== */
.tvd-interior-hero__hotspot {
  position: absolute;
  z-index: 7;
  transform: translate(-50%, -50%);
}
.tvd-interior-hero__hotspot-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.tvd-interior-hero__hotspot-pin::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b91c1c;
  transition: transform 0.2s ease;
}
.tvd-interior-hero__hotspot-pin::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(185, 28, 28, 0.45);
  animation: tvd-hotspot-ripple 2s ease-out infinite;
}
.tvd-interior-hero__hotspot:hover .tvd-interior-hero__hotspot-pin {
  transform: scale(1.15);
  background: #b91c1c;
}
.tvd-interior-hero__hotspot:hover .tvd-interior-hero__hotspot-pin::before {
  background: #ffffff;
}
.tvd-interior-hero__hotspot-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.92);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  width: 180px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}
.tvd-interior-hero__hotspot-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.95);
}
.tvd-interior-hero__hotspot:hover .tvd-interior-hero__hotspot-card,
.tvd-interior-hero__hotspot.is-open .tvd-interior-hero__hotspot-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.tvd-interior-hero__hotspot-title {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.3;
}
.tvd-interior-hero__hotspot-price {
  font-size: 11.5px;
  font-weight: 800;
  color: #b91c1c;
  margin: 0 0 4px 0;
}
.tvd-interior-hero__hotspot-link {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.tvd-interior-hero__hotspot-link:hover {
  text-decoration: underline;
}

@keyframes tvd-hero-float-quote {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 5px)); }
}

@keyframes tvd-hero-float-stats {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes tvd-hero-badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes tvd-hotspot-ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 1024px) {
  .tvd-interior-hero__quote-card {
    display: none;
  }
  .tvd-interior-hero__ticker {
    display: none;
  }
}

@media (max-width: 849px) {
  .tvd-interior-hero-wrapper {
    padding: 10px;
  }
  .tvd-interior-hero {
    min-height: 520px;
    padding: 16px;
    border-radius: 24px;
  }
  .tvd-interior-hero__nav-links {
    display: none;
  }
  .tvd-interior-hero__bottombar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tvd-interior-hero__showcase-card {
    width: 100%;
    max-width: none;
  }
  .tvd-interior-hero__cta-btn {
    display: none;
  }
  .tvd-interior-hero__showcase-thumb-wrap {
    width: 80px;
    height: 56px;
  }
  .tvd-interior-hero__showcase-caption {
    font-size: 10.5px;
  }
}

@media (max-width: 549px) {
  .tvd-interior-hero-wrapper {
    padding: 6px;
  }
  .tvd-interior-hero {
    min-height: 480px;
    padding: 12px;
    border-radius: 18px;
  }
}

/* ── Section 1 (Layout & Grid): Fix message_box inside columns ── */
.tvd-grid__item .message-box,
.tvd-grid__content .message-box,
.col .message-box {
  padding: 16px 18px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.tvd-grid__item .message-box .container,
.tvd-grid__content .message-box .container,
.col .message-box .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tvd-grid__item .message-box .inner,
.tvd-grid__content .message-box .inner,
.col .message-box .inner {
  width: 100% !important;
}
.tvd-grid__item .message-box .inner p,
.tvd-grid__content .message-box .inner p,
.col .message-box .inner p {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  word-break: normal !important;
}

/* ── Section 7 (WooCommerce): Prevent table column crushing ── */
.woocommerce table.cart td.product-name,
.woocommerce table.cart th.product-name {
  min-width: 160px !important;
}
.woocommerce table.shop_table {
  width: 100% !important;
}

/* ── WordPress & BuildWEB Gallery Grid ── */
.gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 0 0 24px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: flex-start !important;
}
.gallery .gallery-item {
  flex: 1 1 calc(25% - 16px) !important;
  max-width: calc(25% - 12px) !important;
  margin: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.gallery.gallery-columns-1 .gallery-item { flex: 1 1 100% !important; max-width: 100% !important; }
.gallery.gallery-columns-2 .gallery-item { flex: 1 1 calc(50% - 12px) !important; max-width: calc(50% - 12px) !important; }
.gallery.gallery-columns-3 .gallery-item { flex: 1 1 calc(33.333% - 12px) !important; max-width: calc(33.333% - 12px) !important; }
.gallery.gallery-columns-4 .gallery-item { flex: 1 1 calc(25% - 12px) !important; max-width: calc(25% - 12px) !important; }
.gallery.gallery-columns-5 .gallery-item { flex: 1 1 calc(20% - 13px) !important; max-width: calc(20% - 13px) !important; }
.gallery.gallery-columns-6 .gallery-item { flex: 1 1 calc(16.666% - 14px) !important; max-width: calc(16.666% - 14px) !important; }

.gallery .gallery-icon {
  width: 100% !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  background: #f1f5f9 !important;
}
.gallery .gallery-icon:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}
.gallery .gallery-icon a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.gallery .gallery-icon img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px !important;
  transition: filter 0.3s ease !important;
}
.gallery .gallery-caption {
  font-size: 12.5px !important;
  color: #64748b !important;
  margin-top: 6px !important;
}

@media (max-width: 768px) {
  .gallery.gallery-columns-3 .gallery-item,
  .gallery.gallery-columns-4 .gallery-item,
  .gallery.gallery-columns-5 .gallery-item,
  .gallery.gallery-columns-6 .gallery-item {
    flex: 1 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
  }
}
@media (max-width: 480px) {
  .gallery .gallery-item {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}
