:root {
    --primary-color: #ffc107;
    --secondary-color: #000000;
    --light-gold: #fff8e1;
    --dark-gold: #e0a800;
}

.productde-sec {
    padding: 60px 90px;
}

/* Image Gallery Styles */
.product-gallery {
    position: relative;
}

.gallery-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.gallery-main .swiper-slide img {
    width: 100%;
    height: 650px;
    object-fit: contain;
}

.gallery-thumbs {
    margin-top: 20px;
}

.gallery-thumbs .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--primary-color);
}

/* Product Info Styles */
.productdet-info {
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gold));
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.price-display {
    background: var(--light-gold);
    padding: 8px 5px 5px 15px;
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 30px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price-subtitle {
    color: #666;
    font-size: 14px;
}

/* Description Styles */
.description-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.description-section h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Variation Styles */
.variation-section {
    margin-bottom: 30px;
}

.variation-group h6 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variation-option {
    padding: 9px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #e9e9e9;
    text-align: center;
    font-weight: 500;
    min-width: 100px;
}

.variation-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.variation-option.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gold));
    color: var(--secondary-color);
}

/* Selected Variation Card */
.selected-variation-card {
    background: linear-gradient(135deg, var(--light-gold), #fff);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 15px 15px 10px 25px;
    margin-bottom: 25px;
}

.selected-variation-card h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.option-badge {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 5px;
    display: inline-block;
}

/* Tiered Pricing */
.pricing-tier {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

/* Quantity Section */
.quantity-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.quantity-input {
    width: 80px;
    height: 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.quantity-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
    outline: none;
}

/* Buttons */
.btn-custom-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gold));
    border: none;
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: var(--secondary-color);
}

.btn-custom-primary:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Product Details Card */
.details-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.details-card h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #666;
}

.detail-value {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Status Badge */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-in-stock {
    background: #d4edda;
    color: #155724;
}

.status-out-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Related Products */
.related-products {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 0;
}

.related-product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb Enhancement */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--light-gold), #fff);
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--dark-gold);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}



/* Custom styles for cart success modal */
#cartSuccessModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

#cartSuccessModal .modal-header {
    padding: 1rem 1.5rem 0;
}

#cartSuccessModal .modal-body {
    padding: 1rem 1.5rem;
}

#cartSuccessModal .modal-footer {
    padding: 0 1.5rem 1.5rem;
}

#cartSuccessModal .btn-close {
    font-size: 0.8rem;
    opacity: 0.5;
}

#cartSuccessModal .btn-close:hover {
    opacity: 0.8;
}

#addedProductInfo {
    background-color: #f8f9fa !important;
    border-left: 4px solid #28a745;
}

#addedProductInfo img {
    border-radius: 8px;
    object-fit: cover;
}

/* Animation for modal appearance */
#cartSuccessModal.fade .modal-dialog {
    transform: translate(0, -25px);
    transition: transform 0.3s ease-out;
}

#cartSuccessModal.fade.show .modal-dialog {
    transform: translate(0, 0);
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    color: #000!important;
}

/* Success icon animation */
@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#cartSuccessModal .fa-check-circle {
    animation: bounce-in 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    .price-main {
        font-size: 1.5rem;
    }
    .productdet-info {
        padding: 20px 10px;
        margin-top: 0px;
    }
    .productde-sec {
        padding: 30px 0;
    }
    .gallery-main .swiper-slide img {
        height: 100%;
        object-fit: contain;
    }
    .gallery-thumbs .swiper-slide img {
        height: 90px;
    }
    .productde-sec .container-fluid {
        padding: 0 10px;
    }
    .variation-option {
        margin-bottom: 10px;
    }
    .pricing-tier {
        width: 100%!important;
    }
}


.coupon-section input:disabled,
.coupon-section button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
