/* Custom enhancements using your theme colors */
.tf-product-promo-codes {
    margin-top: 2rem;
}

.tf-product-promo-codes h6 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--main-4);
}

.tf-product-promo-codes .promo-item {
    transition: all 0.3s ease;
    border-left-width: 4px !important;
    background: var(--main-10);
    border-color: var(--main-4);
}

.tf-product-promo-codes .promo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--main-4-rgb), 0.1);
    border-color: var(--main-3);
}

.tf-product-promo-codes .promo-item .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.tf-product-promo-codes .promo-item .badge.bg-secondary {
    background-color: var(--secondary) !important;
    color: white;
}

.tf-product-promo-codes .promo-item .badge.bg-main-9 {
    background-color: var(--main-9) !important;
    color: white;
}

.tf-product-promo-codes .copy-promo-btn {
    transition: all 0.2s ease;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--main-4);
    color: var(--main-4);
    background: transparent;
}

.tf-product-promo-codes .copy-promo-btn:hover {
    background-color: var(--main-4);
    color: white;
    transform: scale(1.05);
    border-color: var(--main-4);
}

.tf-product-promo-codes .copy-promo-btn:active {
    transform: scale(0.95);
}

.tf-product-promo-codes .copy-promo-btn i {
    font-size: 14px;
}

/* Success message animation */
.copy-success {
    background-color: var(--main-9) !important;
    border-color: var(--main-8) !important;
}

.copy-success .text-main-4 {
    color: white !important;
}

.copy-success .text-main-8 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.copy-success .copy-promo-btn {
    background-color: white !important;
    color: var(--main-4) !important;
    border-color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tf-product-promo-codes .promo-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
    
    .tf-product-promo-codes .promo-item > div {
        width: 100%;
    }
    
    .tf-product-promo-codes .copy-promo-btn {
        align-self: stretch;
        margin-top: 8px;
        text-align: center;
    }
    
    .tf-product-promo-codes .promo-item .d-flex {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .tf-product-promo-codes .promo-item {
        padding: 1rem !important;
    }
    
    .tf-product-promo-codes h6 {
        font-size: 1rem;
        font-weight: 500;
    }
    
    .tf-product-promo-codes .promo-item strong {
        font-size: 1.1rem;
    }
}

/* EXACT SAME CSS AS YOUR REFERENCE CODE */
/* Carousel Container */
.tf-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

/* Ensure proper sizing for images */
.sld-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sld-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .sld-image img {
        height: 300px;
    }
}
.zoom-container {
    position: relative;
    overflow: hidden;
    height: 500px;
    cursor: zoom-in;
}

.tf-image-zoom {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

.zoom-container:hover .tf-image-zoom {
    transform: scale(2);
}

.zoom-container {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.zoom-container:hover .tf-image-zoom {
    transform: scale(2);
    transform-origin: var(--mouse-x) var(--mouse-y);
}

/* Responsive */
@media (max-width: 768px) {
    .zoom-container {
        height: 400px;
    }

    .zoom-container:active .tf-image-zoom {
        transform: scale(1.8);
    }
}

@media (max-width: 576px) {
    .zoom-container {
        height: 300px;
    }

    .zoom-container:active .tf-image-zoom {
        transform: scale(1.5);
    }
}