* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.site-shell { overflow: clip; }
.shell { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.shell-wide { width: min(1600px, 100%); margin-inline: auto; }
.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; }

:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 4px; }

.campaign-bar {
  min-height: 34px;
  padding: 7px 24px;
  background: var(--color-brand);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.campaign-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-marketplace); box-shadow: 0 0 0 4px rgba(255, 230, 0, .2); }
.campaign-bar__hint { color: rgba(255,255,255,.68); font-weight: 600; }

.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-line); position: relative; z-index: 5; }
.header-inner { min-height: 90px; padding-block: 16px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img, .footer-brand img { display: block; width: 112px; height: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; color: var(--color-ink-soft); font-size: 13px; font-weight: 700; }
.desktop-nav a { transition: color .18s ease; }
.desktop-nav a:hover { color: var(--color-brand); }
.header-store-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 9px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); font-size: 12px; font-weight: 800; white-space: nowrap; transition: border-color .18s ease, transform .18s ease; }
.header-store-link:hover { border-color: var(--color-brand); transform: translateY(-1px); }
.header-store-link__mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--color-marketplace); color: var(--color-marketplace-ink); font-size: 9px; font-weight: 800; }

.promo-banner { position: relative; background: var(--color-surface); }
.promo-banner__link { position: relative; display: block; overflow: hidden; }
.promo-banner picture { display: block; }
.promo-banner img { width: 100%; height: auto; aspect-ratio: 16 / 5; display: block; object-fit: cover; object-position: center; }
.promo-banner__cta { position: absolute; right: clamp(18px, 5vw, 72px); bottom: clamp(16px, 4vw, 34px); display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-surface); font-size: 11px; font-weight: 800; box-shadow: var(--shadow-float); transition: transform .18s ease, background .18s ease; }
.promo-banner__link:hover .promo-banner__cta { background: var(--color-brand); transform: translateY(-2px); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--color-brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.eyebrow span { width: 20px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--color-ink-soft); }
.catalog-section h1, .trust-intro h2 { max-width: 650px; margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.055em; line-height: 1.04; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--color-brand); color: var(--color-surface); box-shadow: 0 10px 20px rgba(245, 0, 87, .2); }
.button--primary:hover { background: var(--color-brand-hover); }
.button--quiet { background: var(--color-surface); border: 1px solid var(--color-line); }
.button--quiet:hover { border-color: var(--color-ink); }


.category-rail { background: var(--color-ink); color: var(--color-surface); }
.category-rail__inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.category-rail h2 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; }
.category-rail__items { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.category-rail__items a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.84); font-size: 12px; font-weight: 700; transition: color .18s ease; }
.category-rail__items a:hover { color: var(--color-marketplace); }
.category-rail__items span { color: var(--color-brand); font-size: 10px; }

.catalog-section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(64px, 8vw, 104px); scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.catalog-section h1 { max-width: 570px; font-size: clamp(34px, 4vw, 54px); }
.search-field { width: min(260px, 100%); min-height: 47px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); color: var(--color-ink-soft); }
.search-field svg { width: 18px; flex: 0 0 auto; }
.search-field input { min-width: 0; width: 100%; min-height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--color-ink); font-size: 16px; }
.search-field:focus-within { border-color: var(--color-brand); box-shadow: 0 0 0 4px var(--color-brand-soft); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filter-chip { min-height: 44px; padding: 10px 16px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-soft); font-size: 13px; font-weight: 800; touch-action: manipulation; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.filter-chip:hover { border-color: var(--color-brand); color: var(--color-brand); }
.filter-chip[aria-pressed='true'] { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-surface); }
.catalog-status { min-height: 24px; margin: 24px 0 14px; color: var(--color-ink-soft); font-size: 12px; font-weight: 600; }
.catalog-status:empty { min-height: 0; margin: 10px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(245,0,87,.28); box-shadow: var(--shadow-card); }
.product-card__image-link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #ece9ea; }
.product-card__image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__image { transform: scale(1.03); }
.product-card__badge { position: absolute; top: 11px; left: 11px; max-width: calc(100% - 22px); padding: 5px 9px; border-radius: var(--radius-pill); background: var(--color-marketplace); color: var(--color-marketplace-ink); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.product-card__body { min-height: 185px; display: flex; flex: 1; flex-direction: column; padding: 15px 15px 16px; }
.product-card__category { margin: 0 0 8px; color: var(--color-brand-hover); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card__title { min-height: 42px; margin: 0; color: var(--color-ink); font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -.03em; line-height: 1.4; overflow-wrap: anywhere; }
.product-card__pricing { display: flex; flex-direction: column; gap: 2px; margin-top: 13px; }
.product-card__old-price { color: var(--color-ink-soft); font-size: 11px; text-decoration: line-through; }
.product-card__price-note { color: var(--color-ink-soft); font-size: 12px; }
.product-card__price { color: var(--color-ink); font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.product-card__cta { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--color-brand-hover); font-size: 12px; font-weight: 800; touch-action: manipulation; }
.product-card__cta span:last-child { transition: transform .18s ease; }
.product-card:hover .product-card__cta span:last-child { transform: translateX(4px); }
.catalog-empty { grid-column: 1 / -1; padding: 48px 24px; border: 1px dashed var(--color-line); border-radius: var(--radius-md); background: rgba(255,255,255,.6); text-align: center; }
.catalog-empty strong { display: block; font-family: var(--font-display); font-size: 20px; }
.catalog-empty p { margin: 7px auto 0; color: var(--color-ink-soft); font-size: 13px; }

.trust-section { background: var(--color-brand-hover); color: var(--color-surface); }
.trust-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; padding-top: clamp(68px, 8vw, 100px); padding-bottom: clamp(68px, 8vw, 100px); }
.trust-intro .eyebrow { color: var(--color-marketplace); }
.trust-intro h2 { max-width: 420px; font-size: clamp(34px, 4vw, 54px); }
.trust-intro > p:not(.eyebrow) { max-width: 430px; margin: 24px 0 0; color: rgba(255,255,255,.9); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.56); font-size: 13px; font-weight: 800; }
.trust-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.trust-points article { min-height: 210px; padding: 22px 16px; border-top: 1px solid rgba(255,255,255,.42); }
.trust-icon { display: block; margin-bottom: 46px; color: var(--color-marketplace); font-family: var(--font-display); font-size: 12px; }
.trust-points h3 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.04em; }
.trust-points p { margin: 10px 0 0; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.6; }

.site-footer { background: var(--color-ink); color: var(--color-surface); }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; padding-top: 60px; padding-bottom: 58px; }
.footer-brand p { max-width: 210px; margin: 15px 0 0; color: rgba(255,255,255,.54); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 52px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-label { margin-bottom: 8px; color: var(--color-marketplace); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.68); font-size: 12px; }
.footer-links a:hover { color: var(--color-surface); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.62); font-size: 11px; }

@media (max-width: 980px) {
  .desktop-nav { gap: 17px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { gap: 38px; }
  .trust-points { gap: 10px; }
}

@media (max-width: 767px) {
  .shell { width: min(100% - 32px, var(--content-width)); }
  .campaign-bar { min-height: 30px; gap: 8px; padding: 7px 14px; font-size: 9px; letter-spacing: 0; text-align: center; }
  .campaign-dot { flex: 0 0 6px; width: 6px; height: 6px; }
  .campaign-bar__hint { display: none; }
  .header-inner { min-height: 92px; padding-block: 12px; gap: 16px; }
  .brand img { width: 88px; height: auto; }
  .desktop-nav { display: none; }
  .header-store-link { min-height: 44px; padding: 9px 12px 9px 8px; font-size: 12px; }
  .header-store-link__mark { width: 22px; height: 22px; font-size: 8px; }
  .promo-banner img { aspect-ratio: 1050 / 500; object-fit: cover; object-position: center; }
  .promo-banner__cta { display: none; }
  .category-rail { display: none; }
  .catalog-section { padding-top: 28px; padding-bottom: 48px; }
  .catalog-section .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .section-heading { display: block; }
  .catalog-section h1 { font-size: clamp(27px, 7.4vw, 34px); line-height: 1.12; letter-spacing: -.045em; }
  .search-field { width: 100%; min-height: 48px; margin-top: 20px; }
  .filter-row { position: sticky; top: 0; z-index: 8; flex-wrap: nowrap; overflow-x: auto; margin-top: 14px; padding: 8px 6px; background: var(--color-canvas); scrollbar-width: thin; scrollbar-color: var(--color-line) transparent; }
  .filter-row::-webkit-scrollbar { height: 3px; }
  .filter-row::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--color-line); }
  .filter-chip { flex: 0 0 auto; min-height: 44px; padding: 10px 15px; font-size: 12px; }
  .filter-chip:focus-visible { outline-offset: 2px; }
  .catalog-status { margin: 12px 0; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 12px; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-card__image { transform: none; }
  .product-card__body { min-height: 212px; padding: 12px; }
  .product-card__category { margin-bottom: 6px; font-size: 10px; letter-spacing: .04em; }
  .product-card__title { min-height: 2.6em; font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .product-card__pricing { min-height: 62px; margin-top: auto; padding-top: 8px; justify-content: flex-end; }
  .product-card__price { font-size: 22px; white-space: nowrap; }
  .product-card__price-note { font-size: 11px; }
  .product-card__badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 8px; }
  .product-card__cta { min-height: 52px; gap: 6px; margin-top: 14px; padding: 9px 8px; border-radius: 9px; background: var(--color-brand-hover); color: var(--color-surface); font-size: 12px; line-height: 1.35; text-align: center; justify-content: center; }
  .product-card__cta span:first-child { flex: 1; }
  .product-card__cta span:last-child { flex: 0 0 auto; }
  .product-card:hover .product-card__cta span:last-child { transform: none; }
  .catalog-empty { padding: 32px 16px; }
  .catalog-empty strong { font-size: 18px; }
  .trust-section { background: var(--color-brand-hover); }
  .trust-grid { padding-block: 48px; }
  .trust-intro h2 { font-size: 32px; }
  .trust-intro > p:not(.eyebrow) { font-size: 14px; color: rgba(255,255,255,.9); }
  .text-link { min-height: 44px; font-size: 13px; }
  .trust-grid { grid-template-columns: 1fr; gap: 42px; }
  .trust-points { grid-template-columns: 1fr; gap: 0; }
  .trust-points article { min-height: 0; padding: 20px 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
  .trust-icon { grid-row: span 2; margin: 0; }
  .trust-points p { margin-top: 5px; font-size: 13px; color: rgba(255,255,255,.9); }
  .footer-grid { display: block; padding-top: 48px; padding-bottom: 38px; }
  .footer-links { margin-top: 36px; gap: 28px; }
  .footer-links a { min-height: 44px; padding-block: 10px; font-size: 13px; }
  .footer-bottom { display: block; line-height: 1.8; }
  .footer-bottom > span { display: block; }
}

@media (max-width: 359px) {
  .shell { width: calc(100% - 24px); }
  .campaign-bar { font-size: 8px; padding-inline: 10px; }
  .product-grid { gap: 8px; }
  .product-card__body { padding: 10px; }
  .product-card__title { font-size: 12px; }
  .product-card__cta { font-size: 11px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
