/**
 * Product View Bootstrap 5 Template Styles
 * Verwendet FM-Designfarben und Bootstrap 5 Standards
 */

/* ============================================
   Content Wrapper
   ============================================ */
.product-view-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ============================================
   Product Gallery
   ============================================ */
.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: var(--fm-white);
    border-radius: 8px;
}

/* Carousel Controls Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(212, 175, 55, 0.9);
}

/* Product Thumbnails */
.product-thumbnails {
    margin-top: 1rem;
}

.product-thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.product-thumbnail:hover {
    opacity: 1;
    border-color: var(--fm-gold);
}

.product-thumbnail.active {
    opacity: 1;
    border-color: var(--fm-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ============================================
   Product Details
   ============================================ */
.product-details {
    padding: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--fm-dark);
    margin-bottom: 1rem;
}

.product-short-description {
    font-size: 1.1rem;
    color: var(--fm-dark-gray);
    line-height: 1.6;
}

.product-meta {
    font-size: 0.95rem;
    color: var(--fm-dark-gray);
    border-bottom: 1px solid var(--fm-light-gray);
    padding-bottom: 1rem;
}

.product-sku,
.product-color {
    display: inline-block;
    margin-right: 1rem;
}

/* ============================================
   Price Section
   ============================================ */
.product-price-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--fm-light-gray);
}

.price-wrapper {
    margin-bottom: 0.5rem;
}

.old-price {
    font-size: 1.2rem;
    color: var(--fm-dark-gray);
    margin-right: 1rem;
}

.sale-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #dc3545;
}

.current-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--fm-dark);
}

.tax-info {
    font-size: 0.9rem;
    color: var(--fm-dark-gray);
}

/* ============================================
   USP Section
   ============================================ */
.product-usp {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* ============================================
   Available Sizes
   ============================================ */
.available-sizes h6 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--fm-dark);
    text-transform: uppercase;
}

.size-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-box {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--fm-white);
    border: 2px solid var(--fm-gold);
    border-radius: 4px;
    font-weight: bold;
    color: var(--fm-dark);
    text-align: center;
    min-width: 50px;
}

/* ============================================
   Notification Section
   ============================================ */
.notification-section .card {
    border: 1px solid var(--fm-light-gray);
    border-radius: 8px;
}

.notification-section .card-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--fm-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================
   Product Description
   ============================================ */
.product-description h5 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--fm-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--fm-dark-gray);
}

/* ============================================
   Cross-Sells Section
   ============================================ */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--fm-dark);
    text-transform: uppercase;
}

.xsell-product {
    display: block;
    transition: transform 0.3s ease;
}

.xsell-product:hover {
    transform: translateY(-5px);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .product-view-wrapper {
        padding: 1rem 0.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-details {
        padding: 0.5rem;
    }

    .sale-price,
    .current-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .product-title {
        font-size: 1.3rem;
    }

    .price-wrapper {
        text-align: center;
    }

    .old-price {
        display: block;
        margin-bottom: 0.5rem;
    }

    .sale-price,
    .current-price {
        font-size: 1.3rem;
    }

    .product-thumbnail {
        height: 60px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   Buy Now Button Styles from Old Template
   ============================================ */
.buy-now {
    background-color: var(--fm-dark);
    border-color: var(--fm-light-gray);
    color: var(--fm-white);
    text-align: center;
    padding: 15px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 14px;
    margin-top: 5px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.buy-now:hover {
    background-color: var(--fm-gold);
    color: var(--fm-dark);
}
