/**
 * Ecomus Product Detail Styles
 * BIREBIR Ecomus HTML Theme - Updated 2026-01-03
 */

/* ==========================================================================
   CSS VARIABLES - Ecomus exact values
   ========================================================================== */
:root {
    --main: #000;
    --primary: #e62e04;
    --white: #fff;
    --line: #ebebeb;
    --text: #868686;
    --text-3: #868686;
    --bg-1: #f2f2f2;
}

/* ==========================================================================
   ECOMUS ICON FONT
   ========================================================================== */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?45zxck');
    src: url('../fonts/icomoon.eot?45zxck#iefix') format('embedded-opentype'),
         url('../fonts/icomoon.ttf?45zxck') format('truetype'),
         url('../fonts/icomoon.woff?45zxck') format('woff'),
         url('../fonts/icomoon.svg?45zxck#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ecomus Icons */
.icon-time:before { content: "\e962"; }
.icon-lightning:before { content: "\e934"; }
.icon-question:before { content: "\e94b"; }
.icon-share:before { content: "\e952"; }
.icon-delivery-time:before { content: "\e919"; }
.icon-return-order:before { content: "\e94f"; }
.icon-safe:before { content: "\e950"; }
.icon-heart:before { content: "\e92e"; }
.icon-heart-full:before { content: "\e92f"; }
.icon-compare:before { content: "\e914"; }
.icon-check:before { content: "\e911"; }
.icon-delete:before { content: "\e917"; }
.icon-search:before { content: "\e951"; }
.icon-close:before { content: "\e912"; }
.icon-arrow-left:before { content: "\e905"; }
.icon-arrow-right:before { content: "\e906"; }
.icon-arrow-down:before { content: "\e904"; }
.icon-arrow-up:before { content: "\e907"; }
.icon-bag:before { content: "\e908"; }
.icon-account:before { content: "\e900"; }
.icon-view:before { content: "\e969"; }
.icon-zoom:before { content: "\e96d"; }
.icon-star:before { content: "\e95b"; }

/* ==========================================================================
   BREADCRUMB - Ecomus Exact
   ========================================================================== */
.tf-breadcrumb {
    background-color: transparent;
}

.tf-breadcrumb-wrap {
    padding: 22.5px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.tf-breadcrumb-wrap .tf-breadcrumb-list {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.tf-breadcrumb-wrap .tf-breadcrumb-list .icon {
    font-size: 8px;
    font-weight: 700;
}

.tf-breadcrumb-wrap .tf-breadcrumb-list a {
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.3s;
}

.tf-breadcrumb-wrap .tf-breadcrumb-list a:hover {
    color: var(--main);
}

.tf-breadcrumb-wrap .tf-breadcrumb-list span:not(.icon) {
    color: var(--main);
}

/* ==========================================================================
   MAIN PRODUCT SECTION
   ========================================================================== */
.tf-main-product {
    padding: 0;
}

/* ==========================================================================
   GALLERY - THUMBS SLIDER (Left Thumbnails - Default)
   ========================================================================== */
.thumbs-slider {
    display: flex;
    gap: 10px;
}

.tf-product-media-wrap {
    position: relative;
}

.tf-product-media-wrap.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Thumbnails - 14% width on left */
.tf-product-media-thumbs {
    width: calc(14% - 10px);
    max-height: 846px;
}

.tf-product-media-thumbs .swiper-slide {
    height: max-content;
}

.tf-product-media-thumbs .swiper-slide .item {
    position: relative;
    height: 100%;
    cursor: pointer;
}

.tf-product-media-thumbs .swiper-slide .item img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-product-media-thumbs .swiper-slide .item::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.tf-product-media-thumbs .swiper-slide.swiper-slide-thumb-active .item::after {
    border: 2px solid var(--main);
}

/* Main Image - 86% width on right */
.tf-product-media-main {
    width: 86%;
    border-radius: 10px;
    overflow: hidden;
}

.tf-product-media-main .swiper-slide {
    height: auto !important;
    display: flex;
    align-items: stretch;
}

.tf-product-media-main .item {
    width: 100%;
    display: block;
}

/* Aspect Ratio Box - ensures consistent gallery ratio */
.tf-product-media-main .aspect-ratio-box {
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    height: 0 !important; /* Important: allows padding-bottom to control height */
    display: block !important;
}

.tf-product-media-main .swiper-slide .aspect-ratio-box {
    width: 100% !important;
    height: 0 !important;
}

.tf-product-media-main .aspect-ratio-box img,
.tf-product-media-main .swiper-slide .aspect-ratio-box img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    max-height: none !important;
}

.tf-product-media-main .item img:not(.aspect-ratio-box img) {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Navigation Arrows - Ecomus Exact */
.tf-product-media-main .swiper-button-next,
.tf-product-media-main .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tf-product-media-main:hover .swiper-button-next,
.tf-product-media-main:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.tf-product-media-main .swiper-button-next::after,
.tf-product-media-main .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
    color: var(--main);
}

/* ==========================================================================
   GALLERY - BOTTOM THUMBNAILS
   ========================================================================== */
.tf-product-media-wrap.thumbs-bottom .thumbs-slider {
    flex-direction: column;
}

.tf-product-media-wrap.thumbs-bottom .tf-product-media-main {
    width: 100%;
    order: 0;
}

.tf-product-media-wrap.thumbs-bottom .tf-product-media-thumbs {
    width: 100%;
    max-height: none;
    order: 1;
}

.tf-product-media-wrap.thumbs-bottom .tf-product-media-thumbs .swiper-slide {
    width: 119px;
}

/* ==========================================================================
   GALLERY - RIGHT THUMBNAILS
   ========================================================================== */
.tf-product-media-wrap.thumbs-right .thumbs-slider {
    flex-direction: row-reverse;
}

/* ==========================================================================
   GALLERY - SLIDER MODE (No thumbnails)
   ========================================================================== */
.tf-product-media-wrap.slider-mode {
    width: 100%;
}

.tf-product-media-wrap.slider-mode .tf-product-media-slider {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.tf-product-media-slider .swiper-slide .item {
    display: block;
    width: 100%;
}

.tf-product-media-slider .swiper-slide .item img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
}

.tf-product-media-slider .swiper-pagination {
    bottom: 15px;
}

.tf-product-media-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--white);
    opacity: 0.6;
}

.tf-product-media-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--main);
}

/* Slider Navigation */
.tf-product-media-slider .swiper-button-next,
.tf-product-media-slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tf-product-media-slider:hover .swiper-button-next,
.tf-product-media-slider:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.tf-product-media-slider .swiper-button-next::after,
.tf-product-media-slider .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
    color: var(--main);
}

/* ==========================================================================
   GALLERY - GRID LAYOUT
   ========================================================================== */
.tf-product-media-grid .row {
    margin: 0 -5px;
}

.tf-product-media-grid .row > [class*="col-"] {
    padding: 0 5px;
    margin-bottom: 10px;
}

.tf-product-media-grid-item {
    border-radius: 10px;
    overflow: hidden;
}

.tf-product-media-grid-item .item {
    display: block;
    width: 100%;
}

.tf-product-media-grid-item .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tf-product-media-grid-item:hover .item img {
    transform: scale(1.02);
}

/* ==========================================================================
   PRODUCT LABEL / BADGE ON GALLERY
   ========================================================================== */
.tf-product-label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.tf-product-label.sale {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   ZOOM STYLES
   ========================================================================== */
.tf-zoom-main {
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.drift-zoom-pane {
    z-index: 5000;
    background: var(--white);
}

.drift-bounding-box.drift-open {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
    z-index: 5000;
}

.tf-image-zoom {
    cursor: crosshair;
}

.tf-image-zoom-magnifier {
    cursor: zoom-in;
}

.tf-image-zoom-inner {
    cursor: crosshair;
}

/* Zoom Active State */
.section-image-zoom .other-image-zoom {
    transition: all 0.3s ease-in-out;
}

.section-image-zoom.zoom-active .other-image-zoom {
    opacity: 0.3;
}

/* ==========================================================================
   PRODUCT INFO WRAP - Right Column
   ========================================================================== */
.tf-product-info-wrap {
    position: relative;
}

.tf-product-info-wrap.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.tf-product-info-list {
    padding-left: 25px;
}

.tf-product-info-list > div:not(:last-child) {
    margin-bottom: 30px;
}

/* ==========================================================================
   PRODUCT TITLE - Ecomus Exact
   ========================================================================== */
.tf-product-info-title {
    margin-bottom: 20px !important;
}

.tf-product-info-title h5 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    color: var(--main);
}

.tf-product-brand {
    margin-bottom: 8px;
}

.tf-product-brand a {
    font-size: 14px;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-product-brand a:hover {
    color: var(--main);
}

/* ==========================================================================
   PRODUCT BADGES - Ecomus Exact
   ========================================================================== */
.tf-product-info-badges {
    margin-bottom: 18px !important;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.tf-product-info-badges .badges {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--main);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 29px;
    text-transform: uppercase;
    color: var(--main);
}

.tf-product-info-badges .product-status-content {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.tf-product-info-badges .product-status-content i {
    font-size: 20px;
    color: var(--primary);
    animation: tf-ani-flash 2s infinite;
}

.tf-product-info-badges .product-status-content p {
    margin: 0;
    font-weight: 600;
}

@keyframes tf-ani-flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

/* ==========================================================================
   PRODUCT PRICE - Ecomus Exact
   ========================================================================== */
.tf-product-info-price {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.tf-product-info-price .price {
    color: var(--main);
    font-size: 28px;
    line-height: 28px;
    font-weight: 400;
}

.tf-product-info-price .price-on-sale {
    color: var(--primary);
    font-size: 28px;
    line-height: 28px;
    font-weight: 400;
}

.tf-product-info-price .compare-at-price {
    color: rgba(0, 0, 0, 0.55);
    font-size: 20px;
    line-height: 20px;
    text-decoration: line-through;
}

.tf-product-info-price .badges-on-sale {
    background-color: rgb(252, 87, 50);
    border-radius: 28px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
    color: var(--white);
}

/* Campaign Label */
.tf-campaign-label .badges {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* ==========================================================================
   LIVE VIEW - Ecomus Exact
   ========================================================================== */
.tf-product-info-liveview {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tf-product-info-liveview .liveview-count {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    min-height: 24px;
    padding: 0 8px;
    line-height: 24px;
    color: var(--white);
    background-color: var(--main);
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
}

.tf-product-info-liveview p {
    margin: 0;
    font-weight: 600;
}

/* ==========================================================================
   COUNTDOWN TIMER - Ecomus Exact
   ========================================================================== */
.tf-product-info-countdown {
    margin-bottom: 30px !important;
}

.tf-product-info-countdown .countdown-wrap {
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid var(--primary);
    border-radius: 2.5px;
    text-align: center;
    min-width: 367px;
}

.tf-product-info-countdown .countdown-title {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.tf-product-info-countdown .countdown-title i {
    font-size: 14px;
    color: var(--main);
}

.tf-product-info-countdown .countdown-title p {
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Countdown Timer - Tada Animation */
@keyframes tf-ani-tada {
    from, to {
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
}

.tf-ani-tada {
    animation: tf-ani-tada 2s infinite;
}

/* Countdown Numbers - Style 1 */
.tf-countdown.style-1 {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.tf-countdown.style-1 .countdown__item {
    display: flex;
    align-items: baseline;
}

.tf-countdown.style-1 .countdown__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    min-width: 30px;
}

.tf-countdown.style-1 .countdown__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================================================
   VARIANT PICKER - Ecomus Exact
   ========================================================================== */
.tf-product-info-variant-picker {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.variant-picker-item .variant-picker-label {
    margin-bottom: 8px;
    font-size: 14px;
}

.variant-picker-item {
    margin-bottom: 15px;
}

.variant-picker-item .variant-picker-label-value {
    font-weight: 600;
}

.variant-picker-item .variant-picker-values {
    display: flex;
    gap: var(--swatch-gap, 10px);
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Hide radio inputs */
.variant-picker-item input[type="radio"] {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    word-wrap: normal !important;
}

/* Base label styles */
.variant-picker-item label {
    position: relative;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

/* Color Swatch */
.variant-picker-item label.color-btn {
    width: var(--color-swatch-size, 32px);
    height: var(--color-swatch-size, 32px);
    padding: 3px;
}

/* Color Swatch - Circle */
.variant-picker-item label.color-btn.radius-circle {
    border-radius: 50%;
}

.variant-picker-item label.color-btn.radius-circle .btn-checkbox {
    border-radius: 50%;
}

/* Color Swatch - Square */
.variant-picker-item label.color-btn.radius-square {
    border-radius: 4px;
}

.variant-picker-item label.color-btn.radius-square .btn-checkbox {
    border-radius: 2px;
}

.variant-picker-item label:hover {
    border-color: var(--main);
}

/* Color Swatch Button */
.variant-picker-item label.color-btn .btn-checkbox {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(134, 134, 134, 0.12);
}

.variant-picker-item label.color-btn.active,
.variant-picker-item input:checked + label.color-btn {
    border-color: var(--main) !important;
    box-shadow: 0 0.4rem 0.4rem rgba(0,0,0,0.1);
}

/* Size/Text Button */
.variant-picker-item label.style-text,
.variant-picker-item label.size-btn {
    min-width: var(--swatch-min-width, 45px);
    height: var(--swatch-height, 38px);
    width: max-content;
    background-color: var(--swatch-bg, #ffffff);
    color: var(--swatch-text, #666666);
    border: 1px solid var(--swatch-border-color, rgba(134, 134, 134, 0.12));
    border-radius: var(--swatch-border-radius, 3px);
    padding: var(--swatch-padding-y, 7px) var(--swatch-padding-x, 15px);
    font-size: var(--swatch-font-size, 13px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.variant-picker-item label.style-text p,
.variant-picker-item label.size-btn p,
.variant-picker-item label.style-text span,
.variant-picker-item label.size-btn span {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: inherit;
}

.variant-picker-item label.style-text:hover,
.variant-picker-item label.size-btn:hover {
    border-color: var(--main);
}

.variant-picker-item input:checked + label.style-text,
.variant-picker-item input:checked + label.size-btn,
.variant-picker-item label.style-text.active,
.variant-picker-item label.size-btn.active {
    background-color: var(--swatch-selected-bg, #000000);
    border-color: var(--swatch-selected-bg, #000000);
    box-shadow: 0 0.4rem 0.4rem rgba(0,0,0,0.1);
    color: var(--swatch-selected-text, #ffffff) !important;
}

.variant-picker-item input:checked + label.style-text p,
.variant-picker-item input:checked + label.size-btn p,
.variant-picker-item input:checked + label.style-text span,
.variant-picker-item input:checked + label.size-btn span,
.variant-picker-item label.style-text.active p,
.variant-picker-item label.size-btn.active p,
.variant-picker-item label.style-text.active span,
.variant-picker-item label.size-btn.active span {
    color: var(--swatch-selected-text, #ffffff) !important;
}

/* Image Swatch Container */
.tf-swatch-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Image Swatch */
.variant-picker-item label.image-btn,
.variant-picker-item button.image-btn,
.tf-swatch-images .image-btn {
    position: relative;
    width: var(--image-swatch-size, 70px);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.variant-picker-item label.image-btn:hover,
.variant-picker-item button.image-btn:hover,
.tf-swatch-images .image-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.variant-picker-item label.image-btn img,
.variant-picker-item button.image-btn img,
.tf-swatch-images .image-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.variant-picker-item label.image-btn:hover img,
.variant-picker-item button.image-btn:hover img,
.tf-swatch-images .image-btn:hover img {
    transform: scale(1.05);
}

/* Image Swatch - Selected State */
.variant-picker-item label.image-btn.active,
.variant-picker-item input:checked + label.image-btn,
.variant-picker-item button.image-btn.active,
.tf-swatch-images .image-btn.active {
    border-color: var(--main, #000);
}

/* Sold Out Variant */
.variant-picker-item label.sold-out {
    opacity: 0.5;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: line-through;
    pointer-events: none;
}

/* Tooltip */
.variant-picker-item label .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: var(--main);
    color: var(--white);
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.variant-picker-item label:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Find Size Link */
.find-size {
    text-decoration: underline !important;
    text-underline-offset: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    font-weight: 600;
}

.find-size:hover {
    color: var(--primary);
}

/* ==========================================================================
   CUSTOM DROPDOWN - Modern Style
   ========================================================================== */
.tf-custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 160px;
}

/* Trigger Button */
.tf-custom-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.tf-custom-dropdown .dropdown-trigger:hover {
    border-color: #ccc;
}

.tf-custom-dropdown .dropdown-trigger:focus {
    outline: none;
    border-color: var(--main, #000);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.tf-custom-dropdown.open .dropdown-trigger {
    border-color: var(--main, #000);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Color Preview in Trigger */
.tf-custom-dropdown .dropdown-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Selected Text */
.tf-custom-dropdown .dropdown-selected-text {
    flex: 1;
    text-align: left;
}

/* Arrow Icon */
.tf-custom-dropdown .dropdown-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #666;
}

.tf-custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.tf-custom-dropdown .dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.tf-custom-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown List */
.tf-custom-dropdown .dropdown-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 250px;
    overflow-y: auto;
}

/* Dropdown Item */
.tf-custom-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    color: #333;
}

.tf-custom-dropdown .dropdown-item:hover {
    background: #f5f5f5;
}

.tf-custom-dropdown .dropdown-item.selected {
    background: #f0f0f0;
    font-weight: 600;
}

/* Item Text */
.tf-custom-dropdown .dropdown-item-text {
    flex: 1;
}

/* Check Icon */
.tf-custom-dropdown .dropdown-check {
    width: 16px;
    height: 16px;
    color: var(--main, #000);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.15s ease;
}

.tf-custom-dropdown .dropdown-item.selected .dropdown-check {
    opacity: 1;
    transform: scale(1);
}

/* Scrollbar Styling */
.tf-custom-dropdown .dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.tf-custom-dropdown .dropdown-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.tf-custom-dropdown .dropdown-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.tf-custom-dropdown .dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ==========================================================================
   QUANTITY PICKER - Ecomus Exact
   ========================================================================== */
.tf-product-info-quantity {
    margin-bottom: 30px !important;
}

.tf-product-info-quantity .quantity-title {
    margin-bottom: 8px;
    font-weight: 600;
}

.wg-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 3px;
    height: 50px;
}

.wg-quantity .btn-quantity {
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    background: transparent;
    border: none;
}

.wg-quantity .btn-quantity:hover {
    background: var(--bg-1);
}

.wg-quantity .quantity-product {
    width: 50px;
    height: 100%;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
}

.wg-quantity .quantity-product:focus {
    outline: none;
}

/* Stock Info */
.tf-stock-info {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text);
}

.tf-stock-info.low-stock {
    color: var(--primary);
}

/* ==========================================================================
   BUY BUTTONS - Ecomus Exact
   ========================================================================== */
.tf-product-info-buy-button {
    margin-bottom: 30px !important;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Support for form wrapper if exists */
.tf-product-info-buy-button form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

/* First row: Add to Cart + Wishlist + Compare - MUST be inline */
.tf-product-info-buy-button > a:not(.btns-full):not(.payment-more-option),
.tf-product-info-buy-button form > a:not(.btns-full):not(.payment-more-option) {
    flex-shrink: 0;
}

.tf-product-info-buy-button > .btn-add-to-cart,
.tf-product-info-buy-button form > .btn-add-to-cart {
    flex: 1 1 auto;
    min-width: 200px;
}

.tf-product-info-buy-button > .tf-product-btn-wishlist,
.tf-product-info-buy-button form > .tf-product-btn-wishlist {
    flex: 0 0 50px !important;
    width: 50px !important;
}

/* Add to Cart Button */
.tf-product-info-buy-button .tf-btn {
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    line-height: 50px;
    padding: 0 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tf-product-info-buy-button .btn-fill {
    background-color: var(--main);
    color: var(--white);
    border: 1px solid var(--main);
}

.tf-product-info-buy-button .btn-fill:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.tf-product-info-buy-button .btn-add-to-cart {
    flex-grow: 1;
}

/* Wishlist & Compare Buttons */
.tf-product-btn-wishlist {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.tf-product-btn-wishlist:hover {
    border-color: var(--main);
}

.tf-product-btn-wishlist .icon {
    font-size: 20px;
}

.tf-product-btn-wishlist .icon-delete,
.tf-product-btn-wishlist .icon-check {
    display: none;
}

/* Buy with PayPal */
.tf-product-info-buy-button .btns-full {
    width: 100%;
    margin-top: 10px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    height: 44px;
    background-color: #ffc520;
    border-radius: 3px;
    font-weight: 500;
    color: rgb(37, 59, 128);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tf-product-info-buy-button .btns-full:hover {
    background-color: #f6b600;
}

.tf-product-info-buy-button .btns-full img {
    height: 18px;
}

.tf-product-info-buy-button .payment-more-option {
    width: 100%;
    margin-top: 10px;
    text-decoration: underline;
    color: var(--text);
    text-align: center;
    display: block;
}

.tf-product-info-buy-button .payment-more-option:hover {
    color: var(--main);
}

/* Sold Out Button */
.btns-sold-out {
    opacity: 0.3;
    pointer-events: none;
}

/* ==========================================================================
   EXTRA LINKS - Ecomus Exact
   ========================================================================== */
.tf-product-info-extra-link {
    display: flex;
    align-items: center;
    gap: 10px 30px;
    flex-wrap: wrap;
}

.tf-product-extra-icon {
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    color: var(--main);
    transition: color 0.3s ease;
}

.tf-product-extra-icon i {
    font-size: 18px;
}

.tf-product-extra-icon .text {
    font-weight: 600;
}

.tf-product-extra-icon:hover {
    color: var(--primary);
}

/* ==========================================================================
   DELIVERY INFO - Ecomus Exact
   ========================================================================== */
.tf-product-info-delivery-return {
    margin-bottom: 30px !important;
}

.tf-product-delivery {
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 2.5px;
    border: 1px solid var(--line);
    margin-bottom: 10px;
}

.tf-product-delivery .icon {
    font-size: 24px;
    color: var(--main);
    flex-shrink: 0;
}

.tf-product-delivery p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   TRUST SEAL - Ecomus Exact
   ========================================================================== */
.tf-product-info-trust-seal {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.tf-product-trust-mess {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tf-product-trust-mess i {
    font-size: 21px;
    color: var(--main);
}

.tf-product-trust-mess p {
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.tf-payment {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tf-payment img {
    height: 24px;
    width: auto;
}

/* ==========================================================================
   TABS - Ecomus Exact
   ========================================================================== */
.widget-tabs.style-has-border {
    border-top: 1px solid var(--line);
}

.widget-tabs .widget-menu-tab {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-tabs .widget-menu-tab .item-title {
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

.widget-tabs .widget-menu-tab .item-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.widget-tabs .widget-menu-tab .item-title.active {
    color: var(--main);
}

.widget-tabs .widget-menu-tab .item-title.active::after {
    transform: scaleX(1);
}

.widget-tabs .widget-menu-tab .item-title:hover {
    color: var(--main);
}

/* Bootstrap Nav Tabs Support */
.widget-tabs .widget-menu-tab.nav-tabs {
    border-bottom: 1px solid var(--line);
}

.widget-tabs .widget-menu-tab .nav-item {
    margin-bottom: 0;
}

.widget-tabs .widget-menu-tab .nav-link {
    padding: 20px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
    color: var(--text);
    position: relative;
    transition: color 0.3s ease;
}

.widget-tabs .widget-menu-tab .nav-link::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.widget-tabs .widget-menu-tab .nav-link.active {
    color: var(--main);
    background: transparent;
}

.widget-tabs .widget-menu-tab .nav-link.active::after {
    transform: scaleX(1);
}

.widget-tabs .widget-menu-tab .nav-link:hover {
    color: var(--main);
    border-color: transparent;
}

.widget-tabs .widget-menu-tab .nav-link:focus {
    box-shadow: none;
}

.widget-tabs .widget-content-tab {
    padding: 30px 0;
}

.widget-tabs .widget-content-inner {
    display: none;
}

.widget-tabs .widget-content-inner.active {
    display: block;
}

/* Tab Content Styling */
.tf-tab-content-inner {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.tf-tab-content-inner p {
    margin-bottom: 15px;
}

.tf-tab-content-inner ul,
.tf-tab-content-inner ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.tf-tab-content-inner li {
    margin-bottom: 8px;
}

/* ==========================================================================
   ACCORDION TABS - Bootstrap Accordion Support
   ========================================================================== */
.tf-tabs-accordion {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.tf-tabs-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--line);
}

.tf-tabs-accordion .accordion-item:last-child {
    border-bottom: none;
}

.tf-tabs-accordion .accordion-button {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    background-color: var(--white);
    box-shadow: none;
}

.tf-tabs-accordion .accordion-button:not(.collapsed) {
    color: var(--main);
    background-color: var(--white);
    box-shadow: none;
}

.tf-tabs-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--line);
}

.tf-tabs-accordion .accordion-button::after {
    width: 16px;
    height: 16px;
    background-size: 16px;
}

.tf-tabs-accordion .accordion-body {
    padding: 0 20px 20px;
}

/* Legacy flat-accordion support */
.flat-accordion .flat-toggle {
    border-bottom: 1px solid var(--line);
}

.flat-accordion .flat-toggle .toggle-title {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.flat-accordion .flat-toggle .toggle-title .icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.flat-accordion .flat-toggle.active .toggle-title .icon {
    transform: rotate(180deg);
}

.flat-accordion .flat-toggle .toggle-content {
    display: none;
    padding-bottom: 20px;
}

.flat-accordion .flat-toggle.active .toggle-content {
    display: block;
}

/* Responsive: Desktop tabs, Mobile accordion */
.tf-product-tabs-section .tf-tabs-horizontal {
    display: block;
}

.tf-product-tabs-section .tf-tabs-mobile-accordion {
    display: none;
}

@media (max-width: 768px) {
    .tf-product-tabs-section .tf-tabs-horizontal {
        display: none;
    }

    .tf-product-tabs-section .tf-tabs-mobile-accordion {
        display: block;
    }

    .tf-tabs-accordion .accordion-button {
        padding: 15px;
        font-size: 15px;
    }

    .tf-tabs-accordion .accordion-body {
        padding: 0 15px 15px;
    }
}

/* ==========================================================================
   STICKY ADD TO CART BAR
   ========================================================================== */
.tf-sticky-btn-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tf-sticky-btn-atc.show {
    transform: translateY(0);
}

.tf-sticky-atc-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tf-sticky-atc-img {
    width: 50px;
    height: 70px;
}

.tf-sticky-atc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.tf-sticky-atc-title {
    font-weight: 500;
}

.tf-sticky-atc-infos {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.tf-sticky-atc-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ==========================================================================
   LIGHTBOX - GLightbox White Icons
   ========================================================================== */
.glightbox-container .gnext,
.glightbox-container .gprev {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1 !important;
}

.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

.glightbox-container .gnext svg,
.glightbox-container .gprev svg {
    fill: #fff !important;
}

.glightbox-container .gnext svg *,
.glightbox-container .gprev svg * {
    stroke: #fff !important;
    fill: #fff !important;
    color: #fff !important;
}

.glightbox-container .gnext::after,
.glightbox-container .gprev::after {
    color: #fff !important;
    border-color: #fff !important;
}

.glightbox-container .gclose {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
}

.glightbox-container .gclose svg {
    fill: #fff !important;
}

/* ==========================================================================
   RESPONSIVE - Ecomus Exact Breakpoints
   ========================================================================== */
@media (max-width: 1199.98px) {
    .tf-product-info-countdown .countdown-wrap {
        min-width: 300px;
    }

    .tf-product-info-list {
        padding-left: 15px;
    }
}

@media (max-width: 991.98px) {
    .thumbs-slider {
        flex-direction: column-reverse;
    }

    .tf-product-media-thumbs {
        width: 100%;
        max-height: none;
    }

    .tf-product-media-thumbs .swiper-slide {
        width: 80px;
    }

    .tf-product-media-main {
        width: 100%;
    }

    .tf-product-info-list {
        padding-left: 0;
        margin-top: 30px;
    }

    .tf-product-info-countdown .countdown-wrap {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 767.98px) {
    .tf-product-info-title h5 {
        font-size: 22px;
    }

    .tf-product-info-price .price-on-sale,
    .tf-product-info-price .price {
        font-size: 24px;
    }

    .tf-product-info-price .compare-at-price {
        font-size: 16px;
    }

    .widget-tabs .widget-menu-tab {
        gap: 15px;
        flex-wrap: wrap;
    }

    .widget-tabs .widget-menu-tab .item-title {
        font-size: 14px;
    }

    .tf-sticky-atc-title {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tf-product-info-buy-button form {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tf-product-info-buy-button .btn-add-to-cart {
        flex: 1 1 calc(100% - 116px); /* Full width minus wishlist + compare + gaps */
        min-width: 150px;
    }

    .tf-product-info-buy-button .tf-product-btn-wishlist {
        width: 50px;
        flex: 0 0 50px;
    }

    .tf-product-info-extra-link {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   COLOR BACKGROUND CLASSES
   ========================================================================== */
.bg-color-beige { background-color: #c8ad7f; }
.bg-color-black { background-color: #000; }
.bg-color-blue { background-color: #7ed6df; }
.bg-color-white { background-color: #fff; border: 1px solid #ddd !important; }
.bg-color-red { background-color: #e74c3c; }
.bg-color-green { background-color: #2ecc71; }
.bg-color-yellow { background-color: #f1c40f; }
.bg-color-orange { background-color: #e67e22; }
.bg-color-purple { background-color: #9b59b6; }
.bg-color-pink { background-color: #fd79a8; }
.bg-color-gray { background-color: #95a5a6; }
.bg-color-navy { background-color: #2c3e50; }
.bg-color-brown { background-color: #795548; }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.fw-5 { font-weight: 500; }
.fw-6 { font-weight: 600; }
.fw-7 { font-weight: 700; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-32 { font-size: 32px; }

.hover-tooltip {
    position: relative;
}

.hover-tooltip .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: var(--main);
    color: var(--white);
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    z-index: 10;
}

.hover-tooltip:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.radius-60 {
    border-radius: 60px;
}

.box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg_white {
    background-color: var(--white);
}

.animate-hover-btn {
    position: relative;
    overflow: hidden;
}

.animate-hover-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.animate-hover-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* =========================================
   STICKY ADD TO CART BAR
   ========================================= */
.tf-sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--line);
}

.tf-sticky-add-to-cart.is-visible {
    transform: translateY(0);
}

.tf-sticky-add-to-cart .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tf-sticky-add-to-cart img {
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid var(--line);
}

.tf-sticky-add-to-cart .product-info {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.tf-sticky-add-to-cart .product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tf-sticky-add-to-cart .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.tf-sticky-add-to-cart .btn {
    white-space: nowrap;
    padding: 10px 24px;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tf-sticky-add-to-cart {
        padding: 10px 0;
    }
    
    .tf-sticky-add-to-cart img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .tf-sticky-add-to-cart .product-name {
        font-size: 13px;
        max-width: 120px;
    }
    
    .tf-sticky-add-to-cart .product-price {
        font-size: 14px;
    }
    
    .tf-sticky-add-to-cart .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .tf-sticky-add-to-cart .btn i {
        display: none;
    }
}

/* Hide when at top of page */
body.at-top .tf-sticky-add-to-cart {
    transform: translateY(100%);
}

/* ==========================================================================
   REVIEWS TAB STYLING
   ========================================================================== */
.tf-tab-reviews {
    padding: 10px 0;
}

.tf-review-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.tf-average-rating .fs-48 {
    font-size: 48px;
    line-height: 1;
    color: var(--main);
}

.tf-rating-distribution .progress {
    background-color: #e9ecef;
    border-radius: 4px;
}

.tf-review-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.tf-review-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tf-reviewer-avatar img {
    object-fit: cover;
}

.tf-reviewer-name {
    font-size: 15px;
}

.tf-review-date {
    font-size: 12px;
}

.tf-review-content p {
    line-height: 1.7;
    color: var(--text);
}

.tf-review-photos a img {
    transition: opacity 0.2s ease;
}

.tf-review-photos a:hover img {
    opacity: 0.8;
}

/* Reviews empty state */
.tf-review-list .text-center {
    color: #6c757d;
}

.tf-review-list .text-center i {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .tf-review-summary {
        padding: 15px;
    }

    .tf-average-rating .fs-48 {
        font-size: 36px;
    }
}

/* =========================================================================
   ADVANCED VARIANT SOLDOUT STYLES V3
   - Tükenen varyant stilleri (bağımsız çalışır)
   - Tıklanabilir/Tıklanamaz modları
   - Notify When Available butonu
   ========================================================================= */

/* Base soldout state - clickable by default */
.variant-soldout {
    position: relative;
    cursor: pointer;
}

/* Disabled mode - when soldout_clickable is false */
.variant-soldout.variant-soldout-disabled {
    pointer-events: none;
    cursor: not-allowed;
}

/* Style 1: Strikethrough - Üstü çizili */
.variant-soldout-strikethrough {
    opacity: 0.6;
}

.variant-soldout-strikethrough::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 1px;
    background-color: #333;
    transform: rotate(-45deg);
    pointer-events: none;
}

/* Color button strikethrough */
.color-btn.variant-soldout-strikethrough::after {
    left: 2px;
    right: 2px;
}

/* Image button strikethrough */
.image-btn.variant-soldout-strikethrough::after {
    left: 4px;
    right: 4px;
}

/* Size button strikethrough */
.size-btn.variant-soldout-strikethrough::after {
    left: 0;
    right: 0;
}

/* Style 2: Faded - Soluk */
.variant-soldout-faded {
    opacity: 0.4;
    filter: grayscale(40%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Clickable faded - hover effect */
.variant-soldout-faded:not(.variant-soldout-disabled):hover {
    opacity: 0.6;
    filter: grayscale(20%);
}

/* Style 3: Hidden - Gizli (conditional filtering için) */
.variant-soldout-hidden {
    display: none !important;
}

/* Dropdown item soldout styles */
.dropdown-item.variant-soldout-strikethrough {
    opacity: 0.6;
    text-decoration: line-through;
}

.dropdown-item.variant-soldout-strikethrough::after {
    display: none;
}

.dropdown-item.variant-soldout-faded {
    opacity: 0.4;
    color: #999;
}

.dropdown-item.variant-soldout-hidden {
    display: none !important;
}

/* Active state for soldout - when user clicks on unavailable variant */
.variant-soldout.active {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* Soldout faded + active */
.variant-soldout-faded.active {
    opacity: 0.7;
    filter: none;
}

/* Soldout strikethrough + active */
.variant-soldout-strikethrough.active {
    opacity: 0.8;
}

/* Hover effect for clickable soldout */
.variant-soldout:not(.variant-soldout-disabled):hover {
    transform: scale(1.02);
}

/* =========================================================================
   NOTIFY WHEN AVAILABLE BUTTON
   ========================================================================= */

.notify-when-available-btn {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
}

.notify-when-available-btn:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notify-when-available-btn i {
    font-size: 18px;
}

.notify-when-available-btn.d-none {
    display: none !important;
}

/* Add to Cart button disabled state */
.add-to-cart-btn.disabled,
.tf-product-info-buy-button button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
    border-color: #ccc;
}

/* =========================================================================
   STOCK STATUS DISPLAY
   ========================================================================= */

.tf-product-info-stock,
.stock-status,
#stock-status-display {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tf-product-info-stock.in-stock,
.stock-status.in-stock {
    color: #28a745;
}

.tf-product-info-stock.out-of-stock,
.stock-status.out-of-stock {
    color: #dc3545;
}

.tf-product-info-stock i,
.stock-status i {
    margin-right: 4px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 768px) {
    .variant-soldout-strikethrough::after {
        height: 1px;
    }

    .notify-when-available-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
