/* 1. Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: #101828; background: #f5f7fa; font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.45; }
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid rgba(0, 108, 255, .45); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .75rem 1rem; color: #fff; background: #006cff; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

/* 2. Variables */
:root {
    --blue: #006cff;
    --blue-strong: #0055d9;
    --navy: #07152e;
    --ink: #030b19;
    --text: #101828;
    --muted: #667085;
    --line: #e4e9f0;
    --surface: #fff;
    --success: #08a144;
    --danger: #ff2438;
    --shadow: 0 10px 30px rgba(7, 21, 46, .08);
    --radius: 10px;
}

/* 3. Layout */
.container { width: min(1460px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 34px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 20px; }
.section-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--navy); font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; }
.section-heading h2 .icon { width: 23px; height: 23px; color: var(--blue); fill: rgba(0,108,255,.08); }
.section-heading > a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-strong); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.section-heading > a .icon { width: 16px; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon-button { display: inline-grid; width: 44px; height: 44px; padding: 0; place-items: center; color: inherit; background: transparent; border-radius: 8px; }
.primary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 25px; color: #fff; background: linear-gradient(135deg, var(--blue), #0752d5); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,108,255,.24); font-size: .85rem; font-weight: 800; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,108,255,.35); }
.primary-button .icon { width: 18px; height: 18px; }
.eyebrow { display: block; margin-bottom: 11px; color: #10a6ff; font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* 4. Header */
.site-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(16,24,40,.08); }
.utility-bar { height: 38px; color: #eef5ff; background: var(--navy); font-size: .7rem; text-transform: uppercase; }
.utility-bar__inner { height: 100%; display: grid; grid-template-columns: 1.2fr 1fr 1.15fr 1fr; align-items: center; }
.utility-item { display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.utility-item:last-child { border: 0; }
.utility-item .icon { width: 16px; height: 16px; color: #8fbaff; }
.utility-item strong { color: #5be38b; font-weight: 600; }
.main-header { background: #fff; }
.main-header__inner { min-height: 118px; display: grid; grid-template-columns: 250px minmax(300px, 1fr) auto; align-items: center; gap: 38px; }
.brand { display: inline-flex; width: max-content; flex-direction: column; line-height: .78; text-transform: uppercase; }
.brand__line { font-size: 1.85rem; font-weight: 900; letter-spacing: -.08em; }
.brand__line--top { color: #0d111c; }
.brand__line--blue { color: var(--blue); }
.brand__tagline { margin-top: 9px; color: #1d2939; font-size: .56rem; font-weight: 600; line-height: 1.15; letter-spacing: .01em; text-align: center; }
.search { position: relative; display: flex; height: 50px; border: 1px solid #d6deea; border-radius: 7px; box-shadow: 0 2px 5px rgba(16,24,40,.03); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,108,255,.1); }
.search input { min-width: 0; flex: 1; padding: 0 20px; color: var(--text); background: transparent; border: 0; outline: 0; font-size: .86rem; }
.search input::placeholder { color: #98a2b3; }
.search button { width: 60px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-strong)); border-radius: 0 6px 6px 0; }
.search button .icon { width: 25px; height: 25px; }
.search-suggestions { position: absolute; z-index: 100; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.search-suggestions a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; font-size: .82rem; }
.search-suggestions a:hover { background: #f0f6ff; }
.account-links { display: flex; align-items: center; gap: 26px; }
.account-link { position: relative; display: flex; align-items: center; gap: 9px; padding: 0; color: var(--navy); background: transparent; text-align: left; }
.account-link > .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.account-link span:not(.cart-badge) { display: flex; flex-direction: column; white-space: nowrap; }
.account-link strong { font-size: .76rem; font-weight: 800; }
.account-link small { color: var(--muted); font-size: .65rem; }
.cart-badge { position: absolute; top: -9px; left: 22px; display: grid; width: 19px; height: 19px; place-items: center; color: #fff; background: var(--blue); border: 2px solid #fff; border-radius: 50%; font-size: .6rem; font-weight: 800; }
.mobile-menu-toggle { display: none; }

/* 5. Navigation */
.category-nav { color: #fff; background: linear-gradient(90deg, #063eaa 0%, #0648c5 55%, #062f87 100%); }
.category-nav__inner { min-height: 50px; display: flex; align-items: stretch; }
.category-nav a, .all-categories { display: flex; align-items: center; justify-content: center; padding: 0 27px; color: #fff; background: transparent; font-size: .72rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; transition: background .2s ease; }
.category-nav a:hover, .all-categories:hover { background: rgba(255,255,255,.09); }
.all-categories { min-width: 250px; gap: 12px; background: rgba(1,26,82,.62); }
.all-categories .icon { width: 20px; }
.offers-link { margin-left: auto; color: #ffeb00 !important; }
.offers-link span::before { content: 'OFERTA'; margin-right: 8px; padding: 4px 6px; color: #fff; background: var(--danger); border-radius: 3px; font-size: .55rem; }
.mobile-menu, .drawer-overlay { display: none; }

/* 6. Hero */
.hero { position: relative; height: 455px; overflow: hidden; color: #fff; background: var(--ink); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, rgba(0,23,76,.2)); pointer-events: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.015); background-color: #020714; background-image: linear-gradient(90deg, rgba(2,7,20,.2) 0%, rgba(2,7,20,.05) 48%, rgba(2,7,20,.1) 100%), url('../img/banners/hero-setup.png'); background-position: center center; background-size: cover; transition: opacity .55s ease, transform .7s ease, visibility .55s; }
.hero-slide--second { filter: hue-rotate(15deg); }
.hero-slide--second::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,7,20,.18), rgba(0,65,180,.08)); }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide__inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { width: min(520px, 42%); transform: translateY(-3px); }
.hero-copy h1, .hero-copy h2 { margin: 0 0 16px; color: #fff; font-size: clamp(2.4rem, 3.2vw, 3.35rem); font-weight: 900; line-height: .99; letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 3px 24px rgba(0,0,0,.3); }
.hero-copy h1 em, .hero-copy h2 em { color: var(--blue); font-style: normal; }
.hero-copy p { max-width: 500px; margin-bottom: 22px; color: #e2e8f0; font-size: .96rem; line-height: 1.55; }
.hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 20px; display: flex; align-items: center; justify-content: center; transform: translateX(-50%); pointer-events: none; }
.hero-dots { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.hero-dots button { width: 30px; height: 5px; padding: 0; background: rgba(255,255,255,.42); border-radius: 8px; }
.hero-dots button.is-active { width: 42px; background: #fff; }
.hero-arrow { position: absolute; display: none; width: 42px; height: 42px; color: #fff; background: rgba(1,8,24,.55); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; pointer-events: auto; }
.hero-arrow--prev { left: 0; }
.hero-arrow--next { right: 0; }
.hero:hover .hero-arrow { display: grid; place-items: center; }

/* 7. Categories */
.category-shortcuts { position: relative; z-index: 4; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 5px 18px rgba(7,21,46,.05); }
.shortcut-track { min-height: 136px; display: grid; grid-template-columns: repeat(9, 1fr); align-items: stretch; }
.shortcut-card { display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--navy); border-left: 1px solid #edf0f5; transition: color .2s ease, background .2s ease, transform .2s ease; }
.shortcut-card:last-child { border-right: 1px solid #edf0f5; }
.shortcut-card:hover { z-index: 1; color: var(--blue); background: #f8fbff; transform: translateY(-4px); }
.shortcut-card strong { font-size: .68rem; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase; }
.shortcut-icon { display: grid; width: 54px; height: 54px; place-items: center; color: var(--blue); border: 2px solid currentColor; border-radius: 12px; }
.shortcut-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }

/* 8. Products */
.offers-section { background: #f7f9fc; }
.carousel-shell { position: relative; }
.product-track { display: grid; grid-auto-columns: minmax(220px, 1fr); grid-auto-flow: column; gap: 18px; overflow: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.product-card { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dce3ed; border-radius: 10px; box-shadow: 0 3px 10px rgba(7,21,46,.035); scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #c5d5ee; box-shadow: 0 14px 30px rgba(7,21,46,.1); }
.product-card__image { position: relative; display: block; height: 206px; padding: 18px 16px 4px; }
.product-image { width: 100%; height: 100%; background-image: url('../img/produtos/catalogo-placeholder.png'); background-repeat: no-repeat; background-size: 300% 300%; }
.sprite-0 { background-position: 0 0; }
.sprite-1 { background-position: 50% 0; }
.sprite-2 { background-position: 100% 0; }
.sprite-3 { background-position: 0 50%; }
.sprite-4 { background-position: 50% 50%; }
.sprite-5 { background-position: 100% 50%; }
.sprite-6 { background-position: 0 100%; }
.sprite-7 { background-position: 50% 100%; }
.sprite-8 { background-position: 100% 100%; }
.discount-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 9px; color: #fff; background: var(--danger); border-radius: 5px; font-size: .68rem; font-weight: 900; }
.favorite-button { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; color: #667085; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; opacity: 0; transform: translateY(-3px); transition: opacity .2s ease, color .2s ease, transform .2s ease; }
.product-card:hover .favorite-button, .favorite-button.is-favorite, .favorite-button:focus-visible { opacity: 1; transform: translateY(0); }
.favorite-button.is-favorite { color: var(--danger); }
.favorite-button.is-favorite .icon { fill: currentColor; }
.favorite-button .icon { width: 19px; height: 19px; }
.product-card__body { min-height: 230px; display: flex; flex-direction: column; padding: 7px 16px 15px; }
.product-card__name { display: -webkit-box; min-height: 60px; overflow: hidden; color: var(--navy); font-size: .78rem; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.old-price { margin-top: auto; color: #98a2b3; font-size: .66rem; text-decoration: line-through; }
.pix-price { margin: 2px 0; color: #081224; font-size: 1.15rem; font-weight: 900; letter-spacing: -.035em; }
.pix-price small, .rank-card small { color: var(--success); font-size: .58rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.installments { color: #475467; font-size: .68rem; }
.installments strong { color: var(--blue-strong); }
.buy-button { display: flex; width: 100%; min-height: 39px; align-items: center; justify-content: center; gap: 8px; margin-top: 11px; color: #fff; background: linear-gradient(180deg, #0877ff, #0059dc); border-radius: 5px; box-shadow: inset 0 1px rgba(255,255,255,.2); font-size: .7rem; font-weight: 800; text-transform: uppercase; transition: background .2s, transform .15s; }
.buy-button:hover { background: linear-gradient(180deg, #0568e5, #004abe); }
.buy-button:active { transform: translateY(1px); }
.buy-button .icon { width: 17px; height: 17px; }
.stock-label, .out-label { position: absolute; left: 18px; bottom: 3px; color: var(--success); font-size: .55rem; font-weight: 700; text-transform: uppercase; opacity: 0; }
.out-label { color: var(--danger); }
.carousel-arrow { position: absolute; z-index: 5; top: 47%; display: grid; width: 39px; height: 39px; place-items: center; color: #173053; background: #fff; border: 1px solid #d8e0eb; border-radius: 50%; box-shadow: 0 5px 15px rgba(7,21,46,.14); font-size: 1.6rem; line-height: 1; transform: translateY(-50%); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow--left { left: -20px; }
.carousel-arrow--right { right: -20px; }

/* 9. Offers */
.offers-section .product-track { grid-auto-columns: calc((100% - 90px) / 6); }

/* 10. Best sellers */
.best-sellers { padding: 30px 0 34px; color: #fff; background: radial-gradient(circle at 80% 0%, #0b2d64 0, transparent 34%), var(--ink); }
.section-heading--dark h2 { color: #fff; }
.section-heading--dark > a { color: #bcd7ff; }
.rank-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.rank-card { position: relative; min-width: 0; display: grid; grid-template-rows: 142px 1fr; overflow: hidden; color: var(--text); background: #fff; border-radius: 9px; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.rank-number { position: absolute; z-index: 2; top: 10px; left: 10px; display: grid; width: 29px; height: 29px; place-items: center; color: #fff; background: var(--blue); border-radius: 6px; font-size: .78rem; font-weight: 900; }
.rank-card > a { display: block; padding: 10px 16px 0; }
.rank-image { height: 100%; }
.rank-card > div:last-child { display: flex; min-height: 94px; flex-direction: column; padding: 5px 14px 14px; }
.rank-name { display: -webkit-box; min-height: 40px; overflow: hidden; font-size: .7rem; font-weight: 700; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rank-card strong { margin-top: auto; font-size: .94rem; }

/* 11. PC builder */
.pc-builder { padding: 22px 0; background: #f4f7fb; }
.pc-builder__inner { min-height: 160px; display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: center; }
.pc-builder__intro h2 { margin: 0 0 7px; color: var(--navy); font-size: 1.25rem; font-weight: 900; text-transform: uppercase; }
.pc-builder__intro p { margin-bottom: 14px; color: #475467; font-size: .73rem; line-height: 1.45; }
.pc-builder__intro .primary-button { min-height: 40px; padding: 0 16px; font-size: .68rem; }
.eyebrow--dark { margin-bottom: 4px; color: var(--blue-strong); font-size: .6rem; }
.builder-steps { min-width: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin: 0; padding: 20px 18px; background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; box-shadow: 0 4px 15px rgba(7,21,46,.06); list-style: none; }
.builder-steps li { position: relative; display: flex; min-width: 0; align-items: center; flex-direction: column; gap: 8px; color: var(--navy); text-align: center; }
.builder-steps li > span { display: grid; width: 62px; height: 62px; place-items: center; color: var(--blue); background: linear-gradient(145deg, #fff, #edf5ff); border: 1px solid #d8e8ff; border-radius: 50%; }
.builder-steps li > span .icon { width: 36px; height: 36px; }
.builder-steps strong { font-size: .6rem; line-height: 1.3; text-transform: uppercase; }
.builder-steps i { position: absolute; top: 24px; right: -22px; color: #91a4be; }
.builder-steps i .icon { width: 22px; }

/* 12. Brands */
.brands { padding-top: 22px; background: #fff; }
.brands .section-heading { margin-bottom: 10px; }
.brand-track { display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; gap: 25px; min-height: 100px; overflow: hidden; }
.brand-track span { color: #182230; font-size: clamp(1.05rem, 1.65vw, 1.75rem); font-weight: 900; letter-spacing: -.06em; text-align: center; white-space: nowrap; filter: grayscale(1); opacity: .88; }
.brand-track span:nth-child(3) { letter-spacing: -.04em; }

/* 13. Benefits */
.benefits { color: #fff; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
.benefits__grid { min-height: 145px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.benefit { display: flex; min-height: 75px; align-items: center; gap: 16px; padding: 0 28px; border-right: 1px solid rgba(255,255,255,.1); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border-right: 0; }
.benefit > .icon { width: 42px; height: 42px; color: #b9d5ff; stroke-width: 1.35; }
.benefit div { display: flex; min-width: 0; flex-direction: column; }
.benefit strong { font-size: .68rem; line-height: 1.3; text-transform: uppercase; }
.benefit span { margin-top: 6px; color: #aab8cf; font-size: .61rem; }

/* 14. Newsletter */
.newsletter { color: #fff; background: linear-gradient(90deg, #036ff8, #034dce); }
.newsletter__inner { min-height: 105px; display: grid; grid-template-columns: 1.1fr 1fr .65fr; align-items: center; gap: 42px; }
.newsletter__title { display: flex; align-items: center; gap: 18px; }
.newsletter__title > .icon { width: 43px; height: 43px; }
.newsletter__title div { display: flex; flex-direction: column; }
.newsletter__title strong { font-size: .85rem; text-transform: uppercase; }
.newsletter__title span { margin-top: 4px; color: #dbeaff; font-size: .65rem; }
.newsletter__form { display: flex; height: 52px; overflow: hidden; background: #fff; border-radius: 5px; }
.newsletter__form input { min-width: 0; flex: 1; padding: 0 18px; border: 0; outline: 0; font-size: .76rem; }
.newsletter__form button { min-width: 150px; color: #fff; background: var(--navy); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.social-block { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.social-block > strong { font-size: .72rem; text-transform: uppercase; }
.social-links { display: flex; align-items: center; gap: 12px; }
.social-links a { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: .68rem; font-weight: 800; }

/* 15. Footer */
.site-footer { color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr 1.1fr .9fr 1.25fr; gap: 55px; padding-top: 45px; padding-bottom: 38px; }
.brand--footer .brand__line--top { color: #fff; }
.footer-brand p { max-width: 230px; margin: 17px 0; color: #9eacc2; font-size: .7rem; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; }
.footer-grid h2 { margin-bottom: 15px; color: #fff; font-size: .67rem; text-transform: uppercase; }
.footer-grid a, .footer-grid > div > span { margin-bottom: 8px; color: #b5c0d0; font-size: .65rem; }
.footer-grid a:hover { color: #fff; }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.payment-grid span { display: grid; min-width: 70px; height: 36px; place-items: center; color: #14213a; background: #fff; border-radius: 4px; font-size: .65rem; font-weight: 900; }
.payment-grid .master { color: #ed1c24; letter-spacing: -.4em; }
.payment-grid .pix { color: #0b927d; }
.copyright { padding: 18px 0 24px; color: #7f8da3; border-top: 1px solid rgba(255,255,255,.08); font-size: .62rem; text-align: center; }
.copyright span { margin-left: 8px; }

/* Drawers, dialog and feedback */
.mini-drawer { position: fixed; z-index: 300; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); display: flex; flex-direction: column; background: #fff; box-shadow: -15px 0 45px rgba(3,11,25,.2); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.mini-drawer.is-open { transform: translateX(0); visibility: visible; }
.mini-drawer__header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; color: var(--navy); border-bottom: 1px solid var(--line); }
.mini-drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.mini-drawer__footer { padding: 18px 22px; border-top: 1px solid var(--line); }
.mini-drawer__footer > div { display: flex; justify-content: space-between; margin-bottom: 14px; }
.mini-drawer__footer button { width: 100%; min-height: 48px; color: #fff; background: var(--blue); border-radius: 6px; font-weight: 800; text-transform: uppercase; }
.mini-drawer__footer button:disabled { background: #b7c3d4; cursor: not-allowed; }
.empty-state { min-height: 280px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #667085; text-align: center; }
.empty-state .icon { width: 50px; height: 50px; color: #a9b6c8; }
.empty-state strong { color: var(--navy); }
.empty-state span { font-size: .8rem; }
.drawer-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-item .product-image { width: 68px; height: 68px; }
.drawer-item strong { font-size: .72rem; }
.drawer-item span { display: block; color: var(--blue-strong); font-size: .72rem; font-weight: 800; }
.drawer-item button { padding: 5px; color: #98a2b3; background: transparent; }
.builder-dialog { width: min(520px, calc(100% - 32px)); padding: 36px; color: var(--text); background: #fff; border: 0; border-radius: 14px; box-shadow: 0 25px 80px rgba(3,11,25,.28); }
.builder-dialog::backdrop { background: rgba(3,11,25,.72); backdrop-filter: blur(4px); }
.builder-dialog h2 { color: var(--navy); }
.builder-dialog p { color: #667085; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.toast-region { position: fixed; z-index: 500; right: 20px; bottom: 20px; display: flex; align-items: flex-end; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; color: #fff; background: #0d1d37; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; box-shadow: 0 12px 30px rgba(3,11,25,.25); font-size: .78rem; animation: toast-in .25s ease both; }
.toast .icon { width: 18px; color: #5be38b; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* 16. Category / listing page */
.page-hero { padding: 34px 0 28px; color: #fff; background: radial-gradient(circle at 80% -40%, #086cff 0, transparent 42%), var(--navy); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: #7f8da3; font-size: .72rem; }
.page-hero .breadcrumbs { color: #b8c8df; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero h1 { margin: 0; font-size: 2rem; text-transform: uppercase; }
.page-hero p { max-width: 680px; margin: 8px 0 0; color: #b8c8df; font-size: .86rem; }
.catalog-page { padding: 32px 0 48px; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; }
.filter-sidebar { align-self: start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.filter-sidebar__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-sidebar__title strong { text-transform: uppercase; }
.filter-group { padding: 15px 0; border-top: 1px solid var(--line); }
.filter-group h2 { margin: 0 0 11px; font-size: .73rem; text-transform: uppercase; }
.filter-group label { display: flex; align-items: center; gap: 8px; margin: 9px 0; color: #475467; font-size: .76rem; cursor: pointer; }
.filter-group input[type='checkbox'] { width: 17px; height: 17px; accent-color: var(--blue); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs input { width: 100%; min-width: 0; height: 39px; padding: 0 8px; border: 1px solid #d7dee9; border-radius: 5px; font-size: .7rem; }
.filter-apply { width: 100%; min-height: 40px; margin-top: 10px; color: #fff; background: var(--blue); border-radius: 5px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.catalog-toolbar span { color: #667085; font-size: .76rem; }
.catalog-toolbar label { display: flex; align-items: center; gap: 9px; font-size: .72rem; }
.catalog-toolbar select { min-height: 38px; padding: 0 34px 0 12px; color: var(--text); background: #fff; border: 1px solid #d5dde8; border-radius: 5px; }
.mobile-filter-button { display: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-grid .product-card__image { height: 190px; }
.catalog-grid .product-card__body { min-height: 230px; }
.catalog-empty { display: none; min-height: 320px; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #667085; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.catalog-empty.is-visible { display: flex; }

/* 17. Product page */
.product-page { padding: 26px 0 55px; background: #f6f8fb; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 42px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.product-gallery { min-width: 0; display: grid; grid-template-columns: 92px 1fr; gap: 18px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 11px; }
.gallery-thumb { width: 86px; height: 86px; padding: 5px; background: #fff; border: 1px solid #dfe5ee; border-radius: 7px; }
.gallery-thumb.is-active { border: 2px solid var(--blue); }
.gallery-thumb .product-image { display: block; width: 100%; height: 100%; }
.gallery-main { min-height: 510px; padding: 25px; border: 1px solid #edf0f5; border-radius: 9px; }
.gallery-main .product-image { height: 100%; }
.product-summary h1 { margin: 0 0 10px; color: var(--navy); font-size: 1.65rem; line-height: 1.25; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 18px; color: #667085; border-bottom: 1px solid var(--line); font-size: .72rem; }
.rating { color: #f8a000; }
.availability { color: var(--success); font-weight: 700; }
.product-price-box { margin: 21px 0; padding: 20px; background: #f7faff; border: 1px solid #dbe9ff; border-radius: 8px; }
.product-price-box .old-price { font-size: .75rem; }
.product-price-box .pix-price { font-size: 2rem; }
.product-price-box .installments { font-size: .8rem; }
.purchase-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.quantity { display: grid; grid-template-columns: 42px 1fr 42px; overflow: hidden; border: 1px solid #d5dde8; border-radius: 6px; }
.quantity button { display: grid; place-items: center; color: var(--navy); background: #f6f8fb; }
.quantity input { min-width: 0; width: 100%; text-align: center; border: 0; outline: 0; }
.purchase-button { min-height: 54px; color: #fff; background: linear-gradient(180deg, #10af50, #07883c); border-radius: 6px; font-weight: 900; text-transform: uppercase; box-shadow: 0 8px 22px rgba(7,136,60,.22); }
.shipping-box { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.shipping-box strong { display: block; margin-bottom: 9px; font-size: .82rem; }
.shipping-form { display: flex; gap: 8px; }
.shipping-form input { min-width: 0; flex: 1; height: 42px; padding: 0 12px; border: 1px solid #d5dde8; border-radius: 5px; }
.shipping-form button { padding: 0 18px; color: var(--blue); background: #edf5ff; border-radius: 5px; font-weight: 800; }
.shipping-result { margin: 12px 0 0; color: var(--success); font-size: .76rem; }
.product-info { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.info-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); }
.info-tabs button { min-height: 56px; padding: 0 24px; color: #667085; background: transparent; border-bottom: 3px solid transparent; font-size: .78rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.info-tabs button.is-active { color: var(--blue); border-color: var(--blue); }
.info-panel { display: none; padding: 28px; color: #475467; }
.info-panel.is-active { display: block; }
.info-panel h2 { color: var(--navy); font-size: 1.2rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: .78rem; }
.spec-table th { width: 34%; color: var(--navy); background: #f8fafc; }
.related-products { padding-top: 32px; }
.related-products .product-track { grid-auto-columns: calc((100% - 72px) / 5); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 36px 0 55px; }
.contact-card, .contact-form-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.contact-card h2, .contact-form-card h2 { color: var(--navy); font-size: 1.15rem; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 25px; }
.contact-list div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.contact-list .icon { padding: 9px; color: var(--blue); background: #edf5ff; border-radius: 8px; box-sizing: content-box; }
.contact-list strong, .contact-list span { display: block; }
.contact-list span { color: #667085; font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .74rem; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 11px 12px; border: 1px solid #d5dde8; border-radius: 5px; outline: 0; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,108,255,.09); }
.contact-form-card .primary-button { margin-top: 16px; }
.success-message { display: none; margin-top: 16px; padding: 12px; color: #067635; background: #e9fbf0; border: 1px solid #bdeccd; border-radius: 6px; font-size: .78rem; }
.success-message.is-visible { display: block; }

/* 18. Responsiveness */
@media (max-width: 1360px) {
    .container { width: min(1240px, calc(100% - 48px)); }
    .main-header__inner { grid-template-columns: 210px minmax(280px, 1fr) auto; gap: 24px; }
    .account-links { gap: 16px; }
    .category-nav a, .all-categories { padding: 0 18px; }
    .all-categories { min-width: 210px; }
    .offers-section .product-track { grid-auto-columns: calc((100% - 72px) / 5); }
    .rank-track { grid-template-columns: repeat(3, 1fr); }
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefit { padding: 0 18px; }
    .footer-grid { gap: 30px; }
}

@media (max-width: 1100px) {
    .container { width: min(100% - 40px, 980px); }
    .utility-bar__inner { grid-template-columns: repeat(3, 1fr); }
    .utility-contact { display: none; }
    .main-header__inner { min-height: 98px; grid-template-columns: 190px 1fr auto; }
    .brand__line { font-size: 1.55rem; }
    .account-link span:not(.cart-badge) { display: none; }
    .account-link > .icon { width: 29px; }
    .category-nav__inner { overflow-x: auto; scrollbar-width: none; }
    .category-nav__inner::-webkit-scrollbar { display: none; }
    .category-nav a, .all-categories { min-height: 48px; }
    .all-categories { min-width: auto; }
    .hero { height: 420px; }
    .hero-slide { background-position: 58% center; }
    .hero-copy { width: 45%; }
    .hero-copy h1, .hero-copy h2 { font-size: 2.5rem; }
    .shortcut-track { overflow-x: auto; grid-template-columns: repeat(9, 128px); scrollbar-width: none; }
    .shortcut-track::-webkit-scrollbar { display: none; }
    .offers-section .product-track { grid-auto-columns: calc((100% - 54px) / 4); overflow-x: auto; }
    .pc-builder__inner { grid-template-columns: 210px 1fr; }
    .builder-steps { overflow-x: auto; grid-template-columns: repeat(7, 115px); }
    .brand-track { overflow-x: auto; grid-template-columns: repeat(8, 140px); }
    .benefits__grid { grid-template-columns: repeat(3, 1fr); padding: 20px 0; }
    .benefit { min-height: 80px; }
    .benefit:nth-child(3) { border-right: 0; }
    .newsletter__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; }
    .social-block { grid-column: 1 / -1; justify-content: center; }
    .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
    .payments { grid-column: 2 / -1; }
    .payment-grid { grid-template-columns: repeat(6, 1fr); }
    .product-detail { grid-template-columns: 1fr 1fr; gap: 24px; }
    .gallery-main { min-height: 420px; }
}

@media (max-width: 820px) {
    .container { width: calc(100% - 28px); }
    .utility-bar { height: 34px; }
    .utility-bar__inner { grid-template-columns: 1fr 1fr; }
    .utility-item:nth-child(3) { display: none; }
    .main-header__inner { min-height: 126px; grid-template-columns: 46px 1fr auto; grid-template-rows: 68px 48px; gap: 0 10px; }
    .mobile-menu-toggle { display: grid; }
    .brand { justify-self: start; }
    .brand__tagline { display: none; }
    .search { height: 44px; grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; }
    .search input { padding-left: 14px; font-size: .78rem; }
    .search button { width: 50px; }
    .account-links { justify-content: flex-end; gap: 8px; }
    .account-link { padding: 8px; }
    .account-link:first-child { display: none; }
    .category-nav { display: none; }
    .mobile-menu { position: fixed; z-index: 310; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); display: flex; flex-direction: column; padding: 0 18px 24px; background: #fff; box-shadow: 15px 0 45px rgba(3,11,25,.25); transform: translateX(-105%); visibility: hidden; transition: transform .25s, visibility .25s; }
    .mobile-menu.is-open { transform: translateX(0); visibility: visible; }
    .mobile-menu__header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); }
    .mobile-menu > a { min-height: 50px; display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 10px; color: #344054; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
    .mobile-menu > a .icon { width: 21px; }
    .mobile-menu > a .icon:last-child { width: 16px; }
    .mobile-menu .mobile-offers { color: var(--danger); }
    .drawer-overlay { position: fixed; z-index: 280; inset: 0; display: block; background: rgba(3,11,25,.68); backdrop-filter: blur(2px); }
    .drawer-overlay[hidden] { display: none; }
    .hero { height: 510px; }
    .hero-slide { background-position: 63% 100%; background-size: auto 100%; }
    .hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,7,20,.96) 0%, rgba(2,7,20,.82) 43%, rgba(2,7,20,.16) 100%); }
    .hero-slide__inner { z-index: 1; }
    .hero-copy { width: 68%; }
    .hero-copy h1, .hero-copy h2 { font-size: 2.35rem; }
    .hero-copy p { font-size: .86rem; }
    .shortcut-track { min-height: 116px; grid-template-columns: repeat(9, 112px); }
    .shortcut-icon { width: 48px; height: 48px; }
    .shortcut-icon .icon { width: 30px; height: 30px; }
    .section { padding: 26px 0; }
    .offers-section .product-track { grid-auto-columns: calc((100% - 18px) / 2); }
    .product-track { overflow-x: auto; overscroll-behavior-inline: contain; }
    .carousel-arrow { display: none; }
    .rank-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-builder__inner { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
    .pc-builder__intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 18px; }
    .pc-builder__intro .eyebrow { grid-column: 1 / -1; }
    .pc-builder__intro h2 { grid-column: 1; }
    .pc-builder__intro p { grid-column: 1; }
    .pc-builder__intro .primary-button { grid-column: 2; grid-row: 2 / 4; }
    .benefits__grid { grid-template-columns: 1fr 1fr; }
    .benefit, .benefit:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }
    .benefit:nth-child(even) { border-right: 0; }
    .newsletter__inner { grid-template-columns: 1fr; }
    .social-block { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .payments { grid-column: auto; }
    .payment-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: fixed; z-index: 320; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); overflow-y: auto; border-radius: 0; transform: translateX(-105%); visibility: hidden; transition: transform .25s, visibility .25s; }
    .filter-sidebar.is-open { transform: translateX(0); visibility: visible; }
    .mobile-filter-button { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 12px; color: var(--blue); background: #eef5ff; border-radius: 5px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
    .mobile-filter-button .icon { width: 18px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { grid-template-columns: 74px 1fr; }
    .gallery-thumb { width: 70px; height: 70px; }
    .gallery-main { min-height: 440px; }
    .related-products .product-track { grid-auto-columns: calc((100% - 18px) / 2); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 24px); }
    .utility-bar__inner { display: flex; justify-content: center; }
    .utility-item:nth-child(2) { display: none; }
    .utility-item:last-child { border: 0; }
    .main-header__inner { grid-template-columns: 44px 1fr auto; }
    .brand__line { font-size: 1.3rem; }
    .account-link { padding: 5px; }
    .account-link > .icon { width: 26px; height: 26px; }
    .cart-badge { top: -4px; left: 20px; }
    .hero { height: 500px; }
    .hero-slide { background-position: 67% 100%; }
    .hero-slide::after { background: linear-gradient(90deg, rgba(2,7,20,.96) 0%, rgba(2,7,20,.8) 60%, rgba(2,7,20,.15) 100%); }
    .hero-copy { width: 83%; align-self: flex-start; margin-top: 64px; }
    .hero-copy h1, .hero-copy h2 { font-size: 2.05rem; }
    .hero-copy p { max-width: 330px; }
    .hero-arrow { display: none !important; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 1rem; }
    .section-heading > a { font-size: .65rem; }
    .offers-section .product-track, .related-products .product-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
    .product-card__image, .catalog-grid .product-card__image { height: 154px; padding: 12px 8px 0; }
    .product-card__body, .catalog-grid .product-card__body { min-height: 222px; padding: 5px 10px 12px; }
    .product-card__name { min-height: 58px; font-size: .7rem; }
    .pix-price { font-size: .98rem; }
    .installments { font-size: .6rem; }
    .buy-button { min-height: 42px; }
    .favorite-button { opacity: 1; width: 34px; height: 34px; }
    .discount-badge { top: 8px; left: 8px; padding: 4px 6px; }
    .rank-track { gap: 12px; }
    .rank-card { grid-template-rows: 115px 1fr; }
    .pc-builder__intro { display: block; }
    .pc-builder__intro .primary-button { width: 100%; }
    .benefits__grid { grid-template-columns: 1fr; }
    .benefit, .benefit:nth-child(3), .benefit:nth-child(even) { min-height: 86px; padding: 0 6px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .newsletter__title > .icon { width: 36px; height: 36px; }
    .newsletter__form button { min-width: 115px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .payment-grid { grid-template-columns: repeat(3, 1fr); }
    .copyright span { display: block; margin: 4px 0 0; }
    .catalog-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .catalog-toolbar > span { order: 3; width: 100%; }
    .catalog-toolbar label span { display: none; }
    .catalog-grid { gap: 12px; }
    .page-hero h1 { font-size: 1.55rem; }
    .product-page { padding-top: 16px; }
    .product-detail { padding: 15px; }
    .product-gallery { display: flex; flex-direction: column-reverse; }
    .gallery-thumbs { flex-direction: row; }
    .gallery-main { min-height: 330px; }
    .gallery-thumb { width: 64px; height: 64px; }
    .product-summary h1 { font-size: 1.3rem; }
    .product-price-box .pix-price { font-size: 1.65rem; }
    .purchase-row { grid-template-columns: 100px 1fr; }
    .shipping-form { flex-wrap: wrap; }
    .shipping-form button { min-height: 42px; }
    .info-panel { padding: 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
}

@media (max-width: 380px) {
    .offers-section .product-track, .related-products .product-track { grid-auto-columns: 88%; }
    .catalog-grid { grid-template-columns: 1fr; }
    .product-card__image, .catalog-grid .product-card__image { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
