/* 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, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 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; touch-action: manipulation; }
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: .875rem; 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; }
.secondary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; color: var(--blue-strong); background: #edf5ff; border: 1px solid #cfe2ff; border-radius: 6px; font-size: .875rem; font-weight: 800; }
.secondary-button .icon { width: 17px; height: 17px; }
.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: sticky; z-index: 50; top: 0; background: #fff; box-shadow: 0 1px 0 rgba(16,24,40,.08); }
.utility-bar { height: 38px; overflow: hidden; color: #eef5ff; background: var(--navy); font-size: .74rem; text-transform: uppercase; transition: height .22s ease, opacity .22s ease; }
.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; transition: min-height .22s ease; }
.brand { display: inline-flex; width: 190px; align-items: center; justify-content: center; }
.brand__logo { width: 100%; height: auto; max-height: 96px; object-fit: contain; object-position: 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: 8px; color: var(--navy); background: transparent; border-radius: 8px; text-align: left; transition: color .2s ease, background .2s ease, transform .2s ease; }
.account-link:hover { color: var(--blue-strong); background: #f1f6ff; transform: translateY(-2px); }
.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: .8rem; font-weight: 800; }
.account-link small { color: var(--muted); font-size: .7rem; }
.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; }
.site-header.is-compact .utility-bar { height: 0; opacity: 0; }
.site-header.is-compact .main-header__inner { min-height: 78px; }
.site-header.is-compact .brand__logo { max-height: 66px; }

/* 5. Navigation */
.category-nav { position: relative; 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: .875rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.category-nav a:hover, .all-categories:hover { background: rgba(255,255,255,.09); }
.category-menu { position: relative; display: flex; }
.all-categories { min-width: 250px; gap: 10px; background: rgba(1,26,82,.62); }
.all-categories .icon { width: 20px; }
.all-categories .icon:last-child { width: 15px; margin-left: auto; transition: transform .2s ease; }
.category-menu.is-open .all-categories .icon:last-child, .category-menu:focus-within .all-categories .icon:last-child { transform: rotate(90deg); }
.mega-menu { position: absolute; z-index: 80; top: calc(100% + 1px); left: 0; width: min(980px, calc(100vw - 64px)); padding: 22px; color: var(--text); background: #fff; border: 1px solid #dce5f1; border-radius: 0 0 12px 12px; box-shadow: 0 24px 60px rgba(3,11,25,.2); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.category-menu:hover .mega-menu, .category-menu:focus-within .mega-menu, .category-menu.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: 22px; }
.mega-menu__group { min-width: 0; padding: 4px 8px; }
.mega-menu__group h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--navy); font-size: .8rem; text-transform: uppercase; }
.mega-menu__group h2 .icon { width: 20px; color: var(--blue); }
.mega-menu__group a { justify-content: space-between; min-height: 38px; padding: 0; color: #475467; font-size: .75rem; text-transform: none; }
.mega-menu__group a:hover { color: var(--blue); background: transparent; transform: translateX(3px); }
.mega-menu__group a .icon { width: 15px; opacity: 0; transition: opacity .2s ease; }
.mega-menu__group a:hover .icon { opacity: 1; }
.mega-menu__promo { min-height: 185px; align-items: flex-start !important; justify-content: flex-end !important; flex-direction: column; padding: 20px !important; overflow: hidden; background-image: linear-gradient(180deg, rgba(3,11,25,.08), rgba(3,11,25,.9)), url('../img/banners/banner-gpu.webp') !important; background-position: 67% center !important; background-size: cover !important; border-radius: 10px; white-space: normal !important; }
.mega-menu__promo span { color: #80bbff; font-size: .62rem; }
.mega-menu__promo strong { max-width: 220px; margin: 6px 0 12px; color: #fff; font-size: 1.05rem; line-height: 1.2; }
.mega-menu__promo em { display: flex; align-items: center; gap: 6px; color: #fff; font-size: .68rem; font-style: normal; }
.mega-menu__promo em .icon { width: 15px; }
.category-nav .offers-link { min-height: 38px; align-self: center; gap: 7px; margin: 6px 0 6px auto; padding: 0 14px; color: #fff !important; background: linear-gradient(180deg, #ff3548, #df1228); border: 1px solid rgba(255,255,255,.3); border-radius: 7px; box-shadow: 0 5px 16px rgba(141,0,18,.32); }
.category-nav .offers-link:hover { background: linear-gradient(180deg, #eb2338, #be0f21); box-shadow: 0 7px 20px rgba(141,0,18,.42); }
.offers-link .icon { width: 17px; height: 17px; fill: rgba(255,255,255,.18); }
.offers-link small { display: grid; min-width: 22px; height: 20px; place-items: center; padding: 0 5px; color: #921020; background: #fff; border-radius: 999px; font-size: .58rem; }
.mobile-menu, .drawer-overlay { display: none; }

/* 6. Hero */
.hero { position: relative; height: 507px; overflow: hidden; color: #fff; background: var(--ink); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 52px; background: #03132e; border-top: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.hero-slide { --hero-image: none; position: absolute; inset: 0 0 52px; opacity: 0; visibility: hidden; transform: scale(1.015); background-color: #020714; background-image: linear-gradient(90deg, rgba(2,7,20,.28) 0%, rgba(2,7,20,.05) 48%, rgba(2,7,20,.08) 100%), var(--hero-image); background-position: center center; background-size: cover; transition: opacity .55s ease, transform .7s ease, visibility .55s; }
.hero-slide--performance { --hero-image: url('../img/banners/banner-performance.webp'); }
.hero-slide--gpu { --hero-image: url('../img/banners/banner-gpu.webp'); }
.hero-slide--processors { --hero-image: url('../img/banners/banner-processadores.webp'); }
.hero-slide--ssd { --hero-image: url('../img/banners/banner-ssd.webp'); }
.hero-slide--builder { --hero-image: url('../img/banners/banner-monte-pc.webp'); }
.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: 0; height: 52px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: 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 { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: #0a2d63; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-size: 1.55rem; line-height: 1; pointer-events: auto; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-arrow--prev { justify-self: start; }
.hero-arrow--next { justify-self: end; }
.hero-arrow:hover { background: #0b5fda; border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.hero-dots { justify-self: 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(6, 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: .75rem; 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; }
.offers-section:not(.selection-section) .section-heading { padding-bottom: 12px; border-bottom: 2px solid #ffd9dd; }
.offers-section:not(.selection-section) .section-heading h2 .icon { color: var(--danger); fill: rgba(255,36,56,.1); }
.offers-section:not(.selection-section) .section-heading > a { min-height: 38px; padding: 0 13px; color: #fff; background: var(--danger); border-radius: 6px; }
.offers-section:not(.selection-section) .section-heading > a:hover { background: #d9162a; }
.carousel-shell { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 12px; }
.product-track { display: grid; grid-auto-columns: minmax(220px, 1fr); grid-auto-flow: column; align-items: stretch; gap: 18px; overflow: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.product-card { position: relative; min-width: 0; min-height: 540px; display: flex; overflow: hidden; flex-direction: column; 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__link-overlay { position: absolute; z-index: 1; inset: 0; }
.product-media { display: flex; width: 100%; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.product-media--card { height: 250px; padding: 18px; background: #fff; border-bottom: 1px solid #edf1f6; }
.product-image { display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; background: transparent; }
.real-product-image__file { width: 100%; height: 100%; object-fit: contain; object-position: center; transform-origin: center; transition: transform .22s ease; }
.product-card:hover .real-product-image__file { transform: scale(1.025); }
.product-identity { width: min(88%, 360px); height: min(82%, 320px); align-content: center; justify-items: center; gap: 8px; padding: 24px; color: var(--navy); background: radial-gradient(circle at 50% 20%, #fff 0 10%, #edf5ff 72%); border: 1px solid #d7e7ff; border-radius: 18px; text-align: center; }
.product-identity__mark { display: grid; width: clamp(58px, 38%, 128px); aspect-ratio: 1; place-items: center; color: #fff; background: linear-gradient(145deg, #0aa8cf, #006cff 58%, #07152e); border-radius: 24%; box-shadow: 0 12px 28px rgba(0,108,255,.22); font-size: clamp(1rem, 4vw, 2.3rem); font-weight: 950; letter-spacing: -.08em; }
.product-identity strong { margin-top: 5px; font-size: clamp(.78rem, 1.5vw, 1.12rem); line-height: 1.15; text-transform: uppercase; }
.product-identity small { color: #56708f; font-size: clamp(.58rem, 1vw, .75rem); font-weight: 750; text-transform: uppercase; }
.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,.96); border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 3px 10px rgba(7,21,46,.08); opacity: 1; transform: translateY(0); transition: color .2s ease, background .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 { position: relative; z-index: 2; min-height: 288px; display: flex; flex: 1; flex-direction: column; padding: 12px 17px 17px; pointer-events: none; }
.product-card__category { margin-bottom: 8px; color: var(--blue-strong); font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.product-card__name { display: -webkit-box; min-height: 66px; margin: 0; overflow: hidden; color: var(--navy); font-size: .88rem; font-weight: 750; line-height: 1.42; -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: 46px; align-items: center; justify-content: center; gap: 9px; margin-top: auto; padding: 0 16px; color: #fff; background: linear-gradient(180deg, #0877ff, #0059dc); border-radius: 6px; box-shadow: inset 0 1px rgba(255,255,255,.2); font-size: .875rem; font-weight: 800; text-transform: uppercase; pointer-events: auto; transition: background .2s, transform .15s, box-shadow .2s ease; }
.buy-button:hover { background: linear-gradient(180deg, #0568e5, #004abe); }
.buy-button--quote { background: linear-gradient(180deg, #0877ff, #0059dc); }
.buy-button:active { transform: translateY(1px); }
.buy-button .icon { width: 17px; height: 17px; }
.buy-button:disabled { color: #667085; background: #e6eaf0; box-shadow: none; cursor: not-allowed; }
.availability-pill { width: max-content; max-width: 100%; margin-top: 7px; padding: 6px 9px; border-radius: 999px; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.availability-pill--stock { color: #067638; background: #e8f8ef; }
.availability-pill--out { color: #b42333; background: #fff0f1; }
.availability-pill--unknown { color: #526173; background: #eef2f6; }
.price-on-request { display: flex; flex-direction: column; margin: 12px 0 10px; }
.price-on-request > span { color: #98a2b3; font-size: .68rem; text-transform: uppercase; }
.price-on-request strong { color: var(--navy); font-size: 1.08rem; }
.price-on-request small { color: #667085; font-size: .7rem; }
.carousel-arrow { z-index: 5; display: grid; width: 46px; height: 46px; 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.65rem; line-height: 1; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.carousel-arrow:hover:not(:disabled) { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 20px rgba(0,108,255,.26); transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: .32; box-shadow: none; cursor: default; }

/* 9. Offers */
.offers-section .product-track { grid-auto-columns: calc((100% - 72px) / 5); }
.promo-banners { padding-top: 8px; background: #f7f9fc; }
.promo-banners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-banners--single .promo-banners__grid { grid-template-columns: 1fr; }
.promo-banners--single .promo-banner { min-height: 260px; }
.promo-banner { position: relative; min-height: 210px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 32px; overflow: hidden; color: #fff; background-color: var(--ink); background-position: center; background-size: cover; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; box-shadow: 0 12px 32px rgba(7,21,46,.14); transition: transform .22s ease, box-shadow .22s ease; }
.promo-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,25,.94) 0%, rgba(3,11,25,.8) 42%, rgba(3,11,25,.12) 78%); }
.promo-banner--gpu { background-image: url('../img/banners/banner-gpu.webp'); }
.promo-banner--ssd { background-image: url('../img/banners/banner-ssd.webp'); }
.promo-banner:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(7,21,46,.22); }
.promo-banner > * { position: relative; z-index: 1; }
.promo-banner > span { margin-bottom: 7px; color: #53a7ff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.promo-banner > strong { width: min(310px, 62%); font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.promo-banner > em { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; color: #fff; font-size: .72rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.promo-banner > em .icon { width: 17px; }

/* 10. Best sellers */
.best-sellers { padding: 38px 0 44px; 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-auto-columns: calc((100% - 80px) / 5); grid-auto-flow: column; align-items: stretch; gap: 20px; overflow: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.rank-card { position: relative; min-width: 0; min-height: 458px; display: flex; overflow: hidden; flex-direction: column; color: var(--text); background: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,.18); scroll-snap-align: start; transition: transform .22s ease, box-shadow .22s ease; }
.rank-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(0,0,0,.28); }
.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; }
.product-media--rank { height: 250px; flex: 0 0 auto; padding: 22px; background: #fff; border-bottom: 1px solid #edf1f6; }
.rank-card__content { min-height: 206px; display: flex; flex: 1; flex-direction: column; padding: 16px 18px 19px; }
.rank-name { display: -webkit-box; min-height: 66px; overflow: hidden; color: var(--navy); font-size: .86rem; font-weight: 750; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rank-price { display: flex; flex-direction: column; margin-top: auto; color: var(--navy); font-size: 1rem; font-weight: 900; }
.rank-price small { color: var(--success); font-size: .6rem; font-weight: 700; }
.rank-card__content > em { display: flex; min-height: 36px; align-items: center; gap: 7px; margin-top: 13px; color: var(--blue-strong); font-size: .8rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.rank-card__content > em .icon { width: 15px; transition: transform .2s ease; }
.rank-card:hover .rank-card__content > em .icon { transform: translateX(3px); }
.carousel-shell--dark .carousel-arrow { color: #fff; background: #0b2d64; border-color: rgba(255,255,255,.18); }

/* 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: .8rem; line-height: 1.5; }
.pc-builder__intro .primary-button { min-height: 46px; padding: 0 18px; font-size: .74rem; }
.eyebrow--dark { margin-bottom: 4px; color: var(--blue-strong); font-size: .6rem; }
.builder-steps { min-width: 0; display: grid; grid-template-columns: repeat(6, 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; min-width: 0; color: var(--navy); text-align: center; }
.builder-steps li > a { display: flex; align-items: center; flex-direction: column; gap: 8px; border-radius: 8px; transition: color .2s ease, transform .2s ease; }
.builder-steps li > a:hover { color: var(--blue); transform: translateY(-3px); }
.builder-steps li > a > 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 > a > span .icon { width: 36px; height: 36px; }
.builder-steps strong { font-size: .68rem; line-height: 1.3; text-transform: uppercase; }
.builder-steps i { position: absolute; top: 24px; right: -22px; color: #91a4be; }
.builder-steps i .icon { width: 22px; }

/* 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: .75rem; line-height: 1.3; text-transform: uppercase; }
.benefit span { margin-top: 6px; color: #aab8cf; font-size: .68rem; }

/* 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: .9rem; text-transform: uppercase; }
.newsletter__title span { margin-top: 4px; color: #dbeaff; font-size: .72rem; }
.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: .82rem; }
.newsletter__form button { min-width: 150px; color: #fff; background: var(--navy); font-size: .875rem; font-weight: 800; text-transform: uppercase; }
.newsletter__feedback { grid-column: 2; margin: -24px 0 0; color: #e8f3ff; font-size: .7rem; }
.newsletter__feedback[hidden] { display: none; }
.newsletter-cta { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; color: #fff; background: var(--navy); border-radius: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.newsletter-cta .icon { width: 18px; }
.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 { width: 205px; padding: 7px 9px; background: #fff; border-radius: 9px; }
.footer-brand p { max-width: 230px; margin: 17px 0; color: #9eacc2; font-size: .76rem; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; }
.footer-grid h2 { margin-bottom: 15px; color: #fff; font-size: .73rem; text-transform: uppercase; }
.footer-grid a, .footer-grid > div > span { margin-bottom: 8px; color: #b5c0d0; font-size: .72rem; }
.footer-grid a:hover { color: #fff; }
.footer-email { max-width: 100%; overflow-wrap: anywhere; }
.footer-hours { display: flex; align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-hours strong { margin-bottom: 2px; color: #fff; font-size: .68rem; text-transform: uppercase; }
.footer-hours span { color: #b5c0d0; font-size: .68rem; line-height: 1.35; }
.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 { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px; padding: 18px 0 24px; color: #7f8da3; border-top: 1px solid rgba(255,255,255,.08); font-size: .62rem; text-align: center; }
.copyright__legal > span { margin-left: 8px; }
.developer-credit { color: #718096; }
.developer-credit a { color: #93a2b8; text-decoration: underline; text-decoration-color: rgba(147,162,184,.45); text-underline-offset: 2px; }
.developer-credit a:hover { color: #c4cedc; }

/* 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:not(.drawer-actions) { 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; }
.drawer-contact-link { display: flex; min-height: 48px; align-items: center; justify-content: center; color: #fff; background: var(--blue); border-radius: 6px; font-weight: 800; text-transform: uppercase; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.drawer-secondary-button { min-height: 48px; padding: 0 10px; color: var(--blue-strong) !important; background: #edf5ff !important; font-size: .68rem; }
.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__icon { display: grid; width: 58px; height: 58px; place-items: center; color: var(--blue); background: #eef5ff; border-radius: 10px; font-weight: 900; }
.drawer-item__media { width: 58px; height: 58px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; }
.drawer-item__media .product-identity { width: 100%; height: 100%; gap: 0; padding: 4px; border: 0; border-radius: 5px; }
.drawer-item__media .product-identity__mark { width: 32px; border-radius: 6px; font-size: .62rem; box-shadow: none; }
.drawer-item__media .product-identity strong, .drawer-item__media .product-identity small { display: none; }
.drawer-item__details { min-width: 0; }
.drawer-item__details a { display: -webkit-box; overflow: hidden; color: var(--navy); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.drawer-item__quantity { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.drawer-item__quantity button { display: grid; width: 24px; height: 24px; place-items: center; color: var(--blue-strong); background: #edf5ff; border-radius: 5px; }
.drawer-item__quantity span { min-width: 22px; color: var(--navy); text-align: center; }
.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 minmax(0, 1fr); gap: 28px; align-items: start; }
.filter-sidebar { position: sticky; top: 148px; align-self: start; max-height: calc(100vh - 172px); padding: 20px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 7px 20px rgba(7,21,46,.05); }
.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: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 30px; margin: 5px 0; color: #475467; font-size: .76rem; cursor: pointer; }
.filter-group label:hover { color: var(--blue-strong); }
.filter-group label small { min-width: 24px; padding: 2px 6px; color: #667085; background: #f0f3f7; border-radius: 999px; font-size: .62rem; text-align: center; }
.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-actions { display: grid; gap: 8px; margin-top: 10px; }
.filter-apply, .filter-clear { width: 100%; min-height: 42px; border-radius: 6px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.filter-apply { color: #fff; background: var(--blue); }
.filter-apply:hover { background: var(--blue-strong); }
.filter-clear { color: var(--blue-strong); background: #edf5ff; border: 1px solid #cfe2ff; }
.filter-clear:hover { background: #dfeeff; }
.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; align-items: stretch; }
.catalog-grid .product-card__image { height: 220px; }
.catalog-grid .product-card__body { min-height: 268px; }
.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; }
.product-gallery__layout { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
.product-gallery__layout--single { grid-template-columns: 1fr; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 11px; }
.gallery-thumb { width: 86px; height: 86px; padding: 5px; overflow: hidden; background: #fff; border: 1px solid #dfe5ee; border-radius: 7px; }
.gallery-thumb.is-active { border: 2px solid var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-view { min-width: 0; }
.gallery-main { min-height: 510px; padding: 30px; background: radial-gradient(circle at center, #fff 0 30%, #f3f6fa 76%); border: 1px solid #edf0f5; border-radius: 9px; }
.gallery-main .product-image { height: 100%; }
.gallery-main__image { width: 100%; height: 450px; object-fit: contain; object-position: center; }
.gallery-controls { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.gallery-controls button { display: grid; width: 44px; height: 44px; place-items: center; color: var(--navy); background: #fff; border: 1px solid #d8e0eb; border-radius: 50%; box-shadow: 0 4px 12px rgba(7,21,46,.1); font-size: 1.5rem; transition: color .2s ease, background .2s ease, transform .2s ease; }
.gallery-controls button:hover { color: #fff; background: var(--blue); transform: translateY(-2px); }
.gallery-controls span { min-width: 48px; color: #667085; font-size: .8rem; font-weight: 700; text-align: center; }
.product-media--gallery .product-identity { width: min(82%, 430px); height: min(78%, 390px); }
.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; }
.product-favorite-button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-top: 14px; padding: 0 16px; color: var(--blue-strong); background: #edf5ff; border: 1px solid #d2e5ff; border-radius: 6px; font-size: .875rem; font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s ease; }
.product-favorite-button:hover { transform: translateY(-2px); }
.product-favorite-button.is-favorite { color: #c51b2d; background: #fff0f1; border-color: #ffd0d5; }
.product-favorite-button.is-favorite .icon { fill: currentColor; animation: favorite-pop .25s ease; }
@keyframes favorite-pop { 50% { transform: scale(1.18); } }
.rating { color: #f8a000; }
.availability { color: var(--success); font-weight: 700; }
.availability--out { color: var(--danger); }
.availability--unknown { color: #667085; }
.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; }
.product-price-box--request p { max-width: 560px; margin: 8px 0 0; color: #667085; font-size: .76rem; }
.purchase-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.purchase-row--request { max-width: 560px; }
.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 { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; color: #fff; background: linear-gradient(180deg, #10af50, #07883c); border-radius: 6px; font-size: .875rem; font-weight: 900; text-transform: uppercase; box-shadow: 0 8px 22px rgba(7,136,60,.22); }
.purchase-button .icon { width: 19px; height: 19px; }
.purchase-button--quote { width: min(100%, 430px); background: linear-gradient(180deg, #0877ff, #0059dc); box-shadow: 0 8px 22px rgba(0,89,220,.22); }
.purchase-button:disabled { color: #667085; background: #e6eaf0; box-shadow: none; cursor: not-allowed; }
.product-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.product-assurances > span { min-height: 74px; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-content: center; padding: 12px; color: var(--navy); background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.product-assurances .icon { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--blue); }
.product-assurances strong { font-size: .76rem; }
.product-assurances small { margin-top: 2px; color: #667085; font-size: .68rem; line-height: 1.3; }
.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; }
.shipping-box--contact p { color: #667085; 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: .875rem; 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 a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.contact-list a:hover { color: var(--blue); background: #f1f6ff; }
.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; }
.contact-email-link span { overflow-wrap: anywhere; }
.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; }

/* Collection and account pages */
.collection-page, .account-page { padding: 36px 0 58px; }
.collection-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.collection-list { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.collection-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.collection-row .product-media { width: 96px; height: 96px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.collection-row__details { min-width: 0; }
.collection-row__details a { color: var(--navy); font-weight: 800; }
.collection-row__details > span { display: block; margin-top: 5px; color: #667085; font-size: .75rem; }
.collection-row__actions { display: flex; align-items: center; gap: 10px; }
.collection-row__actions button { min-height: 38px; padding: 0 12px; color: var(--blue-strong); background: #edf5ff; border-radius: 5px; font-size: .72rem; font-weight: 800; }
.collection-summary { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.collection-summary > span { color: #667085; font-size: .72rem; text-transform: uppercase; }
.collection-summary > strong { color: var(--navy); font-size: 1.35rem; }
.collection-summary p { color: #667085; font-size: .76rem; }
.favorites-page-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.favorites-page-grid .product-card { min-height: 490px; }
.favorites-page-grid > .catalog-empty { grid-column: 1 / -1; }
.favorite-page-card { position: relative; min-height: 410px; display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.favorite-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.favorite-page-card > .product-media { height: 220px; padding: 20px; background: radial-gradient(circle at center, #fff, #f3f6fa); border-radius: 8px; }
.favorite-page-card__name { display: -webkit-box; min-height: 58px; margin-top: 14px; overflow: hidden; color: var(--navy); font-size: .82rem; font-weight: 800; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.favorite-page-card > span { margin: 9px 0; color: #667085; font-size: .72rem; }
.favorite-page-card > div:last-child { display: grid; grid-template-columns: 1fr 42px; gap: 8px; margin-top: auto; }
.favorite-page-card .favorite-button { position: static; width: 42px; height: 42px; opacity: 1; transform: none; pointer-events: auto; }
.favorite-page-card .buy-button { margin: 0; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.account-card { display: grid; grid-template-columns: 54px 1fr 22px; gap: 16px; align-items: center; min-height: 130px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(7,21,46,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.account-card:hover { transform: translateY(-4px); border-color: #bdd3f4; box-shadow: var(--shadow); }
.account-card > .icon:first-child { width: 54px; height: 54px; padding: 14px; color: var(--blue); background: #edf5ff; border-radius: 12px; }
.account-card > .icon:last-child { width: 20px; color: var(--blue); }
.account-card span { display: flex; flex-direction: column; }
.account-card strong { color: var(--navy); }
.account-card small { margin-top: 5px; color: #667085; }
.account-notice { margin-top: 22px; padding: 22px; color: #475467; background: #edf5ff; border: 1px solid #d3e5ff; border-radius: 10px; }
.account-notice strong { color: var(--navy); }
.account-notice p { margin: 6px 0 0; }
.account-card--admin { border-color: #9fc5ff; background: linear-gradient(135deg, #fff, #edf5ff); }

/* 12. Local product-photo manager */
.photo-manager { padding: 34px 0 64px; }
.photo-manager__intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding: 18px 20px; color: #334155; background: #edf5ff; border: 1px solid #cfe2ff; border-radius: 10px; }
.photo-manager__intro strong { display: block; margin-bottom: 3px; color: var(--navy); }
.photo-manager__intro p { margin: 0; }
.photo-manager__local-badge { flex: 0 0 auto; padding: 7px 10px; color: #08783c; background: #dff7e9; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.photo-manager__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 22px; align-items: start; }
.photo-panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.photo-panel h2 { margin-bottom: 18px; color: var(--navy); font-size: 1.2rem; }
.photo-field { display: grid; gap: 8px; margin-bottom: 18px; }
.photo-field label { color: var(--navy); font-weight: 800; }
.photo-field select { width: 100%; min-height: 48px; padding: 0 42px 0 13px; color: var(--text); background: #fff; border: 1px solid #cfd8e6; border-radius: 7px; }
.photo-drop { display: grid; min-height: 190px; place-items: center; padding: 24px; color: #475467; background: #f8fbff; border: 2px dashed #9fc5ff; border-radius: 10px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.photo-drop:hover, .photo-drop:focus-within { background: #edf5ff; border-color: var(--blue); }
.photo-drop .icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--blue); }
.photo-drop strong { display: block; color: var(--navy); }
.photo-drop small { display: block; margin-top: 7px; }
.photo-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.photo-file-name { min-height: 22px; margin: 10px 0 0; color: #475467; font-size: .82rem; }
.photo-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.photo-actions .primary-button { border: 0; }
.photo-restore { min-height: 46px; padding: 0 16px; color: #b42318; background: #fff1f1; border: 1px solid #ffd2d2; border-radius: 6px; font-weight: 800; }
.photo-current { display: grid; min-height: 360px; place-items: center; padding: 24px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; }
.photo-current .product-image { width: 100%; max-width: 360px; height: 280px; }
.photo-current .product-image.is-preview-hidden { display: none; }
.photo-current .real-product-image__file { width: 100%; height: 100%; object-fit: contain; }
.photo-current > img { width: 100%; max-width: 360px; max-height: 280px; object-fit: contain; }
.photo-product-name { margin: 16px 0 0; color: var(--navy); font-size: .95rem; text-align: center; }
.photo-status { margin-bottom: 20px; padding: 14px 16px; border-radius: 8px; font-weight: 700; }
.photo-status--success { color: #05603a; background: #e4f8ed; border: 1px solid #a8e5c2; }
.photo-status--error { color: #9f1c17; background: #fff0ef; border: 1px solid #ffc9c5; }
.product-photo-admin-link { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 2px; color: var(--blue-strong); font-size: .82rem; font-weight: 800; }
.product-photo-admin-link .icon { width: 18px; height: 18px; }

/* 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% - 54px) / 4); }
    .rank-track { grid-template-columns: none; grid-auto-columns: calc((100% - 60px) / 4); }
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .favorites-page-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 { width: 170px; }
    .account-link span:not(.cart-badge) { display: none; }
    .account-link > .icon { width: 29px; }
    .category-nav__inner { overflow: visible; }
    .category-nav a, .all-categories { min-height: 48px; }
    .category-nav a, .all-categories { padding-right: 12px; padding-left: 12px; }
    .all-categories { min-width: 180px; }
    .mega-menu { width: min(900px, calc(100vw - 40px)); }
    .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { height: 472px; }
    .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(6, 128px); scrollbar-width: none; }
    .shortcut-track::-webkit-scrollbar { display: none; }
    .offers-section .product-track { grid-auto-columns: calc((100% - 36px) / 3); overflow-x: auto; }
    .pc-builder__inner { grid-template-columns: 210px 1fr; }
    .builder-steps { overflow-x: auto; grid-template-columns: repeat(6, 115px); }
    .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: 136px; grid-template-columns: 46px 1fr auto; grid-template-rows: 78px 48px; gap: 0 10px; }
    .site-header.is-compact .main-header__inner { min-height: 126px; }
    .mobile-menu-toggle { display: grid; }
    .brand { justify-self: start; }
    .brand { width: 140px; }
    .brand__logo, .site-header.is-compact .brand__logo { max-height: 72px; }
    .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 { min-height: 52px; margin-top: 12px; padding: 0 13px; color: #fff; background: linear-gradient(180deg, #ff3548, #df1228); border: 0; border-radius: 7px; box-shadow: 0 5px 16px rgba(141,0,18,.2); }
    .mobile-category-group { border-top: 1px solid var(--line); }
    .mobile-category-group summary { min-height: 52px; display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 10px; color: var(--navy); font-size: .78rem; font-weight: 800; list-style: none; cursor: pointer; }
    .mobile-category-group summary::-webkit-details-marker { display: none; }
    .mobile-category-group summary .icon { width: 20px; color: var(--blue); }
    .mobile-category-group summary .icon:last-child { width: 15px; color: #98a2b3; transition: transform .2s ease; }
    .mobile-category-group[open] summary .icon:last-child { transform: rotate(90deg); }
    .mobile-category-group a { display: flex; min-height: 43px; align-items: center; justify-content: space-between; padding-left: 38px; color: #475467; font-size: .76rem; }
    .mobile-category-group a .icon { width: 15px; color: #98a2b3; }
    .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: 562px; }
    .hero-slide { background-position: 72% 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) 48%, rgba(2,7,20,.18) 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(6, 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-shell { display: block; margin-bottom: 58px; }
    .carousel-arrow { position: absolute; bottom: -56px; display: grid; width: 44px; height: 44px; }
    .carousel-arrow--left { right: 52px; }
    .carousel-arrow--right { right: 0; }
    .rank-track { grid-template-columns: none; grid-auto-columns: calc((100% - 18px) / 2); overflow-x: auto; overscroll-behavior-inline: contain; }
    .promo-banners__grid { grid-template-columns: 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; }
    .newsletter__feedback { grid-column: auto; margin: 0; text-align: center; }
    .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); max-height: none; 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: 44px; 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)); }
    .favorites-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery__layout { grid-template-columns: 74px minmax(0, 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; }
    .collection-layout { grid-template-columns: 1fr; }
    .collection-summary { position: static; }
    .account-grid { grid-template-columns: 1fr; }
    .photo-manager__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 { width: 132px; }
    .account-link { padding: 5px; }
    .account-link > .icon { width: 26px; height: 26px; }
    .cart-badge { top: -4px; left: 20px; }
    .hero { height: 552px; }
    .hero-slide { background-position: 75% 100%; background-size: auto 55%; background-repeat: no-repeat; }
    .hero-slide::after { background: linear-gradient(180deg, rgba(2,7,20,.98) 0%, rgba(2,7,20,.92) 51%, rgba(2,7,20,.2) 100%); }
    .hero-copy { width: 94%; align-self: flex-start; margin-top: 42px; }
    .hero-copy h1, .hero-copy h2 { font-size: 2.05rem; }
    .hero-copy p { max-width: 330px; }
    .hero-controls { grid-template-columns: 44px 1fr 44px; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 1rem; }
    .section-heading > a { font-size: .65rem; }
    .offers-section:not(.selection-section) .section-heading { align-items: stretch; flex-direction: column; }
    .offers-section:not(.selection-section) .section-heading > a { width: max-content; }
    .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: 168px; padding: 14px 10px 0; }
    .product-card { min-height: 460px; }
    .product-card__body, .catalog-grid .product-card__body { min-height: 290px; padding: 10px 12px 14px; }
    .product-card__name { min-height: 62px; font-size: .76rem; }
    .pix-price { font-size: 1rem; }
    .installments { font-size: .68rem; }
    .buy-button { min-height: 46px; }
    .favorite-button { opacity: 1; width: 34px; height: 34px; }
    .discount-badge { top: 8px; left: 8px; padding: 4px 6px; }
    .rank-track { grid-auto-columns: 78%; gap: 12px; }
    .rank-card { min-height: 385px; }
    .product-media--rank { height: 205px; }
    .promo-banner { min-height: 220px; padding: 24px; }
    .promo-banner > strong { width: 68%; font-size: 1.2rem; }
    .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 { align-items: center; flex-direction: column; gap: 5px; }
    .copyright__legal > 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; }
    .collection-row { grid-template-columns: 82px 1fr; gap: 12px; }
    .collection-row .product-media { width: 72px; height: 72px; }
    .collection-row__actions { grid-column: 1 / -1; justify-content: flex-end; }
    .page-hero h1 { font-size: 1.55rem; }
    .product-page { padding-top: 16px; }
    .product-detail { padding: 15px; }
    .product-gallery__layout { display: flex; flex-direction: column; }
    .product-gallery__layout .gallery-view { order: 1; }
    .gallery-thumbs { order: 2; overflow-x: auto; flex-direction: row; }
    .gallery-main { min-height: 330px; }
    .gallery-main__image { height: 270px; }
    .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; }
    .product-assurances { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
    .photo-manager__intro { align-items: flex-start; flex-direction: column; }
    .photo-panel { padding: 18px; }
    .photo-actions { align-items: stretch; flex-direction: column; }
    .photo-actions .primary-button, .photo-actions .photo-restore { width: 100%; }
}

@media (max-width: 430px) {
    .main-header__inner { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .main-header__inner > *, .account-links, .search, .search input { min-width: 0; }
    .search input { width: 100%; }
    .hero-copy { width: 100%; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(1.8rem, 9vw, 2.05rem); }
    .hero-copy .primary-button { width: 100%; max-width: 310px; }
    .offers-section .product-track, .related-products .product-track { grid-auto-columns: 86%; gap: 12px; }
    .catalog-grid, .favorites-page-grid { grid-template-columns: 1fr; }
    .product-card, .favorites-page-grid .product-card { min-height: 520px; }
    .product-card__image, .catalog-grid .product-card__image { height: 230px; padding: 18px; }
    .product-card__body, .catalog-grid .product-card__body { min-height: 288px; padding: 12px 16px 16px; }
    .product-card__name { min-height: 64px; font-size: .88rem; }
    .promo-banner { min-height: 240px; }
    .promo-banner > strong { width: 78%; }
    .newsletter__form { height: auto; flex-direction: column; overflow: visible; background: transparent; }
    .newsletter__form input, .newsletter__form button { width: 100%; min-height: 48px; border-radius: 6px; }
    .newsletter__form input { background: #fff; }
    .contact-card, .contact-form-card { padding: 20px; }
    .contact-list a { grid-template-columns: 40px minmax(0, 1fr); }
    .contact-list p, .contact-list span, .footer-grid a, .footer-grid span, .breadcrumbs, .product-summary h1 { max-width: 100%; overflow-wrap: anywhere; }
    .account-card { grid-template-columns: 48px minmax(0, 1fr) 18px; gap: 12px; padding: 18px; }
    .account-card > .icon:first-child { width: 48px; height: 48px; padding: 12px; }
    .photo-drop { min-height: 160px; padding: 18px; }
    .photo-current { min-height: 290px; padding: 14px; }
    .photo-current .product-image { height: 250px; }
}

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

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