/* ============================================================
   PRODUCT.CSS – Styles für die Produktdetailseite (product.php)
   ============================================================ */

/* Produktdetail Container & Typografie */
#product-detail h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

#product-detail .lead {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

#product-detail .price {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 1.5rem 0;
}

#product-detail .price small {
    font-size: 1rem;
    font-weight: 400;
}

#shipping-info {
    font-size: 0.9rem;
}

/* Bild-Styling & Schatten */
.img-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Bildergalerie Thumbnails */
.img-thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-radius: 10px;
    border: 2px solid #dee2e6;
}

.img-thumbnail:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

/* ============================================================
   VOLLE BREITE BESCHREIBUNG
   ============================================================ */
.full-width-description {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding: 4rem 0;
}

#description-box .ul-check {
    list-style: none;
    padding-left: 0;
}

#description-box .ul-check.primary li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #007bff;
}

#description-box .ul-check.primary li:before {
    content: "\2713";
    font-family: inherit;
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-weight: bold;
}

.long-description {
    line-height: 1.8;
    border-radius: 15px;
}

/* ============================================================
   BUTTON-STYLES & LADEANIMATION
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border-radius: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #003d80);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #007bff;
}

/* ============================================================
   RESPONSIVE ANPASSUNGEN
   ============================================================ */
@media (max-width: 768px) {
    #product-detail h1 {
        font-size: 2rem;
    }

    #product-detail .price {
        font-size: 1.5rem;
    }

    .full-width-description {
        padding: 2rem 0 !important;
    }

    .long-description {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    #product-detail h1 {
        font-size: 1.75rem;
    }
}
