/*
Theme Name:   Astra Child — Best Licenças
Theme URI:    https://bestlicencas.com.br
Description:  Child theme do Astra para Best Licenças
Author:       Best Licenças
Author URI:   https://bestlicencas.com.br
Template:     astra
Version:      2.3
Text Domain:  astra-child
*/

/* =====================================================
   BEST LICENÇAS — ESTILOS COMPLETOS DO CHILD THEME
   ===================================================== */

/* Hide Mobile Specific Elements on Desktop */
.mobile-header,
.menu-drawer,
.drawer-overlay {
    display: none !important;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-accent: #4329a7;
    --sale-price: #48c1ce;
    --dark-blue: #1c2b59;
    --footer-bg: #4329a7;
    --text-dark: #000000;
    --text-body: #000000;
    --text-muted: #a4a9be;
    --white: #ffffff;
    --cordabarra: #00d864;
    --rainbow-gradient: linear-gradient(90deg, var(--cordabarra) 0%, var(--cordabarra) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 15px !important;
    line-height: 1.87 !important;
    padding-top: 266px !important;
    margin-top: 0 !important;
    overflow-x: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Ocultar elementos padrão do Astra que conflitam */
#masthead,
.ast-site-header-wrap,
.site-header,
.ast-primary-header-bar,
.ast-above-header,
.ast-below-header,
.ast-site-footer,
.site-footer {
    display: none !important;
}


/* =====================================================
   CORES — Abordagem específica (sem body * nuclear)
   ===================================================== */

/* Conteúdo geral: preto */
.product-title,
.product-info p,
.category-content p,
.entry-content,
.entry-content p,
.entry-content li,
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description p,
.woocommerce-tabs p,
.woocommerce-tabs li,
.breadcrumb,
.sidebar-menu a,
.bl-copyright {
    color: #000000;
}

/* Preços: teal */
.price-current,
span.price-current,
.price ins span,
.price ins bdi,
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi {
    color: #48c1ce !important;
}

/* Preço riscado: cinza */
.price-old,
.price del,
.price del span,
.price del bdi {
    color: #a4a9be !important;
    opacity: 1 !important;
}

/* Rodapé: branco */
.bl-footer,
.bl-footer a,
.bl-footer p,
.bl-footer span,
.bl-footer div,
.bl-footer li,
.bl-footer h2,
.bl-footer h3,
.bl-footer label,
.bl-footer input,
.bl-footer small,
.bl-footer-bottom,
.bl-footer-bottom div,
.bl-footer-bottom span,
.bl-copyright {
    color: #ffffff !important;
}


.site-content,
#content,
.ast-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* =====================================================
   ADMIN BAR — Compensa os 32px da barra do WP
   ===================================================== */
.admin-bar body {
    padding-top: 298px !important;
    /* 266 + 32 */
}

.admin-bar .bl-top-bar {
    top: 32px !important;
}

.admin-bar .bl-site-header {
    top: 76px !important;
    /* 44 + 32 */
}

.admin-bar .bl-mobile-header {
    top: 76px !important;
}

/* Admin bar mobile (46px em telas < 783px) */
@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 312px !important;
    }

    /* 266 + 46 */
    .admin-bar .bl-top-bar {
        top: 46px !important;
    }

    .admin-bar .bl-site-header {
        top: 90px !important;
    }

    .admin-bar .bl-mobile-header {
        top: 90px !important;
    }
}

/* =====================================================
   HEADER
   ===================================================== */

.bl-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    height: 44px;
    background: linear-gradient(90deg, #4329a7 0%, #0b0606 50%, #4329a7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.bl-site-header {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bl-header-main {
    height: 164px;
    background: #fff;
    display: flex;
    padding-top: 20px;
    padding-bottom: 10px;
}

.bl-header-container {
    max-width: 1480px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.bl-logo {
    display: block;
    width: 160px;
    flex-shrink: 0;
}

.bl-logo-img {
    width: 160px;
    height: 160px;
    max-width: 160px;
    max-height: 160px;
    display: block;
    object-fit: contain;
}

.bl-search-bar {
    flex: 1;
    max-width: 720px;
    width: 100%;
    margin: 0 40px;
    display: flex;
    background: #f1f1f1;
    border-radius: 999px;
    height: 52px;
    align-items: center;
    padding: 0;
    margin-top: -10px;
    overflow: hidden;
}

.bl-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    height: 100%;
    color: #000;
}

.bl-search-btn {
    background: #48c1ce;
    border: none;
    width: 64px;
    height: 100%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 999px 999px 0;
    transition: background 0.3s;
    font-size: 18px;
}

.bl-search-btn:hover {
    background: #3baeb9;
}

.bl-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.bl-cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.bl-cart-icon-wrapper {
    position: relative;
}

.bl-cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #62c3e4;
    color: white;
    font-size: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.bl-main-nav {
    height: 54px;
    display: flex;
    align-items: center;
    border-top: 1px solid #f5f5f5;
}

.bl-nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

.bl-nav-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bl-nav-links i {
    margin-right: 6px;
}

.bl-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
    text-decoration: none;
}

.bl-nav-links a:hover {
    color: var(--primary-accent);
}

.bl-rainbow-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #fcd000, #ff3b3b, #9100ff, #0086ff, #00d864);
}

/* =====================================================
   MOBILE HEADER
   ===================================================== */
.bl-mobile-header {
    display: none;
}

/* =====================================================
   HERO BANNER
   ===================================================== */
.hero-banner {
    padding: 15px 0;
    background: #fff;
    overflow: hidden;
}

.banner-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.banner-content {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    user-select: none;
}

.banner-slideshow {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
    overflow: hidden;
}

.banner-slide {
    width: 33.3333%;
    flex-shrink: 0;
    height: 400px;
    overflow: hidden;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1.5px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
}

/* =====================================================
   BOTTOM BANNER
   ===================================================== */
.bottom-banner {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    display: block;
    overflow: hidden;
}

.bottom-banner .banner-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.bottom-banner .banner-content {
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.bottom-banner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* =====================================================
   PRODUCT SECTIONS
   ===================================================== */
.section-header {
    max-width: 1480px;
    margin: 0 auto 20px;
    padding: 0 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    font-style: normal !important;
    color: #11206b;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.5;
    padding: 0;
    margin: 0 16px 0 0;
    display: block;
    position: relative;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    display: flex;
    width: 134px;
    height: 6px;
    background: var(--cordabarra);
    border-radius: 10px;
    margin-top: 4px;
}

.see-all-link {
    font-size: 13px;
    color: var(--primary-accent);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.see-all-link:hover {
    opacity: 0.7;
}

.product-grid {
    max-width: 1480px !important;
    margin: 0 auto 20px !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 15px !important;
    padding: 0 20px !important;
    list-style: none !important;
}

.product-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    transition: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.badge-discount {
    display: none;
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--sale-price);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.wc-on-sale .badge-discount {
    display: block;
}

.product-image {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    min-height: 140px !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.product-info {
    padding: 12px 0 0 0;
    text-align: left;
}

.product-title {
    font-size: 13px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    line-height: 1.4;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #48c1ce;
}

.price-old {
    font-size: 13px;
    color: #a4a9be;
    text-decoration: line-through;
}

/* WooCommerce price override */
.product-card .price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #48c1ce !important;
    margin: 0 !important;
}

.product-card .price ins {
    text-decoration: none;
    color: #48c1ce;
    font-weight: 700;
}

.product-card .price del {
    font-size: 13px;
    color: #a4a9be;
    font-weight: 400;
    opacity: 1;
}


/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    max-width: 1480px;
    margin: 20px auto 15px;
    padding: 0 20px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #333;
}

/* =====================================================
   CATEGORY / SHOP PAGE LAYOUT
   ===================================================== */
.category-layout {
    max-width: 1480px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 0 20px;
}

.sidebar-menu h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu ul li {
    margin-bottom: 10px;
}

.sidebar-menu ul li a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-menu ul li a:hover,
.sidebar-menu ul li a.active {
    color: var(--primary-accent);
    font-weight: 600;
}

.category-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: #000000;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toolbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.products-count {
    display: block;
    font-size: 13px;
    color: #000000;
}

.category-toolbar select {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    color: #000000;
    background: #fff;
}

.category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

/* Botões Vista Grid/Lista */
.toolbar-view {
    gap: 8px !important;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #888 !important;
    text-decoration: none;
    transition: all 0.2s;
}

.view-btn:hover,
.view-btn.active,
.toolbar-view .view-btn:hover,
.toolbar-view .view-btn.active,
.toolbar-right .view-btn:hover,
.toolbar-right .view-btn.active {
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.view-btn svg {
    display: block;
}

/* Badge "Save X% OFF" */
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2ecc71;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}


/* =====================================================
   SINGLE PRODUCT PAGE
   ===================================================== */
.product-layout {
    max-width: 1480px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 40px;
    padding: 0 20px;
    align-items: start;
}

.product-left {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1;
}

.product-description {
    margin-top: 10px;
    font-size: 15px;
    color: #000;
    line-height: 1.87;
    grid-column: 1;
    grid-row: 2;
}

.product-description p {
    margin-bottom: 10px;
}

.product-description li {
    font-size: 15px;
    color: #000;
    margin-bottom: 3px;
}

.product-details {
    position: sticky;
    top: 286px;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
}

.product-gallery {
    display: flex;
    gap: 15px;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    background: #fff;
    object-fit: contain;
}

.main-image {
    flex: 1;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.product-details h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1c2b59;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* WooCommerce add-to-cart button override */
.product-details .single_add_to_cart_button,
.product-details .button.alt {
    background: #48c1ce !important;
    color: white !important;
    width: 100% !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    font-family: 'Poppins', sans-serif !important;
}

.product-details .single_add_to_cart_button:hover,
.product-details .button.alt:hover {
    background: #3ba8b4 !important;
}

/* Ocultar seletor de quantidade na página de produto */
.product-details .quantity,
.woocommerce-variation-add-to-cart .quantity,
.cart .quantity,
form.cart .quantity {
    display: none !important;
}

/* =====================================================
   FOOTER
   ===================================================== */
.bl-footer {
    background: var(--footer-bg);
    color: white;
    padding: 50px 0 0;
    position: relative;
    margin-top: 0;
}

.bl-footer-rainbow {
    display: none;
}

.bl-footer-container {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
    gap: 30px;
    padding: 0 20px 30px;
}

.bl-footer-col h3 {
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: normal;
    font-weight: 700;
    color: #ffffff;
}

.bl-accordion-icon {
    display: none;
}

.bl-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bl-footer-col ul li {
    margin-bottom: 8px;
}

.bl-footer-col ul li a {
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
    transition: opacity 0.3s, padding-left 0.3s;
    text-decoration: none;
}

.bl-footer-col ul li a:hover {
    opacity: 0.7;
    padding-left: 5px;
}

.bl-contact-info {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.5;
}

.bl-contact-info p {
    margin-bottom: 0;
}

.bl-footer-promo-text {
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 28px;
}

.bl-newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.bl-newsletter-box input {
    background: #ededed;
    border: none;
    outline: none;
    font-size: 15px;
    color: #000;
    padding: 12px 18px;
    border-radius: 40px;
    height: 48px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.bl-newsletter-box input::placeholder {
    color: #999;
}

.bl-newsletter-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    border-radius: 40px;
    transition: background 0.3s;
    font-family: 'Poppins', sans-serif;
}

.bl-newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.bl-newsletter-success {
    display: none;
    background: rgba(72, 193, 206, 0.25);
    border: 1px solid rgba(72, 193, 206, 0.5);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    margin-top: 10px;
    line-height: 1.4;
}

.bl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 20px;
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bl-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.bl-payment-flags-img {
    max-height: 40px;
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Toolbar — texto preto */
.category-toolbar,
.category-toolbar *,
.toolbar-item,
.toolbar-item *,
.toolbar-left,
.toolbar-right,
.products-count {
    color: #000000 !important;
}

.category-toolbar select {
    color: #000000 !important;
    background: #fff;
}

/* Vista Lista — layout horizontal */
#blProductGrid.category-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: none !important;
}

/* ==============================================
   VISTA LISTA — layout com wrapper .bl-list-row
   ============================================== */

/* Container da lista */
#blProductGrid.category-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: none !important;
}

/* Botão oculto fora da lista */
.bl-list-btn {
    display: none !important;
}

/* Linha da lista: imagem + info + botão */
.bl-list-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    gap: 0 !important;
}

/* Card dentro da linha */
.bl-list-row .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 1 !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 110px !important;
    text-decoration: none !important;
}

/* Imagem dentro da linha */
.bl-list-row .product-image {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    aspect-ratio: unset !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    border-radius: 6px !important;
}

.bl-list-row .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Info do produto: coluna com título e preço */
.bl-list-row .product-info {
    flex: 1 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.bl-list-row .product-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
    min-height: unset !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

/* Botão Ir para página — lado DIREITO, estilo roxo */
.bl-list-row .bl-list-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-right: 20px !important;
    padding: 12px 22px !important;
    background: #4329a7 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.3px !important;
}

.bl-list-row .bl-list-btn:hover {
    background: #3b21a2 !important;
}

/* =====================================================
   FOOTER ACCORDION (mobile only)
   ===================================================== */
.bl-footer-col.bl-accordion .bl-accordion-body {
    display: block;
}

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .bl-footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .bl-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 160px !important;
    }

    .bl-site-header {
        display: none !important;
    }

    .bl-mobile-header {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 44px !important;
        left: 0 !important;
        width: 100% !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        z-index: 3000 !important;
    }

    .bl-mobile-row1 {
        display: flex !important;
        width: 100% !important;
        height: 70px !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 16px !important;
        position: relative !important;
    }

    .bl-hamburger {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        cursor: pointer !important;
        font-size: 24px !important;
        color: #333 !important;
        flex-shrink: 0 !important;
    }

    .bl-mobile-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .bl-mobile-logo img {
        height: 62px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .bl-mobile-icons {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .bl-mobile-cart {
        position: relative !important;
        width: 40px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 22px !important;
        color: #333 !important;
        text-decoration: none !important;
    }

    .bl-cart-badge {
        position: absolute !important;
        top: 4px !important;
        right: -2px !important;
        background: #00d864 !important;
        color: #fff !important;
        border-radius: 50% !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
    }

    .bl-mobile-row2 {
        display: flex !important;
        width: 100% !important;
        padding: 0 16px 8px 16px !important;
    }

    .bl-mobile-row2 .bl-search-bar {
        display: flex !important;
        width: 100% !important;
        height: 34px !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 4px !important;
        background: #fff !important;
        overflow: hidden !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .bl-mobile-menu-panel {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #fff !important;
        z-index: 2999 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease, opacity 0.3s ease !important;
        opacity: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    }

    .bl-mobile-menu-panel.active {
        max-height: 500px !important;
        opacity: 1 !important;
    }

    .bl-mobile-menu-links {
        list-style: none !important;
        padding: 8px 0 16px 0 !important;
        margin: 0 !important;
    }

    .bl-mobile-menu-links a {
        display: block !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
        color: #222 !important;
        text-decoration: none !important;
    }

    .bl-mobile-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.45) !important;
        z-index: 2998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease !important;
    }

    .bl-mobile-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 12px;
        margin-top: 15px;
    }

    .bl-footer-container {
        grid-template-columns: 1fr;
    }

    .bl-accordion-icon {
        display: inline !important;
    }

    .bl-footer-col.bl-accordion .bl-accordion-body {
        display: none;
    }

    .bl-footer-col.bl-accordion.open .bl-accordion-body {
        display: block;
    }

    .hero-banner {
        padding: 0;
    }

    .banner-container {
        padding: 0;
        border-radius: 0;
    }

    .banner-content {
        border-radius: 0;
        box-shadow: none;
    }

    .banner-slide {
        height: auto !important;
    }

    .banner-slide img {
        height: auto !important;
    }
}

/* =====================================================
   BARRA DE BUSCA — OVERRIDE GLOBAL (Astra + WooCommerce)
   Garante o mesmo visual em TODAS as páginas
   ===================================================== */

/* Container da busca do Astra */
.ast-search-form-full .search-form,
.ast-site-search .search-form,
.ast-header-search .search-form,
.ast-header-custom-item .search-form,
.ast-search-box .search-form,
.widget_search .search-form {
    display: flex !important;
    background: #f1f1f1 !important;
    border-radius: 999px !important;
    height: 52px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Input da busca */
.ast-search-form-full input[type="search"],
.ast-search-form-full input[type="text"],
.ast-site-search input[type="search"],
.ast-header-search input[type="search"],
.ast-search-box input[type="search"],
.widget_search input[type="search"],
.woocommerce-product-search input[type="search"] {
    background: transparent !important;
    border: none !important;
    border-radius: 999px 0 0 999px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    height: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'Poppins', sans-serif !important;
    color: #000 !important;
    flex: 1 !important;
}

/* Botão de envio da busca */
.ast-search-form-full .search-submit,
.ast-search-form-full button[type="submit"],
.ast-site-search .search-submit,
.ast-header-search .search-submit,
.ast-search-box .search-submit,
.widget_search .search-submit,
.woocommerce-product-search button[type="submit"] {
    background: #48c1ce !important;
    border: none !important;
    border-radius: 0 999px 999px 0 !important;
    width: 64px !important;
    height: 100% !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    transition: background 0.3s !important;
}

.ast-search-form-full .search-submit:hover,
.ast-site-search .search-submit:hover,
.ast-header-search .search-submit:hover {
    background: #3baeb9 !important;
}

/* Oculta o campo de busca do Astra se o nosso header customizado já estiver presente */
.bl-site-header~.ast-header-break-point .ast-site-search,
.bl-site-header~* .ast-site-search {
    display: none !important;
}

/* FORÇA O BOTÃO DE VISTA PARA CINZA ESCURO (REMOVER ROXO) */
.view-btn.active, 
.view-btn:hover,
.toolbar-view .view-btn.active,
.toolbar-view .view-btn:hover,
.toolbar-right .view-btn.active,
.toolbar-right .view-btn:hover,
.astra-shop-toolbar .view-btn.active {
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* FORÇA BARRA DE BUSCA PARA ROXO (IGUAL HOME) */
.bl-search-btn {
    background: #4329a7 !important;
}

/* LAYOUT DE LISTA — DEFINITIVO */
#blProductGrid.category-list .bl-list-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    padding: 0 25px 0 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

#blProductGrid.category-list .product-card {
    flex: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 15px !important;
    border: none !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
}

#blProductGrid.category-list .product-image {
    width: 90px !important;
    height: 90px !important;
    flex-shrink: 0 !important;
}

#blProductGrid.category-list .product-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    padding: 0 !important;
}

/* ESTILO DO BOTÃO NA LISTA (ROXO + IGUAL COMPRAR AGORA) */
#blProductGrid.category-list .bl-list-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #4329a7 !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
    border: none !important;
}

#blProductGrid.category-list .bl-list-btn:hover {
    background: #3b21a2 !important;
}
