/* Woo Shop the Look — v3.0.3
 * Desktop: cada Look tem 600x300px fixos.
 * Divisão simétrica: 300px imagem + 300px texto.
 * Mobile continua responsivo.
 */

.wstl-wrap{
    display:grid;
    gap:0;
    width:600px !important;
    max-width:600px !important;
    min-width:0;
    box-sizing:border-box;
}

.wstl-wrap[data-count="2"]{
    grid-template-columns:repeat(2,600px);
    width:1200px !important;
    max-width:1200px !important;
    align-items:stretch;
}

.wstl-wrap[data-count="3"]{
    grid-template-columns:repeat(3,600px);
    width:1800px !important;
    max-width:1800px !important;
    align-items:stretch;
}

.wstl-look{
    display:grid;
    grid-template-columns:300px 300px;
    width:600px;
    max-width:600px;
    min-width:0;
    height:300px;
    min-height:300px;
    background:#eadfd9;
    overflow:hidden;
}

.wstl-media{
    position:relative;
    width:300px;
    min-width:300px;
    max-width:300px;
    height:300px;
}

.wstl-main-image{
    position:relative;
    width:300px;
    height:300px;
    overflow:hidden;
    background:#e4d2c6;
}

.wstl-main-image img,
.wstl-main-photo{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
}

.wstl-thumbs{
    position:absolute;
    left:10px;
    bottom:10px;
    display:flex;
    gap:8px;
    padding:0;
    overflow:auto;
    z-index:2;
}

.wstl-thumb{
    width:52px;
    height:52px;
    padding:0;
    border:1px solid rgba(17,17,17,.25);
    background:#fff;
    cursor:pointer;
    flex:0 0 auto;
    box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.wstl-thumb.is-active{
    border-color:#222;
}

.wstl-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.wstl-placeholder{
    width:300px;
    height:300px;
    display:grid;
    place-items:center;
    background:#e4d2c6;
    font-size:20px;
    letter-spacing:.12em;
}

.wstl-summary{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    box-sizing:border-box;
    width:300px;
    min-width:300px;
    max-width:300px;
    height:300px;
    min-height:300px;
    padding:24px 18px 16px;
}

.wstl-look-title{
    margin:0 0 12px !important;
    max-width:360px;
    font-size:18px !important;
    line-height:1.08 !important;
    font-weight:400 !important;
    letter-spacing:.01em;
    text-transform:uppercase;
    color:inherit;
}

.wstl-look-description{
    max-width:360px;
    margin:0 0 10px;
    font-size:13px;
    line-height:1.4;
    color:inherit;
}

.wstl-look-description p{
    margin:0 0 10px;
}

.wstl-look-description p:last-child{
    margin-bottom:0;
}

.wstl-look-composition{
    max-width:360px;
    margin:0 0 18px;
    font-size:12px;
    line-height:1.4;
    color:#222;
}

.wstl-open-modal.button.is-outline{
    margin-top:auto !important;
    flex:0 0 auto;
    box-sizing:border-box;
    height:auto !important;
    min-height:40px !important;
    padding:9px 12px;
    font-size:10px;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.wstl-open-modal:hover,
.wstl-add-look:hover{
    opacity:.9;
}

/* Modal */
.wstl-eyebrow{
    font-size:11px;
    letter-spacing:.18em;
    font-weight:700;
}

.wstl-modal{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:none;
}

.wstl-modal.is-open{
    display:block;
}

.wstl-modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
}

.wstl-modal-panel{
    position:fixed;
    right:0;
    top:0;
    bottom:0;
    z-index:2147483001;
    width:min(760px,100vw);
    height:100vh;
    overflow:auto;
    background:#fff;
    padding:34px 34px 28px;
    box-sizing:border-box;
}

.wstl-modal-close{
    position:absolute;
    right:16px;
    top:12px;
    border:0;
    background:transparent;
    font-size:36px;
    line-height:1;
    cursor:pointer;
}

.wstl-modal-head{
    padding-right:40px;
    margin-bottom:24px;
}

.wstl-modal-head h3{
    font-size:28px;
    line-height:1.1;
    margin:8px 0 14px;
}

.wstl-modal-head p{
    color:#666;
    margin:0;
}

.wstl-config-products{
    display:grid;
    gap:0;
}

.wstl-config-product{
    display:grid;
    grid-template-columns:26px 72px minmax(0,1fr) minmax(170px,220px);
    gap:16px;
    align-items:center;
    border:0;
    border-top:1px solid #e8e8e8;
    padding:18px 0;
    transition:opacity .2s;
}

.wstl-config-product:first-child{
    border-top:0;
    padding-top:0;
}

.wstl-config-product.is-disabled{
    opacity:.45;
}

.wstl-config-top,
.wstl-include{
    display:contents;
}

.wstl-item-enabled{
    grid-column:1;
    width:18px;
    height:18px;
    margin:0;
}

.wstl-product-thumb{
    grid-column:2;
}

.wstl-product-thumb img{
    width:72px;
    height:88px;
    object-fit:cover;
    display:block;
}

.wstl-product-info{
    grid-column:3;
    display:grid;
    gap:4px;
    align-content:center;
}

.wstl-product-info strong{
    font-size:16px;
    line-height:1.25;
}

.wstl-item-price{
    font-size:15px;
    font-weight:700;
}

.wstl-product-info small{
    color:#777;
}

.wstl-variation-fields{
    grid-column:4;
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:0;
    padding-left:0;
    align-self:center;
}

.wstl-field{
    display:grid;
    gap:6px;
}

.wstl-field>span{
    font-size:12px;
    font-weight:600;
}

.wstl-field select{
    width:100%;
    min-height:42px;
    border:1px solid #d7d7d7;
    background:#fff;
    margin:0;
}

.wstl-stock-note{
    grid-column:4;
    color:#a00;
    font-size:13px;
    margin:0;
}

.wstl-form-message{
    min-height:20px;
    margin:16px 0;
    font-size:13px;
}

.wstl-form-message.is-error{
    color:#a00;
}

.wstl-form-message.is-success{
    color:#147a3d;
}

.wstl-add-look.button.primary{
    width:100%;
    min-height:0;
    margin:0;
}

.wstl-add-look:disabled{
    opacity:.55;
    cursor:wait;
}

.wstl-modal-open{
    overflow:hidden;
}

.wstl-empty{
    padding:15px;
    background:#fff8e5;
    border:1px solid #f0cf7b;
}

/* Desktop/intermediário: em resoluções menores que a referência 1920px,
 * o shortcode passa a respeitar integralmente a coluna 4/12 do Flatsome.
 * A divisão interna permanece simétrica entre todos os Looks, deixa de
 * forçar 600px e usa metades iguais para manter as imagens uniformes. */
@media (min-width:801px) and (max-width:1700px){
    .wstl-wrap,
    .wstl-wrap[data-count="2"],
    .wstl-wrap[data-count="3"]{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        grid-template-columns:1fr;
    }

    .wstl-look{
        grid-template-columns:minmax(0,50%) minmax(0,50%);
        width:100%;
        max-width:100%;
        min-width:0;
        height:400px;
        min-height:400px;
    }

    .wstl-media,
    .wstl-main-image,
    .wstl-placeholder{
        width:100%;
        min-width:0;
        max-width:none;
        height:400px;
    }

    .wstl-summary{
        width:100%;
        min-width:0;
        max-width:none;
        height:400px;
        min-height:400px;
        padding:24px 18px 18px;
        overflow:hidden;
    }

    .wstl-look-title{
        max-width:100%;
        font-size:16px !important;
        line-height:1.1 !important;
    }

    .wstl-look-description,
    .wstl-look-composition{
        max-width:100%;
    }

    .wstl-look-composition{
        font-size:11px;
        line-height:1.35;
        overflow-wrap:anywhere;
    }

    .wstl-open-modal.button.is-outline{
        min-height:40px !important;
        padding:8px 12px;
        font-size:9px;
        white-space:normal;
    }
}

/* Ajuste exclusivo para viewport 1920 x 1080. */
@media (width:1920px) and (height:1080px){
    .wstl-look,
    .wstl-media,
    .wstl-main-image,
    .wstl-main-image img,
    .wstl-main-photo,
    .wstl-placeholder,
    .wstl-summary{
        height:450px;
        min-height:450px;
    }
}

@media(max-width:800px){
    .wstl-wrap,
    .wstl-wrap[data-count="2"],
    .wstl-wrap[data-count="3"]{
        grid-template-columns:1fr;
        width:100% !important;
        max-width:100% !important;
    }

    .wstl-look{
        grid-template-columns:1fr;
        width:100%;
        max-width:100%;
        height:auto;
        min-height:0;
    }

    .wstl-media,
    .wstl-main-image,
    .wstl-placeholder{
        width:100%;
        min-width:0;
        max-width:none;
    }

    .wstl-media{
        height:360px;
    }

    .wstl-main-image,
    .wstl-main-image img,
    .wstl-main-photo,
    .wstl-placeholder{
        height:360px;
        min-height:360px;
    }

    .wstl-summary{
        width:100%;
        min-width:0;
        max-width:none;
        height:auto;
        min-height:0;
        padding:24px 22px 22px;
    }

    .wstl-look-title,
    .wstl-look-description,
    .wstl-look-composition{
        max-width:none;
    }

    .wstl-modal-panel{
        width:100vw;
        padding:28px 20px 24px;
    }

    .wstl-config-product{
        grid-template-columns:22px 60px minmax(0,1fr);
        gap:12px;
        align-items:start;
    }

    .wstl-product-thumb img{
        width:60px;
        height:72px;
    }

    .wstl-variation-fields,
    .wstl-stock-note{
        grid-column:1 / -1;
        padding-left:94px;
        margin-top:8px;
    }
}

/* Produto Destaque — full bleed 100vw: 4/12 + 4/12 + 4/12 */
.wstl-featured{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:100vw;
    max-width:none;
    height:400px;
    min-height:400px;
    max-height:400px;
    margin-right:0;
    background:#eadfd9;
    overflow:hidden;
    box-sizing:border-box;
}

.wstl-featured-copy,
.wstl-featured-image{
    width:100%;
    min-width:0;
    height:400px;
    min-height:400px;
    max-height:400px;
    box-sizing:border-box;
}

.wstl-featured-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:42px clamp(28px,4vw,72px);
}

.wstl-featured-kicker{
    margin-bottom:8px;
    font-size:11px;
    line-height:1.3;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.wstl-featured-price{
    font-family:inherit;
    font-size:clamp(38px,3.1vw,56px);
    line-height:1;
    font-weight:400;
    letter-spacing:.02em;
}

.wstl-featured-price .woocommerce-Price-amount,
.wstl-featured-price .amount{
    font:inherit;
    color:inherit;
}

.wstl-featured-rule{
    display:block;
    width:30px;
    height:1px;
    margin:18px 0 16px;
    background:currentColor;
    opacity:.55;
}

.wstl-featured-products{
    margin:0 0 24px 16px;
    padding:0;
    font-size:12px;
    line-height:1.65;
    text-transform:uppercase;
}

.wstl-featured-products li{
    margin:0;
    padding:0 0 0 2px;
}

.wstl-featured-button.button.is-outline{
    margin:0 !important;
    padding:10px 24px;
    min-height:0;
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
}

.wstl-featured-image{
    overflow:hidden;
    background:#e4d2c6;
}

.wstl-featured-image img{
    display:block;
    width:100%;
    height:100%;
    height:400px;
    min-height:400px;
    max-height:400px;
    object-fit:cover;
    object-position:center center;
}

.wstl-featured-placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    height:400px;
    min-height:400px;
    max-height:400px;
    font-size:16px;
    letter-spacing:.12em;
    text-transform:uppercase;
}

@media (min-width:801px) and (max-width:1200px){
    .wstl-featured,
    .wstl-featured-copy,
    .wstl-featured-image,
    .wstl-featured-image img,
    .wstl-featured-placeholder{
        height:400px;
        min-height:400px;
        max-height:400px;
    }

    .wstl-featured-copy{
        padding:28px 24px;
    }

    .wstl-featured-price{
        font-size:34px;
    }

    .wstl-featured-products{
        font-size:10px;
        line-height:1.5;
        margin-bottom:18px;
    }
}

@media(max-width:800px){
    .wstl-featured{
        grid-template-columns:1fr;
        height:auto;
        min-height:0;
        max-height:none;
    }

    .wstl-featured-copy{
        height:auto;
        min-height:0;
        max-height:none;
        padding:34px 26px;
    }

    .wstl-featured-image,
    .wstl-featured-image img,
    .wstl-featured-placeholder{
        min-height:360px;
        height:360px;
        max-height:360px;
    }

    .wstl-featured-price{
        font-size:40px;
    }
}
