/*
 * Brandshox 1.5.9
 * Homepage Build Your Look — responsive editorial/product showcase.
 */

/* Section canvas and desktop composition */
.bs-home-shop-look {
    padding-block: clamp(42px, 5vw, 76px);
    background: #f7f5f1;
}
.bs-home-shop-look > .bs-container {
    width: min(100% - 48px, 1440px);
}
.bs-shop-look-13-grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(28px, 3.4vw, 54px);
    align-items: stretch;
}
.bs-shop-look-13-photo {
    min-width: 0;
    min-height: 500px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: #e9e7e3;
}
.bs-shop-look-13-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}
.bs-shop-look-13-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
}
.bs-shop-look-13-content > .bs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    color: var(--bs-accent, #ff6b24);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.4;
}
.bs-shop-look-13-content > .bs-eyebrow::after {
    display: block;
    width: 54px;
    height: 1px;
    background: currentColor;
    content: "";
}
.bs-shop-look-13-content h2 {
    margin: 12px 0 12px;
    color: #111;
    font-size: clamp(34px, 3.5vw, 54px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.bs-shop-look-13-content > p {
    max-width: 620px;
    margin: 0 0 24px;
    color: #626262;
    font-size: 15px;
    line-height: 1.65;
}

/* Three equal product cards on desktop */
.bs-shop-look-products-viewport {
    width: 100%;
    min-width: 0;
}
.woocommerce ul.products.bs-shop-look-products,
.bs-shop-look-products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: clamp(10px, 1.25vw, 18px);
    width: 100%;
    margin: 0 0 24px !important;
    padding: 0 !important;
}
.bs-shop-look-products::before,
.bs-shop-look-products::after {
    display: none !important;
    content: none !important;
}
.bs-shop-look-products > .bs-product-card {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bs-shop-look-products .bs-card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 9px;
    background: #eeece8;
}
.bs-shop-look-products .bs-card-photo .bs-product-image,
.bs-shop-look-products .bs-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
}
.bs-shop-look-products .bs-card-photo img {
    object-fit: cover;
}
.bs-shop-look-products .bs-product-meta {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
}
.bs-shop-look-products .bs-product-meta > a {
    color: #151515;
    text-decoration: none;
}
.bs-shop-look-products .bs-product-meta h3 {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0 0 6px;
    overflow: hidden;
    color: #151515;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bs-shop-look-products .bs-product-cat {
    display: none !important;
}
.bs-shop-look-products .bs-product-price {
    min-height: 22px;
    margin-top: auto;
    color: #ff5f24;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}
.bs-shop-look-products .bs-product-price del {
    color: #999;
    font-size: 11px;
    font-weight: 400;
}
.bs-shop-look-products .bs-product-price ins {
    color: #ff5f24;
    text-decoration: none;
}
.bs-shop-look-products .bs-product-rating {
    display: none;
}
.bs-shop-look-products .bs-loop-whatsapp-wrap {
    justify-content: center;
    margin-top: 8px;
    padding-top: 0;
}
.bs-shop-look-products .bs-loop-whatsapp-button {
    width: 100%;
    max-width: 220px;
    min-height: 40px;
    padding: 8px 9px;
    gap: 6px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.15;
}
.bs-shop-look-products .bs-loop-whatsapp-button svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}
.bs-shop-look-all {
    align-self: center;
    min-width: 210px;
    min-height: 46px;
    justify-content: center;
    gap: 12px;
    border-radius: 7px;
    padding: 12px 22px;
}

/* General product-card WhatsApp button width: use the available card width up to 220px. */
.bs-product-card .bs-loop-whatsapp-button {
    width: 100%;
    max-width: 220px;
    min-height: 40px;
}

/* Tablet: stack the editorial image above a horizontally scrollable product rail. */
@media (max-width: 980px) {
    .bs-shop-look-13-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
    .bs-shop-look-13-photo {
        min-height: 0;
        max-height: 430px;
        aspect-ratio: 16 / 7;
    }
    .bs-shop-look-13-photo img {
        min-height: 0;
    }
    .bs-shop-look-13-content {
        padding: 0;
    }
}

/* Mobile: image first, then copy, then a swipeable product carousel. */
@media (max-width: 767px) {
    .bs-home-shop-look {
        padding-block: 30px 38px;
    }
    .bs-home-shop-look > .bs-container {
        width: min(100% - 28px, 640px);
    }
    .bs-shop-look-13-grid {
        gap: 20px;
    }
    .bs-shop-look-13-photo {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
    .bs-shop-look-13-photo img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-position: center 38%;
    }
    .bs-shop-look-13-content h2 {
        margin: 8px 0 9px;
        font-size: clamp(29px, 8vw, 38px);
    }
    .bs-shop-look-13-content > p {
        margin-bottom: 17px;
        font-size: 14px;
        line-height: 1.55;
    }
    .bs-shop-look-products-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #c9c4bc transparent;
        -webkit-overflow-scrolling: touch;
    }
    .woocommerce ul.products.bs-shop-look-products,
    .bs-shop-look-products {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        width: max-content;
        min-width: 100%;
        margin-bottom: 20px !important;
        padding: 0 0 7px !important;
    }
    .bs-shop-look-products > .bs-product-card {
        flex: 0 0 clamp(154px, 43vw, 188px);
        width: clamp(154px, 43vw, 188px) !important;
        max-width: clamp(154px, 43vw, 188px);
        scroll-snap-align: start;
    }
    .bs-shop-look-products .bs-product-meta {
        padding-top: 8px;
    }
    .bs-shop-look-products .bs-product-meta h3 {
        min-height: 2.7em;
        font-size: 12px;
        line-height: 1.35;
    }
    .bs-shop-look-products .bs-product-price {
        font-size: 13px;
    }
    .bs-shop-look-products .bs-loop-whatsapp-wrap {
        padding-top: 8px;
    }
    .bs-shop-look-products .bs-loop-whatsapp-button {
        width: 100%;
        max-width: none;
        min-height: 39px;
        padding: 8px 7px;
        font-size: 11px;
    }
    .bs-shop-look-all {
        align-self: stretch;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin-top: 2px;
    }
}

/* Small phones: keep the carousel cards readable without horizontal page overflow. */
@media (max-width: 380px) {
    .bs-shop-look-products > .bs-product-card {
        flex-basis: 150px;
        width: 150px !important;
        max-width: 150px;
    }
    .bs-shop-look-products .bs-loop-whatsapp-button {
        gap: 4px;
        padding-inline: 5px;
        font-size: 10.5px;
    }
}
