
/* ==================================================
   JK PERU MARKET — JK STORE PREMIUM 2.1
   WoodMart Child + Dokan
   Portada panoramica y ficha comercial
   ================================================== */

/* 01 — COLORES */
body.dokan-store {
    --jk-gold: #d4af37;
    --jk-gold-light: #ffe4a0;
    --jk-dark: #0c0c0e;
    --jk-panel: #171719;
    --jk-border: rgba(212,175,55,.28);
}

/* 02 — ANCHO COMPLETO */
body.dokan-store .dokan-store-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 1480px !important;
    margin-inline: auto !important;
}

body.dokan-store #dokan-secondary {
    display: none !important;
}

body.dokan-store #dokan-primary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 03 — CONTENEDOR DE PORTADA */
body.dokan-store .dokan-profile-frame-wrapper,
body.dokan-store .profile-frame {
    width: 100% !important;
    max-width: 100% !important;
}

body.dokan-store .profile-frame {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    border: 1px solid var(--jk-border);
    border-radius: 20px;
    background: var(--jk-panel);
}

/* 04 — IMAGEN Y DATOS EN COLUMNA
   La informacion esta DENTRO de profile-info-box.
*/
body.dokan-store .profile-info-box.profile-layout-layout1 {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--jk-panel) !important;
    border-radius: 19px 19px 0 0;
}

/* 05 — BANNER PANORAMICO */
body.dokan-store .profile-info-box
> img.profile-info-img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 360px !important;
    min-height: 0 !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    flex: 0 0 auto !important;
}

/* 06 — INFORMACION DE LA TIENDA */
body.dokan-store .profile-info-box
> .profile-info-summery-wrapper {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 28px 32px !important;
    background: var(--jk-panel) !important;
    border: 0 !important;
    border-top: 1px solid var(--jk-border) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* 07 — LOGOTIPO + INFORMACION */
body.dokan-store .profile-info-summery {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.dokan-store .profile-info-head {
    position: relative !important;
    float: none !important;
    flex: 0 0 112px !important;
    width: 112px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.dokan-store .profile-img {
    width: 112px !important;
    height: 112px !important;
    overflow: hidden !important;
    border: 2px solid var(--jk-gold) !important;
    border-radius: 16px !important;
    background: #222 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

body.dokan-store .profile-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.dokan-store .profile-info {
    position: relative !important;
    float: none !important;
    flex: 1 1 300px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 08 — NOMBRE Y DATOS */
body.dokan-store .profile-info .store-name {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(24px,2.6vw,36px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.025em;
}

body.dokan-store .profile-info .dokan-store-info,
body.dokan-store .profile-info .dokan-store-info li {
    color: #dedede !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

body.dokan-store .profile-info a {
    color: var(--jk-gold-light) !important;
}

/* 09 — PESTAÑAS */
body.dokan-store .dokan-store-tabs,
body.dokan-store .dokan-store-tabs ul,
body.dokan-store .dokan-store-tabs li,
body.dokan-store .dokan-store-tabs a {
    background: var(--jk-panel) !important;
    color: #eee !important;
    border-color: var(--jk-border) !important;
}

body.dokan-store .dokan-store-tabs a:hover,
body.dokan-store .dokan-store-tabs a:focus,
body.dokan-store .dokan-store-tabs li:hover a,
body.dokan-store .dokan-store-tabs li.active a {
    background: #302615 !important;
    color: var(--jk-gold-light) !important;
    box-shadow: inset 0 -2px 0 var(--jk-gold) !important;
}

/* 10 — BOTONES */
body.dokan-store .dokan-btn-theme,
body.dokan-store .dokan-store-products-filter-area
input[type="submit"] {
    background: var(--jk-gold) !important;
    color: #111 !important;
    border: 1px solid var(--jk-gold) !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

body.dokan-store .dokan-btn-theme:hover,
body.dokan-store .dokan-store-products-filter-area
input[type="submit"]:hover {
    background: var(--jk-gold-light) !important;
    color: #111 !important;
}

/* 11 — BUSCADOR */
body.dokan-store .dokan-store-products-filter-area {
    margin: 24px 0 !important;
    padding: 18px !important;
    border: 1px solid #38322b;
    border-radius: 12px;
    background: #191919 !important;
}

body.dokan-store .dokan-store-products-filter-area
input[type="text"],
body.dokan-store .dokan-store-products-filter-area select {
    background: #252525 !important;
    color: #fff !important;
    border: 1px solid #49413a !important;
    border-radius: 7px !important;
}

/* 12 — CATALOGO */
body.dokan-store .seller-items {
    width: 100% !important;
    margin-top: 24px !important;
}

body.dokan-store .seller-items .wd-product-wrapper {
    overflow: hidden;
    background: #1b1b1b !important;
    border: 1px solid #38312a !important;
    border-radius: 14px !important;
    transition: border-color .25s ease;
}

body.dokan-store .seller-items
.wd-product:hover .wd-product-wrapper {
    border-color: var(--jk-gold) !important;
}

body.dokan-store .seller-items .product-information,
body.dokan-store .seller-items .product-element-bottom {
    background: #202020 !important;
    color: #fff !important;
}

/* Mantener eliminada la franja deslizante */
body.dokan-store .seller-items .wrapp-swatches {
    display: none !important;
}

body.dokan-store .seller-items .wd-entities-title a {
    color: #fff !important;
}

body.dokan-store .seller-items .wd-product-cats a {
    color: #e1bd67 !important;
}

body.dokan-store .seller-items .price,
body.dokan-store .seller-items .amount {
    color: var(--jk-gold-light) !important;
    font-weight: 800 !important;
}

/* 13 — TABLETAS */
@media (max-width: 1024px) {
    body.dokan-store .profile-info-box
    > img.profile-info-img {
        height: 300px !important;
    }

    body.dokan-store .profile-info-box
    > .profile-info-summery-wrapper {
        padding: 22px !important;
    }
}

/* 14 — CELULARES */
@media (max-width: 767px) {
    body.dokan-store .dokan-store-wrap {
        padding: 0 12px !important;
    }

    body.dokan-store .profile-frame {
        border-radius: 14px;
    }

    body.dokan-store .profile-info-box
    > img.profile-info-img {
        height: 210px !important;
    }

    body.dokan-store .profile-info-box
    > .profile-info-summery-wrapper {
        padding: 20px 16px !important;
    }

    body.dokan-store .profile-info-summery {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    body.dokan-store .profile-info-head {
        flex: 0 0 auto !important;
        width: 85px !important;
    }

    body.dokan-store .profile-img {
        width: 85px !important;
        height: 85px !important;
    }

    body.dokan-store .profile-info {
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    body.dokan-store .profile-info .store-name {
        font-size: 24px !important;
    }

    body.dokan-store .dokan-store-tabs ul {
        display: flex;
        flex-wrap: wrap;
    }

    body.dokan-store .dokan-store-products-filter-area {
        padding: 12px !important;
    }
}
