/* ============================================
   DUO POD FAN SECTION
   ============================================ */

.duo-pod-fan-section {
    padding: 150px 20px;
    margin: 100px 0;
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.duo-pod-fan-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Prevent layout shifts during pin */
    transform: translateZ(0);
}

/* Title */
.duo-pod-fan-title {
    font-size: 8vw;
    font-weight: 900;
    color: #ffffff !important;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 5;
    /* Prevent jumping during pin operations */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

/* Track Container */
.duo-pod-fan-cards {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 80svh;
    min-height: 450px;
    margin-top: -60px;
    perspective: 1000px; /* Enable 3D perspective */
    perspective-origin: center bottom; /* Perspective point below component */
    transform: translate(0px, -12%);
}

.duo-pod-fan-track {
    display: flex;
    align-items: stretch;
    gap: clamp(50px, 10vw, 100px);
    will-change: transform;
    transform-style: preserve-3d; /* Preserve 3D transformations */
}

.duo-pod-fan-item {
    position: relative;
    flex: 0 0 clamp(250px, 30vw, 350px);
    transform-origin: center bottom; /* Rotate around bottom center */
    will-change: transform;
    transform-style: preserve-3d; /* Preserve 3D transformations */
}

.duo-pod-fan-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 70svh;
}

/* Responsive */
@media (max-width: 768px) {
    .duo-pod-fan-section {
        padding: 100px 20px;
        margin: 80px 0;
    }

    .duo-pod-fan-title {
        font-size: 10vw;
        margin-bottom: 0;
    }
    
    /* .duo-pod-fan-cards {
        margin-top: -40px;
    } */

    .duo-pod-fan-item {
        flex: 0 0 clamp(200px, 35vw, 280px);
    }

    .duo-pod-fan-cards {
        transform: translate(0px, -15%);
    }
    
    .duo-pod-fan-image {
        max-height: 55vh;
    }

    .duo-pod-fan-track {
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .duo-pod-fan-cards {
        transform: translate(0px, -5%);
    }
}

/* ============================================
   DISPOSABLE FAN SECTION (similar to DUO POD)
   ============================================ */

.disposable-fan-section {
    padding: 150px 20px;
    margin: 100px 0;
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.disposable-fan-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Prevent layout shifts during pin */
    transform: translateZ(0);
}

/* Title */
.disposable-fan-title {
    font-size: 8vw;
    font-weight: 900;
    color: #ffffff !important;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 5;
    /* Prevent jumping during pin operations */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

/* Track Container */
.disposable-fan-cards {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 80svh;
    min-height: 450px;
    margin-top: -60px;
    perspective: 1000px; /* Enable 3D perspective */
    perspective-origin: center bottom; /* Perspective point below component */
    transform: translate(0px, -12%);
}

.disposable-fan-track {
    display: flex;
    align-items: stretch;
    gap: clamp(50px, 10vw, 100px);
    will-change: transform;
    transform-style: preserve-3d; /* Preserve 3D transformations */
}

.disposable-fan-item {
    position: relative;
    flex: 0 0 clamp(250px, 30vw, 350px);
    transform-origin: center bottom; /* Rotate around bottom center */
    will-change: transform;
    transform-style: preserve-3d; /* Preserve 3D transformations */
}

.disposable-fan-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 70svh;
}

/* Responsive */
@media (max-width: 768px) {
    .disposable-fan-section {
        padding: 100px 20px;
        margin: 80px 0;
    }

    .disposable-fan-title {
        font-size: 10vw;
        margin-bottom: 0;
    }
    
    /* .disposable-fan-cards {
        margin-top: -40px;
    } */

    .disposable-fan-item {
        flex: 0 0 clamp(200px, 35vw, 280px);
    }

    .disposable-fan-cards {
        transform: translate(0px, -15%);
    }
    
    .disposable-fan-image {
        max-height: 55vh;
    }

    .disposable-fan-track {
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .disposable-fan-cards {
        transform: translate(0px, -5%);
    }
}

/* ============================================
   STARTERKIT FAN TITLE (for ingredients component)
   ============================================ */

.starterkit-fan-title {
    font-size: 8vw;
    font-weight: 900;
    color: #ffffff !important;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 5;
    /* Prevent jumping during pin operations */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

@media (max-width: 768px) {
    .starterkit-fan-title {
        font-size: 10vw;
        margin-bottom: 0;
    }
}

/* ============================================
   DISPOSABLE SECTION (legacy/other styles)
   ============================================ */

.disposable-section .product-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.disposable-section .pod-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 200px;
    text-align: center;
}

.disposable-section .pod-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .duo-pod-section,
    .disposable-section {
        padding: 60px 0;
    }


    .duo-pod-section .pod-card,
    .disposable-section .pod-card {
        width: 150px;
        padding: 15px;
    }
}

/* ============================================
   STARTER KIT SECTION
   ============================================ */

.starter-kit-section {
    padding: 100px 20px 0 20px;
    margin: 60px 0;
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center; /* Titel bleibt auf gewohnter Höhe */
    justify-content: center;
    z-index: 2; /* Über Produktwelt-Section (z-index: 1) */
}

.starter-kit-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Titel oben, Bild unten */
    /* Prevent layout shifts during pin */
    transform: translateZ(0);
    min-height: calc(100svh - 100px); /* füllt den gepinnten Bereich, 100px kompakter */
    overflow: hidden;
}

/* Title */
.starter-kit-title {
    margin-bottom: -40px;
}

/* Image Container */
.starter-kit-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;          /* Bild unten ausrichten */
    min-height: clamp(240px, 50svh, 680px); /* etwas kompakter */
    margin-top: -20px;
    margin-bottom: 0;
    padding-bottom: 0;
    /* overflow: hidden;                */
}

.starter-kit-vape-image {
    width: 100%;
    height: auto;
    max-height: 80svh;
    object-fit: contain;
    object-position: bottom; /* Bild unten ausrichten */
}

/* Desktop: Zeige animiertes Bild, verstecke statische Bilder */
.starter-kit-vape-image--animated {
    display: block;
}

.starter-kit-vape-image--tablet {
    display: none;
}

.starter-kit-vape-image--static {
    display: none;
}

/* Tablet (576px-768px): Zeige ursprüngliches statisches Bild */
@media (min-width: 576px) and (max-width: 768px) {
    .starter-kit-vape-image--animated {
        display: none;
    }
    
    .starter-kit-vape-image--tablet {
        display: block;
    }
    
    .starter-kit-vape-image--static {
        display: none;
    }
}

/* Mobile unter 575px: Zeige animiertes PNG/GIF oder Fallback */
@media (max-width: 575px) {
    .starter-kit-vape-image--animated {
        display: none;
    }
    
    .starter-kit-vape-image--tablet {
        display: none;
    }
    
    .starter-kit-vape-image--static {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100%;
        max-height: none !important;
        transform: none !important;
        object-fit: initial !important;
    }
}

/* Responsive Zoom Tablet */
@media (max-width: 1024px) {
    .starter-kit-image-container {
        min-height: clamp(240px, 58svh, 660px);
    }
    .starter-kit-vape-image {
        transform: scale(2.3);
        transform-origin: center bottom;
        max-height: 78svh;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .starter-kit-section {
        /* padding: 80px 20px 0 20px; */
        padding: 80px 0px 0 0px;

        margin: 60px 0;
        min-height: auto;
    }

    .starter-kit-title {
        font-size: 10vw;
        margin-bottom: 0;
        color: #ffffff !important;
        white-space: nowrap;
    }
    
    .starter-kit-image-container {
        margin-top: -20px;
        min-height: clamp(240px, 64svh, 560px);
    }

    .starter-kit-container {
        min-height: calc(100svh - 60px);
    }

    .starter-kit-vape-image {
        max-height: 80vh;
        transform: scale(2.3);
        transform-origin: center bottom;
    }
    
    .hier-kaufen-section {
        min-height: 50svh;
    }
}

/* ============================================
   PRODUKTWELT - FONT FAMILY
   ============================================ */

.product-card__toggle {
    font-family: 'Futura', sans-serif;
}

.product-card__content {
    font-family: 'Futura', sans-serif;
}
@media (max-width: 575px) {
    .starter-kit-container {
        min-height: calc(75svh - 100px);
    } 
    
}