/* Product Detail Page Styles */

.product-info-container {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

/* Product Image Carousel */
.product-image-carousel {
    position: relative;
}

/* Main Carousel */
#productCarousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Carousel Transition Speed */
#productCarousel .carousel-item {
    transition: transform 0.8s ease-in-out;
}

#productCarousel .carousel-inner {
    aspect-ratio: 1;
    position: relative;
}

#productCarousel .carousel-item {
    aspect-ratio: 1;
    position: relative;
}

#productCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Controls */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

#productCarousel .carousel-control-prev {
    left: 10px;
}

#productCarousel .carousel-control-next {
    right: 10px;
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
#productCarousel .carousel-indicators {
    bottom: 20px;
}

#productCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 4px;
}

#productCarousel .carousel-indicators button.active {
    background-color: #fff;
    border-color: #fff;
}

/* Thumbnail Navigation */
.product-thumbnails {
    margin-top: 15px;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    position: relative;
    z-index: 10;
}

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

.thumbnail-item.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Product Details */
.product-details {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.card-shipper img {
	height: 25px;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.card-shipper img.royalmail {
	height: 50px;
}

.card-shipper img.postnord {
	height: 15px;
}

/* Product Meta */
.product-meta {
    padding: 15px 0;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

/* Specifications */
.product-specifications .row {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.product-specifications .row:last-child {
    border-bottom: none;
}

/* Benefits Section */
.benefits-section li::marker {
    content: 'check_circle';
    font-family: 'Material Icons';
    color: var(--bs-success);
    font-size: 24px;
}

.benefits-section .benefits-section-item {
    vertical-align: 0.25rem;
}

.benefits-section li {
    padding-left: 0.5rem;
    padding-bottom: 0.25rem;
    line-height: normal;
}

/* Related Products Overrides */

.compact-related .product-card .price-container .nprice {
    margin-bottom: .5rem;
}

.compact-related .product-card .price-container .mprice {
    text-align: center;
}

.compact-related .product-card .price-container {
    flex-direction: column;
    text-align: center;
}

.compact-related .product-card .short-desc {
    display: none;
}


/* Sticky Cart Bar */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #dee2e6;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.sticky-cart-bar.hidden {
    transform: translateY(100%);
}

.sticky-cart-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .product-thumbnails .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .thumbnail-item {
        margin-bottom: 10px;
    }

    .sticky-cart-bar {
        padding: 8px 0;
    }
    
    .sticky-cart-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .product-thumbnails .col-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    
    .product-details h1 {
        font-size: 1.5rem;
    }

    .sticky-cart-bar {
        background: unset;
        backdrop-filter: unset;
        border-top: unset;
        box-shadow: unset;
    }
} 