/* ==========================================================
   ZANDOS
   BOUTIQUE PUBLIQUE
========================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #fafafa;
    color: #111111;
}

button,
input,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* ==========================================================
   PAGE
========================================================== */

.shop-page {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 80px;
}


/* ==========================================================
   MESSAGE
========================================================== */

.shop-message {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.shop-message.error {
    display: block;
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #ffd1d1;
}

.shop-message.success {
    display: block;
    background: #effaf2;
    color: #167a34;
    border: 1px solid #c9efd3;
}


/* ==========================================================
   LOADING
========================================================== */

.shop-loading {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #777;
}

.shop-loading i {
    font-size: 26px;
    color: #f76902;
}


/* ==========================================================
   HERO
========================================================== */

.shop-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 20px;
    margin-bottom: 24px;
}

.shop-logo {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111111;
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
}

.shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-information {
    min-width: 0;
}

.shop-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-title-row h1 {
    margin: 0;
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
}

.shop-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff3ea;
    color: #e85c00;
    font-size: 12px;
    font-weight: 700;
}

.shop-description {
    max-width: 760px;
    margin: 12px 0;
    line-height: 1.7;
    color: #666;
}

.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #666;
    font-size: 13px;
}

.shop-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-meta i {
    color: #f76902;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.shop-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.shop-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.shop-back-link:hover {
    color: #f76902;
}

.shop-search-wrapper {
    width: min(430px, 100%);
    position: relative;
}

.shop-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.shop-search-wrapper input {
    width: 100%;
    height: 46px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 15px 0 43px;
    outline: none;
}

.shop-search-wrapper input:focus {
    border-color: #111;
}


/* ==========================================================
   SECTION PRODUITS
========================================================== */

.shop-products-section {
    margin-top: 10px;
}

.shop-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.shop-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #f76902;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.shop-section-heading h2 {
    margin: 0;
    font-size: 27px;
}

.shop-sort {
    height: 42px;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 0 35px 0 12px;
    background: #ffffff;
    outline: none;
}


/* ==========================================================
   GRID
========================================================== */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* ==========================================================
   PRODUCT CARD
========================================================== */

.shop-product-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 15px;
    overflow: hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .07);
}

.shop-product-image {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f3f3;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.025);
}

.shop-product-discount {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 8px;
    border-radius: 7px;
    background: #e30613;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.shop-product-content {
    padding: 14px;
}

.shop-product-brand {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
}

.shop-product-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-name a {
    color: #111;
    text-decoration: none;
}

.shop-product-rating {
    min-height: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 11px;
    color: #777;
}

.shop-product-rating i {
    color: #f5a623;
}

.shop-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 10px;
}

.shop-product-price {
    color: #e30613;
    font-size: 16px;
    font-weight: 800;
}

.shop-product-old-price {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
}

.shop-product-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 40px;
    margin-top: 13px;
    border-radius: 9px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease;
}

.shop-product-button:hover {
    background: #f76902;
}


/* ==========================================================
   EMPTY
========================================================== */

.shop-empty {
    min-height: 300px;
    padding: 50px 20px;
    border: 1px dashed #d9d9d9;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.shop-empty i {
    margin-bottom: 15px;
    color: #aaa;
    font-size: 38px;
}

.shop-empty h3 {
    margin: 0 0 8px;
}

.shop-empty p {
    margin: 0;
    color: #777;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1050px) {

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .shop-page {
        width: calc(100% - 24px);
        padding: 20px 0 50px;
    }

    .shop-hero {
        align-items: flex-start;
        padding: 20px;
    }

    .shop-logo {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        font-size: 26px;
    }

    .shop-title-row h1 {
        font-size: 23px;
    }

    .shop-description {
        font-size: 13px;
    }

    .shop-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-search-wrapper {
        width: 100%;
    }

    .shop-section-heading {
        align-items: center;
    }

    .shop-section-heading h2 {
        font-size: 22px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .shop-product-content {
        padding: 10px;
    }

    .shop-product-name {
        font-size: 12px;
    }

    .shop-product-price {
        font-size: 14px;
    }

    .shop-product-button {
        font-size: 11px;
    }

}


/* ==========================================================
   PETIT MOBILE
========================================================== */

@media (max-width: 430px) {

    .shop-hero {
        gap: 14px;
    }

    .shop-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 21px;
    }

    .shop-meta {
        gap: 8px;
    }

}

.shop-product-description {
    margin: 5px 0 0;

    color: #727272;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}
/* ZANDOS SHOP CAROUSEL V1 */

.shop-carousel-wrapper {
    position: relative;
    min-width: 0;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 5px 0 18px;
}

.shop-products-grid::-webkit-scrollbar {
    display: none;
}

.shop-product-card {
    min-width: 0;
    scroll-snap-align: start;
}

.shop-carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 35%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
}

.shop-carousel-prev { left: -12px; }
.shop-carousel-next { right: -12px; }

.shop-carousel-arrow:hover {
    background: #F76902;
    color: #fff;
}

.shop-carousel-arrow:disabled {
    opacity: .3;
    pointer-events: none;
}

@media (max-width: 1050px) {
    .shop-products-grid {
        grid-template-columns: none;
        grid-auto-columns: calc((100% - 32px) / 3);
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .shop-products-grid {
        grid-template-columns: none;
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
    }

    .shop-carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .shop-carousel-prev { left: -6px; }
    .shop-carousel-next { right: -6px; }
}
