.product-details .product-options .option-group .size-options .size-option {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-details .product-options {
    margin-bottom: 2rem;
}

.product-details .product-options .option-group {
    margin-bottom: 1.5rem;
}

.product-details .product-options .option-group .option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-details .product-options .option-group .option-header .option-title {
    font-weight: 600;
    margin: 0;
}

.product-details .product-options .option-group .option-header .selected-option {
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.product-details .product-options .option-group .color-options {
    display: flex;
    gap: 1rem;
}

.product-details .product-options .option-group .color-options .color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-details .product-options .option-group .color-options .color-option:hover {
    transform: scale(1.1);
}

.product-details .product-options .option-group .color-options .color-option.active {
    border-color: var(--accent-color);
}

.product-details .product-options .option-group .color-options .color-option.active i {
    opacity: 1;
}

.product-details .product-options .option-group .color-options .color-option i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--contrast-color);
    font-size: 0.875rem;
    opacity: 0;
}

.product-details .product-options .option-group .size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-details .product-options .option-group .size-options .size-option {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-details .product-options .option-group .size-options .size-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.product-details .product-options .option-group .size-options .size-option.active {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.product-details .product-options .option-group .quantity-selector {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.product-details .product-options .option-group .quantity-selector .quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-details .product-options .option-group .quantity-selector .quantity-btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.product-details .product-options .option-group .quantity-selector .quantity-btn.decrease {
    border-radius: 8px 0 0 8px;
}

.product-details .product-options .option-group .quantity-selector .quantity-btn.increase {
    border-radius: 0 8px 8px 0;
}

.product-details .product-options .option-group .quantity-selector .quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    border-left: none;
    border-right: none;
    color: var(--default-color);
    background-color: var(--surface-color);
    font-size: 14px;
}

.product-details .product-options .option-group .quantity-selector .quantity-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.product-details .product-options .option-group .quantity-selector .quantity-input::-webkit-inner-spin-button,
.product-details .product-options .option-group .quantity-selector .quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.whatsapp-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
    border: 2px solid #128c7e;
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    background: #1ebe57;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.45);
}

.whatsapp-fab i {
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 576px) {
    .whatsapp-fab {
        left: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-fab i {
        font-size: 22px;
    }
}

body.hide-prices .product-price,
body.hide-prices .pricing-section,
body.hide-prices .price-display,
body.hide-prices .price-section,
body.hide-prices .sale-price,
body.hide-prices .current-price,
body.hide-prices .old-price,
body.hide-prices .original-price,
body.hide-prices .btn-price,
body.hide-prices .price {
    display: none !important;
}

body.hide-stock .availability-status,
body.hide-stock .stock-indicator,
body.hide-stock .quantity-left,
body.hide-stock #stockLabel {
    display: none !important;
}

body.disable-cart .cart-btn,
body.disable-cart .header-action-btn .bi-cart3,
body.disable-cart .add-to-cart-btn,
body.disable-cart .product-actions .action-btn:last-child {
    display: none !important;
}

.category-product-list .product-overlay {
    z-index: 2;
}

.category-product-list .product-actions {
    z-index: 3;
}

@media (hover: none), (pointer: coarse) {
    .category-product-list .product-overlay {
        opacity: 1;
        visibility: visible;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.18) 100%);
    }

    .category-product-list .product-actions {
        top: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        transform: none;
        flex-direction: row;
    }

    .category-product-list .product-actions .action-btn {
        opacity: 1;
        transform: none;
        animation: none;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    }
}

.product-card .product-category,
.product-item .product-category {
    text-transform: uppercase;
}

.header .header-nav .navmenu a,
.header .header-nav .navmenu .nav-category-label {
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .header .header-nav .navmenu .dropdown > ul {
        min-width: 240px;
    }

    .header .header-nav .navmenu .dropdown ul li > a {
        gap: 0.5rem;
    }

    .header .header-nav .navmenu .dropdown .dropdown > a {
        padding-right: 2.5rem;
    }

    .header .header-nav .navmenu .dropdown .dropdown > a .toggle-dropdown {
        margin-left: auto;
        transform: rotate(-90deg);
    }

    .header .header-nav .navmenu .dropdown .dropdown ul {
        top: -10px;
        left: calc(100% - 12px);
        margin-left: 0;
        border-radius: 10px;
    }

    .header .header-nav .navmenu .dropdown .dropdown:hover > ul {
        left: calc(100% - 4px);
    }
}

@media (max-width: 1199px) {
    .header .header-nav .navmenu .dropdown ul {
        margin: 8px 14px 12px 14px;
        border-radius: 10px;
    }

    .header .header-nav .navmenu .dropdown ul li > a {
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header .header-nav .navmenu .dropdown ul ul {
        margin: 8px 0 0 0;
        padding-left: 12px;
        border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 65%);
        background-color: transparent;
    }

    .header .header-nav .navmenu .dropdown ul ul li > a {
        padding-left: 14px;
        font-size: 14px;
    }

    .header .header-nav .navmenu .dropdown .dropdown > a .toggle-dropdown {
        transform: rotate(0deg);
    }

    .header .header-nav .navmenu .dropdown > .dropdown-active,
    .header .header-nav .navmenu .dropdown .dropdown > .dropdown-active {
        display: block;
    }
}

.footer.dark-background {
    --accent-color: var(--primary-color, var(--accent-color));
    --heading-color: var(--secondary-color, var(--heading-color));
    background-color: var(--accent-color);
    --default-color: var(--contrast-color);
    --heading-color: var(--contrast-color);
}

.footer.dark-background,
.footer.dark-background p,
.footer.dark-background h1,
.footer.dark-background h2,
.footer.dark-background h3,
.footer.dark-background h4,
.footer.dark-background h5,
.footer.dark-background h6,
.footer.dark-background a,
.footer.dark-background span,
.footer.dark-background .footer-widget p,
.footer.dark-background .footer-widget h4,
.footer.dark-background .footer-widget h5,
.footer.dark-background .footer-links a,
.footer.dark-background .footer-links li:before,
.footer.dark-background .footer-contact .contact-item i,
.footer.dark-background .footer-contact .contact-item span,
.footer.dark-background .footer-bottom .credits,
.footer.dark-background .footer-bottom .credits a,
.footer.dark-background .footer-bottom .copyright p,
.footer.dark-background .footer-bottom .legal-links a {
    color: var(--contrast-color) !important;
}

.footer.dark-background .footer-widget h4:after {
    background-color: var(--contrast-color);
}

.footer .logo img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .footer .logo img {
        max-height: 30px;
        max-width: 150px;
    }
}



.main-swiper {
  width: 100%;
  height: 500px; /* ajusta la altura que quieras */
}

.main-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-swiper {
  width: 100%;
  height: 100px;
  box-sizing: border-box;
}

.thumb-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
}

.thumb-swiper .swiper-slide-thumb-active img {
  opacity: 1;
  border-color: #000; /* o el color que prefieras */
}

.product-details .product-details .variant-btn {
    position: relative;
}

.product-details .product-details .variant-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: line-through;
}

.product-details .product-details .variant-btn.is-out-of-stock {
    opacity: 0.65;
    border-style: dashed;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.product-details .product-details .variant-btn.is-out-of-stock::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    border-top: 2px solid currentColor;
    transform: rotate(-8deg);
    opacity: 0.9;
    pointer-events: none;
}

.product-details .product-details .availability-status.is-out-of-stock {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.12) !important;
    border-color: rgba(220, 53, 69, 0.28) !important;
}

.product-details .product-details .availability-status.is-out-of-stock .stock-indicator,
.product-details .product-details .availability-status.is-out-of-stock .stock-indicator .bi,
.product-details .product-details .availability-status.is-out-of-stock .stock-indicator .stock-text,
.product-details .product-details .availability-status.is-out-of-stock .quantity-left {
    color: #dc3545 !important;
}

@media (min-width: 1200px) {
    .header .header-nav .navmenu > ul {
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .header .header-nav .navmenu > ul > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
