/* Box-Sizing für den gesamten Slider erzwingen, um Theme-Konflikte zu vermeiden */
.void-slider-wrapper,
.void-slider-wrapper * {
    box-sizing: border-box;
}

.void-slider-wrapper {
    position: relative;
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 60px; /* Schafft den physischen Platz für die Pfeile */
}

.void-slider-section-title {
    text-align: center;
    font-size: 32px;
    color: #102535;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

.void-slider-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #102535;
    margin: 15px auto 0;
}

/* HIER IST DER TRICK FÜR DIE PFEILE: 
Wir ziehen den Swiper-Container unsichtbar in den 60px-Freiraum des Wrappers auf */
.void-product-swiper {
    padding: 20px 60px !important; 
    margin: -20px -60px !important;
}

/* Modernes, cleanes Karten-Design */
.void-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    height: 480px; 
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden; 
}

.void-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #e0e4e8;
    z-index: 20;
}

.void-card-link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 15;
}

/* Vollflächiger Bildbereich oben - Jetzt mit "cover" für einheitliche Füllung */
.void-card-image-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    flex: 0 0 240px; 
    padding: 0; /* Padding entfernt für Edge-to-Edge Design */
    background: #ffffff;
    display: block; 
    border-bottom: 1px solid #f0f2f5;
    overflow: hidden; 
}

.void-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zwingt das Bild, die gesamte Fläche auszufüllen */
    object-position: center; /* Zentriert das Hauptmotiv */
    transition: transform 0.6s ease;
}

.void-card:hover .void-card-image-wrap img {
    transform: scale(1.08);
}

.void-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #cc2027;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
}

/* Content Bereich (Titel & Preis) */
.void-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.void-card-title {
    font-size: 14px;
    color: #102535;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Preis Anzeige */
.void-card-price-wrap {
    margin-top: auto;
}

.void-price-display {
    font-size: 18px;
    font-weight: 700;
    color: #102535;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.void-price-display del,
.void-price-display del * {
    font-size: 13px !important;
    color: #8da4b5 !important;
    text-decoration: line-through !important;
    background: none !important;
    padding: 0 !important;
}

.void-price-display ins,
.void-price-display ins * {
    background: none !important;
    padding: 0 !important;
    text-decoration: none !important;
    color: #cc2027 !important;
}

.void-price-display .amount {
    background: none !important;
}

.void-tax-note {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #a0b6c7;
    margin-top: 4px;
}

/* Button Bereich */
.void-card-bottom {
    position: relative;
    z-index: 20;
    padding: 0 20px 20px 20px;
}

.void-add-to-cart-wrapper {
    position: relative;
    z-index: 25;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.void-card:hover .void-add-to-cart-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.void-btn-add-to-cart {
    background-color: #102535 !important;
    color: #ffffff !important;
    text-align: center;
    padding: 12px 15px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    display: block !important;
    width: 100% !important;
    transition: background 0.3s !important;
    text-decoration: none;
    border: none !important;
}

.void-btn-add-to-cart:hover {
    background-color: #cc2027 !important;
}

/* Navigation - Viereckig mit 4px Radius & perfekt platziert */
.void-nav-btn {
    color: #102535 !important;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    width: 44px !important;
    height: 44px !important;
    border-radius: 4px !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.06); 
    transition: all 0.3s ease;
    z-index: 50;
}

.void-nav-btn:hover {
    background: #102535;
    color: #ffffff !important;
    border-color: #102535;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.void-nav-btn::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-prev.void-nav-btn { left: 5px; }
.swiper-button-next.void-nav-btn { right: 5px; }

.swiper-pagination { bottom: -30px !important; }
.swiper-pagination-bullet { background: #102535 !important; opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; }

@media (max-width: 768px) {
    .swiper-button-prev.void-nav-btn,
    .swiper-button-next.void-nav-btn { display: none; }
    .void-add-to-cart-wrapper { opacity: 1; transform: translateY(0); }
    .void-slider-wrapper { padding: 0 15px; }
    .void-product-swiper {
        padding: 20px 10px !important; 
        margin: -20px -10px !important;
    }
}

@media (max-width: 768px) {
    /* 1. Navigation komplett ausblenden */
    .swiper-button-prev.void-nav-btn,
    .swiper-button-next.void-nav-btn { 
        display: none !important; 
    }

    /* 2. Button immer sichtbar machen */
    .void-add-to-cart-wrapper { 
        opacity: 1 !important; 
        transform: translateY(0) !important; 
    }

    /* 3. Slider Wrapper sichern */
    .void-slider-wrapper { 
        padding: 0 15px !important; 
    }

    /* 4. DER WICHTIGSTE FIX: Dynamische Höhe für mobile Karten */
    .void-card { 
        height: auto !important; /* Passt sich dem Inhalt an */
        min-height: 400px;      /* Verhindert, dass sie zu winzig wird */
        padding-bottom: 20px;   /* Sorgt für Abstand nach unten */
    }

    /* 5. Bild-Container anpassen für Mobile */
    .void-card-image-wrap {
        height: 200px !important; /* Etwas niedriger auf dem Handy */
        flex: 0 0 200px !important;
    }

    .void-product-swiper {
        padding: 20px 10px !important; 
        margin: -20px -10px !important;
        width: 100vw !important;
        max-width: 100% !important;
    }
}