:root {
    --ink: #121212;
    --paper: #fffaf4;
    --white: #ffffff;
    --muted: #6d6863;
    --line: #ded8d0;
    --magenta: #e50076;
    --orange: #ff7212;
    --yellow: #ffbd18;
    --soft-pink: #fde4ef;
    --soft-yellow: #fff0b8;
    --max: 1440px;
    --shadow: 0 18px 60px rgba(22, 14, 9, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body:has(.search-drawer:not([hidden])) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.announcement { padding: 8px 16px; background: var(--ink); color: white; text-align: center; font-size: 12px; letter-spacing: .08em; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(18px, 4vw, 64px);
    background: rgba(255, 250, 244, .94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(12px);
}
.site-header.scrolled { border-color: var(--line); }
.brand { width: 160px; max-width: 100%; display: flex; align-items: center; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.main-nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--magenta); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { justify-self: end; display: flex; gap: 8px; align-items: center; }
.icon-button, .cart-link { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-button svg, .cart-link svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-link span { position: absolute; right: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--magenta); color: white; font-size: 10px; font-weight: 700; }
.search-drawer { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: clamp(30px, 6vw, 80px); background: var(--paper); box-shadow: var(--shadow); }
.search-drawer form { max-width: 960px; margin: auto; }
.search-drawer label { display: block; font: 700 clamp(28px, 5vw, 60px)/1 "Manrope", sans-serif; margin-bottom: 32px; }
.search-drawer form div { display: flex; border-bottom: 2px solid var(--ink); }
.search-drawer input { flex: 1; border: 0; background: transparent; padding: 16px 0; font-size: clamp(18px, 3vw, 28px); outline: 0; }
.search-drawer form button { border: 0; background: transparent; font-weight: 700; padding: 16px; cursor: pointer; }
.search-drawer__close { position: absolute; top: 22px; right: 28px; border: 0; background: transparent; font-size: 38px; cursor: pointer; }

.flash { position: fixed; z-index: 80; top: 106px; right: 24px; max-width: 420px; padding: 16px 20px; color: white; box-shadow: var(--shadow); animation: flash-in .25s ease both; }
.flash--sucesso { background: #146b48; }
.flash--erro { background: #a22934; }
.flash--info { background: #333; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }

.home-banners { background: var(--paper); }
.home-banners__slide[hidden], .home-banners__controls[hidden] { display: none; }
.home-banners__image { width: 100%; height: auto; }
.home-banners__controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 10px 20px; }
.home-banners__controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; font-size: 22px; }
.home-banners__controls button:hover { border-color: var(--magenta); color: var(--magenta); }
.home-banners a:focus-visible, .home-banners button:focus-visible { outline: 3px solid var(--magenta); outline-offset: -3px; }
.home-banners__controls span { min-width: 48px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.eyebrow { margin: 0 0 14px; color: var(--magenta); font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; letter-spacing: -.045em; }
.manifesto h2 em { color: var(--magenta); font-style: normal; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 22px; border: 1px solid var(--ink); font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: var(--magenta); border-color: var(--magenta); }
.button--outline { background: transparent; color: var(--ink); }
.button--outline:hover { background: var(--ink); color: white; }
.button--full { width: 100%; }
.button.disabled, .button:disabled { opacity: .45; pointer-events: none; }
.trust-strip { max-width: var(--max); margin: 0 auto; padding: 34px clamp(20px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip div { padding-left: 22px; border-left: 3px solid var(--yellow); }
.trust-strip div:nth-child(2) { border-color: var(--orange); }
.trust-strip div:nth-child(3) { border-color: var(--magenta); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 4px; font-size: 14px; }
.trust-strip span { color: var(--muted); font-size: 12px; }
.setup-notice { max-width: calc(var(--max) - 80px); margin: 30px auto 0; padding: 18px 22px; background: var(--soft-yellow); border-left: 4px solid var(--yellow); }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 140px) clamp(20px, 4vw, 64px); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2, .manifesto h2 { margin: 0; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading--row > a { font-weight: 700; border-bottom: 1px solid; padding-bottom: 4px; }
.category-section { padding-bottom: 30px; }
.category-chips { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-chips a { min-height: 110px; padding: 24px; display: flex; justify-content: space-between; align-items: flex-end; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 clamp(18px, 2vw, 28px)/1.1 "Manrope", sans-serif; transition: background .2s ease, color .2s ease; }
.category-chips a:nth-child(3n+1):hover { background: var(--soft-pink); }
.category-chips a:nth-child(3n+2):hover { background: var(--soft-yellow); }
.category-chips a:nth-child(3n):hover { background: #ffe3d0; }
.category-chips span { font: 500 11px "DM Sans", sans-serif; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 38px) clamp(12px, 2vw, 28px); }
.product-card__image { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #f0ebe5; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(0,0,0,.08); font: 800 100px "Manrope", sans-serif; }
.product-card__tag { position: absolute; top: 12px; left: 12px; padding: 7px 10px; background: var(--magenta); color: white; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card__body { padding-top: 18px; }
.product-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.3; }
.product-card h3 a:hover { color: var(--magenta); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.price del { color: var(--muted); font-size: 13px; }
.price strong { font-size: 17px; }
.empty-state { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); padding: 40px 20px; }
.empty-state > span { color: var(--magenta); font: 800 60px "Manrope", sans-serif; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin: 12px 0; }
.empty-state p { max-width: 600px; color: var(--muted); line-height: 1.6; }
.empty-state .button { margin-top: 16px; }
.manifesto { min-height: 610px; display: grid; place-content: center; text-align: center; padding: 90px 20px; background: var(--yellow); }
.manifesto h2 { max-width: 1050px; }
.manifesto .eyebrow { color: var(--ink); }
.text-link { margin: 32px auto 0; font-weight: 800; border-bottom: 2px solid; padding: 6px 0; }

.catalog-header, .page-header { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(20px, 4vw, 64px) 40px; }
.catalog-header h1, .page-header h1 { margin: 0 0 16px; font-size: clamp(46px, 7vw, 96px); line-height: .96; }
.catalog-header > p:last-child, .page-header > p:last-child { color: var(--muted); }
.catalog-layout { padding-top: 30px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); }
.catalog-filters form { position: sticky; top: 120px; display: grid; gap: 12px; }
.catalog-filters label { margin-top: 10px; font-weight: 700; font-size: 13px; }
input, select { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 0; }
input:focus, select:focus { outline: 2px solid var(--magenta); outline-offset: 1px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); }
.pagination a.active { background: var(--ink); color: white; border-color: var(--ink); }

.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 28px clamp(20px, 4vw, 64px); display: flex; gap: 10px; color: var(--muted); font-size: 12px; overflow: hidden; white-space: nowrap; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-detail { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px) 120px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.product-gallery { min-width: 0; }
.product-gallery [hidden] { display: none !important; }
.product-gallery button:focus-visible, .gallery-modal__viewport:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.product-gallery__stage { position: relative; background: var(--white); border: 1px solid var(--line); }
.product-gallery__open { width: 100%; display: block; padding: 0; border: 0; background: transparent; position: relative; cursor: zoom-in; touch-action: pan-y; }
.product-gallery__open > img { width: 100%; height: clamp(320px, 48vw, 620px); object-fit: contain; }
.product-gallery__hint { position: absolute; bottom: 16px; left: 16px; padding: 8px 12px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 22px; font-size: 12px; font-weight: 700; }
.product-gallery__counter { position: absolute; bottom: 18px; right: 18px; padding: 6px 10px; background: rgba(255,255,255,.94); border-radius: 18px; font-size: 12px; pointer-events: none; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; padding: 0 0 4px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink); font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.gallery-arrow:hover { border-color: var(--magenta); color: var(--magenta); }
.gallery-arrow--previous { left: 12px; }
.gallery-arrow--next { right: 12px; }
.product-gallery__thumbnails { display: flex; gap: 10px; padding: 8px 4px; margin-top: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.product-gallery__thumbnail { flex: 0 0 76px; padding: 3px; border: 2px solid transparent; border-radius: 5px; background: var(--white); cursor: pointer; }
.product-gallery__thumbnail[aria-pressed="true"] { border-color: var(--magenta); }
.product-gallery__thumbnail img { width: 100%; height: 68px; object-fit: contain; }
.product-gallery__empty { min-height: 480px; display: grid; place-items: center; background: #f0ebe5; color: rgba(0,0,0,.08); font: 800 clamp(50px, 8vw, 120px) "Manrope", sans-serif; }
.gallery-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.gallery-modal-open { overflow: hidden; }
.gallery-modal { width: min(1200px, calc(100vw - 48px)); height: calc(100vh - 48px); height: calc(100dvh - 48px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 12px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: var(--shadow); }
.gallery-modal[open] { display: flex; flex-direction: column; }
.gallery-modal::backdrop { background: rgba(15,12,10,.82); }
.gallery-modal__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 10px; flex-shrink: 0; }
.gallery-modal__toolbar h2 { margin: 0 0 3px; font-size: 20px; letter-spacing: -.03em; }
.gallery-modal__toolbar span { color: var(--muted); font-size: 12px; }
.gallery-modal__controls { display: flex; align-items: center; gap: 6px; }
.gallery-modal__controls button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); cursor: pointer; font-size: 24px; }
.gallery-modal__controls button:disabled { opacity: .35; cursor: default; }
.gallery-modal__controls output { min-width: 50px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.gallery-modal__controls .gallery-modal__reset { font-size: 12px; font-weight: 700; }
.gallery-modal__controls .gallery-modal__close { margin-left: 8px; font-size: 28px; background: var(--paper); }
.gallery-modal__help { margin: 0; padding: 0 20px 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gallery-modal__body { position: relative; flex: 1; min-height: 0; padding: 0 64px 16px; }
.gallery-modal__viewport { width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.gallery-modal__canvas { min-width: 100%; min-height: 100%; display: grid; place-items: center; }
.gallery-modal__canvas img { max-width: none; flex: none; object-fit: contain; user-select: none; cursor: zoom-in; }
.gallery-modal__viewport.is-zoomed img { cursor: grab; }
.gallery-modal__viewport.is-dragging img { cursor: grabbing; }
.product-buy { position: sticky; top: 120px; }
.product-buy h1 { margin: 8px 0 22px; font-size: clamp(36px, 4vw, 58px); line-height: 1; }
.price--large strong { font-size: 28px; }
.price--large del { font-size: 16px; }
.installments { color: var(--muted); font-size: 12px; }
.product-summary { margin: 28px 0; line-height: 1.6; }
.buy-form { margin: 32px 0; display: grid; gap: 12px; }
.buy-form label { margin-top: 7px; font-size: 13px; font-weight: 700; }
.product-assurances { margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.product-assurances p { margin: 8px 0; }
.product-assurances strong { color: var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); line-height: 1.7; }

.page-shell { max-width: var(--max); margin: 0 auto; padding: 30px clamp(20px, 4vw, 64px) 120px; }
.category-chips--page { background: var(--paper); }
.content-page { max-width: 900px; display: grid; gap: 48px; }
.content-page section { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.content-page h2 { margin: 0 0 14px; font: 700 clamp(24px, 3vw, 38px)/1.1 "Manrope", sans-serif; }
.content-page p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.logout-form { margin: 0; }
.logout-form button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cart-item { position: relative; display: grid; grid-template-columns: 130px 1fr 86px 110px; gap: 22px; align-items: center; padding: 22px 38px 22px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-of-type { border-top: 1px solid var(--line); }
.cart-item__image { aspect-ratio: 4/5; background: #f0ebe5; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__image span { height: 100%; display: grid; place-items: center; font: 800 44px "Manrope", sans-serif; color: rgba(0,0,0,.12); }
.cart-item h2 { margin: 0 0 6px; font-size: 19px; }
.cart-item p { margin: 4px 0; color: var(--muted); font-size: 13px; }
.cart-item label { font-size: 11px; font-weight: 700; }
.cart-item input { margin-top: 5px; }
.stock-warning { color: #a22934 !important; font-weight: 700; }
.remove-button { position: absolute; right: 0; top: 20px; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.text-button { border: 0; border-bottom: 1px solid; background: transparent; margin-top: 20px; padding: 4px 0; font-weight: 700; cursor: pointer; }
.order-summary { padding: 30px; background: var(--white); border-top: 4px solid var(--magenta); box-shadow: var(--shadow); }
.order-summary h2 { margin: 0 0 26px; font-size: 30px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; margin: 15px 0; font-size: 14px; }
.order-summary hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.order-summary .order-total { font-size: 17px; }
.order-summary .button { margin-top: 22px; }
.order-summary > p:last-child { color: var(--muted); font-size: 11px; line-height: 1.5; }

.account-auth { min-height: calc(100vh - 114px); display: grid; grid-template-columns: 1fr 1fr; }
.account-auth__intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 9vw, 140px); background: var(--yellow); }
.account-auth__intro h1 { margin: 0 0 24px; font-size: clamp(48px, 6vw, 92px); line-height: .95; }
.account-auth__intro .eyebrow { color: var(--ink); }
.account-auth__intro > p:last-child { max-width: 500px; line-height: 1.7; }
.form-card { width: min(540px, calc(100% - 40px)); margin: auto; padding: clamp(30px, 5vw, 66px); background: var(--white); display: grid; gap: 15px; box-shadow: var(--shadow); }
.form-card label, .profile-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.form-card > p { text-align: center; color: var(--muted); font-size: 13px; }
.form-card > p a { color: var(--magenta); font-weight: 700; }
.checkbox { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; font-weight: 400 !important; line-height: 1.45; }
.checkbox input { width: 18px; min-height: 18px; }
.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); padding-top: 90px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav > p { margin: 0 0 24px; }
.account-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.account-nav a.active { color: var(--magenta); font-weight: 700; }
.account-content h1 { margin: 0 0 40px; font-size: clamp(42px, 6vw, 78px); }
.order-card { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); }
.order-card h2 { margin: 3px 0; font-size: 20px; }
.order-card p { margin: 4px 0; color: var(--muted); }
.order-card a { font-weight: 700; }
.profile-form { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-form fieldset { grid-column: 1 / -1; border: 0; padding: 30px 0 0; margin: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); }
.profile-form legend { font: 700 24px "Manrope", sans-serif; padding: 0 0 20px; }
.profile-form .button { justify-self: start; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
.checkout-form { width: 100%; margin: 0; }
.checkout-form h2 { margin: 25px 0 5px; }
.saved-address { margin: 0; padding: 18px; background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.6; }
.saved-address strong { color: var(--ink); }
.saved-address a { color: var(--magenta); font-weight: 700; }
.shipping-options { border: 0; padding: 12px 0; margin: 0; display: grid; gap: 9px; }
.shipping-options legend { margin-bottom: 10px; font-weight: 700; }
.shipping-options label { grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); cursor: pointer; }
.shipping-options label:has(input:checked) { border-color: var(--magenta); background: var(--soft-pink); }
.shipping-options input { width: 18px; min-height: 18px; }
.shipping-options span { display: grid; gap: 3px; }
.shipping-options small { color: var(--muted); font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.order-status { min-height: 520px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.order-status h1 { margin: 0 0 18px; font-size: clamp(48px, 7vw, 92px); }
.order-status strong { font-size: 28px; margin: 15px 0 35px; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 70px clamp(20px, 4vw, 64px) 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer > div { display: flex; flex-direction: column; gap: 10px; }
.site-footer p { margin: 0; }
.footer-brand { color: var(--ink); font: 800 32px "Manrope", sans-serif; letter-spacing: .12em; }
.footer-title { color: var(--ink); font-weight: 800; }
.footer-legal { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: 1fr 400px; gap: 40px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 320px; gap: 35px; }
    .cart-item { grid-template-columns: 100px 1fr 70px; }
    .cart-item > strong { grid-column: 3; }
}

@media (max-width: 760px) {
    .announcement { font-size: 10px; }
    .site-header { height: 70px; grid-template-columns: 1fr auto; padding: 0 14px; }
    .brand { width: 132px; }
    .main-nav { display: none; }
    .header-actions { gap: 0; }
    .icon-button, .cart-link { width: 38px; height: 38px; }
    .trust-strip { grid-template-columns: 1fr; gap: 20px; }
    .category-chips { grid-template-columns: 1fr 1fr; }
    .category-chips a { min-height: 90px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
    .product-card__body { padding-top: 12px; }
    .product-card h3 { font-size: 14px; }
    .price strong { font-size: 15px; }
    .section-heading--row { align-items: start; }
    .manifesto { min-height: 500px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters form { position: static; grid-template-columns: 1fr 1fr; }
    .catalog-filters .button { grid-column: 1 / -1; }
    .product-detail { grid-template-columns: 1fr; padding-bottom: 70px; }
    .product-gallery__open > img { height: clamp(330px, 110vw, 550px); }
    .product-gallery__thumbnail { flex-basis: 64px; }
    .product-gallery__thumbnail img { height: 56px; }
    .product-gallery__empty { min-height: 360px; }
    .gallery-modal { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
    .gallery-modal__toolbar { flex-wrap: wrap; padding: 14px 14px 10px; gap: 10px; }
    .gallery-modal__toolbar h2 { font-size: 17px; }
    .gallery-modal__controls { gap: 3px; }
    .gallery-modal__controls .gallery-modal__reset { display: none; }
    .gallery-modal__controls .gallery-modal__close { margin-left: 3px; }
    .gallery-modal__help { padding: 0 14px 10px; font-size: 11px; }
    .gallery-modal__body { padding: 0 8px 68px; }
    .gallery-modal__body > .gallery-arrow { top: auto; bottom: 10px; transform: none; }
    .gallery-modal__body > .gallery-arrow--previous { left: calc(50% - 52px); }
    .gallery-modal__body > .gallery-arrow--next { right: calc(50% - 52px); }
    .product-buy { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 88px 1fr 70px; gap: 12px; }
    .cart-item > strong { grid-column: 2 / 4; justify-self: end; }
    .account-auth { grid-template-columns: 1fr; }
    .account-auth__intro { padding: 70px 22px; }
    .form-card { margin: 50px auto; }
    .account-layout { grid-template-columns: 1fr; padding-top: 50px; }
    .account-nav { display: grid; grid-template-columns: repeat(3, 1fr); }
    .account-nav > p { grid-column: 1 / -1; }
    .account-nav a { text-align: center; }
    .profile-form, .profile-form fieldset { grid-template-columns: 1fr; }
    .order-card { grid-template-columns: 1fr auto; }
    .order-card a { grid-column: 1 / -1; }
    .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
