html, body {
    max-width: 100%;
    overflow-x: hidden;
}

#wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}.modal.fade {
    transition: opacity 0.15s linear;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.fade:not(.show) {
    background-color: transparent !important;
}

#imageGalleryModal .modal-content {
    background-color: #f9f9f9;
}

#imageGalleryModal .modal-header {
    background-color: #FF6B35;
    border-bottom: 2px solid #00A651;
}

#imageGalleryModal .modal-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

#imageGalleryModal .btn-close-white {
    filter: brightness(1.2);
}

.modalImageSwiper .swiper-button-next,
.modalImageSwiper .swiper-button-prev {
    color: #FF6B35;
    background-color: rgba(255, 107, 53, 0.15);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modalImageSwiper .swiper-button-next:hover,
.modalImageSwiper .swiper-button-prev:hover {
    background-color: rgba(255, 107, 53, 0.3);
    color: #FF6B35;
}

.modalImageSwiper .swiper-button-next::after,
.modalImageSwiper .swiper-button-prev::after {
    font-size: 20px;
}

.modalImageSwiper .swiper-pagination-bullet {
    background-color: #FF6B35;
    opacity: 0.5;
}

.modalImageSwiper .swiper-pagination-bullet-active {
    background-color: #FF6B35;
    opacity: 1;
}

.tf-product-media-main .swiper-slide {
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.tf-product-media-main .item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-product-media-main img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    width: auto;
    height: auto;
}

/* ===== SINGLE ZOOM CONTAINER ===== */
.zoom-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.zoom-image {
    max-width: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
    user-select: none;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.zoom-image:hover {
    opacity: 0.95;
}

/* ===== OPTIMIZED ZOOM POPUP ===== */
.zoom-popup {
    position: fixed;
    width: 650px !important;
    height: 450px !important;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    z-index: 999999;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.zoom-popup-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: top left;
}

.zoom-popup.show {
    display: block;
    animation: fadeInZoom 0.3s ease;
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE ZOOM POPUP ===== */
@media (max-width: 1200px) {
    .zoom-popup {
        width: 450px;
        height: 350px;
    }
}

@media (max-width: 992px) {
    .zoom-popup {
        width: 500px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .zoom-popup {
        width: 90vw;
        height: 350px;
        left: 5vw !important;
        top: 50% !important;
        transform: translateY(-50%);
    }
}

@media (max-width: 576px) {
    .zoom-popup {
        display: none !important;
    }
}

/* === PRODUCT IMAGE FIXES === */
.tf-product-media-main .swiper-slide {
    height: auto !important;
    min-height: 500px !important;
    
    align-items: center !important;
    justify-content: center !important;
}

.tf-product-media-thumbs .swiper-slide {
    height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tf-product-media-thumbs .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zoom-container {
        height: 400px;
    }
    
    .tf-product-media-main .swiper-slide {
        min-height: 400px !important;
    }
}

@media (max-width: 576px) {
    .zoom-container {
        height: 350px;
    }
    
    .tf-product-media-main .swiper-slide {
        min-height: 350px !important;
    }
}

@media (max-width: 576px) {
    #imageGalleryModal .modal-dialog {
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
    }
    #imageGalleryModal .modal-content {
        height: 100vh;
        border-radius: 0;
    }
    #imageGalleryModal .modal-body {
        padding: 10px;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .modalImageSwiper {
        height: 100%;
    }
    .modalImageSwiper .swiper-slide {
        min-height: 100%;
    }
    .modalImageSwiper .swiper-slide img {
        max-height: 90vh;
    }
    .modalImageSwiper .swiper-button-next,
    .modalImageSwiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

body.modal-open {
    overflow: hidden;
}

/* Smooth transitions for image changes */
.zoom-image {
    transition: all 0.3s ease !important;
}

.tf-product-media-thumbs .swiper-slide {
    cursor: pointer;
    transition: all 0.3s ease;
}

.tf-product-media-thumbs .swiper-slide:hover {
    transform: scale(1.05);
}

.tf-product-media-thumbs .swiper-slide.active {
    border-radius: 6px;
    position: relative;
}

.tf-product-media-thumbs .swiper-slide.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 6px;
    pointer-events: none;
}

/* Smooth image transitions */
.zoom-image {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.main-image-changing {
    opacity: 0.7;
}

body:not(.modal-open) {
    overflow: auto;
}

/* Product Variants & Quantity Styles */
.style-text, .variant-box {
    background-color: #fff;
    cursor: pointer;
}

.quantity-box, .style-text, .variant-box, .wishlist {
    cursor: pointer;
}

.quantity-box {
    flex: 1;
}

.quantity-pricing-section {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.quantity-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.quantity-pricing-boxes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quantity-box {
    flex: 1;
    min-width: 120px;
    max-width: 120px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    transition: .3s;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.quantity-box:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.quantity-box.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.out-of-stock::after, .variant-box.out-of-stock::after {
    content: "Out of Stock";
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(255,0,0,.7);
    color: #fff;
    padding: 2px 8px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
}

.quantity-number {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.total-price {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.unit-price {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 640px) {
    .quantity-pricing-boxes {
        flex-direction: column;
    }
    .quantity-box {
        width: 100%;
    }
}

.premium-info-item:hover .premium-info-value::after, .premium-section-title:hover::after, .product-gallery {
    width: 100%;
}

.full-width-image {
    width: 100%;
    margin-bottom: 15px;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.out-of-stock {
    position: relative;
    opacity: .6;
    pointer-events: none;
}

.out-of-stock::after {
    border-radius: 4px;
    font-size: 12px;
}

.stock-status {
    color: #e53e3e;
    font-weight: 700;
    margin-top: 5px;
    font-size: 12px;
}

.variant-section {
    font-family: Arial, sans-serif;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    position: relative;
}

.variant-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.selected-variant {
    font-weight: 700;
}

.amazon-style-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.variant-box {
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 8px;
    transition: .2s;
    min-width: 80px;
    text-align: center;
    position: relative;
}

.variant-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

.variant-box.selected {
    border: 2px solid #007185;
}

.variant-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.variant-color-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.variant-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variant-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.variant-price {
    font-size: 14px;
    font-weight: 700;
    color: #b12704;
    text-align: center;
}

.variant-regular-price {
    font-size: 12px;
    color: #565959;
    text-decoration: line-through;
    text-align: center;
}

.variant-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.variant-box.out-of-stock {
    opacity: .6;
    cursor: not-allowed;
    position: relative;
}

.variant-box.out-of-stock::after {
    border-radius: 4px;
    font-size: 12px;
    z-index: 1;
}

@media (max-width: 767px) {
    .amazon-style-variants {
        justify-content: center;
    }
    .variant-box {
        min-width: 70px;
    }
    .variant-image {
        width: 50px;
        height: 50px;
    }
}

.icon-delete, .icon-heart {
    display: inline-block!important;
    transition: .3s;
}

.icon-delete.d-none, .icon-heart.d-none {
    display: none!important;
}

.variant-picker-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.style-text {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: .2s;
    position: relative;
}

.style-text:hover:not(.out-of-stock) {
    border-color: #f36f27;
    background-color: #fff8f3;
}

.style-text.out-of-stock {
    text-decoration: line-through;
    opacity: .6;
    cursor: not-allowed;
    background-color: #f9f9f9;
    border-color: #ddd;
    color: #999;
    position: relative;
}

.style-text.out-of-stock::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e53e3e;
    transform: rotate(-10deg);
}

.color-btn.out-of-stock::after, .style-text.out-of-stock::after {
    content: "Out of Stock";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #e53e3e;
    white-space: nowrap;
    background-color: rgba(255,255,255,.9);
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 700;
}

.color-btn.out-of-stock {
    position: relative;
}

.color-btn.out-of-stock .btn-checkbox, .glow-on-hover:hover::after {
    opacity: .4;
}

.color-btn.out-of-stock::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid #e53e3e;
    transform: rotate(-45deg);
    z-index: 2;
}

.quantity-box.out-of-stock {
    position: relative;
    opacity: .7;
    background-color: #f9f9f9;
    border-color: #ddd;
}

.quantity-box.out-of-stock::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    border-top: 2px solid #e53e3e;
    transform: rotate(-5deg);
    z-index: 1;
}

.quantity-box.out-of-stock::after {
    content: "Out of Stock";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(255,0,0,.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.quantity-box.out-of-stock .quantity-number, .quantity-box.out-of-stock .total-price, .quantity-box.out-of-stock .unit-price {
    opacity: .6;
}

:root {
    --primary: #f36f27;
    --primary-light: #ff8c4d;
    --primary-dark: #d15620;
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.2);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --highlight-shadow: 0 0 15px rgba(243, 111, 39, 0.5);
    --border-radius: 12px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-light); }
    50% { box-shadow: 0 0 20px var(--primary); }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-right-color: transparent; }
    50% { border-right-color: var(--primary); }
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

.premium-container {
    position: relative;
    margin: 30px 0;
    overflow: visible;
}

.premium-description-section, .premium-info-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: .5s cubic-bezier(.25, .8, .25, 1);
    margin-bottom: 30px;
}

.premium-color-section:hover, .premium-description-section:hover, .premium-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,.2);
}

.premium-color-section::before, .premium-description-section::before, .premium-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #f36f27, #ff8c4d);
    background-size: 300% 100%;
    animation: 3s linear infinite gradientFlow;
    z-index: 2;
}

.premium-info-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.premium-color-header::after, .premium-description-header::after, .premium-info-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.1), transparent);
}

.premium-info-value::after, .premium-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    transition: width .3s;
}

.premium-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    position: relative;
    display: inline-block;
    transition: color .3s;
}

.premium-availability, .premium-info-item, .premium-info-label, .premium-info-value {
    transition: .3s;
    position: relative;
}

.premium-color-option:hover .premium-color-name, .premium-description-title:hover, .premium-section-title:hover {
    color: var(--primary);
}

.premium-section-title::after {
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
}

.premium-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
}

.premium-info-item {
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.premium-info-item:hover {
    background-color: rgba(243,111,39,.05);
}

.premium-info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.1), transparent);
}

.premium-info-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.premium-info-item:hover .premium-info-label {
    transform: translateY(-3px);
    color: var(--primary);
}

.premium-info-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: inline-block;
}

.premium-info-item:hover .premium-info-value {
    transform: scale(1.1);
    color: var(--primary);
}

.premium-info-value::after {
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
}

.benefits-title::after, .premium-availability::before, .premium-highlight::after {
    width: 100%;
    position: absolute;
    content: "";
}

.premium-availability {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 30px;
    background-color: var(--success-light);
    color: var(--success);
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
}

.premium-availability::before {
    top: 0;
    left: -100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    animation: 2s infinite shimmer;
}

.premium-availability i {
    margin-right: 8px;
    animation: 1.5s infinite pulse;
}

.premium-info-item:hover .premium-availability {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(16,185,129,.3);
}

.premium-color-header, .premium-description-header {
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.premium-description-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-color-icon::before, .premium-description-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color:#fb813f;
    opacity: .5;
    animation: 1.5s infinite pulse;
}

.premium-description-icon i {
    color: #fff;
    font-size: 16px;
}

.premium-description-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: color .3s;
}

.benefit-check, .feature-icon {
    border-radius: 50%;
    transition: .3s;
}

.premium-description-content {
    padding: 8px 20px;
}

.premium-short-description {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.typewriter-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    margin: 0;
    display: inline-block;
    max-width: 100%;
    white-space: normal;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(243,111,39,.3);
}

.feature-icon i {
    color: #fff;
    font-size: 20px;
}

.benefits-title, .feature-content h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.feature-content {
    flex-grow: 1;
}

.feature-content h4 {
    font-size: 18px;
    margin: 0 0 5px;
    transition: color .3s;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.premium-benefits {
    margin: 30px 0;
}

.benefits-title {
    font-size: 20px;
    margin: 0 0 15px;
    position: relative;
    display: inline-block;
}

.benefits-title::after {
    bottom: -5px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    opacity: 0;
    animation: .5s forwards fadeInLeft;
    animation-delay: calc(var(--i, 0) * .2s + 2s);
}

.benefit-check, .premium-color-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    align-items: center;
}

.benefit-item:first-child { --i: 1; }
.benefit-item:nth-child(2) { --i: 2; }
.benefit-item:nth-child(3) { --i: 3; }

.benefit-check {
    background-color: var(--success-light);
    color: var(--success);
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item:hover .benefit-check {
    transform: scale(1.2);
    background-color: var(--success);
    color: #fff;
    box-shadow: 0 3px 10px rgba(16,185,129,.3);
}

.benefit-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
    transition: transform .3s;
}

.benefit-item:hover .benefit-text {
    transform: translateX(5px);
}

.premium-highlight {
    color: #fb813f;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.premium-highlight::after {
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(243,111,39,.2);
    border-radius: 2px;
}

.premium-full-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.premium-full-description.active {
    max-height: 2000px;
}

.premium-color-section {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: .5s cubic-bezier(.25, .8, .25, 1);
    margin-bottom: 30px;
    opacity: 1!important;
}

.premium-color-icon {
    border-radius: 50%;
    background-color: var(--primary);
    position: relative;
    display: flex;
    justify-content: center;
}

.premium-color-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.premium-color-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 5px;
}

.premium-color-options {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 20px;
    padding: 20px;
}

.premium-color-option {
    background: #fff;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    transition: .4s cubic-bezier(.25, .8, .25, 1);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.premium-color-option.active::before, .premium-discount-badge {
    background: var(--primary-gradient);
    box-shadow: 0 3px 10px rgba(243,111,39,.3);
}

.premium-color-option:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    border-color: rgba(243,111,39,.3);
}

.premium-color-option.active {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(243,111,39,.2);
    animation: 2s infinite borderGlow;
}

.premium-color-option.active::before {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
    transform: rotate(10deg);
}

.premium-color-content {
    padding: 15px;
    text-align: center;
}

.premium-color-img-container {
    position: relative;
    width: 100%;
    height: 120px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    transition: .4s;
}

.premium-color-option:hover .premium-color-img-container {
    transform: scale(1.05);
}

.premium-color-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.premium-color-option:hover .premium-color-img, .premium-color-option:hover .premium-color-price {
    transform: scale(1.1);
}

.premium-color-img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.1));
    opacity: 0;
    transition: opacity .3s;
}

.premium-color-option:hover .premium-color-img-container::after {
    opacity: 1;
}

.premium-color-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: .3s;
}

.premium-color-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    transition: .3s;
}

.premium-color-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
}

.premium-discount-badge {
    position: absolute;
    top: 3px;
    left: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 5;
    transform: rotate(-5deg);
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: .1;
    z-index: -1;
}

.float-1 {
    top: 10%;
    left: 5%;
    animation: 6s ease-in-out infinite float;
}

.float-2 {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation: 8s ease-in-out infinite float;
}

.float-3 {
    bottom: 15%;
    left: 15%;
    width: 30px;
    height: 30px;
    animation: 7s ease-in-out infinite float;
}

.float-4 {
    bottom: 10%;
    right: 5%;
    width: 50px;
    height: 50px;
    animation: 9s ease-in-out infinite float;
}

@media (max-width: 768px) {
    .premium-info-grid {
        grid-template-columns: 1fr;
    }
    .premium-info-item:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0,0,0,.1), transparent);
    }
    .premium-color-options {
        grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.tilt-element {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-element>* {
    transform: translateZ(20px);
}

.glow-on-hover {
    position: relative;
    z-index: 1;
}

.glow-on-hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(243,111,39,.8) 0, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity .3s;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.5; transform: scale(1); }
}

@keyframes textShimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulsate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 111, 39, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(243, 111, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 111, 39, 0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== ENHANCED PRODUCT TITLE SECTION ===== */
.tf-product-info-title-enhanced {
    position: relative;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 111, 39, 0.05) 100%);
    border-radius: 15px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border-left: 5px solid #f36f27;
}

.tf-product-info-title-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(243, 111, 39, 0.2);
}

.tf-product-info-title-enhanced::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 111, 39, 0.1) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 0;
}

.product-title-wrapper {
    position: relative;
    z-index: 1;
}

.product-category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, #f36f27, #ff8c4d);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(243, 111, 39, 0.3);
    transform: translateY(-5px);
    animation: slideInDown 0.5s forwards;
}

.animated-product-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #f36f27, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textGradient 3s linear infinite, fadeInUp 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.animated-title-underline {
    height: 3px;
    background: linear-gradient(90deg, #f36f27, transparent);
    width: 0;
    margin-bottom: 15px;
    animation: underlineExpand 1.5s forwards 0.8s;
}

.product-rating-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInRight 0.8s forwards 1s;
}

.product-stars {
    display: flex;
    margin-right: 10px;
}

.product-stars .icon {
    color: #f36f27;
    font-size: 18px;
    margin-right: 2px;
}

.product-stars .icon.filled {
    color: #f36f27;
}

.product-stars .icon.half-filled {
    position: relative;
    overflow: hidden;
}

.product-stars .icon.half-filled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #f36f27;
    z-index: -1;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.enhanced-price-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 1.2s;
}

.price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #f36f27;
    margin-right: 15px;
    position: relative;
    animation: pulsate 2s infinite;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin-right: 1px;
}

.discount-badg {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    animation: pulsate 2s infinite;
}

.price-guarantee {
    display: flex;
    align-items: center;
    background-color: rgba(243, 111, 39, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    margin-top: 10px;
}

.price-guarantee .icon {
    color: #f36f27;
    margin-right: 8px;
    animation: rotate 3s linear infinite;
}

.price-guarantee span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f36f27, #ff8c4d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(243, 111, 39, 0.3);
    transition: all 0.3s ease;
}

.feature-icon i {
    color: white;
    font-size: 20px;
}

.feature-content {
    flex-grow: 1;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== PRODUCT HIGHLIGHTS SECTION ===== */
.product-highlights-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-highlights-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 111, 39, 0.15);
}

.product-highlights-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 111, 39, 0.05) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    z-index: 0;
}

.highlights-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.highlights-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f36f27, #ff8c4d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 5px 15px rgba(243, 111, 39, 0.3);
    animation: pulse 2s infinite;
}

.highlights-icon i {
    color: white;
    font-size: 18px;
}

.highlights-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
}

.highlights-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f36f27;
    transition: width 0.3s ease;
}

.product-highlights-section:hover .highlights-title::after {
    width: 100%;
}

.highlights-content {
    position: relative;
    z-index: 1;
}

.highlights-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid rgba(243, 111, 39, 0.3);
}

.animated-text {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.3s;
}

.highlights-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--i, 0) * 0.2s + 0.5s);
}

.feature-item:nth-child(1) { --i: 1; }
.feature-item:nth-child(2) { --i: 2; }
.feature-item:nth-child(3) { --i: 3; }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .animated-product-title {
        font-size: 28px;
    }
    
    .enhanced-price-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-guarantee {
        margin-top: 15px;
    }
    
    .highlights-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .highlights-features {
        grid-template-columns: 1fr;
    }
}

.product-title-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(243,111,39,.1);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f36f27;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(243,111,39,.3);
    transform: translateY(-30px);
    opacity: 0;
    animation: .6s forwards slideInDown;
}

@keyframes slideInDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.product-title-container {
    margin-bottom: 25px;
}

.product-title {
    font-size: 24px;
    font-weight: 530;
    color: #f36f27;
    margin: 0 0 15px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: .8s .3s forwards fadeInUp;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.title-underline {
    height: 2px;
    background: linear-gradient(90deg, #f36f27, transparent);
    width: 0;
    animation: 1.5s .8s forwards underlineExpand;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    opacity: 0;
    animation: .8s .6s forwards fadeInUp;
}

.price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #f36f27;
    margin-right: 15px;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}

.discount-badge {
    padding: 5px 10px;
    background-color: #4caf50;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
}

.price-guarantee {
    display: inline-block;
    background-color: #f8f0e7;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@media (max-width: 768px) {
    .product-title-showcase {
        padding: 20px;
    }
    .product-title {
        font-size: 26px;
    }
    .current-price {
        font-size: 30px;
    }
    .price-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .price-guarantee {
        margin-top: 15px;
    }
}

@keyframes zoomEffect {
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

.variant-picker-item {
    animation: .5s ease-in-out fadeIn;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quantity-title, .variant-picker-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    display: block;
    position: relative;
}

.variant-picker-label::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f36f27;
    transition: width .3s;
}

.variant-picker-item:hover .variant-picker-label::after {
    width: 80px;
}

.variant-picker-label-value {
    color: #f36f27;
    font-weight: 700;
}

.style-text, .style-text p {
    font-weight: 600;
    position: relative;
}

.variant-picker-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.style-text {
    color: #4a5568;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.style-text:hover:not(.out-of-stock) {
    border-color: #f36f27;
    color: #f36f27;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 111, 39, .15);
}

.style-text p {
    z-index: 2;
    margin: 0;
    font-size: 16px;
}

.style-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 111, 39, .1), transparent);
    opacity: 0;
    transition: opacity .3s;
    z-index: 1;
}

.style-text:hover::before {
    opacity: 1;
}

.color-btn {
    position: relative;
    margin: 5px;
    transition: .3s;
}

.color-btn:hover {
    transform: scale(1.15);
}

.btn-checkbox {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    border: 2px solid #e2e8f0;
    transition: .3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.color-btn:hover .btn-checkbox {
    border-color: #f36f27;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

.hover-tooltip {
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 10;
}

.hover-tooltip:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

.out-of-stock {
    opacity: .6;
    cursor: not-allowed;
    position: relative;
}

.out-of-stock::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e53e3e;
    transform: rotate(-10deg);
}

input[type=radio] {
    display: none;
}

input[type=radio]:checked+.style-text {
    font-weight: 700;
    background-color: #f36f27;
    border-color: #f36f27;
    color: #fff;
}

input[type=radio]:checked+.color-btn .btn-checkbox {
    border: 2px solid #f36f27;
    transform: scale(1.1);
}

.tf-product-info-quantity {
    margin: 3px;
    animation: .5s ease-in-out .2s forwards fadeIn;
    opacity: 0;
}

.quantity-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f36f27;
    transition: width .3s;
    margin-bottom: 5px;
}

.wg-quantity {
    display: flex;
    align-items: stretch;
    width: fit-content;
    height: 47px;
}

.box-icon, .btn-quantity {
    align-items: center;
    background: #fff;
    cursor: pointer;
}

.btn-quantity {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: .2s;
    user-select: none;
    color: #333;
    border: none;
}

.btn-increase {
    color: #fff;
}

.quantity-product {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #fff;
}

.box-icon, .style-text {
    display: flex;
    width: 45px;
    height: 45px;
    transition: .3s;
}

.quantity-product:focus {
    outline: 0;
}

.btn-quantity:active+.quantity-product, .btn-quantity:hover+.quantity-product {
    opacity: 1;
    visibility: visible;
}

.tf-product-info-buy-button {
    margin: 25px 0;
    animation: .5s ease-in-out .3s forwards fadeIn;
    opacity: 0;
}

.tf-product-info-buy-button form {
    display: flex;
    gap: 15px;
}

.tf-btn.btn-fill {
    background: linear-gradient(45deg, #f36f27, #ff8c4d);
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 5px 15px rgba(243, 111, 39, .3);
    position: relative;
    overflow: hidden;
}

.tf-btn.btn-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: .5s;
}

.tf-btn.btn-fill:hover::before {
    left: 100%;
}

.tf-btn.btn-fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 111, 39, .4);
}

.box-icon {
    border-radius: 8px;
    justify-content: center;
    border: 2px solid #e2e8f0;
    position: relative;
}

.box-icon:hover {
    border-color: #f36f27;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.box-icon .icon {
    font-size: 20px;
    color: #f36f27;
    transition: .3s;
}

.box-icon:hover .icon {
    transform: scale(1.2);
}

.bg-color-black {
    background-color: #000;
}

.bg-color-white {
    background-color: #fff;
    border: 1px solid #ddd;
}

.bg-color-red {
    background-color: #e53e3e;
}

.bg-color-blue {
    background-color: #3182ce;
}

.bg-color-green {
    background-color: #38a169;
}

.bg-color-yellow {
    background-color: #ecc94b;
}

.bg-color-purple {
    background-color: #805ad5;
}

.bg-color-pink {
    background-color: #d53f8c;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 111, 39, .7); }
    70% { box-shadow: 0 0 0 10px rgba(243, 111, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 111, 39, 0); }
}

input[type=radio]:checked+.color-btn .btn-checkbox, input[type=radio]:checked+.style-text {
    animation: 1.5s infinite pulse;
}

.style-text {
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
}

.wg-quantity {
    border: 2px solid rgb(185 173 158);
    border-radius: 8px;
    overflow: hidden;
}

.btn-decrease {
    border-right: 1px solid rgb(185 173 158);
}

.btn-increase {
    border-left: 1px solid rgb(185 173 158);
}

.quantity-pricing-section {
    position: relative;
    margin: 30px 0;
}

.quantity-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.quantity-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f36f27;
}

.variant-quantity-pricing {
    margin-top: 20px;
}

.variant-quantity-pricing h6 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.variant-quantity-pricing h6::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #f36f27;
}

.quantity-box {
    position: relative;
    padding: 5px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.quantity-box:hover:not(.out-of-stock) {
    border-color: #f36f27;
    transform: translateY(-3px);
}

.quantity-box.selected {
    border-color: #f36f27;
    background-color: rgba(243, 111, 39, 0.05);
    position: relative;
}

.quantity-box.selected::before {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: #f36f27;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.quantity-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: #f36f27;
    margin-bottom: 5px;
}

.unit-price {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .quantity-pricing-boxes {
        justify-content: center;
        flex-direction: row !important;
    }
    .quantity-box {
        min-width: 100px;
    }
}

.product-rating {
    margin: 15px 0;
}

.stars-container {
    display: flex;
    align-items: center;
}

.stars-container i {
    color: #e0e0e0;
    font-size: 18px;
    margin-right: 2px;
}

.stars-container i.filled {
    color: #f36f27;
}

.rating-value {
    font-weight: bold;
    margin-left: 8px;
    color: #333;
}

.rating-count {
    margin-left: 5px;
    color: #666;
    font-size: 14px;
}

.reply-comment-item .rating i {
    color: #e0e0e0;
    font-size: 16px;
}

.reply-comment-item .rating i.filled {
    color: #f36f27;
}

.list-rating-check {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.list-rating-check input {
    display: none;
}

.list-rating-check label {
    cursor: pointer;
    width: 25px;
    height: 25px;
    font-size: 25px;
    color: #e0e0e0;
}

.list-rating-check label:before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.list-rating-check input:checked ~ label {
    color: #f36f27;
}

.list-rating-check label:hover, .list-rating-check label:hover ~ label {
    color: #ff8c4d;
}

.list-rating-check input:checked ~ label:hover, .list-rating-check input:checked ~ label:hover ~ label {
    color: #ff8c4d;
}

.custom-product-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.custom-product-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc !important;
    transition: all 0.3s ease;
}

.custom-product-carousel .owl-dot.active {
    background-color: #333 !important;
    transform: scale(1.2);
}

.custom-product-carousel .owl-nav {
    display: none;
}

.tf-md-hidden .box-nav-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tf-md-hidden .menu-item {
    position: relative;
    padding: 2px 0;
}

.tf-md-hidden .item-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.tf-md-hidden .item-link:hover {
    color: #f36f27;
}

.tf-md-hidden .item-link.active {
    color: #f36f27;
    font-weight: 700;
}

.tf-md-hidden .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 999;
    border-radius: 4px;
}

.tf-md-hidden .menu-item:hover .sub-menu {
    display: block;
}

.tf-md-hidden .sub-menu li {
    list-style: none;
    padding: 0;
}

.tf-md-hidden .sub-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.tf-md-hidden .sub-menu a:hover {
    background: #f36f27;
    color: white;
}

.btn-search {
    background-color: #f36f27;
    color: #fff;
    border: none;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
}

.btn-search:hover {
    background-color: #d95d21;
    box-shadow: 0px 4px 10px rgba(243, 111, 39, 0.4);
}

.search-input {
    border: 2px solid #f36f27;
    box-shadow: 0px 2px 8px rgba(243, 111, 39, 0.2);
}

.search-input:focus {
    border-color: #d95d21;
    box-shadow: 0px 2px 12px rgba(243, 111, 39, 0.5);
}

.offcanvas {
    border-bottom: 4px solid #f36f27;
}

@media (max-width: 1199px) {
    .tf-md-hidden .box-nav-ul {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .tf-md-hidden .box-nav-ul {
        gap: 15px;
    }
}

.count-box {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #db1215!important;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    min-width: 18px;
}

.nav-icon-item {
    position: relative;
}

.tf-md-hidden .box-nav-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tf-md-hidden .menu-item {
    position: relative;
    padding: 2px 0;
}

.tf-md-hidden .item-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.tf-md-hidden .item-link:hover {
    color: #f36f27;
}

.tf-md-hidden .item-link.active {
    color: #f36f27;
    font-weight: 700;
}

.tf-md-hidden .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 999;
    border-radius: 4px;
}

.tf-md-hidden .menu-item:hover .sub-menu {
    display: block;
}

.tf-md-hidden .sub-menu li {
    list-style: none;
    padding: 0;
}

.tf-md-hidden .sub-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.tf-md-hidden .sub-menu a:hover {
    background: #f36f27;
    color: white;
}

.btn-search {
    background-color: #f36f27;
    color: #fff;
    border: none;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
}

.btn-search:hover {
    background-color: #d95d21;
    box-shadow: 0px 4px 10px rgba(243, 111, 39, 0.4);
}

.search-input {
    border: 2px solid #f36f27;
    box-shadow: 0px 2px 8px rgba(243, 111, 39, 0.2);
}

.search-input:focus {
    border-color: #d95d21;
    box-shadow: 0px 2px 12px rgba(243, 111, 39, 0.5);
}

.offcanvas {
    border-bottom: 4px solid #f36f27;
}

@media (max-width: 1199px) {
    .tf-md-hidden .box-nav-ul {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .tf-md-hidden .box-nav-ul {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .container, .px_15, .lg-px_40 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .tf-product-media-wrap {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .tf-product-media-main .swiper-slide {
        min-height: 300px !important;
        max-height: 400px !important;
    }
    .tf-product-info-wrap {
        padding-top: 15px !important;
    }
    .flat-spacing-4, .flat-spacing-17 {
        padding-top: 0 !important;
        padding-bottom: 20px !important;
    }
    .quantity-pricing-section {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    .quantity-pricing-boxes {
        gap: 10px !important;
    }
    .quantity-box {
        min-width: 100px !important;
        max-width: 110px !important;
        padding: 10px !important;
    }
    .premium-container, .premium-info-card, .premium-description-section, .premium-color-section {
        margin: 15px 0 !important;
        padding: 15px !important;
    }
    .widget-tabs.style-has-border {
        margin-top: 20px !important;
    }
    .tf-product-info-list {
        padding: 0 !important;
    }
    .zoom-container {
        min-height: 350px !important;
        max-height: 400px !important;
    }
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    #wrapper {
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    .premium-color-options {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .quantity-pricing-boxes {
        justify-content: center !important;
        flex-direction: row !important;
    }
    .quantity-box {
        min-width: 90px !important;
        max-width: 95px !important;
    }
}

@media (max-width: 767px) {
    .zoom-popup {
        display: none !important;
    }
    .zoom-container {
        position: relative;
        overflow: hidden;
        touch-action: manipulation;
    }
    .zoom-image {
        width: 100%;
        height: auto;
        transform-origin: center center;
        transition: transform 0.3s ease;
    }
    .zoom-image.zoomed {
        transform: scale(1.5);
        cursor: grab;
    }
    .zoom-container.pinch-zoom {
        overflow: visible;
    }
    .tf-product-media-main {
        overflow: hidden;
    }
    .tf-product-media-main .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .zoom-image:hover {
        opacity: 1 !important;
        cursor: default !important;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .zoom-popup {
        width: 400px !important;
        height: 400px !important;
    }
}

.section-title {
    color: #f36f27;
    font-weight: 600;
    font-family: playfair;
}

/* Mobile Responsive Tabs */
@media (max-width: 768px) {
    .widget-menu-tab {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .widget-menu-tab .item-title {
        width: 100%;
        margin-bottom: 5px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 12px 15px;
        background: #f9f9f9;
        transition: all 0.3s ease;
    }
    
    .widget-menu-tab .item-title.active {
        background: #f36f27;
        color: white;
        border-color: #f36f27;
    }
    
    .widget-menu-tab .item-title .inner {
        font-size: 14px;
        font-weight: 600;
        display: block;
        text-align: left;
    }
    
    .widget-content-tab {
        margin-top: 20px;
    }
    
    .widget-content-inner {
        padding: 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Description content styling for mobile */
    .description-content {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .view-more-btn {
        display: block;
        width: 100%;
        padding: 10px;
        background: #f36f27;
        color: white;
        border: none;
        border-radius: 5px;
        margin-top: 15px;
        font-weight: 600;
        text-align: center;
    }
}

/* Trust Section Styles */

.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.trust-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
   
    transition: all 0.3s ease;
    min-height: 100px;
}

.trust-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 111, 39, 0.1);
    border-color: rgba(243, 111, 39, 0.3);
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f36f27, #ff8c4d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.trust-icon i {
    color: white;
    font-size: 16px;
}

.trust-content h6 {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.trust-content p {
    font-size: 10px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .trust-feature-item {
        padding: 12px 8px;
        min-height: 90px;
    }
    
    .trust-icon {
        width: 35px;
        height: 35px;
    }
    
    .trust-icon i {
        font-size: 14px;
    }
    
    .tf-product-info-trust-section {
        padding: 12px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .trust-features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .trust-content h6 {
        font-size: 11px;
    }
    
    .trust-content p {
        font-size: 9px;
    }
    
    .trust-feature-item {
        flex-direction: row;
        text-align: left;
        padding: 10px;
        min-height: auto;
    }
    
    .trust-icon {
        margin-bottom: 0;
        margin-right: 10px;
    }
}

/* Animation for trust items */
@keyframes fadeInUpTrust {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-feature-item {
    animation: fadeInUpTrust 0.6s ease forwards;
}

.trust-feature-item:nth-child(1) { animation-delay: 0.1s; }
.trust-feature-item:nth-child(2) { animation-delay: 0.2s; }
.trust-feature-item:nth-child(3) { animation-delay: 0.3s; }
.trust-feature-item:nth-child(4) { animation-delay: 0.4s; }

/* ===================================
   ENHANCED IMAGE GALLERY STYLES
   Hover-only functionality (no click)
   ================================== */
.tf-product-media-thumbs .swiper-slide {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 6px;
    position: relative;
}

/* Hover state for thumbnails - only hover, no click */
.tf-product-media-thumbs .swiper-slide:hover {
    border-color: #f36f27;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(243, 111, 39, 0.15);
}

/* Active/Permanent state (only on first image load) */
.tf-product-media-thumbs .swiper-slide.active {
    position: relative;
}

.tf-product-media-thumbs .swiper-slide.active::after {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

/* Hover-active class (temporary hover preview) */
.tf-product-media-thumbs .swiper-slide.hover-active {
    border-color: #ff8c4d !important;
    transform: scale(1.03) !important;
}

.zoom-image {
    transition: opacity 0.3s ease !important;
}

.main-image-changing {
    opacity: 0.7;
}

.tf-product-media-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.tf-product-media-main .swiper-slide {
   
    align-items: center !important;
    justify-content: center !important;
    min-height: 500px !important;
}

.zoom-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.zoom-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tf-product-media-main .swiper-slide {
        min-height: 400px !important;
    }
    
    .zoom-container {
        height: 400px;
    }
    
    .tf-product-media-thumbs .swiper-slide.active::after {
        top: -5px;
        right: -5px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .tf-product-media-thumbs .swiper-slide:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .tf-product-media-main .swiper-slide {
        min-height: 350px !important;
    }
    
    .zoom-container {
        height: 350px;
    }

    .tf-product-media-thumbs .swiper-slide:hover {
        transform: scale(1.01);
    }
}

/* === ENHANCED IMAGE GALLERY STYLES === */
.tf-product-media-thumbs .swiper-slide {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.tf-product-media-thumbs .swiper-slide:hover {
    transform: scale(1.05);
}

.tf-product-media-thumbs .swiper-slide.active::after {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.tf-product-media-thumbs .swiper-slide.hover-active {
    transform: scale(1.03);
}

.zoom-image {
    transition: opacity 0.15s ease !important;
    opacity: 1 !important;
}

/* Removed opacity reduction - images now always display at full clarity */
.main-image-changing {
    opacity: 1 !important;
}

.tf-product-media-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.tf-product-media-main .swiper-slide {
    
    align-items: center !important;
    justify-content: center !important;
    min-height: 500px !important;
}

.zoom-popup-img {
    opacity: 1 !important;
    transition: opacity 0.15s ease !important;
}

.quantity-box {
    position: relative;
    padding: 1px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.quantity-box:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.discount-badg {
    background-color: #43b755;
    color: white;
    font-weight: 600;
    padding: 5px 10px;
    font-size: 13px;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quantity-content {
    text-align: center;
    margin-top: 5px;
}

.pack-label {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 1px;
}

.price-section .offer-price {
    font-size: 17px;
    font-weight: 700;
    color: #3e8209;
    margin-bottom: 1px;
}

.price-section .original-price {
    font-size: 15px;
    color: #a0a0a0;
    text-decoration: line-through;
    margin-bottom: 1px;
}

.unit-price {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.stock-status {
    margin-top: 8px;
    font-size: 13px;
    color: #d9534f;
    font-weight: bold;
}

.flex-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.flex-spec-card {
    flex: 1 1 calc(50% - 30px); /* 2 columns with gap */
    min-width: 300px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.flex-spec-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.flex-card-header {
    margin-bottom: 20px;
    text-align: center;
}

.flex-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: capitalize;
}

.flex-divider {
    width: 50px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
}

.flex-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.flex-spec-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.flex-spec-table tr:last-child {
    border-bottom: none;
}

.flex-spec-key {
    width: 40%;
    padding: 12px 15px;
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9fa;
    border-right: 2px solid #e9ecef;
    font-size: 14px;
}

.flex-spec-value {
    width: 60%;
    padding: 12px 15px;
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .flex-grid-container {
        gap: 20px;
    }
    
    .flex-spec-card {
        flex: 1 1 100%; /* 1 column on mobile */
        min-width: auto;
        padding: 20px;
    }
}


/* Additional Information Section - Mobile Responsive */
.info-grid-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.info-grid-item {
    background: #fff;
    height: fit-content;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.info-header {
    margin-bottom: 1px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.title-divider {
    height: 3px;
    background: linear-gradient(90deg, #f36f27, transparent);
    width: 50px;
    border-radius: 2px;
}

/* Fix for CKEditor content responsiveness */
.info-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    width: 100%;
    overflow: hidden;
}

/* Improved table responsiveness */
.info-content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    margin: 15px 0;
    table-layout: fixed; /* Added for better control */
}

.info-content table td,
.info-content table th {
    padding: 10px 12px; /* Increased padding */
    border: 1px solid #e0e0e0;
    word-break: break-word;
    vertical-align: top; /* Align content to top */
    min-width: 120px; /* Minimum width for readability */
}

/* First column (labels) styling */
.info-content table td:first-child,
.info-content table th:first-child {
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
    width: 35%; /* Fixed width for labels */
    min-width: 100px;
}

/* Second column (values) styling */
.info-content table td:last-child,
.info-content table th:last-child {
    width: 65%; /* Remaining width for values */
    color: #555;
}

/* Fix for images in CKEditor content */
.info-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 10px 0;
}

/* Fix for lists in CKEditor */
.info-content ul,
.info-content ol {
    padding-left: 20px;
    margin: 10px 0;
}

.info-content li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Fix for headings in CKEditor */
.info-content h1,
.info-content h2,
.info-content h3,
.info-content h4,
.info-content h5,
.info-content h6 {
    margin: 15px 0 10px 0;
    line-height: 1.3;
    word-break: break-word;
}

.info-content h1 { font-size: 22px; }
.info-content h2 { font-size: 20px; }
.info-content h3 { font-size: 18px; }
.info-content h4 { font-size: 16px; }
.info-content h5 { font-size: 15px; }
.info-content h6 { font-size: 14px; }

/* Fix for paragraphs */
.info-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    word-break: break-word;
}

/* Fix for strong/bold text */
.info-content strong {
    color: #333;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .info-grid-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid-item {
        padding: 15px;
    }
    
    .info-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .info-grid-sections {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .info-grid-item {
        padding: 15px;
        border-radius: 8px;
    }
    
    .info-title {
        font-size: 16px;
        margin-bottom: -7px;
    }
    
    .info-content {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Mobile fixes for tables */
    .info-content table {
        font-size: 13px;
        display: table; /* Keep as table for better structure */
        table-layout: auto; /* Auto layout for mobile */
    }
    
    .info-content table td,
    .info-content table th {
        padding: 8px 10px; /* Adjusted padding for mobile */
        display: table-cell; /* Ensure proper table display */
        min-width: auto; /* Remove fixed min-width */
    }
    
    /* Stack table on very small screens */
    .info-content table.responsive-table {
        display: block;
    }
    
    .info-content table.responsive-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 10px;
    }
    
    .info-content table.responsive-table td,
    .info-content table.responsive-table th {
        display: block;
        width: 100% !important;
        border: none;
        padding: 4px 0;
    }
    
    .info-content table.responsive-table td:first-child,
    .info-content table.responsive-table th:first-child {
        font-weight: 600;
        color: #333;
        background: none;
        border-bottom: 1px dashed #e0e0e0;
        padding-bottom: 6px;
        margin-bottom: 4px;
    }
    
    /* Mobile fixes for headings */
    .info-content h1 { font-size: 18px; }
    .info-content h2 { font-size: 17px; }
    .info-content h3 { font-size: 16px; }
    .info-content h4 { font-size: 15px; }
    .info-content h5 { font-size: 14px; }
    .info-content h6 { font-size: 13px; }
}

@media (max-width: 480px) {
    .info-grid-sections {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .info-grid-item {
        padding: 12px;
    }
    
    .info-title {
        font-size: 15px;
    }
    
    .info-content {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Extra small screen table fixes */
    .info-content table {
        display: block;
        overflow-x: visible; /* Changed from auto to visible */
        white-space: normal; /* Changed from nowrap to normal */
        -webkit-overflow-scrolling: touch;
    }
    
    .info-content table td,
    .info-content table th {
        min-width: 100px; /* Slightly increased min-width */
        font-size: 12px;
        padding: 6px 8px;
        display: table-cell; /* Ensure table cell display */
    }
    
    /* Force two-column layout even on mobile */
    .info-content table td:first-child,
    .info-content table th:first-child {
        width: 40% !important;
        min-width: 90px;
    }
    
    .info-content table td:last-child,
    .info-content table th:last-child {
        width: 60% !important;
    }
}

/* Very small screens - stack the tables */
@media (max-width: 360px) {
    .info-content table {
        display: block;
    }
    
    .info-content table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 8px;
        background: #fafafa;
    }
    
    .info-content table td,
    .info-content table th {
        display: block;
        width: 100% !important;
        border: none;
        padding: 4px 0;
        min-width: auto;
    }
    
    .info-content table td:first-child,
    .info-content table th:first-child {
        font-weight: 600;
        color: #333;
        background: none;
        border-bottom: 1px dashed #e0e0e0;
        padding-bottom: 6px;
        margin-bottom: 4px;
        width: 100% !important;
    }
    
    .info-content table td:last-child,
    .info-content table th:last-child {
        width: 100% !important;
    }
}

/* Force responsive behavior for all CKEditor elements */
.info-content * {
    max-width: 100% !important;
}

/* Fix for any overflowing elements */
.info-content div,
.info-content span,
.info-content section,
.info-content article {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* Ensure proper text wrapping */
.info-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Fix for pre/code blocks */
.info-content pre,
.info-content code {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    overflow-x: auto;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
}

/* Fix for blockquotes */
.info-content blockquote {
    border-left: 3px solid #f36f27;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
}

/* Additional table styling for better readability */
.info-content table {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.info-content table th {
    color: white;
    font-weight: 600;
    text-align: left;
}

.info-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.info-content table tr:hover {
    background-color: #f0f0f0;
}


/* ===== MOBILE IMAGE GALLERY FIXES ===== */
@media (max-width: 767px) {
    /* Fix zoom container for mobile */
    .zoom-container {
        height: auto !important;
        min-height: 300px !important;
        max-height: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
        background-color: #f9f9f9;
        border-radius: 8px;
        margin: 0 auto;
        padding: 10px;
    }

    /* Ensure images display properly on mobile */
    .zoom-image {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Fix swiper slide container */
    .tf-product-media-main .swiper-slide {
        min-height: 300px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }

    /* Ensure the main product media container is flexible */
    .tf-product-media-main {
        height: auto !important;
        min-height: 300px !important;
    }

    /* Remove any constraints that might hide images */
    .tf-product-media-main img,
    .zoom-image,
    .tf-image-zoom {
        max-height: none !important;
        height: auto !important;
        width: auto !important;
    }
}

/* ===== EXTRA SMALL MOBILE FIXES ===== */
@media (max-width: 480px) {
    .zoom-container {
        min-height: 250px !important;
        padding: 5px;
    }

    .tf-product-media-main .swiper-slide {
        min-height: 250px !important;
    }
}

/* ===== TABLET FIXES ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .zoom-container {
        height: auto !important;
        min-height: 400px !important;
    }

    .tf-product-media-main .swiper-slide {
        min-height: 400px !important;
        height: auto !important;
    }
}

/* ===== FORCE IMAGE VISIBILITY ===== */
.tf-product-media-main img,
.zoom-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* For mobile devices */
@media (max-width: 768px) {
    .tf-product-media-thumbs {
        max-height: 300px; /* Reduced height for mobile */
        height: auto;
    }
}

/* For very small mobile devices */
@media (max-width: 480px) {
    .tf-product-media-thumbs {
        max-height: 250px; /* Even smaller height for very small screens */
    }
}

.tf-product-media-thumbs .swiper-wrapper {
    height: auto !important;
}

.tf-product-media-thumbs .swiper-slide {
    height: auto !important;
    max-height: 100px; /* Adjust based on your thumbnail size */
}

.tf-product-media-thumbs .item {
    height: 100%;
}

.tf-product-media-thumbs img {
    max-height: 100px; /* Control thumbnail height */
    width: auto;
    object-fit: cover;
    display: block;
}

/* Alternative approach - if you want consistent thumbnail spacing */
.tf-product-media-thumbs .swiper-slide {
    margin-bottom: 10px; /* Consistent spacing between thumbnails */
}

.tf-product-media-thumbs .swiper-slide:last-child {
    margin-bottom: 0; /* Remove margin from last thumbnail */
}


.detail-container{
    max-width: 1350px !important;
}

@media (max-width: 768px) {
   
    
   .premium-color-header, .premium-description-header {
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

}
@media (max-width: 480px) {
   
    
   .premium-color-header, .premium-description-header {
    padding: 0px;
    display: flex;
    align-items: center;
    position: relative;
}

}