/* =========================================================
   TOP1 INDUSTRIAL — CSS ADICIONAL LIMPO
   Baseado no CSS enviado pelo usuário.
   Regras duplicadas/conflitantes foram consolidadas.
   ========================================================= */

/* =========================================================
   PRODUTOS WOOCOMMERCE
   ========================================================= */

.woocommerce ul.products li.product {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    position: relative;
    transition: transform .4s ease, box-shadow .4s ease;
    box-shadow:
        0 6px 18px rgba(0,0,0,.05),
        0 20px 45px rgba(0,0,0,.06) !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 30px rgba(0,0,0,.08),
        0 28px 60px rgba(0,76,162,.10) !important;
}

.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: none !important;
    transition: transform .6s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    padding: 0 24px;
    margin-top: 8px;
    letter-spacing: -1px;
    text-transform: uppercase;
    transition: color .3s ease;
}

.woocommerce ul.products li.product .price {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex-wrap: wrap;
    padding: 0 24px;
}

.woocommerce ul.products li.product .price del {
    opacity: 1 !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
    font-size: 18px;
    font-weight: 500;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price ins .amount {
    color: #004CA2;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -2px;
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 48px);
    margin: 4px 24px 24px !important;
    border: none !important;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0057ba 0%, #004CA2 50%, #003974 100%) !important;
    box-shadow:
        0 8px 20px rgba(0,76,162,.22),
        inset 0 1px 0 rgba(255,255,255,.18);
    transition: .3s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(0,76,162,.28),
        inset 0 1px 0 rgba(255,255,255,.22);
}

/* =========================================================
   CARRINHO ELEMENTOR
   ========================================================= */

.elementor-menu-cart__footer-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 18px;
}

.elementor-menu-cart__footer-buttons .elementor-button {
    border: none !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    transition: .3s ease;
}

.elementor-button--view-cart {
    color: #fff !important;
    background: linear-gradient(135deg, #0057ba 0%, #004CA2 50%, #003974 100%) !important;
}

.elementor-button--checkout {
    color: #fff !important;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #374151 100%) !important;
}

.top1-cart-whatsapp {
    grid-column: 1 / -1;
    width: 100% !important;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   MENSAGENS WOOCOMMERCE
   ========================================================= */

.woocommerce-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.woocommerce-message .button,
.woocommerce-message a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    background: #FFED00 !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .6px;
    border: none !important;
    box-shadow:
        0 10px 24px rgba(255,237,0,.30),
        inset 0 1px 0 rgba(255,255,255,.4);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover {
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow:
        0 16px 34px rgba(255,237,0,.42),
        inset 0 1px 0 rgba(255,255,255,.5);
}

.woocommerce-mini-cart__empty-message,
.cart-empty,
.woocommerce-info {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center;
    color: #6b7280 !important;
    line-height: 1.5;
}

/* =========================================================
   PRODUTO INDIVIDUAL TOP1
   ========================================================= */

.single-product .summary {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    margin-top: 20px;
}

.single-product .product_title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.05;
    color: #111827;
    letter-spacing: -2px;
}

.single-product .price .amount {
    color: #004CA2 !important;
    font-size: 48px !important;
    font-weight: 900 !important;
}

.single-product .woocommerce-product-gallery img {
    border-radius: 24px;
}

.woocommerce-tabs {
    margin-top: 50px;
}

/* =========================================================
   FORMULÁRIO / QUANTIDADE DO PRODUTO
   ========================================================= */

.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.single-product .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px !important;
    height: 56px !important;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.single-product .quantity .qty,
.single-product form.cart .quantity .qty {
    width: 70px !important;
    min-width: 70px !important;
    flex: none !important;
    height: 56px !important;
    border: none !important;
    background: #fff !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #004CA2 !important;
    padding: 0 !important;
}

.single-product .quantity button {
    width: 55px;
    height: 56px;
    border: none;
    background: #f8fafc;
    color: #004CA2;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.top1-minus-native,
.top1-plus-native {
    width: 55px !important;
    min-width: 55px !important;
    flex: none !important;
    height: 56px !important;
    border: none !important;
    background: #f8fafc !important;
    color: #004CA2 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.single-product .qty::-webkit-inner-spin-button,
.single-product .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .qty {
    -moz-appearance: textfield;
}

.single-product .single_add_to_cart_button {
    width: 100% !important;
    height: 60px;
    margin: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #0057ba, #004CA2, #003974) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0,76,162,.22);
    transition: .3s;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
}

/* =========================================================
   WHATSAPP — PRODUTO
   ========================================================= */

.top1-whatsapp-product {
    width: 100% !important;
    height: 60px;
    margin: 0 !important;
    padding: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(37,211,102,.25);
    transition: .3s;
}

.top1-whatsapp-product:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

/* =========================================================
   CONTROLES DE QUANTIDADE PERSONALIZADOS
   ========================================================= */

.top1-qty-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 170px !important;
    height: 50px !important;
    margin: 18px auto !important;
    border: 1px solid #dbe3ee !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.top1-qty-card .top1-minus,
.top1-qty-card .top1-plus {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
    border: none !important;
    background: #f7f9fc !important;
    color: #004CA2 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.top1-qty-card .top1-qty-input {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    flex: 0 0 70px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    text-align: center !important;
    color: #004CA2 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 50px !important;
}

/* Controle alternativo — se estiver sendo usado pelo HTML/JS */
.top1-mini-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.top1-mini-qty button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: #f3f6fb;
    color: #004CA2;
    font-weight: 700;
    cursor: pointer;
}

.top1-mini-qty span {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #111827;
}

/* =========================================================
   META DO PRODUTO
   ========================================================= */

.single-product .product_meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* =========================================================
   CARRINHO
   ========================================================= */

.cart-collaterals .cart_totals {
    background: #ffffff;
    border: none !important;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.woocommerce-cart .quantity .qty {
    width: 90px !important;
    height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3ee !important;
    text-align: center;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #004CA2 !important;
    background: #fff !important;
}

.woocommerce-cart table.cart tr {
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-cart table.cart td {
    padding: 22px 12px !important;
}

.woocommerce-cart button[name="update_cart"] {
    background: #004CA2 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0,76,162,.22);
}

.coupon input {
    height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3ee !important;
}

.coupon button {
    height: 50px !important;
    border-radius: 14px !important;
    border: none !important;
    background: #111827 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.wc-proceed-to-checkout a.checkout-button {
    border-radius: 16px !important;
    padding: 18px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0057ba, #004CA2, #003974) !important;
    box-shadow: 0 12px 25px rgba(0,76,162,.25);
}

.top1-cart-whatsapp-big {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 18px;
    text-align: center;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 25px rgba(37,211,102,.25);
}

/* =========================================================
   WHATSAPP NO CATÁLOGO
   ========================================================= */

.top1-whatsapp-card {
    display: block;
    width: calc(100% - 48px);
    margin: 12px 24px 24px;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 20px rgba(37,211,102,.25);
    transition: .3s;
}

.top1-whatsapp-card:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(37,211,102,.35);
}

/* =========================================================
   CHECKOUT WOOCOMMERCE BLOCKS
   ========================================================= */

.wc-block-components-checkout-step,
.wc-block-checkout__shipping-method,
.wc-block-components-totals-wrapper {
    background: #fff;
    border: none !important;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    margin-bottom: 20px;
}

.wc-block-components-text-input input,
.wc-block-components-select select {
    height: 54px !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3ee !important;
    font-size: 15px !important;
}

.wc-block-components-radio-control {
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    transition: .3s;
}

.wc-block-components-radio-control:hover {
    border-color: #004CA2;
    background: #f8fbff;
}

.wc-block-components-shipping-rates-control__package {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.wc-block-components-sidebar {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.wc-block-components-checkout-place-order-button {
    background: linear-gradient(135deg, #0057ba, #004CA2, #003974) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    min-height: 60px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,76,162,.25);
}

/* =========================================================
   RESPONSIVO — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .woocommerce-loop-product__title {
        font-size: 13px !important;
        line-height: 1.15;
        padding: 10px !important;
        min-height: 58px;
    }

    .woocommerce ul.products li.product .price .amount {
        font-size: 22px !important;
    }

    .woocommerce ul.products li.product .button {
        font-size: 12px;
        padding: 10px;
        min-height: 42px;
    }

    .top1-qty-card {
        width: 100px;
        height: 34px;
    }

    .top1-minus,
    .top1-plus {
        width: 28px;
        flex: 0 0 28px;
        font-size: 16px;
    }

    .top1-qty-input {
        font-size: 15px;
    }

    .top1-whatsapp-card {
        width: 100%;
        padding: 10px;
        font-size: 12px;
    }
}
