/* ========================================================
   shop-overrides.css — overrides MÍNIMOS para o Laravel
   O CSS principal vem de critical.css + theme.css + colors.css
   ======================================================== */

/* SVG icons na loja (selling points, estados vazios, status) */
.selling-icon { width: 28px; height: 28px; color: var(--bba-primary, #ff9fd5); flex-shrink: 0; }
.empty-state-icon { width: 64px; height: 64px; color: var(--bba-primary, #ff9fd5); margin: 0 auto; display: block; }
.status-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: block; }

/* ─── CSS Custom Properties (variáveis do tema) ─── */
:root {
    --bba-primary:   #ff9fd5;
    --bba-secondary: #ff80cb;
    --bba-bg:        #ffd5e1;
    --bba-card-bg:   #ffffec;
    --bba-image-bg:  #ffe5ee;
    --bba-text:      #2c3e50;
    --bba-muted:     rgba(44,62,80,.6);
    --bba-border:    rgba(44,62,80,.12);
    --font-display:  "Droid Sans", sans-serif;
    --color-border:  rgba(44,62,80,.12);
    --color-muted:   rgba(44,62,80,.6);
}

/* ─── Classes do shop.css usadas nas views mas não em shop.css ─── */
/* auth */
.auth-card {
    background: #fffffb;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    margin: 40px auto;
    border: 1px solid var(--bba-border);
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(255,128,203,.15);
}
.btn--primary, .btn.btn--primary {
    background: #ff80cb !important;
    color: #fff !important;
    border: 0 !important;
    border-bottom: 3px solid #ff4db6 !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    transition: opacity .15s !important;
}
.btn--primary:hover { opacity: .88 !important; }
.btn--block, .btn.btn--block { width: 100% !important; display: block !important; text-align: center !important; }
.btn--dark, .btn.btn--dark {
    background: #2c3e50 !important; color: #fff !important;
    border: 0 !important; border-radius: 4px !important;
    padding: 10px 24px !important; font-weight: 700 !important;
    cursor: pointer !important; text-decoration: none !important;
}
.btn--dark:hover { background: #34495e !important; }

/* shop-card (usado em success, account, order) */
.shop-card {
    background: #fffffb;
    border: 1px solid var(--bba-border);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
}

/* page-header */
.page-header {
    text-align: center;
    padding: 28px 0 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bba-border);
}
.page-header h1 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 22px;
    margin: 0 0 6px;
}
.page-header .breadcrumb {
    font-size: 12px;
    color: var(--bba-muted);
    background: none;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 6px;
    justify-content: center;
}

/* summary__row (usado em account/order) */
.summary__row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--bba-border);
}
.summary__row:last-child { border-bottom: 0; }
.summary__row--total { font-weight: 700; font-size: 18px; color: var(--bba-secondary); }

/* Tabela de pedidos com scroll mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table { min-width: 500px; }

/* 1) Fundo rosa pastel do body */
body.user-background {
    background-color: #ffd5e1;
}

/* Topbar rosa pink "Siga-nos no Instagram" */
.section-advertising {
    background: #ff80cb;
    color: #fffffb;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-advertising a { color: #fffffb; text-decoration: none; }
.section-advertising a:hover { text-decoration: underline; }

/* Footer rosa pink saturado, igual o original */
.footer.footer-main {
    background: #ff9fd5 !important;
    color: #fffffb !important;
}
.footer.footer-main h4,
.footer.footer-main .footer-title { color: #fffffb !important; }
.footer.footer-main a { color: #fffffb !important; }
.footer.footer-main .footer-list a { color: rgba(255,255,251,.9) !important; }
.footer.footer-main .footer-list a:hover { color: #fffffb !important; }
.footer-legal.footer-bottom {
    background: #ff80cb !important;
    color: #fffffb !important;
}
.footer-legal.footer-bottom a { color: #fffffb !important; }

/* Setas do hero slider mais discretas (apenas ícone, sem fundo) */
.swiper-button-prev,
.swiper-button-next {
    background: transparent !important;
    border: 0 !important;
    opacity: .6;
    width: 44px;
    height: 60px;
    transition: opacity .15s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover { opacity: 1; }
.slider-arrow { fill: #fffffb; width: 28px; height: 28px; }

/* Selling points flat (sem círculo rosa) */
.ad-bar-pill .pill-icon {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    color: #ff9fd5;
    font-size: 28px;
}

/* Badge promocional "% OFF" no card — mais visível com cor pink saturado */
.item-container .label-circle {
    background: #ff80cb !important;
    color: #fffffb !important;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* OFERTA label removido — o badge circular rosa %OFF já basta */

/* Badge ainda menor e mais discreto pra não dominar a grade */
.item-container .label-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 9px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.1) !important;
}
.item-container .labels-floating {
    top: 6px !important;
    left: 6px !important;
}

/* Imagens dos produtos — container sempre relativo + overflow hidden */
.item-image-container,
.js-item-image-container {
    background: #ffe5ee !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
}
/* Garantir que a imagem absolute fica dentro do container */
.item-image-container .item-image,
.item-image-container img,
.js-item-image-container .item-image,
.img-absolute {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
/* Anular img-absolute-centered dentro dos cards de produto:
   critical.css usa left:50% + translate3d(-50%,0,0) para centralizar imagens
   menores que o container — mas aqui width:100% já preenche, então o translateX
   resulta em overflow negativo (-84px no mobile 168px). */
.item-image-container .img-absolute-centered,
.js-item-image-container .img-absolute-centered {
    left: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
}

/* Tipografia uniforme de preços nos cards (igual ao original) */
.item-container .js-price-display.item-price {
    font-family: "Droid Sans", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #2c3e50 !important;
    margin: 3px 0 !important;
}
.item-container .item-price-compare {
    font-family: "Droid Sans", Sans-serif !important;
    font-size: 12px !important;
    color: rgba(44,62,80,.6) !important;
    text-decoration: line-through !important;
    margin-right: 4px;
}
.item-container .js-offer-label {
    font-size: 10px !important;
    color: #ff80cb !important;
    font-weight: 700 !important;
}
.item-container .item-installments {
    font-size: 10px !important;
    text-transform: uppercase !important;
    color: rgba(44,62,80,.6) !important;
    letter-spacing: 1px !important;
}

/* Item-container precisa de position relative pra :before funcionar */
.item-container { position: relative; }

/* ========================================================
   TOPBAR BRANCA (telefone/email/login)
   ======================================================== */
.header-bar-top {
    background: #fffffb;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(44,62,80,.1);
}
.header-bar-top .container { display: block; }
.header-bar-top .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.header-bar-top .col-sm-6 { flex: 0 0 auto; }
.header-bar-top .col-sm-6.text-left { text-align: left; }
.header-bar-top .col-sm-6.text-right { text-align: right; }
.header-bar-top ul { padding: 0; margin: 0; }
.header-bar-top li { display: inline-block; padding: 0 10px; }
.header-bar-top li.border-right { border-right: 1px solid rgba(44,62,80,.15); }
.header-bar-top a { color: rgba(44,62,80,.8); text-decoration: none; }
.header-bar-top a:hover { color: #e91e8c; }

/* ========================================================
   HEADER PRINCIPAL — bloco logo FULL WIDTH rosa pink
   ======================================================== */

/* Wrapper externo: fundo rosa ocupa 100% da largura da viewport */
.js-nav-head-main {
    background: #ff9fd5;
    width: 100%;
    padding: 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

/* Inner container: centraliza conteúdo, fundo herdado */
.nav-head-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo centralizado absolutamente */
.js-logo-container.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0;
    background: transparent;
}
.logo-img-container { text-align: center; }
.logo-img-big {
    max-height: 100px !important;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Busca + carrinho alinhados à direita */
.nav-head-main .d-flex {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    position: relative;
    top: auto;
    right: auto;
    z-index: 5;
}
.nav-head-main .d-flex .cart-summary-link,
.nav-head-main .d-flex .cart-summary-total {
    color: #fffffb !important;
}
.nav-head-main .d-flex .cart-summary-icon svg,
.nav-head-main .d-flex .svg-cart-icon path {
    fill: #fffffb !important;
}

/* Input de busca translúcido branco */
.desktop-search { position: relative; }
.desktop-search .form-group { margin: 0; position: relative; }
.desktop-search-input {
    height: 36px;
    width: 200px;
    padding: 6px 38px 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.6) !important;
    background: rgba(255,255,255,.25) !important;
    color: #fff !important;
    font-size: 13px;
    outline: none;
}
.desktop-search-input::placeholder { color: rgba(255,255,255,.85) !important; }
.desktop-search-input:focus { border-color: rgba(255,255,255,.9) !important; }
.desktop-search-submit {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: transparent !important;
    border: 0 !important;
    padding: 4px 8px;
    cursor: pointer;
}
.desktop-search-submit svg { width: 14px; height: 14px; fill: rgba(255,255,255,.9); }

/* Carrinho */
.cart-summary { position: relative; display: inline-block; }
.cart-summary-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #fffffb;
    font-size: 13px;
    position: relative;
}
.cart-summary-icon,
.cart-summary-icon.svg-text-fill {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.cart-summary-icon svg { width: 22px; height: 22px; display: block; }

/* Badge: fica estático no fluxo flex, entre [badge][ícone][total] */
.cart-summary .badge,
.js-cart-widget-amount.badge {
    position: static !important;
    background: #e91e8c !important;
    color: #fff !important;
    border-radius: 50% !important;
    min-width: 18px !important;
    height: 18px !important;
    width: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.cart-summary-total { font-weight: 700; color: #fffffb !important; }

/* ========================================================
   MENU DE NAVEGAÇÃO — barra rosa abaixo do bloco logo
   ======================================================== */
.bba-desktop-nav-bar {
    background: #ff80cb;
    width: 100%;
}
.bba-desktop-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.js-desktop-nav.desktop-nav {
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
    width: 100%;
}
.js-desktop-nav.desktop-nav > .desktop-nav-item {
    position: relative;
    background: transparent;
    border: 0;
}
.js-desktop-nav.desktop-nav > .desktop-nav-item > .desktop-nav-link {
    display: block;
    padding: 10px 18px;
    color: #fffffb !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}
.js-desktop-nav.desktop-nav > .desktop-nav-item:hover > .desktop-nav-link,
.js-desktop-nav.desktop-nav > .desktop-nav-item.selected > .desktop-nav-link {
    background: rgba(0,0,0,.1);
    color: #fffffb !important;
}
.js-desktop-nav.desktop-nav .desktop-nav-arrow svg { width: 9px; height: 9px; fill: rgba(255,255,251,.8); }
.js-desktop-nav.desktop-nav .desktop-nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    background: #ff9fd5;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,.2);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity .15s;
}
.js-desktop-nav.desktop-nav .desktop-nav-item:hover > .desktop-nav-list {
    visibility: visible;
    opacity: 1;
}
.js-desktop-nav.desktop-nav .desktop-nav-list .desktop-nav-link {
    display: block;
    padding: 8px 16px;
    color: #fffffb;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}
.js-desktop-nav.desktop-nav .desktop-nav-list .desktop-nav-link:hover {
    background: rgba(255,255,255,.15);
    color: #fffffb;
}

/* Card de produto: forçar altura/object-fit consistente */
.item-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Nome do produto sempre com altura fixa (2 linhas) para alinhar cards */
.js-item-name.item-name {
    min-height: 38px;
    max-height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 6px 0;
}

.item-container .item {
    margin-bottom: 8px;
    background: #ffffec;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(50,50,50,.08);
}

.item-info-container { background: #ffffec; }
.item-info { padding: 10px 12px 14px; }

/* Botão Comprar do card mais visível */
.item-actions .btn.btn-primary {
    background: #ff80cb !important;
    color: #fffffb !important;
    border: 0;
    border-bottom: 3px solid #ff4db6 !important;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 8px 12px;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .15s;
}
.item-actions .btn.btn-primary:hover { opacity: .88; }

/* Gap menor entre cards */
.js-masonry-grid.grid > .item-container { padding: 6px !important; }

/* Selling points */
.ad-bar-pills {
    background: #fffffb;
    border-bottom: 1px solid rgba(44,62,80,.1);
    padding: 14px 0;
    margin-bottom: 20px;
}
.ad-bar-pills-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ad-bar-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    font-size: 12px;
    letter-spacing: 1px;
}
.ad-bar-pill .pill-icon {
    width: 32px; height: 32px;
    background: #ff9fd5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.ad-bar-pill__title { font-weight: 700; text-transform: uppercase; }
.ad-bar-pill__sub { color: rgba(44,62,80,.6); font-size: 11px; display: block; }

/* Caixa amarela de boas-vindas (textbanner) */
.welcome-box {
    background: #ffffec;
    border: 1px solid rgba(44,62,80,.08);
    text-align: center;
    padding: 30px 20px;
    margin: 20px auto;
    max-width: 1180px;
    border-radius: 4px;
}
.welcome-box h2 {
    font-family: "Droid Sans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2c3e50;
    margin: 0 0 10px;
    font-size: 22px;
}
.welcome-box p {
    color: rgba(44,62,80,.7);
    margin: 0 0 18px;
    font-size: 14px;
}
.welcome-box .btn {
    background: #ff80cb;
    color: #fffffb;
    padding: 10px 28px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 4px solid #ff4db6;
    display: inline-block;
}
.welcome-box .btn:hover { background: #ff9fd5; color: #fffffb; }

/* Categorias — scroll horizontal no mobile, wrap no desktop */
.category-pills {
    padding: 20px 0 16px;
    /* Desktop: centralizado com wrap */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    /* Container sem max-width para o scroll funcionar */
    width: 100%;
    box-sizing: border-box;
}
.category-pills .pill-link {
    display: inline-block;
    padding: 8px 16px;
    background: #ff80cb;
    color: #fffffb;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-bottom: 3px solid #ff4db6;
    transition: opacity .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.category-pills .pill-link:hover { opacity: .85; color: #fffffb; }

/* Mobile: scroll horizontal igual ao original */
@media (max-width: 767px) {
    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
        padding: 14px 12px;
        gap: 8px;
        /* esconder scrollbar visualmente */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-pills::-webkit-scrollbar { display: none; }
    .category-pills .pill-link {
        scroll-snap-align: start;
    }
}

/* Wrapper das categorias — sem overflow para scroll funcionar */
.category-pills-wrapper {
    width: 100%;
    overflow: hidden;
    background: #ffd5e1;
    padding: 0;
}

/* Newsletter */
.newsletter-section {
    background: #ffffec;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}
.newsletter-section h3 {
    font-family: "Droid Sans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    margin: 0 0 10px;
}
.newsletter-section p {
    color: rgba(44,62,80,.7);
    margin: 0 0 18px;
}
.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(44,62,80,.2);
    border-radius: 4px;
    font: inherit;
}
.newsletter-form button {
    padding: 10px 24px;
    background: #ff9fd5;
    color: #fffffb;
    border: 0;
    border-bottom: 4px solid #ff6cbf;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.newsletter-form button:hover { background: #ff80cb; }

/* 2a) Layout página de produtos (sidebar + grid) */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: flex-start;
}

/* Botão de filtros — oculto no desktop */
.filter-toggle-btn {
    display: none;
}

/* Sidebar de filtros — sempre visível no desktop */
.filter-sidebar {
    display: block;
}

@media (max-width: 767px) {
    /* No mobile: coluna única */
    .products-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Botão toggle visível no mobile */
    .filter-toggle-btn {
        display: block !important;
        width: 100%;
        background: #ff9fd5;
        color: #fff;
        border: 0;
        border-radius: 6px;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
        margin-bottom: 8px;
    }
    .filter-toggle-btn:hover { background: #ff80cb; }

    /* Sidebar oculta por padrão no mobile */
    .filter-sidebar {
        display: none;
    }
}

/* 2) Hero slider full-width */
/* Reset do tema que define flex-direction:column incorretamente */
.home-slider .swiper-wrapper,
#hero-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    transition: transform .5s ease;
    will-change: transform;
    width: 100% !important;
}

.home-slider {
    /* Sobrescrever o max-width:1170px do Swiper do tema */
    max-width: none !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 0;
}
/* Desktop: full-viewport-width — garante que o slider cobre 100vw */
@media (min-width: 768px) {
    .home-slider {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }
    /* Dots centralizados em relação ao viewport, não ao container */
    .home-slider .swiper-pagination {
        margin-left: calc(50vw - 50%) !important;
    }
}

.home-slider .swiper-slide,
.home-slider .slide-container {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}
.home-slider .swiper-slide img,
.home-slider .slide-img {
    width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}
@media (min-width: 768px) {
    .home-slider .slide-img { min-height: 400px; }
}
.home-slider .swiper-pagination {
    text-align: center;
    padding: 8px 0 4px;
}
.home-slider .swiper-pagination-bullet {
    display: inline-block;
    cursor: pointer;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,128,203,.45);
    margin: 0 3px;
    transition: background .2s;
}
.home-slider .swiper-pagination-bullet.active {
    background: #ff80cb;
}

/* 3) Grid de produtos — sobrescreve masonry JS com CSS Grid puro */
.js-masonry-grid.grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    position: relative !important;
}
/* CRÍTICO: clearfix ::before ocupa posição 1 no grid — forçar none */
.js-masonry-grid.grid::before,
.js-masonry-grid.grid::after {
    display: none !important;
    content: none !important;
}

/* Cancelar position:absolute e coords inline do masonry */
.js-masonry-grid.grid > .item-container,
.js-masonry-grid.grid > .js-masonry-grid-item {
    /* NÃO forçar position:relative — quebraria containing block das imagens */
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Tablet: 3 colunas */
@media (max-width: 1024px) and (min-width: 768px) {
    .js-masonry-grid.grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 4) Footer pills (formas de pagamento e envio) */
.footer-pay-pill {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    padding: 4px 9px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    margin: 2px 3px;
    letter-spacing: .05em;
}

/* 5) Page header de páginas internas — usar mesma paleta */
.page-head {
    background: #fff;
    text-align: center;
    padding: 24px 0 16px;
    border-bottom: 1px solid rgba(44,62,80,.1);
    margin-bottom: 24px;
}
.page-head h1 {
    font-family: "Droid Sans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 6px;
    font-size: 22px;
}
.page-head .breadcrumb {
    background: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: 12px;
    color: rgba(44,62,80,.6);
}

/* 6) Paginação Laravel */
nav[role="navigation"] svg { display: none; }
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
.pagination li > a,
.pagination li > span {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid rgba(44,62,80,.1);
    color: #2c3e50;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
}
.pagination .active span,
.pagination li > a:hover {
    background: #ff9fd5;
    color: #fff;
    border-color: #ff9fd5;
}

/* 7) Layout grid de cart/checkout */
.shop-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    padding: 20px 0 60px;
}
@media (max-width: 767px) {
    .shop-grid { grid-template-columns: 1fr; }
}
.shop-box {
    background: #fffffb;
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid rgba(44,62,80,.08);
    border-radius: 4px;
}
.shop-box h2 {
    font-family: "Droid Sans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(44,62,80,.08);
    margin-bottom: 14px;
}

/* 8) Linha de item do carrinho */
.cart-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(44,62,80,.08);
}
.cart-row img { width: 80px; height: 100px; object-fit: cover; background: #f4ece6; }
.cart-row__name { font-weight: 600; color: #2c3e50; text-decoration: none; }
.cart-row__variant { color: rgba(44,62,80,.6); font-size: 12px; }
.cart-row__qty input { width: 56px; padding: 6px 8px; text-align: center; }
.cart-row__remove { background: none; border: 0; color: #c0392b; cursor: pointer; font-size: 18px; }

.summary-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary-total { border-top: 1px solid rgba(44,62,80,.08); padding-top: 14px; margin-top: 14px; font-size: 18px; font-weight: 700; color: #ff80cb; }

/* 9) Form grid genérico */
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.form-grid .field--wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* 10) Auth box */
.auth-shell { display: flex; justify-content: center; padding: 40px 16px; }
.auth-box {
    background: #fffffb;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    border: 1px solid rgba(44,62,80,.08);
    border-radius: 4px;
}
.auth-box h1 {
    font-family: "Droid Sans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 0 22px;
    font-size: 20px;
}
.auth-meta { text-align: center; margin-top: 18px; font-size: 13px; }

/* ================================================================
   MOBILE HEADER — reconstrução completa
   ================================================================ */

/* Por padrão o header mobile fica oculto (aparece só no mobile via @media) */
.mobile-header-bb { display: none; }

/* visible-xs: mostrar no mobile */
@media (max-width: 767px) {
    .visible-xs { display: block !important; }
    .mobile-header-bb { display: block !important; }
}

/* Mobile header sempre acima de tudo */
.mobile-header-bb {
    position: relative;
    z-index: 100;
}

/* CRÍTICO: o tema define position:fixed no .mobile-nav — anular para
   que o header ocupe espaço no fluxo normal e o conteúdo não fique atrás */
.js-mobile-nav.mobile-nav,
.mobile-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: auto !important;
}

/* Barra de Instagram dentro do mobile header */
.mobile-insta-bar {
    background: #ff80cb;
    text-align: center;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.mobile-insta-bar a {
    color: #fff !important;
    text-decoration: none;
}

/* Todo o bloco mobile é fundo rosa contínuo */
.mobile-header-bb,
.js-mobile-nav,
.mobile-nav { background: #ff9fd5; width: 100%; }

/* Linha 1: hamburger | LOGO GRANDE CENTRALIZADO | carrinho */
.mobile-nav-first-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 6px;
    background: #ff9fd5;
    position: relative;
    min-height: 70px;
}
/* Logo centralizado absolutamente sobre a linha 1 */
.mobile-nav-first-row .mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}
.mobile-nav-first-row .mobile-logo a { pointer-events: auto; }
.mobile-nav-first-row .mobile-logo img {
    max-height: 56px !important;
    width: auto;
    display: block;
    object-fit: contain;
}
/* Hamburger branco */
.mobile-nav-first-row .btn-hamburger { flex-shrink: 0; }
.mobile-nav-first-row .btn-hamburger svg,
.svg-hamburguer-icon {
    width: 22px !important; height: 22px !important;
    fill: #fff !important; display: block;
}
/* Carrinho branco */
.mobile-nav-first-row > a:last-child { flex-shrink: 0; position: relative; }
.mobile-nav-first-row > a:last-child .svg-cart-icon,
.mobile-nav-first-row > a:last-child svg {
    width: 24px !important; height: 24px !important;
    fill: #fff !important; display: block;
}
.mobile-nav-first-row .badge-number,
.mobile-nav-first-row .badge {
    position: absolute; top: -6px; right: -6px;
    background: #e91e8c !important; color: #fff !important;
    border-radius: 50%; min-width: 16px; height: 16px;
    font-size: 10px; font-weight: 700; line-height: 16px;
    text-align: center; display: block !important;
}

/* Linha 2: barra de busca — fundo rosa contínuo */
.mobile-search-row {
    background: #ff9fd5 !important;
    padding: 4px 12px 10px !important;
}
.mobile-search-row form { margin: 0; }
.mobile-search-row input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 16px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.92) !important;
    font-size: 13px;
    outline: none;
    color: #2c3e50;
}
.mobile-search-row input::placeholder { color: rgba(44,62,80,.55); }

/* Linha 3: tabs INÍCIO | PRODUTOS | CARRINHO */
.mobile-tabs {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important; margin: 0 !important;
    background: #ff80cb !important;
    border-top: 1px solid rgba(255,255,255,.25);
    width: 100%;
}
.mobile-tabs li { flex: 1 1 0; }
.mobile-tabs a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 4px;
    color: rgba(255,255,255,.85) !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .8px;
    gap: 3px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.mobile-tabs li:last-child a { border-right: 0; }
.mobile-tabs a.selected,
.mobile-tabs a:hover { color: #fff !important; background: rgba(0,0,0,.1); }
.mobile-tabs a svg {
    width: 20px !important; height: 20px !important;
    fill: currentColor !important;
    display: block; flex-shrink: 0;
    max-width: 20px; max-height: 20px;
}

/* Esconder mobile-search e mobile-tabs no desktop */
@media (min-width: 768px) {
    .mobile-search-row, .mobile-tabs { display: none !important; }
    .mobile-header-bb { display: none !important; }
    /* garante que o bloco desktop aparece no desktop */
    .js-nav-head-main { display: block !important; }
    .bba-desktop-nav-bar { display: block !important; }
    .header-bar-top { display: block !important; }
}

@media (max-width: 767px) {
    /* Ocultar TUDO que é desktop — com !important absoluto */
    .js-nav-head-main,
    .bba-desktop-nav-bar,
    .header-bar-top,
    .nav-head-top,
    .hidden-xs { display: none !important; }

    /* Mostrar header mobile */
    .mobile-header-bb { display: block !important; }

    /* Dots do slider menores e mais discretos no mobile */
    .swiper-pagination-bullet {
        width: 7px !important;
        height: 7px !important;
        margin: 0 3px !important;
        background: rgba(255,128,203,.5) !important;
        opacity: 1 !important;
        border-radius: 50% !important;
    }
    .swiper-pagination-bullet-active,
    .swiper-pagination-bullet.active {
        background: #ff80cb !important;
    }
    /* Dots custom do nosso slider simples */
    .hero-dots { text-align: center; padding: 8px 0 4px; }
    .hero-dots .swiper-pagination-bullet {
        display: inline-block;
        cursor: pointer;
    }

    /* Grid de produtos: 2 colunas limpas, sem masonry float */
    .js-masonry-grid.grid,
    section .js-masonry-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 8px !important;
        /* anular qualquer masonry JS/CSS legado */
        height: auto !important;
        position: static !important;
    }
    .js-masonry-grid.grid > .item-container,
    .js-masonry-grid > .item-container {
        padding: 0 !important;
        width: 100% !important;
        float: none !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
    }
    /* Imagem com padding-bottom trick — manter ratio sem cortar */
    .js-item-image-container.item-image-container {
        padding-bottom: 125% !important; /* 4:5 ratio — mantém o original */
    }
    .item-image-container img {
        object-fit: cover !important;
    }

    /* Selling points: 2x2 grid no mobile */
    .ad-bar-pills { padding: 16px 0 !important; margin-bottom: 8px !important; }
    .ad-bar-pills-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 8px !important;
        padding: 0 16px !important;
        max-width: 100% !important;
    }
    .ad-bar-pill {
        display: flex !important;
        align-items: center !important;
        font-size: 11px !important;
        gap: 8px !important;
    }
    .ad-bar-pill .pill-icon {
        font-size: 22px !important;
        width: auto !important; height: auto !important;
        background: transparent !important;
        flex-shrink: 0;
    }

    body.mobile-menu-open .desktop-nav {
        display: block !important;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 80vw; max-width: 320px;
        background: #ff9fd5;
        z-index: 1000;
        padding: 60px 14px 20px;
        overflow-y: auto;
    }
    body.mobile-menu-open .desktop-nav .desktop-nav-link {
        display: block;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255,255,255,.15);
        color: #fffffb;
    }
}

/* 12) Admin sidebar (precisa estar legível, fora do tema rosa) */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #f7f4f2; }
.admin-side { background: #2c3e50; color: #fff; padding: 24px 16px; }
.admin-side h2 { font-family: "Droid Sans"; color: #fff; font-size: 18px; margin: 0 0 18px; }
.admin-side a { display: block; padding: 9px 12px; color: #d8c9c2; text-decoration: none; border-radius: 3px; font-size: 13px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { padding: 28px; }
.admin-card { background: #fff; padding: 22px; border: 1px solid rgba(44,62,80,.08); margin-bottom: 20px; border-radius: 4px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.admin-stat { background: #fff; padding: 18px; border: 1px solid rgba(44,62,80,.08); }
.admin-stat__label { color: rgba(44,62,80,.6); font-size: 12px; text-transform: uppercase; }
.admin-stat__value { font-size: 26px; font-weight: 700; margin-top: 4px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table th, table.data-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid rgba(44,62,80,.08); }
table.data-table th { background: #faf6f4; text-transform: uppercase; font-size: 11px; }

/* 13) Service items (selling points: frete grátis etc) */
.service-item-container { text-align: center; padding: 18px 14px; }
.service-item-container h4 { margin: 8px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.service-item-container p { font-size: 12px; color: rgba(44,62,80,.6); margin: 0; }

/* ========================================================
   PRODUTO — layout galeria + info
   ======================================================== */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}
@media (max-width: 767px) {
    .product-main {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .product-info .btn.btn-primary,
    .product-form .btn.btn-primary {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .size-selector {
        gap: 6px !important;
    }
}

/* ========================================================
   FILTROS COLAPSÁVEIS — mobile
   ======================================================== */
/* Layout desktop: sidebar 240px + grid de produtos */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: flex-start;
}

/* Botão de toggle: oculto no desktop, visível no mobile */
.filter-toggle-btn {
    display: none;
    width: 100%;
    background: #ff9fd5;
    color: #fff;
    border: 0;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    grid-column: 1 / -1;
}

/* 14) Mobile — páginas internas */
@media (max-width: 767px) {
    .shop-box, .auth-box, .auth-card { padding: 16px !important; }
    .form-grid { grid-template-columns: 1fr !important; }
    .cart-row { grid-template-columns: 60px 1fr !important; gap: 8px !important; }
    input, select, textarea { max-width: 100% !important; box-sizing: border-box !important; }
    table.data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    img { max-width: 100%; height: auto; }

    /* Grid de produtos: 1 coluna (sem sidebar) no mobile */
    .products-layout {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar oculta por padrão, expande com .filter-open */
    .filter-sidebar {
        display: none;
        margin-bottom: 16px;
    }
    .filter-sidebar.filter-open {
        display: block !important;
    }

    /* Botão de filtros visível no mobile */
    .filter-toggle-btn {
        display: block !important;
    }

    /* Inputs dentro da sidebar com largura total */
    .filter-sidebar input[type="text"],
    .filter-sidebar input[type="number"],
    .filter-sidebar select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
