/* RESET & BASIS FÜR DIE DETAILSEITE */
.dark-page {
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
}

/* HAUPT-CONTAINER SPACING */
.product-detail-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px; /* Großzügiger Abstand zwischen Bild und Text */
    padding: 80px 7%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* MEDIA BEREICH (LINKS) */
.product-media .main-img {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #222;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-media .main-img img {
    width: 100%;
    height: auto;
    display: block;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.media-grid img, .video-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #222;
}

/* INFO BOX (RECHTS) */
.product-info-box {
    padding-top: 10px;
}

.category-tag {
    color: var(--primary-red);
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}

.product-info-box h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.price-display {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.tax-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.short-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 35px;
}

/* DELIVERY CARD */
.delivery-card {
    background: #161616;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 35px;
    border: 1px solid #252525;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.delivery-item:last-child { margin-bottom: 0; }

/* KAUFEN BUTTON */
.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--primary-red);
    color: white;
    padding: 22px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
    margin-bottom: 45px;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.4);
    background: #ff4d5a;
}

/* FEATURES LIST */
.features-list h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.features-list ul { list-style: none; }

.features-list li {
    margin-bottom: 14px;
    color: #bbb;
    display: flex;
    gap: 12px;
}

/* UNTERE BESCHREIBUNG */
.detailed-description {
    padding: 100px 7%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid #222;
}

.detailed-description h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    background: #000;
    width: 100%;
    height: 200px; /* Wie im media-grid definiert */
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #222;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* WICHTIG: Füllt den Bereich ohne Verzerrung */
}

/* FEATURES LIST FYLE-LAYOUT FIX */
.features-list {
    margin-top: 30px;
}

.features-list h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    /* Hier passiert die Magie: CSS Grid */
    display: grid;
    /* Spalte 1: Automatische Breite basierend auf Inhalt, aber mindestens 180px */
    /* Spalte 2: Der Rest des Platzes (1fr) */
    grid-template-columns: minmax(180px, auto) 1fr;
    gap: 15px 30px; /* Abstand vertikal / horizontal */
    margin-bottom: 20px;
    align-items: start; /* Text oben ausrichten */
}

/* Linke Spalte: Icon + Titel */
.feature-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
}

.feature-head i {
    color: var(--primary-red);
    width: 20px; /* Feste Breite für Icons, damit sie untereinander stehen */
    text-align: center;
}

/* Rechte Spalte: Beschreibung */
.feature-desc {
    color: #bbb;
    line-height: 1.5;
    padding-top: 2px; /* Feintuning, damit es auf gleicher Höhe wie der Titeltext ist */
}

/* Responsive Anpassung für kleine Handys */
@media (max-width: 480px) {
    .features-list li {
        grid-template-columns: 1fr; /* Untereinander auf sehr kleinen Screens */
        gap: 5px;
    }
    .feature-desc {
        padding-left: 32px; /* Einrücken, damit es unter dem Text steht, nicht unter dem Icon */
    }
}