/* ============================================
   FICHA DE PRODUCTO - DESKANSA DELUXE
   ============================================ */

.deskansa-product-page {
    background: var(--deskansa-crema, #F5F3F0);
}

.deskansa-product-main {
    padding: 0;
}

/* ============================================
   HERO
   ============================================ */

.dk-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--deskansa-crema, #F5F3F0);
    min-height: 80vh;
}

/* GALERÍA */

.dk-hero__gallery {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 60px 30px 60px 60px;
    align-items: start;
}

.dk-hero__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
}

.dk-hero__thumb {
    width: 90px;
    height: 90px;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dk-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dk-hero__thumb:hover {
    border-color: rgba(26, 26, 26, 0.3);
}

.dk-hero__thumb.is-active {
    border-color: var(--deskansa-negro, #1A1A1A);
}

.dk-hero__main-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 700px;
}

.dk-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dk-hero__slide.is-active {
    opacity: 1;
}

.dk-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dk-hero__main-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.dk-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.dk-hero__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.dk-hero__arrow--prev { left: 20px; }
.dk-hero__arrow--next { right: 20px; }

.dk-hero__counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #1A1A1A;
    font-weight: 500;
}

/* INFO / CONFIGURADOR */

.dk-hero__info {
    padding: 60px 60px 60px 30px;
    display: flex;
    align-items: flex-start;
}

.dk-hero__info-inner {
    width: 100%;
    max-width: 520px;
}

.dk-hero__kicker {
    display: block;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: #9B8977;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dk-hero__title {
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.dk-hero__price {
    margin-bottom: 24px;
    font-size: 22px;
    color: #1A1A1A;
    font-weight: 600;
}

.dk-hero__price del {
    font-size: 16px;
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

.dk-hero__price ins {
    text-decoration: none;
    color: #1A1A1A;
}

.dk-hero__desc {
    font-size: 16px;
    color: #5A5550;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dk-hero__desc p {
    margin: 0 0 8px 0;
}

.dk-hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dk-hero__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3A3A3A;
}

.dk-hero__features svg {
    flex-shrink: 0;
    color: #6A625B;
}

.dk-hero__configurator {
    padding-top: 28px;
    border-top: 1px solid #E8E4DE;
    margin-bottom: 32px;
}

.dk-hero__configurator-title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #1A1A1A;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-transform: uppercase;
}

.dk-hero__attr {
    margin-bottom: 24px;
}

.dk-hero__attr-label {
    font-size: 13px;
    color: #1A1A1A;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dk-hero__attr-num {
    color: #9B8977;
    font-weight: 500;
}

.dk-hero__select {
    width: 100%;
    background: #fff;
    border: 1px solid #E8E4DE;
    color: #3A3A3A;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.dk-hero__select:focus {
    outline: none;
    border-color: #1A1A1A;
}

.dk-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.dk-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.dk-hero__btn--primary {
    background: #1A1A1A;
    color: #fff;
}

.dk-hero__btn--primary:hover {
    background: #2A2A2A;
    transform: translateY(-2px);
}

.dk-hero__btn--secondary {
    background: #fff;
    color: #1A1A1A;
    border: 1px solid #E8E4DE;
}

.dk-hero__btn--secondary:hover {
    background: #FAFAFA;
    border-color: #1A1A1A;
    transform: translateY(-2px);
}

/* WooCommerce nativo dentro del configurador */

.dk-hero__configurator .quantity,
.dk-hero__configurator .single_add_to_cart_button,
.dk-hero__configurator .stock,
.dk-hero__configurator .added_to_cart {
    display: none !important;
}

.dk-hero__configurator .variations {
    width: 100%;
    margin-bottom: 16px;
}

.dk-hero__configurator .variations td,
.dk-hero__configurator .variations th {
    padding: 8px 0;
}

.dk-hero__configurator .variations select {
    width: 100%;
    background: #fff;
    border: 1px solid #E8E4DE;
    color: #3A3A3A;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.dk-hero__configurator .reset_variations {
    font-size: 12px;
    color: #9B8977;
    margin-top: 8px;
    display: inline-block;
}

/* ============================================
   FEATURES (4 columnas con icono)
   ============================================ */

.dk-features {
    background: #fff;
    padding: 50px 60px;
    border-top: 1px solid #E8E4DE;
    border-bottom: 1px solid #E8E4DE;
}

.dk-features .dk-features__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.dk-features .dk-features__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dk-features .dk-features__icon {
    flex-shrink: 0;
    color: #6A625B;
}

.dk-features .dk-features__text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 4px 0;
}

.dk-features .dk-features__text p {
    font-size: 13px;
    color: #6A625B;
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   MEDIDAS + MATERIALES
   ============================================ */

.dk-medidas {
    padding: 80px 60px;
    background: var(--deskansa-crema, #F5F3F0);
}

.dk-medidas .dk-medidas__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.dk-medidas .dk-medidas__col {
    display: flex;
    flex-direction: column;
}

.dk-medidas .dk-medidas__title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #1A1A1A;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-transform: uppercase;
}

.dk-medidas .dk-medidas__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    border-top: 1px solid #E8E4DE;
}

.dk-medidas .dk-medidas__list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #E8E4DE;
    font-size: 14px;
}

.dk-medidas .dk-medidas__label {
    color: #6A625B;
}

.dk-medidas .dk-medidas__value {
    color: #1A1A1A;
    font-weight: 600;
    text-align: right;
}

.dk-medidas .dk-medidas__note {
    font-size: 13px;
    color: #6A625B;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

.dk-medidas .dk-medidas__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 16px;
}

.dk-medidas .dk-medidas__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dk-medidas .dk-medidas__caption {
    font-size: 13px;
    color: #6A625B;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   DESCRIPCIÓN LARGA
   ============================================ */

.dk-description {
    padding: 80px 60px;
    background: #fff;
}

.dk-description__inner {
    max-width: 900px;
    margin: 0 auto;
}

.dk-description__title {
    font-size: 28px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 30px 0;
    letter-spacing: -0.01em;
}

.dk-description__content {
    font-size: 16px;
    line-height: 1.7;
    color: #3A3A3A;
}

.dk-description__content p {
    margin: 0 0 16px 0;
}

.dk-description__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* ============================================
   DETALLES QUE ENAMORAN
   ============================================ */

.dk-detalles {
    padding: 80px 60px;
    background: #fff;
}

.dk-detalles__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dk-detalles__title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #1A1A1A;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

.dk-detalles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dk-detalles__item {
    display: flex;
    flex-direction: column;
}

.dk-detalles__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--deskansa-crema, #F5F3F0);
    margin-bottom: 12px;
}

.dk-detalles__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dk-detalles__item:hover .dk-detalles__img img {
    transform: scale(1.05);
}

.dk-detalles__caption {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

/* ============================================
   BANNER FINAL
   ============================================ */

.dk-banner {
    padding: 80px 60px;
    background: var(--deskansa-crema, #F5F3F0);
}

.dk-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    background: #1A1A1A;
    border-radius: 16px;
    padding: 80px 60px;
    color: #fff;
    text-align: center;
}

.dk-banner__text {
    max-width: 600px;
    margin: 0 auto;
}

.dk-banner__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px 0;
}

.dk-banner__desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 32px 0;
}

.dk-banner__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.dk-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
}

.dk-banner__btn--primary {
    background: #fff;
    color: #1A1A1A;
}

.dk-banner__btn--primary:hover {
    transform: translateY(-2px);
    background: #F5F3F0;
}

.dk-banner__btn--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dk-banner__btn--secondary:hover {
    transform: translateY(-2px);
    border-color: #fff;
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */

@media (max-width: 968px){

    .dk-hero{

        grid-template-columns:1fr;

        gap:0;
    }

    .dk-hero__gallery{

        padding:20px 16px 0 16px;
    }

    .dk-hero__info{

        padding:30px 20px 50px 20px;
    }
    
    .dk-hero__info {
        padding: 30px 20px 60px 20px;
    }

    .dk-hero__info-inner {
        max-width: 100%;
    }

    .dk-features {
        padding: 40px 20px;
    }

    .dk-features .dk-features__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .dk-medidas {
        padding: 50px 20px;
    }

    .dk-medidas .dk-medidas__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dk-description {
        padding: 50px 20px;
    }

    .dk-banner {
        padding: 50px 20px;
    }

    .dk-banner__inner {
        padding: 50px 30px;
    }

    .dk-banner__actions {
        flex-direction: column;
    }

    .dk-banner__btn {
        width: 100%;
    }

}

/* === OCULTAR CARRITO Y CANTIDAD (escaparate) === */
/* Selectores ultra-específicos para ganar a WooCommerce nativo */

.dk-hero .dk-hero__configurator .single_add_to_cart_button,
.dk-hero .dk-hero__configurator button.single_add_to_cart_button,
.dk-hero .dk-hero__configurator .woocommerce-variation-add-to-cart,
.dk-hero .dk-hero__configurator .woocommerce-variation-add-to-cart-disabled,
.dk-hero .dk-hero__configurator div.quantity,
.dk-hero .dk-hero__configurator .quantity,
.dk-hero .dk-hero__configurator input.qty,
.dk-hero .dk-hero__configurator input[name="quantity"],
.dk-hero .dk-hero__configurator .stock,
.dk-hero .dk-hero__configurator .added_to_cart {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}




