/* Product Detail Page Styles */
:root {
    --primary-color: #ff0066;
    --secondary-color: #000000;
    --accent-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --dark-gray: #444444;
    --font-main: 'Montserrat', sans-serif;
    --gold-accent: #d4af37;
}

.product-detail-section {
    padding: 120px 0 80px;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.product-swiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumb.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Information */
.product-information {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-information h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-information p {
    margin: 0;
    line-height: 1.6;
}

/* Size Options */
.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.size-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover, .size-btn.active {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-color: var(--secondary-color);
}

/* Product Features */
.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Add to Cart Section */
.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 50px;
    background-color: var(--gray-color);
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    flex: 1;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Trust Signals */
.product-trust-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.trust-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Product CTA */
.product-cta {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
}

.product-cta p {
    margin: 0;
    font-weight: 600;
    color: #2E7D32;
}

/* Product Description */
.product-description {
    margin-bottom: 60px;
}

.product-description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.product-description h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40%;
    height: 3px;
    background-color: var(--primary-color);
}

.product-description p {
    line-height: 1.8;
}

/* Related Products */
.related-products {
    margin-bottom: 60px;
}

.related-products h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-products h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.related-swiper {
    padding: 5px 5px 30px;
}

.related-product-item {
    background-color: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 5px;
    height: 100%;
}

.related-product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.related-product-item .product-image {
    height: 140px;
    overflow: hidden;
}

.related-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-item .product-info {
    padding: 10px;
}

.related-product-item .product-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.related-product-item .product-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.related-product-item .add-to-cart {
    width: 100%;
    margin-top: 8px;
    padding: 6px 10px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-product-item .add-to-cart:hover {
    background-color: var(--primary-color);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .swiper-slide img {
        height: 400px;
    }
    
    .product-trust-signals {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 150px 0 60px;
    }
    
    .swiper-slide img {
        height: 350px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .size-options {
        flex-wrap: wrap;
    }
    
    .size-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 120px 0 40px;
    }
    
    .swiper-slide img {
        height: 300px;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .add-to-cart-section {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
}
