/* Vitrines Fika Mais. Especificidade explícita para substituir o legado
   sem atingir os controles da PDP ou do carrinho lateral. */
html body ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    min-width: 0;
    height: auto !important;
    padding: 0 0 12px !important;
    background: #fff;
    border: 1px solid #EFE3DF;
    border-radius: 12px;
    text-align: left;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
html body ul.products li.product:hover {
    transform: none !important;
    border-color: #d6c2ba;
    box-shadow: 0 4px 16px rgba(95,50,38,.06);
}
html body ul.products li.product .woocommerce-LoopProduct-link,
html body ul.products li.product .woocommerce-Loop-product-link {
    display: block;
    width: 100% !important;
    color: inherit;
    min-width: 0;
}
html body ul.products li.product img.attachment-woocommerce_thumbnail,
html body ul.products li.product a.woocommerce-LoopProduct-link > img,
html body ul.products li.product a.woocommerce-Loop-product-link > img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    object-fit: contain !important;
    background: #fff;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
}
html body ul.products li.product .product-info-wrapper {
    padding: 0 !important;
}
html body ul.products li.product .woocommerce-loop-product__title {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 4.2em;
    overflow: visible !important;
    -webkit-line-clamp: unset;
    padding: 10px 12px 0 !important;
    margin: 0 !important;
    color: #5F3226;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
}
html body ul.products li.product .price {
    display: block !important;
    text-align: left !important;
    padding: 0 12px !important;
    margin: 8px 0 10px !important;
    color: #5F3226 !important;
    font-size: 18px !important;
    line-height: 1.4;
}
html body ul.products li.product .price del {
    display: block !important;
    color: #75645e !important;
    font-size: 12px !important;
    margin: 0 0 2px !important;
}
html body ul.products li.product .price ins {
    display: inline !important;
    color: #5F3226 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
html body ul.products li.product form.fika-main-buy-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box;
}
html body ul.products li.product form.fika-main-buy-box .fika-qty-row {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    overflow: hidden;
    border: 1px solid #e2d5cf !important;
    border-radius: 8px !important;
    background: #fff;
}
html body ul.products li.product form.fika-main-buy-box .fika-qty-row button.quantity-btn {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #5F3226 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
html body ul.products li.product form.fika-main-buy-box .fika-qty-row .quantity {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
html body ul.products li.product form.fika-main-buy-box .fika-qty-row input.qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-inline: 1px solid #eee4df !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 14px !important;
    text-align: center;
}
html body ul.products li.product .button,
html body ul.products li.product form.fika-main-buy-box .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    height: auto !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    background: #5F3226 !important;
    border: 1px solid #5F3226 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
}
html body ul.products li.product > a.button { margin: auto 12px 0 !important; }
html body ul.products li.product .button:hover { background: #48251d !important; }
html body ul.products li.product :is(a, button, input):focus-visible {
    outline: 2px solid #5F3226 !important;
    outline-offset: -3px;
}
html body ul.products li.product .awl-product-label {
    min-width: 0 !important;
    font-size: 10px !important;
    padding: 5px 8px !important;
}
@media (min-width: 1024px) {
    html body ul.products li.product form.fika-main-buy-box {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    html body ul.products li.product form.fika-main-buy-box .fika-qty-row {
        flex: 1 1 116px !important;
        width: auto !important;
    }
    html body ul.products li.product form.fika-main-buy-box .button {
        flex: 1 1 80px !important;
    }
    html body ul.products li.product form.fika-main-buy-box .fika-qty-row button.quantity-btn {
        flex-basis: 38px !important;
        width: 38px !important;
    }
}
@media (max-width: 767px) {
    html body ul.products li.product { padding-bottom: 10px !important; }
    html body ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        padding: 8px 10px 0 !important;
    }
    html body ul.products li.product .price { padding: 0 10px !important; font-size: 17px !important; }
    html body ul.products li.product .price ins { font-size: 17px !important; }
    html body ul.products li.product form.fika-main-buy-box { padding: 0 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body ul.products li.product { transition: none; }
}
