.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 .transfer-discount-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: color-mix(in srgb, var(--accent-color), #0b0b0b 25%);
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    font-weight: 600;
}

.product-details .transfer-discount-info i {
    font-size: 1.1rem;
}

.product-details .transfer-discount-info strong {
    font-weight: 800;
}

.product-details .transfer-discount-info small {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-weight: 600;
}

.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);
    }
}

.slider-product-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    min-height: 560px;
}

.slider-product-mosaic__item {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.slider-product-mosaic__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.slider-product-mosaic__item:nth-child(4) {
    grid-column: span 2;
}

.slider-product-mosaic__item > a,
.slider-product-mosaic__item > div {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.slider-product-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-product-mosaic__item:hover img {
    transform: scale(1.035);
}

.slider-product-mosaic__item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.slider-product-mosaic__content {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.slider-product-mosaic__content small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.8rem;
    opacity: 0.88;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.slider-product-mosaic__content strong {
    font-family: var(--heading-font);
    font-size: clamp(1.05rem, 2vw, 1.75rem);
    line-height: 1.15;
}

.slider-product-mosaic__cta {
    margin-top: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .slider-product-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(180px, 42vw));
        gap: 10px;
        min-height: 0;
    }

    .slider-product-mosaic__item:first-child,
    .slider-product-mosaic__item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .slider-product-mosaic__content {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .slider-product-mosaic__content small {
        display: none;
    }
}

@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 .stock-indicator.is-out-of-stock,
.product-details .product-details .stock-indicator.is-out-of-stock .bi,
.product-details .product-details .stock-indicator.is-out-of-stock .stock-text {
    color: #dc3545 !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;
    }
}

@media (max-width: 768px) {
    .hero .hero-content .hero-actions {
        justify-content: center;
    }
}

.home-posts {
    background: color-mix(in srgb, var(--background-color), var(--accent-color) 3%);
}

.home-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px color-mix(in srgb, var(--accent-color), transparent 88%);
}

.home-post-media,
.home-post-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: color-mix(in srgb, var(--accent-color), transparent 94%);
}

.home-post-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.home-post-card:hover .home-post-media img {
    transform: scale(1.025);
}

.home-post-placeholder {
    display: grid;
    place-items: center;
    color: var(--accent-color);
    font-size: 2.5rem;
}

.home-post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.home-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .9rem;
    color: color-mix(in srgb, var(--default-color), transparent 38%);
    font-size: .8rem;
}

.home-post-category {
    padding: .32rem .7rem;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 999px;
    font-weight: 700;
}

.home-post-body h3 {
    margin: 0 0 .75rem;
    color: var(--heading-color);
    font-size: 1.25rem;
    line-height: 1.35;
}

.home-post-body h3 a {
    color: inherit;
    text-decoration: none;
}

.home-post-body h3 a:hover,
.home-post-link:hover {
    color: var(--accent-color);
}

.home-post-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 1.25rem;
    color: color-mix(in srgb, var(--default-color), transparent 24%);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-post-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.home-posts-footer {
    margin-top: 2.25rem;
    text-align: center;
}

.home-posts-footer a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.35rem;
    color: var(--accent-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.home-posts-footer a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
}
