/* Miassar Store Experience - styles limités aux boutiques vendeurs */

body.miassar-storefront {
    --miassar-primary: #173B57;
    --miassar-secondary: #F3F7FA;
}

body.miassar-storefront .dokan-single-store {
    color: #263746;
}

body.miassar-storefront .dokan-profile-frame-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

body.miassar-storefront .profile-frame .profile-info-box {
    border-radius: 16px;
    overflow: hidden;
}

body.miassar-storefront .profile-frame .profile-info-box
.profile-info-summery-wrapper {
    background: var(--miassar-secondary);
}

body.miassar-storefront .profile-frame .profile-info-box
.profile-info-summery .store-name,
body.miassar-storefront .profile-frame .profile-info-box
.profile-info-summery .profile-info-head .store-name {
    color: var(--miassar-primary);
    font-weight: 700;
}

body.miassar-storefront .dokan-store-tabs {
    margin-top: 24px;
    border-bottom: 1px solid #E6EBEF;
}

body.miassar-storefront .dokan-store-tabs ul li a {
    transition: color .2s ease, border-color .2s ease;
}

body.miassar-storefront .dokan-store-tabs ul li.active a,
body.miassar-storefront .dokan-store-tabs ul li a:hover {
    color: var(--miassar-primary);
}

body.miassar-storefront .miassar-store-welcome {
    position: relative;
    margin: 24px 0 30px;
    padding: 28px 32px;
    overflow: hidden;
    background: var(--miassar-secondary);
    border: 1px solid rgba(23, 59, 87, .08);
    border-left: 4px solid var(--miassar-primary);
    border-radius: 14px;
}

body.miassar-storefront .miassar-store-welcome__content {
    max-width: 900px;
}

body.miassar-storefront .miassar-store-welcome__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--miassar-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

body.miassar-storefront .miassar-store-welcome__title {
    margin: 0 0 10px;
    color: var(--miassar-primary);
    font-size: clamp(21px, 3vw, 29px);
    font-weight: 700;
    line-height: 1.25;
}

body.miassar-storefront .miassar-store-welcome__message {
    margin: 0;
    color: #536575;
    font-size: 15px;
    line-height: 1.75;
}

body.miassar-storefront .seller-items {
    margin-top: 28px;
}

body.miassar-storefront .seller-items ul.products li.product {
    transition: transform .2s ease, box-shadow .2s ease;
}

body.miassar-storefront .seller-items ul.products li.product:hover {
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    body.miassar-storefront .miassar-store-welcome {
        margin: 18px 0 24px;
        padding: 21px 18px;
        border-radius: 11px;
    }

    body.miassar-storefront .miassar-store-welcome__message {
        font-size: 14px;
    }

    body.miassar-storefront .dokan-profile-frame-wrapper {
        border-radius: 11px;
    }

    body.miassar-storefront .seller-items {
        margin-top: 20px;
    }
}


/* B6 - Titres et grille premium, boutique pilote uniquement */
body.miassar-storefront .products-list-heading {
    margin: 0 0 18px;
    color: var(--miassar-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

body.miassar-storefront .seller-items ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px 16px;
}

body.miassar-storefront .seller-items ul.products li.product {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.miassar-storefront .seller-items ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }
}

@media (max-width: 767px) {
    body.miassar-storefront .products-list-heading {
        margin-bottom: 14px;
        font-size: 18px;
    }

    body.miassar-storefront .seller-items ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
    }
}


/* B8 - Boutique pilote en pleine largeur */
body.miassar-storefront #site-content > .container {
    width: calc(100% - 48px);
    max-width: 1800px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

body.miassar-storefront .dokan-store-wrap.layout-left > #dokan-secondary {
    display: none !important;
}

body.miassar-storefront .dokan-store-wrap.layout-left > #dokan-primary {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 767px) {
    body.miassar-storefront #site-content > .container {
        width: calc(100% - 24px);
    }
}

/* B9 - Cartes produits premium et prix plus discrets : boutique pilote */
body.miassar-storefront .seller-items ul.products li.product .product-inner {
    border: 1px solid rgba(23, 59, 87, 0.13);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(16, 37, 58, 0.055);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.miassar-storefront .seller-items ul.products li.product:hover .product-inner {
    border-color: rgba(23, 59, 87, 0.32);
    box-shadow: 0 9px 24px rgba(16, 37, 58, 0.11);
    transform: translateY(-3px);
}

body.miassar-storefront .seller-items ul.products li.product .product-summary {
    padding: 10px 12px 13px;
}

body.miassar-storefront .seller-items ul.products li.product .price {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

@media (max-width: 767px) {
    body.miassar-storefront .seller-items ul.products li.product .product-inner {
        border-radius: 11px;
    }

    body.miassar-storefront .seller-items ul.products li.product .product-summary {
        padding: 8px 9px 11px;
    }

    body.miassar-storefront .seller-items ul.products li.product .price {
        font-size: 13px;
    }
}

/* Miassar B10 : masquer uniquement la couverture Dokan sur la boutique pilote */
body.miassar-storefront .dokan-profile-frame-wrapper .profile-info-box > .profile-info-img {
    display: none !important;
}

/* Miassar B11 : supprimer l'ancienne présentation Dokan sur la boutique pilote */
body.miassar-storefront .dokan-profile-frame-wrapper > .profile-frame,
body.miassar-storefront .dokan-profile-frame-wrapper > .dokan-store-tabs {
    display: none !important;
}
