/* iPhone Shop - sistema de diseño.
   Orden: 1 Tokens · 2 Base · 3 Tipografía · 4 Layout · 5 Botones · 6 Header y menú
          7 Barra inferior · 8 Secciones de la home · 9 Productos · 10 Catálogo
          11 Ficha · 12 Contenido (service, info) · 13 Footer · 14 Plan canje · 15 Utilidades */

/* ---------- 1. Tokens ---------- */
@font-face {
  font-family: "CF Pro Display";
  src: local("CF Pro Display"), local("CFProDisplay-Regular");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ip-bg: #FFFFFF;
  --ip-surface: #F5F5F7;
  --ip-surface-2: #E8E8ED;
  --ip-border: #D2D2D7;
  --ip-text: #1D1D1F;
  --ip-text-muted: #6E6E73;
  /* Paleta Apple (apple.com): azul de acción #0071E3, hover #0077ED, foco #0071E3 */
  --ip-accent: #0071E3;
  --ip-accent-hover: #0077ED;
  --ip-focus: #0071E3;
  --ip-wa: #157A40;
  --ip-wa-hover: #0F6234;
  --ip-ok: #1E7B4B;
  --ip-warn: #B35C00;
  --ip-danger: #B3261E;

  --font: "CF Pro Display", -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius: 12px;
  --container: 1200px;
  --header-h: 60px;
  --tabbar-h: 68px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  background: var(--ip-bg);
  color: var(--ip-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--ip-focus);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

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

/* ---------- 3. Tipografía ---------- */
h1, h2, h3 {
  margin: 0 0 var(--space-4);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: 36px; line-height: 40px; }
h2 { font-size: 28px; line-height: 34px; }
h3 { font-size: 20px; line-height: 26px; }
p { margin: 0 0 var(--space-4); }

.small { font-size: 13px; line-height: 18px; color: var(--ip-text-muted); }
.muted { color: var(--ip-text-muted); }
.lead { font-size: 18px; line-height: 26px; color: var(--ip-text-muted); max-width: 560px; }

@media (min-width: 768px) {
  h1 { font-size: 56px; line-height: 60px; }
  h2 { font-size: 40px; line-height: 46px; }
  h3 { font-size: 24px; line-height: 30px; }
  .small { font-size: 14px; line-height: 20px; }
}

/* ---------- 4. Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-5); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-6); } }

section { padding: var(--space-7) 0; }
@media (min-width: 1024px) { section { padding: var(--space-9) 0; } }
.section--flush-top { padding-top: 0; }

.page { padding-top: var(--space-6); padding-bottom: var(--space-7); }
.page-block { margin-top: var(--space-7); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: var(--space-3); margin-bottom: var(--space-5);
}
.section-head h2 { margin-bottom: 0; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--ip-text); color: #fff; border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- 5. Botones ---------- */
.icon { width: 20px; height: 20px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 16px/20px var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 100ms;
}
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 6px 14px; font-size: 14px; }

.btn--primary { background: var(--ip-accent); color: #fff; }
.btn--primary:hover { background: var(--ip-accent-hover); }

.btn--secondary { background: #fff; color: var(--ip-accent); border-color: var(--ip-accent); }
.btn--secondary:hover { background: var(--ip-surface); }

.btn--ghost { background: transparent; color: var(--ip-accent); padding-left: 0; padding-right: 0; }
.btn--ghost:hover { text-decoration: underline; }

.btn--wa { background: var(--ip-wa); color: #fff; }
.btn--wa:hover { background: var(--ip-wa-hover); }

.btn[disabled], .btn--disabled {
  background: var(--ip-border); color: #86868B; border-color: transparent;
  cursor: not-allowed; pointer-events: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* En celular los botones de acción ocupan todo el ancho: más fáciles de tocar */
@media (max-width: 539px) {
  .hero .btn-row .btn,
  .cta-band .btn-row .btn,
  .cta-band > .btn,
  .canje-resultado .btn-row .btn { width: 100%; }
}

/* ---------- 6. Header y menú ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ip-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--space-4);
}

.logo {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: 20px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ip-text);
}
/* Marca temporal "IP" hasta tener el logo definitivo */
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ip-accent); color: #fff; font-size: 14px; font-weight: 600;
}

.nav { display: none; gap: var(--space-5); }
.nav a {
  text-decoration: none; font-size: 14px; color: var(--ip-text);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ip-accent); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--ip-border); border-radius: var(--radius);
  color: var(--ip-text); cursor: pointer;
}
.menu-toggle:hover { background: var(--ip-surface); }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: var(--space-3) var(--space-4) var(--space-5);
  background: #fff; border-bottom: 1px solid var(--ip-border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-2);
  border-bottom: 1px solid var(--ip-surface-2);
  text-decoration: none; font-size: 17px; font-weight: 500;
}
.mobile-menu a[aria-current="page"] { color: var(--ip-accent); }
.mobile-menu .btn { width: 100%; margin-top: var(--space-4); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- 7. Barra inferior (celular) ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--ip-border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; padding: 4px 2px; border-radius: var(--radius);
  text-decoration: none; font-size: 11px; line-height: 14px; font-weight: 500;
  color: var(--ip-text-muted);
}
.tabbar .icon { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--ip-accent); }
.tabbar a.is-wa { color: var(--ip-wa); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- 8. Secciones de la home ---------- */
.hero {
  background: var(--ip-surface);
  padding: var(--space-7) 0;
}
.hero__eyebrow { margin-bottom: var(--space-3); }
.hero .btn-row { margin-top: var(--space-5); }
@media (min-width: 1024px) { .hero { padding: var(--space-9) 0; } }

.grid-cats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
}
@media (min-width: 768px) { .grid-cats { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 120px; padding: var(--space-4);
  background: var(--ip-surface); border-radius: var(--radius);
  text-decoration: none; color: var(--ip-text);
  transition: background-color 200ms;
}
.cat-tile:hover { background: var(--ip-surface-2); }
.cat-tile strong { font-size: 17px; font-weight: 600; }
.cat-tile span { font-size: 13px; color: var(--ip-text-muted); }

.benefits { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit h3 { font-size: 18px; line-height: 24px; margin-bottom: var(--space-2); }

.cta-band {
  background: var(--ip-surface); border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
}

/* ---------- 9. Productos (tarjetas) ---------- */
.grid-products {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }
/* En el catálogo hay columna de filtros: una columna menos */
@media (min-width: 640px) { .grid-products--catalog { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-products--catalog { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .grid-products--catalog { grid-template-columns: repeat(4, 1fr); } }
.grid-products > p { grid-column: 1 / -1; }

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ip-border); border-radius: var(--radius);
  overflow: hidden; color: var(--ip-text); text-decoration: none;
  transition: box-shadow 200ms;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.product-card__media {
  aspect-ratio: 1 / 1; background: var(--ip-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--ip-text-muted); font-size: 13px;
}
.product-card__media img, .product-detail__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-card__badges { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.product-card__name { font-size: 17px; font-weight: 600; line-height: 22px; margin: 0; }
.product-card__meta { font-size: 13px; line-height: 18px; color: var(--ip-text-muted); margin: 0; }
.product-card__price { font-size: 20px; font-weight: 600; margin-top: auto; }
.product-card__price small { display: block; font-size: 12px; font-weight: 400; color: var(--ip-text-muted); }

.badge {
  display: inline-flex; align-self: flex-start; align-items: center;
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
}
.badge--ok { background: #E6F4EC; color: var(--ip-ok); }
.badge--warn { background: #FCF0E3; color: var(--ip-warn); }
.badge--muted { background: var(--ip-surface-2); color: var(--ip-text-muted); }

/* ---------- 10. Catálogo con filtros ---------- */
.catalog__top {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  flex-wrap: wrap; margin: var(--space-5) 0 var(--space-4);
}
.catalog__top h1 { margin: 0; }
.catalog { display: grid; gap: var(--space-4); padding: 0 0 var(--space-7); }
@media (min-width: 900px) { .catalog { grid-template-columns: 240px 1fr; gap: var(--space-5); } }

.filters {
  background: var(--ip-surface); border-radius: var(--radius);
  align-self: start;
}
.filters__summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-4);
  font-weight: 600; cursor: pointer; list-style: none;
}
.filters__summary::-webkit-details-marker { display: none; }
.filters__summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ip-text-muted); }
.filters[open] .filters__summary::after { content: "–"; }
.filters__count {
  margin-left: auto; margin-right: var(--space-2);
  min-width: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--ip-accent); color: #fff; font-size: 12px; line-height: 22px; text-align: center;
}
.filters__count[hidden] { display: none; }
.filters__body {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: 0 var(--space-4) var(--space-4);
}
.filters label { display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; font-weight: 500; }
.filters select, .filters input[type="search"] {
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--ip-border);
  border-radius: var(--radius); font: 400 16px var(--font); background: #fff; color: var(--ip-text);
}
.filters .check { flex-direction: row; align-items: center; gap: var(--space-2); min-height: 44px; }
.filters .check input { width: 20px; height: 20px; }
.filters .btn--ghost { align-self: flex-start; }

@media (min-width: 900px) {
  .filters__summary { display: none; }
  .filters__body { padding-top: var(--space-4); }
}

/* ---------- 11. Ficha de producto ---------- */
.product-detail { display: grid; gap: var(--space-6); padding: var(--space-5) 0 var(--space-7); }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-detail h1 { margin-top: var(--space-4); font-size: 36px; line-height: 40px; }
.product-detail__media {
  aspect-ratio: 1 / 1; background: var(--ip-surface); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--ip-text-muted);
}
.product-detail__media img { border-radius: var(--radius); }
.product-detail__price { font-size: 32px; font-weight: 600; margin: var(--space-4) 0 var(--space-2); }
.product-detail__alt { font-size: 14px; color: var(--ip-text-muted); margin-bottom: var(--space-5); }
.product-detail .btn-row { flex-direction: column; }
@media (min-width: 540px) { .product-detail .btn-row { flex-direction: row; } }
.breadcrumb { font-size: 14px; margin: var(--space-5) 0 0; }
.breadcrumb a { color: var(--ip-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb + .product-card__badges { margin-top: var(--space-4); }
.facts { list-style: none; padding: 0; margin: var(--space-5) 0 0; border-top: 1px solid var(--ip-border); }
.facts li { display: flex; justify-content: space-between; gap: var(--space-4); padding: 12px 0; border-bottom: 1px solid var(--ip-border); font-size: 15px; }
.facts li span:first-child { color: var(--ip-text-muted); }
.facts li span:last-child { text-align: right; }

.notice {
  padding: var(--space-4); border-radius: var(--radius);
  background: #FCF0E3; color: var(--ip-warn); font-size: 14px; margin-bottom: var(--space-5);
}
.notice[hidden] { display: none; }

/* ---------- 12. Contenido (service técnico, información) ---------- */
.steps { display: grid; gap: var(--space-4); counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; padding: var(--space-5); background: var(--ip-surface); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ip-accent); color: #fff;
  font-weight: 600; margin-bottom: var(--space-3);
}
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; margin: 0; }
.chips li { padding: 8px 14px; background: var(--ip-surface); border-radius: 999px; font-size: 14px; }

.info-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-block { padding: var(--space-5); border: 1px solid var(--ip-border); border-radius: var(--radius); }
.info-block h3 { font-size: 18px; line-height: 24px; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--ip-surface); padding: var(--space-7) 0 var(--space-5); font-size: 14px; }
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.legal { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--ip-border); color: var(--ip-text-muted); font-size: 12px; }

/* ---------- 14. Plan canje ---------- */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.field label { font-size: 14px; font-weight: 600; color: var(--ip-text); }
.field select {
  font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--ip-border); border-radius: var(--radius); background: #fff; color: var(--ip-text);
}
.field select:disabled { background: var(--ip-surface); color: var(--ip-text-muted); }
.canje-form { max-width: 520px; }
.canje-error {
  max-width: 520px; margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius); background: #FBE9E7; color: var(--ip-danger); font-size: 14px;
}
.canje-error[hidden] { display: none; }
.canje-resultado {
  margin-top: var(--space-6); max-width: 520px; padding: var(--space-5);
  background: var(--ip-surface); border-radius: var(--radius);
}
.canje-resultado[hidden] { display: none; }
.canje-monto { font-size: 32px; line-height: 38px; font-weight: 700; color: var(--ip-text); margin: var(--space-2) 0; }
@media (min-width: 540px) { .canje-monto { font-size: 40px; line-height: 44px; } }
.canje-legal { margin-top: var(--space-5); max-width: 520px; }

/* ---------- 15. Utilidades ---------- */
.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;
}

/* Catálogo y portada: noviembre 2026 */
:root { --ip-border:#e0e3e8; --radius:18px; --ip-surface:#f5f6f8; --ip-text-muted:#626771; }
.btn { border-radius:12px; }
.logo__mark { background:#1d1d1f; }
.hero--shop { background:#f1f3f7; padding:64px 0 44px; overflow:hidden; }
.hero__layout { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:24px; }
.hero__copy { position:relative; z-index:2; }
.hero h1 { font-size:clamp(40px,5.2vw,68px); line-height:1.05; letter-spacing:-.055em; margin:24px 0; }
.hero h1 span { color:var(--ip-accent); }
.hero .lead { max-width:450px; font-size:19px; line-height:1.55; }
.hero__eyebrow { font-size:11px; letter-spacing:.13em; font-weight:600; display:flex; align-items:center; gap:8px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:var(--ip-wa); }
.hero__note { color:var(--ip-text-muted); font-size:12px; margin:24px 0 0; }
.hero__visual { position:relative; height:410px; isolation:isolate; }
.hero__orbit { position:absolute; width:330px; height:330px; border:1px solid #d4dce9; border-radius:50%; left:50%; top:45%; transform:translate(-50%,-50%); box-shadow:0 0 0 35px #e9edf4,0 0 0 36px #dde3ee; }
.phone-art { position:absolute; width:160px; height:320px; border-radius:31px; border:5px solid #4c5260; box-shadow:12px 25px 35px #26324c30; }
.phone-art--back { background:linear-gradient(130deg,#c4d5ee,#718aac); left:14%; top:35px; transform:rotate(-14deg); border-color:#8397b4; }
.camera-art { display:grid; grid-template-columns:repeat(2,29px); gap:7px; padding:12px; }
.camera-art i { width:29px; height:29px; background:#182331; border:4px solid #596e8c; border-radius:50%; box-shadow:inset 0 0 0 2px #080e18; }
.phone-art--front { left:47%; top:36px; transform:rotate(12deg); background:#101a35; border-color:#2e3442; overflow:hidden; }
.phone-art__island { position:absolute; top:8px; left:50%; transform:translateX(-50%); width:48px; height:13px; background:#080b13; border-radius:15px; z-index:2; }
.phone-art__wallpaper { position:absolute; inset:0; background:radial-gradient(ellipse at 10% 80%,#b6c8ff 0,transparent 55%),radial-gradient(ellipse at 95% 10%,#6b93ee 0,transparent 55%),linear-gradient(140deg,#10182e,#456bb4); }
.hero__visual-label { position:absolute; bottom:0; width:100%; text-align:center; font-size:13px; font-weight:500; }
.hero__visual-label small { display:block; font-size:10px; color:var(--ip-text-muted); font-weight:400; }
.shopping-strip { display:grid; grid-template-columns:repeat(3,1fr); padding-top:22px; padding-bottom:22px; border-bottom:1px solid var(--ip-border); gap:20px; }
.shopping-strip span { font-size:12px; color:var(--ip-accent); display:flex; gap:12px; align-items:center; justify-content:center; }
.shopping-strip strong { color:var(--ip-text-muted); font-weight:500; }
h2 { letter-spacing:-.04em; }
.section-kicker { color:var(--ip-text-muted); letter-spacing:.13em; font-size:10px; font-weight:600; margin-bottom:10px; }
.grid-cats { grid-template-columns:repeat(4,1fr); }
.cat-tile { background:white; border:1px solid var(--ip-border); min-height:96px; position:relative; padding:18px; }
.cat-tile:after { content:'↗'; position:absolute; top:13px; right:16px; color:var(--ip-text-muted); }
.cat-tile:hover { border-color:var(--ip-accent); background:var(--ip-surface); }
.product-card { min-width:0; border-color:#e6e8ed; border-radius:20px; }
.product-card__media { text-decoration:none; background:#f4f5f8; }
.product-illustration { width:100%; height:100%; display:flex; align-items:center; flex-direction:column; justify-content:center; color:#597197; padding:18px 8px; }
.product-illustration svg { width:65%; max-height:180px; }
.product-illustration span { font-size:10px; color:var(--ip-text-muted); line-height:1.4; text-align:center; }
.product-card__name a { text-decoration:none; }
.product-card__name a:hover { text-decoration:underline; }
.product-card__body { padding:18px; gap:12px; }
.product-card__price { padding:8px 0; font-size:24px; line-height:1.3; }
.product-card__meta { min-height:36px; }
.product-card__contact { padding:10px 8px; width:100%; font-size:12px; line-height:16px; gap:6px; }
.product-card__contact .icon { width:17px; height:17px; }
.product-card__details { display:flex; align-items:center; justify-content:center; gap:8px; font-size:12px; text-decoration:none; min-height:44px; color:var(--ip-text-muted); }
.product-card__details:hover { color:var(--ip-accent); }
.catalog__top { margin-top:40px; }
.catalog__top h1 { font-size:clamp(32px,4vw,48px); }
.catalog-tools { display:flex; align-items:end; gap:20px; margin:28px 0; }
.catalog-tools label { display:flex; flex-direction:column; gap:8px; font-size:12px; color:var(--ip-text-muted); }
.catalog-search { flex:1; }
.catalog-tools input,.catalog-tools select { width:100%; min-height:48px; border:1px solid var(--ip-border); background:var(--ip-surface); border-radius:12px; padding:12px 16px; font:inherit; font-size:16px; color:var(--ip-text); }
.grid-products--catalog { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(min-width:900px) { .filters { position:sticky; top:80px; } .catalog { grid-template-columns:210px minmax(0,1fr); } }
@media(max-width:899px) { .hero__layout { grid-template-columns:1fr 1fr; } .hero__visual { transform:scale(.85); transform-origin:center; } .hero h1 { font-size:44px; } .grid-products--catalog { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:639px) {
 .hero--shop { padding:36px 0 20px; } .hero__layout { grid-template-columns:1fr; gap:0; }
 .hero h1 { font-size:46px; } .hero .lead { font-size:17px; } .hero__visual { height:335px; transform:scale(.83); margin:-12px -15px -30px; }
 .hero__note { text-align:center; } .hero__eyebrow { font-size:10px; }
 .shopping-strip { gap:8px; } .shopping-strip span { flex-direction:column; gap:4px; text-align:center; font-size:10px; line-height:1.4; }
 .grid-cats { grid-template-columns:repeat(2,1fr); } .cat-tile { min-height:90px; }
 .grid-products,.grid-products--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .product-card__body { padding:12px; gap:8px; } .product-card__price { font-size:21px; } .product-card__name { font-size:16px; }
 .product-card__contact { font-size:11px; } .product-card__contact .icon { display:none; }
 .badge { padding:2px 7px; font-size:10px; } .product-illustration { padding:12px 6px; } .product-illustration span { font-size:9px; }
 .catalog-tools { flex-direction:column; align-items:stretch; gap:12px; } .catalog-sort { align-self:stretch; }
 .section-head .btn { font-size:14px; } h2 { font-size:28px; line-height:1.15; }
}
@media(min-width:900px) and (max-width:1050px) { .nav { gap:14px; } .logo { font-size:18px; } .header-actions .btn { padding:6px 10px; } }

.product-illustration--accessory svg { width:45%; padding:10px; flex:1; max-height:180px; }
