:root {
    --primary: #061d3f;
    --primary-2: #0b2b5b;
    --secondary: #08aeea;
    --secondary-2: #00d4ff;
    --magenta: #e0007a;
    --yellow: #ffd200;
    --accent: #08aeea;
    --light: #f6f9ff;
    --dark: #071427;
    --muted: #64748b;
    --border: #dbe5f4;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(6, 29, 63, .10);
    --brand-gradient: linear-gradient(135deg, var(--primary) 0%, #0b3f86 46%, var(--secondary) 100%);
    --print-gradient: linear-gradient(90deg, var(--secondary), var(--magenta), var(--yellow));
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark);
    background:
        radial-gradient(circle at 8% 0%, rgba(8, 174, 234, .12), transparent 28rem),
        radial-gradient(circle at 92% 5%, rgba(224, 0, 122, .10), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
a { color: inherit; }
img { max-width: 100%; }

.site-header { border-bottom: 1px solid rgba(219, 229, 244, .86); }
.topbar {
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--print-gradient);
}
.header-main { position: relative; }

.brand { color: var(--primary); line-height: 1.1; min-width: 0; }
.brand-logo-frame {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(219, 229, 244, .9);
    box-shadow: 0 12px 28px rgba(6, 29, 63, .12);
    overflow: hidden;
}
.brand-logo-frame-sm { width: 46px; height: 46px; flex-basis: 46px; border-radius: 15px; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; padding: .25rem; }
.brand-text { min-width: 0; }
.brand strong { display: block; font-size: 1.08rem; font-weight: 950; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-weight: 500; }

.search-box { display: flex; gap: .55rem; }
.search-box .form-control {
    border-radius: 999px;
    padding: .8rem 1.25rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(6, 29, 63, .04);
}
.search-box .form-control:focus {
    border-color: rgba(8, 174, 234, .65);
    box-shadow: 0 0 0 .25rem rgba(8, 174, 234, .16);
}
.search-box .btn { border-radius: 999px; min-width: 54px; }

.btn { border-radius: 14px; font-weight: 800; }
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(6, 29, 63, .16);
}
.btn-primary:hover,
.btn-primary:focus {
    background: #0b2b5b;
    border-color: #0b2b5b;
}
.btn-outline-primary { color: var(--primary); border-color: rgba(6, 29, 63, .28); }
.btn-outline-primary:hover,
.btn-outline-primary:focus { background: var(--primary); border-color: var(--primary); }
.btn-warning {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--primary);
}
.btn-success {
    background: #14b866;
    border-color: #14b866;
    box-shadow: 0 10px 24px rgba(20, 184, 102, .18);
}
.btn-success:hover { background: #0ea65a; border-color: #0ea65a; }
.btn.is-loading { cursor: wait; }
.btn.is-added { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

.main-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.site-header,
.main-nav,
.main-nav .container { max-width: 100%; }
.menu-level { margin: 0; padding: 0; list-style: none; }
.menu-root { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; row-gap: .35rem; padding: .45rem 0; }
.menu-root > .menu-item { position: relative; }
.menu-root > .menu-item > a {
    padding: .68rem .72rem;
    font-size: .94rem;
}
.menu-item > a {
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--dark);
    border-radius: 12px;
    white-space: nowrap;
}
.menu-item > a:hover { background: var(--light); color: var(--primary); }
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-width: min(260px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: .5rem;
    box-shadow: 0 20px 45px rgba(6, 29, 63, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
    z-index: 50;
}
.menu-item:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu .menu-item { position: relative; }
.submenu .menu-item > a { padding: .7rem .8rem; justify-content: space-between; font-weight: 600; }
.submenu-right { left: calc(100% + .5rem); top: 0; }
.submenu.submenu-open-left { left: auto; right: 0; }
.submenu-right.submenu-open-left { left: auto; right: calc(100% + .5rem); }

.hero-section { position: relative; }
.hero-section .carousel { box-shadow: 0 28px 70px rgba(6, 29, 63, .16); border-radius: 28px; }
.banner-img {
    height: 420px;
    object-fit: cover;
    background: var(--brand-gradient);
}
.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 29, 63, .82), rgba(6, 29, 63, .48), transparent 72%);
    pointer-events: none;
}
.carousel-caption {
    left: 7%;
    right: auto;
    bottom: 18%;
    max-width: 610px;
    z-index: 2;
}
.carousel-caption h1 {
    font-weight: 950;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: .95;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.carousel-caption p { font-size: 1.15rem; text-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.carousel-indicators [data-bs-target] { width: 30px; height: 4px; border-radius: 999px; border: 0; }

.section-title { margin-bottom: 1.5rem; }
.section-title span {
    color: var(--magenta);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .8rem;
}
.section-title h1,
.section-title h2 { font-weight: 950; color: var(--primary); margin: .25rem 0 0; letter-spacing: -.035em; }
.section-title p { color: var(--muted); max-width: 780px; margin: .55rem 0 0; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.category-card {
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(219, 229, 244, .9);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: grid;
    gap: .25rem;
    box-shadow: var(--shadow);
    transition: .2s ease;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--print-gradient);
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(6, 29, 63, .14); color: var(--primary); }
.category-card i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(8, 174, 234, .14), rgba(224, 0, 122, .10));
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: .5rem;
}
.category-card strong { color: var(--primary); font-weight: 900; }
.category-card small { color: var(--muted); font-weight: 650; }

.product-card {
    border: 1px solid rgba(219, 229, 244, .92);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: .2s ease;
    position: relative;
}
.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--print-gradient);
    z-index: 1;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(6, 29, 63, .15); }
.product-img-wrap {
    display: block;
    background: linear-gradient(135deg, #eef7ff, #fff6fb);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.045); }
.product-card-body { padding: 1.1rem; }
.product-category { color: var(--magenta); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.product-card h3 { font-size: 1.1rem; font-weight: 950; margin-top: .35rem; color: var(--primary); }
.product-card h3 a { text-decoration: none; }
.product-card p { color: var(--muted); font-size: .93rem; min-height: 46px; }
.product-price { color: var(--primary); font-weight: 950; font-size: 1.04rem; }
.product-card .btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); border: 0; }
.product-card .btn-primary:hover { filter: brightness(1.06); }

.cta-strip {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 210, 0, .22), transparent 18rem),
        radial-gradient(circle at 92% 10%, rgba(224, 0, 122, .22), transparent 22rem),
        var(--brand-gradient);
    color: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.cta-strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--print-gradient);
}
.cta-strip h2 { font-weight: 950; letter-spacing: -.03em; }
.cta-strip p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }

.footer {
    background:
        radial-gradient(circle at 8% 0%, rgba(8, 174, 234, .16), transparent 24rem),
        #061d3f;
    color: #d6e2f2;
    position: relative;
}
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--print-gradient); }
.footer h5,
.footer h6 { color: #fff; font-weight: 900; }
.footer a { color: #d6e2f2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer hr { border-color: rgba(255, 255, 255, .15); }

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(34, 197, 94, .35);
    z-index: 100;
}

.product-detail-image { border-radius: var(--radius); background: var(--light); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.product-detail-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-row { display: flex; gap: .75rem; overflow-x: auto; }
.gallery-row img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; border: 1px solid var(--border); }
.detail-price { font-size: 1.4rem; color: var(--magenta); font-weight: 950; }
.quote-form,
.sticky-summary { border-radius: var(--radius); }
.sticky-summary { position: sticky; top: 150px; }

/* Menu catálogo organizado */
.catalog-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .65rem 0;
    position: relative;
    width: 100%;
}
.catalog-menu-wrap { position: relative; flex: 0 0 285px; }
.catalog-trigger {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    background: var(--brand-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .9rem;
    text-align: left;
    box-shadow: 0 14px 32px rgba(6, 29, 63, .18);
}
.catalog-trigger-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .16);
    display: grid;
    place-items: center;
}
.catalog-trigger strong,
.catalog-trigger small { display: block; line-height: 1.1; }
.catalog-trigger small { margin-top: .18rem; color: rgba(255, 255, 255, .78); font-size: .75rem; }
.catalog-panel {
    width: min(1040px, calc(100vw - 24px));
    min-height: 430px;
    position: absolute;
    top: calc(100% + .8rem);
    left: 0;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(6, 29, 63, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .18s ease;
    overflow: hidden;
    z-index: 80;
}
.catalog-menu-wrap:hover .catalog-panel,
.catalog-menu-wrap.is-open .catalog-panel,
.catalog-menu-wrap:focus-within .catalog-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.catalog-sidebar { background: #f8fbff; border-right: 1px solid var(--border); padding: .85rem; overflow-y: auto; max-height: 68vh; }
.catalog-category {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .78rem .82rem;
    border-radius: 15px;
    font-weight: 800;
    text-align: left;
    transition: .15s ease;
}
.catalog-category i:first-child {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--border);
}
.catalog-category:hover,
.catalog-category.is-active { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(6, 29, 63, .08); }
.catalog-content { padding: 1.35rem; min-width: 0; max-height: 68vh; overflow-y: auto; }
.catalog-content-panel { display: none; }
.catalog-content-panel.is-active { display: block; }
.catalog-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.catalog-panel-heading span { display: block; color: var(--magenta); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.catalog-panel-heading h3 { margin: .15rem 0 0; color: var(--primary); font-size: 1.45rem; font-weight: 950; }
.catalog-options-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.catalog-option-card { border: 1px solid var(--border); border-radius: 18px; padding: 1rem; background: #fff; transition: .16s ease; }
.catalog-option-card:hover { border-color: rgba(8, 174, 234, .45); box-shadow: 0 14px 30px rgba(6, 29, 63, .08); transform: translateY(-2px); }
.catalog-option-title { display: block; color: var(--primary); font-weight: 900; text-decoration: none; margin-bottom: .75rem; }
.catalog-option-title:hover { color: var(--magenta); }
.catalog-size-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalog-size-list a {
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--muted);
    background: #f8fbff;
    padding: .38rem .58rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
}
.catalog-size-list a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.catalog-empty { border: 1px dashed #cbd5e1; border-radius: 18px; padding: 1rem; color: var(--muted); background: #f8fbff; display: flex; align-items: center; gap: .6rem; }
.nav-quick-links {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 305px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: .25rem .1rem;
}
.nav-quick-links a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    color: var(--dark);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .58rem .8rem;
    font-weight: 800;
    font-size: .9rem;
    white-space: nowrap;
}
.nav-quick-links a:hover { color: var(--primary); border-color: rgba(8, 174, 234, .45); background: #eef9ff; }
.mobile-menu-intro { display: grid; gap: .15rem; background: #eef9ff; border: 1px solid #d4f2ff; border-radius: 18px; padding: .9rem 1rem; margin-bottom: .9rem; color: var(--primary); }
.mobile-menu-intro small { color: var(--muted); }
.mobile-category-menu .accordion-item { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: .55rem; }
.mobile-category-menu .accordion-button { font-weight: 850; color: var(--dark); box-shadow: none; }
.mobile-category-menu .accordion-button:not(.collapsed) { color: var(--primary); background: #f8fbff; }
.mobile-see-all { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: #fff; background: var(--primary); border-radius: 14px; padding: .75rem .85rem; font-weight: 900; margin-bottom: .9rem; }
.mobile-subgroup { border-top: 1px solid var(--border); padding: .8rem 0; }
.mobile-subtitle { color: var(--primary); text-decoration: none; display: inline-block; font-weight: 900; margin-bottom: .5rem; }
.mobile-size-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.mobile-size-grid a { text-decoration: none; background: #f8fbff; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); padding: .4rem .58rem; font-size: .84rem; font-weight: 800; }

/* Carrinho */
.cart-page { position: relative; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.cart-item-main { min-width: 0; flex: 1; display: flex; align-items: center; gap: 1rem; }
.cart-product-thumb {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef9ff, #fff7fb);
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.cart-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; flex: 1; }
.cart-item-info h5 { color: var(--primary); font-weight: 950; margin-bottom: .35rem; }
.cart-item-actions { min-width: 190px; display: grid; gap: .7rem; justify-items: end; }
.cart-qty-label { color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.cart-qty-control { display: inline-flex; align-items: center; gap: .42rem; background: #f8fbff; border: 1px solid var(--border); border-radius: 999px; padding: .28rem; }
.cart-qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #fff;
    box-shadow: 0 8px 18px rgba(6, 29, 63, .08);
    transition: .18s ease;
}
.cart-qty-btn:hover:not(:disabled) { color: #fff; background: var(--magenta); transform: translateY(-1px); }
.cart-qty-btn:disabled { opacity: .55; cursor: wait; }
.cart-qty-number { min-width: 34px; text-align: center; color: var(--primary); font-weight: 950; font-size: 1rem; }
.cart-item-subtotal { text-align: right; display: grid; gap: .15rem; }
.cart-item-subtotal span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.cart-item-subtotal strong { color: var(--primary); font-size: 1.05rem; }
.quote-item { transition: opacity .18s ease, transform .18s ease; border-radius: var(--radius); overflow: hidden; }
.quote-item .card-body { padding: 1rem; }
.quote-item.is-updating { opacity: .72; }
.quote-item.is-removing { opacity: 0; transform: translateX(16px); }
.cart-summary-card { overflow: hidden; }
.cart-summary-card::before { content: ""; display: block; height: 5px; background: var(--print-gradient); }
.summary-icon,
.empty-cart-icon {
    width: 58px;
    height: 58px;
    border-radius: 19px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-gradient);
    font-size: 1.55rem;
    margin-bottom: .85rem;
}
.empty-cart-box { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); padding: 2rem; max-width: 600px; }
.empty-cart-box h2 { color: var(--primary); font-weight: 950; }
.empty-cart-box p { color: var(--muted); }
.cart-confirm-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 1rem; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.cart-confirm-modal.is-visible { opacity: 1; pointer-events: auto; }
.cart-confirm-backdrop { position: absolute; inset: 0; background: rgba(6, 29, 63, .62); backdrop-filter: blur(5px); }
.cart-confirm-box { position: relative; width: min(430px, 100%); background: #fff; border-radius: 26px; padding: 2rem; text-align: center; box-shadow: 0 30px 90px rgba(6, 29, 63, .32); transform: translateY(18px) scale(.96); transition: transform .2s ease; overflow: hidden; }
.cart-confirm-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--print-gradient); }
.cart-confirm-modal.is-visible .cart-confirm-box { transform: translateY(0) scale(1); }
.cart-confirm-icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 24px; display: grid; place-items: center; color: #dc2626; background: #fee2e2; font-size: 2rem; }
.cart-confirm-box h3 { color: var(--primary); font-weight: 950; margin-bottom: .55rem; }
.cart-confirm-box p { color: var(--muted); margin-bottom: 1.35rem; }
.cart-confirm-actions { display: flex; justify-content: center; gap: .7rem; }
.cart-confirm-open { overflow: hidden; }

/* Responsivo */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .menu-root > .menu-item > a { padding: .62rem .55rem; font-size: .88rem; }
    .menu-root > .menu-item > a > i:first-child { display: none; }
    .catalog-menu-wrap { flex-basis: 255px; }
    .catalog-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-quick-links a { font-size: .84rem; padding: .54rem .7rem; }
}
@media (max-width: 991px) {
    .offcanvas { max-width: 92vw; }
    .catalog-nav { display: none; }
    .banner-img { height: 340px; }
    .carousel-caption { left: 6%; right: 6%; bottom: 12%; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sticky-summary { position: static; }
}
@media (max-width: 575px) {
    .brand-logo-frame { width: 54px; height: 54px; flex-basis: 54px; border-radius: 18px; }
    .brand strong { font-size: .98rem; }
    .brand small { font-size: .74rem; }
    .banner-img { height: 300px; }
    .carousel-caption h1 { font-size: 1.75rem; }
    .carousel-caption p { font-size: .95rem; }
    .category-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .category-card { padding: 1rem; border-radius: 18px; }
    .product-card-body { padding: .75rem; }
    .product-card h3 { font-size: .94rem; line-height: 1.2; margin-bottom: .35rem; }
    .product-card p { font-size: .78rem; line-height: 1.25; min-height: 38px; margin-bottom: .45rem; }
    .product-category { font-size: .68rem; }
    .product-price { font-size: .88rem; line-height: 1.2; }
    .product-card .btn { padding: .48rem .45rem; font-size: .78rem; border-radius: 12px; }
    .product-card .d-grid { gap: .45rem !important; }
    .product-img-wrap { aspect-ratio: 1 / 1; }
    .floating-whatsapp { right: 14px; bottom: 14px; }
    .cart-item-row { display: grid; gap: 1rem; }
    .cart-item-main { align-items: flex-start; }
    .cart-product-thumb { width: 74px; height: 74px; flex-basis: 74px; border-radius: 17px; }
    .cart-item-actions { min-width: 100%; justify-items: stretch; }
    .cart-qty-control { justify-content: space-between; width: 100%; }
    .cart-item-subtotal { text-align: left; }
    .cart-confirm-box { padding: 1.55rem; border-radius: 22px; }
    .cart-confirm-actions { display: grid; }
}


.category-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.promo-banner-card {
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(6, 29, 63, .16);
    border: 1px solid rgba(219, 229, 244, .9);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}
.promo-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(6, 29, 63, .2);
}
.promo-banner-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.install-app-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}
.install-app-modal.is-visible {
    display: block;
}
.install-app-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 39, .62);
    backdrop-filter: blur(4px);
}
.install-app-box {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 28px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 28px 70px rgba(6, 29, 63, .28);
    text-align: center;
    overflow: hidden;
}
.install-app-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--print-gradient);
}
.install-app-dismiss {
    position: absolute;
    top: .9rem;
    right: .9rem;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #eef4ff;
    color: var(--primary);
}
.install-app-image-wrap {
    width: 94px;
    height: 94px;
    margin: .2rem auto .9rem;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(6, 29, 63, .16);
}
.install-app-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.install-app-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(8, 174, 234, .11);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.install-app-box h3 {
    margin: .95rem 0 .55rem;
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -.03em;
}
.install-app-box p {
    color: var(--muted);
    margin-bottom: 1.1rem;
}
.install-app-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
}
.install-app-actions .btn {
    min-width: 140px;
}

@media (max-width: 991.98px) {
    .promo-banner-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .category-grid-home,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .promo-banner-grid {
        gap: .9rem;
    }
    .install-app-box {
        max-width: calc(100% - 1.5rem);
        padding: 1.25rem 1rem 1rem;
    }
    .install-app-box h3 {
        font-size: 1.35rem;
    }
    .install-app-actions {
        flex-direction: column;
    }
    .install-app-actions .btn {
        width: 100%;
    }
}

body.install-modal-open { overflow: hidden; }

.home-week-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.home-week-highlight-grid .week-highlight-card {
    position: relative;
    display: block;
    min-height: 230px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 22px 48px rgba(6, 29, 63, .16);
}
.home-week-highlight-grid .week-highlight-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-week-highlight-grid .week-highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 29, 63, .88), rgba(6, 29, 63, .38));
}
.home-week-highlight-grid .week-highlight-content {
    position: relative;
    z-index: 1;
    padding: 1.4rem;
    max-width: 70%;
}
.home-week-highlight-grid .week-highlight-content h4 {
    font-size: 1.45rem;
    font-weight: 950;
    margin: 0 0 .4rem;
}
.home-week-highlight-grid .week-highlight-content p {
    color: rgba(255,255,255,.88);
    margin-bottom: .85rem;
}
.home-week-highlight-grid .week-highlight-price {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.2);
    font-weight: 900;
}
@media (max-width: 991.98px) {
    .home-week-highlight-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767.98px) {
    .home-week-highlight-grid .week-highlight-content {
        max-width: 100%;
        padding: 1.1rem;
    }
    .home-week-highlight-grid .week-highlight-content h4 {
        font-size: 1.2rem;
    }
}


/* ===== Layout inspirado na referência enviada pelo cliente ===== */
body {
    background: #f6f7fb;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e7ecf4;
    box-shadow: 0 4px 20px rgba(8, 20, 44, .04);
}
.topbar {
    background: #0a2b63;
}
.header-main {
    padding-top: 1rem !important;
    padding-bottom: .95rem !important;
}
.brand {
    gap: .7rem !important;
}
.brand-logo-frame {
    width: auto;
    height: auto;
    flex: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.brand-logo {
    width: 52px;
    height: 52px;
    padding: 0;
    object-fit: contain;
}
.brand strong {
    font-size: 1.05rem;
    color: #0b2a60;
}
.brand small {
    color: #606f86;
    font-size: .88rem;
}
.search-box {
    align-items: center;
    gap: .65rem;
}
.search-box .form-control {
    height: 46px;
    background: #fff;
    border: 1px solid #dde5f1;
    padding: .75rem 1.1rem;
    box-shadow: none;
}
.search-box .btn,
.search-submit-btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0a2b63;
    border-color: #0a2b63;
    box-shadow: none;
}
.search-box .btn:hover,
.search-submit-btn:hover {
    background: #08224f;
    border-color: #08224f;
}
.header-actions .btn-success {
    border-radius: 10px;
    padding-inline: 1rem;
}
.header-actions .btn-outline-primary {
    border-radius: 10px;
    padding-inline: 1rem;
    border-color: #c7d4e8;
}
.main-nav {
    background: #fff;
    border-top: 1px solid #edf1f7;
    padding: .85rem 0 1rem;
}
.catalog-nav-inline {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-wrap: wrap;
}
.catalog-menu-wrap {
    position: relative;
}
.catalog-trigger {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 44px;
    background: #0b2d67;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: .75rem .95rem;
    box-shadow: none;
}
.catalog-trigger strong {
    font-size: .93rem;
    font-weight: 800;
}
.catalog-trigger small,
.catalog-trigger .bi-chevron-down {
    display: none;
}
.catalog-trigger-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: #fff;
}
.nav-quick-links {
    display: flex;
    gap: .6rem;
    flex: 1;
    flex-wrap: wrap;
}
.nav-quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7rem 1rem;
    background: #fff;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    color: #1d2a41;
    text-decoration: none;
    transition: .16s ease;
}
.nav-quick-links a:hover {
    background: #f8fbff;
    color: #0b2d67;
    border-color: #cbd8ea;
}
.catalog-panel {
    top: calc(100% + 12px);
    border-radius: 18px;
    border: 1px solid #dce4ef;
    box-shadow: 0 26px 65px rgba(8, 20, 44, .14);
}
.hero-section {
    padding-top: .75rem !important;
}
.grafya-hero {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(8, 20, 44, .08);
}
.hero-section .carousel {
    box-shadow: 0 12px 28px rgba(8, 20, 44, .08);
    border-radius: 22px;
}
.banner-img {
    height: 405px;
    object-fit: cover;
}
.carousel-item::after {
    background: linear-gradient(90deg, rgba(7, 29, 70, .96) 0%, rgba(7, 29, 70, .78) 38%, rgba(7, 29, 70, .22) 72%, rgba(7, 29, 70, .08) 100%);
}
.carousel-caption {
    left: 4.5%;
    right: auto;
    bottom: 14%;
    max-width: 430px;
}
.carousel-caption h1 {
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    line-height: .95;
    margin-bottom: .85rem;
    font-weight: 950;
}
.carousel-caption p {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: linear-gradient(90deg, #ff0a86, #ff3f9f);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .82rem 1.2rem;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(255, 10, 134, .3);
}
.btn-hero-cta:hover {
    color: #fff;
    background: linear-gradient(90deg, #ea0078, #ff2f94);
}
.carousel-indicators {
    bottom: 12px;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.62);
    opacity: 1;
}
.carousel-indicators .active {
    background: #fff;
}
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}
.section-title-simple {
    margin-bottom: 1rem;
}
.section-title-simple h2 {
    margin: 0;
    font-size: 1.45rem;
    color: #13213a;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 900;
}
.section-title-simple h2 i {
    color: #0b2d67;
    font-size: 1rem;
}
.section-title-simple span,
.section-title-simple p {
    display: none;
}
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .95rem;
}
.home-category-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: .75rem;
    background: #fff;
    border: 1px solid #e3e8f2;
    border-radius: 16px;
    padding: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(10, 25, 47, .05);
    transition: .18s ease;
    min-height: 145px;
}
.home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(10, 25, 47, .09);
}
.home-category-content {
    flex: 1;
}
.home-category-content h3 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #14253f;
    margin: 0 0 .45rem;
}
.home-category-content p {
    color: #697a91;
    font-size: .88rem;
    line-height: 1.45;
    margin: 0 0 .85rem;
    max-width: 150px;
}
.home-category-content span {
    color: #0c58c6;
    font-weight: 800;
    font-size: .88rem;
}
.home-category-thumb {
    width: 98px;
    min-width: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-category-thumb img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}
.home-category-thumb i {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #f0f6ff;
    color: #0b2d67;
    font-size: 1.8rem;
}
.grafya-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.grafya-offers-grid .week-highlight-card {
    min-height: 160px;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(10, 25, 47, .07);
}
.grafya-offers-grid .week-highlight-content {
    padding: 1.2rem 1.2rem 1.15rem;
    max-width: 56%;
}
.grafya-offers-grid .week-highlight-content h4 {
    font-size: 1.35rem;
    margin-bottom: .45rem;
}
.grafya-offers-grid .week-highlight-content p {
    margin-bottom: .6rem;
    font-size: .9rem;
}
.offer-price-wrap small {
    display: block;
    color: rgba(255,255,255,.86);
    font-size: .78rem;
    margin-bottom: .1rem;
}
.offer-price-wrap strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}
.btn-offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: .55rem .95rem;
    border-radius: 10px;
    background: #ffd43b;
    color: #13213a;
    font-weight: 800;
    font-size: .88rem;
}
/* Ajuste de busca inteligente para novo visual */
.smart-search {
    position: relative;
}
.smart-search-field {
    flex: 1;
}
.smart-search .form-control {
    padding-left: 1.1rem;
    padding-right: 2.5rem;
}
.smart-search-icon {
    display: none;
}
.smart-search-clear {
    right: 14px;
}
.smart-search-results {
    top: calc(100% + 10px);
    border-radius: 14px;
    border: 1px solid #e0e7f2;
    box-shadow: 0 16px 34px rgba(10, 25, 47, .12);
}
.floating-cart {
    border-radius: 14px;
}
@media (max-width: 1199.98px) {
    .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .header-main {
        padding-top: .85rem !important;
        padding-bottom: .85rem !important;
    }
    .brand-logo {
        width: 46px;
        height: 46px;
    }
    .main-nav {
        display: none !important;
    }
    .banner-img {
        height: 340px;
    }
    .carousel-caption {
        max-width: 60%;
        bottom: 12%;
    }
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
}
@media (max-width: 767.98px) {
    .carousel-caption {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
        max-width: none;
    }
    .carousel-caption h1 {
        font-size: 1.7rem;
    }
    .carousel-caption p {
        font-size: .92rem;
        margin-bottom: .85rem;
    }
    .btn-hero-cta {
        padding: .7rem 1rem;
        font-size: .92rem;
    }
    .banner-img {
        height: 310px;
    }
    .home-categories-grid,
    .grafya-offers-grid {
        grid-template-columns: 1fr;
    }
    .home-category-card {
        min-height: 132px;
    }
    .home-category-content p {
        max-width: none;
    }
    .grafya-offers-grid .week-highlight-content {
        max-width: 65%;
        padding: 1rem;
    }
    .offer-price-wrap strong {
        font-size: 1.5rem;
    }
}
@media (max-width: 575.98px) {
    .topbar .container {
        justify-content: center !important;
    }
    .brand strong {
        font-size: .98rem;
    }
    .brand small {
        font-size: .8rem;
    }
    .grafya-offers-grid .week-highlight-content {
        max-width: 72%;
    }
}
