/* GENERATED from tools/catalogo_fuente.html by tools/build_catalogo.py — do not edit by hand */
  :root {
    --bg: #F4F6FA;
    --bg-deep: #FFFFFF;
    --field-line: rgba(15,23,42,0.16);
    --close-bg: #0F172A;
    --panel: #FFFFFF;
    --panel-line: #E4E8ED;
    --ink: #1B222B;
    --ink-soft: #5C6672;
    --paper-shadow: rgba(15,23,42,0.10);
    --accent: #2B79C2;
    --accent-soft: #D9E7F5;

    --lenovo: #E2231A;
    --lenovo-soft: #FBDAD8;
    --samsung: #1428A0;
    --samsung-soft: #DCE1F5;
    --apple: #5B6470;
    --apple-soft: #E7E9EC;

    --android-tag: #1E8E5A;
    --android-tag-soft: #D8F0E2;
    --ipad-tag: #40474F;
    --ipad-tag-soft: #E7E9EC;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }

  * { box-sizing: border-box; }

  button, .filter-select { -webkit-tap-highlight-color: transparent; }

  html, body {
    margin: 0;
    height: 100%;
    background: var(--bg);
    color: var(--panel);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }
  body { color: #0F172A; }

  body {
    min-height: 100%;
    background: radial-gradient(1200px 640px at 8% -12%, rgba(61,139,255,0.10), transparent 60%),
                radial-gradient(900px 560px at 100% 112%, rgba(99,102,241,0.07), transparent 60%),
                var(--bg);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px 0;
  }

  .bg-power {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(70vw, 520px);
    height: min(70vw, 520px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    filter: blur(14px);
  }

  .bg-power svg { width: 100%; height: 100%; }

  #pageContent {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header {
    text-align: center;
    max-width: 640px;
    margin-bottom: 30px;
  }

  .eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #BFE0FF;
    margin: 0 0 12px;
  }

  .brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
  }

  .brand-header svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 6vw, 44px);
    line-height: 1.05;
    margin: 0;
    color: #0F172A;
  }

  header p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #B7C1CC;
    margin: 0;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
  }

  /* Items that belong to the other catalogue (rental / purchase) */
  .category-card[hidden], .field-row[hidden], .filter-row[hidden], .footer-col[hidden], .nav-dropdown a[hidden], .footer-col a[hidden] { display: none !important; }

  .landing[hidden], .catalog-view[hidden] {
    display: none !important;
  }

  /* --- Landing: two big category cards --- */
  .landing {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
  }

  .category-card {
    width: 190px;
    background: var(--panel);
    border: none;
    border-radius: 12px;
    padding: 30px 20px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px var(--paper-shadow);
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
    font-family: inherit;
  }

  .category-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px var(--paper-shadow);
  }

  @media (hover: hover) and (pointer: fine) {
    .category-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 30px var(--paper-shadow);
    }
  }

  .category-card:active { transform: scale(0.97); transition-duration: 120ms; }

  .category-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .category-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .category-icon svg { width: 100%; height: 100%; }

  .category-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
  }

  /* --- Catalog view (after choosing a category) --- */
  .catalog-view {
    width: 100%;
    max-width: 940px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .back-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #334155;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    margin-bottom: 20px;
  }

  .back-btn { transition: color 150ms ease, transform 150ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .back-btn:hover { color: #0F172A; transform: translateX(-2px); } }
  .back-btn:active { transform: scale(0.97); }

  .filter-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
  }

  .filter-label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #BFD3E8;
    white-space: nowrap;
    flex-shrink: 0;
  }

  @media (max-width: 480px) {
    .filter-row { justify-content: flex-start; }
  }

  .filter-row:last-of-type { margin-bottom: 30px; }

  .filter-select {
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #0F172A;
    background: var(--bg-deep) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23475569" stroke-width="2"><path d="M6 9l6 6 6-6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C7CFD8" stroke-width="2"><path d="M6 9l6 6 6-6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center;
    background-size: 16px;
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 9px 40px 9px 16px;
    cursor: pointer;
    min-width: 160px;
    max-width: 100%;
    transition: border-color 0.15s ease;
  }

  .filter-select:hover {
    border-color: var(--accent);
  }

  .filter-select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .filter-select option {
    background: #FFFFFF;
    color: #0F172A;
  }




  .brand-line {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .brand-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
  }

  .brand-badge > svg { display: block; width: 100%; height: 100%; flex: none; }
  .brand-badge.brand-logo { width: 22px; height: 22px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(15,23,42,0.10); padding: 0; overflow: hidden; }
  [data-theme="dark"] .brand-badge.brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
  .brand-logos { display: inline-flex; gap: 3px; flex-shrink: 0; }
  /* Several brands: slightly bigger icons on their own row, the names below on one line */
  .brand-logos:has(> :nth-child(2)) { gap: 5px; }
  .brand-logos:has(> :nth-child(2)) .brand-badge { width: 22px; height: 22px; border-radius: 6px; }
  .brand-line:has(.brand-logos > :nth-child(3)), .pv-brand:has(.brand-logos > :nth-child(3)) { flex-wrap: wrap; row-gap: 5px; }
  .brand-logos:has(> :nth-child(3)) + .brand-name { flex-basis: 100%; font-size: 11px; }
  .brand-badge.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

  .brand-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .cat-chip {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    width: fit-content;
  }

  .card-hint {
    font-size: 11px;
    color: var(--ink-soft);
    opacity: 0.75;
    margin-top: -2px;
  }

  /* --- Detail panel --- */
  .scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 12, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 10;
  }

  .scrim.open { opacity: 1; pointer-events: auto; }

  /* --- Product sheet: a large window, photo on white on the left, choices and details on the right --- */
  .panel {
    position: fixed; z-index: 11; left: 50%; top: 50%;
    width: min(1180px, calc(100vw - 48px));
    height: min(820px, calc(100vh - 48px));
    height: min(820px, calc(100dvh - 48px));
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: #FFFFFF; color: var(--ink); border-radius: 24px; overflow: hidden;
    box-shadow: 0 40px 90px rgba(2,6,23,0.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, -48%) scale(0.97);
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .panel.open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%) scale(1);
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
  }
  html.sheet-open, html.sheet-open body { overflow: hidden; }

  .pv-close {
    position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid #E4E8ED; background: rgba(255,255,255,0.94); color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(15,23,42,0.10);
    transition: transform 150ms var(--ease-out), background-color 150ms ease;
  }
  .pv-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .pv-close:active { transform: scale(0.92); }
  .pv-close:focus-visible { outline: 3px solid #BFE0FF; outline-offset: 2px; }

  .pv-media { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 36px 32px 28px; background: #FFFFFF; border-right: 1px solid #EEF1F5; }
  .pv-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
  .pv-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .pv-stage { position: relative; }
  .pv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E3E8EF; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(15,23,42,0.10); color: #0F172A; }
  .pv-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .pv-prev { left: 12px; }
  .pv-next { right: 12px; }
  @media (hover: hover) and (pointer: fine) { .pv-arrow:hover { border-color: var(--accent); color: var(--accent); } }
  .pv-othumb, .pv-lthumb { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; height: auto; }
  .pv-recos-sub { margin: -4px 0 12px; font-size: 14px; color: var(--ink-soft); }
  .pv-recos-list { display: grid; gap: 10px; }
  .pv-reco { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E4E8ED; border-radius: 14px; background: #FFFFFF; }
  .pv-reco img { width: 64px; height: 48px; object-fit: contain; }
  .pv-reco-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .pv-reco-text strong { font-size: 14px; color: #0F172A; }
  .pv-reco-text span { font-size: 12.5px; color: var(--ink-soft); }
  .pv-reco-add { font: 600 13px/1 'Inter', sans-serif; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--accent); background: #FFFFFF; color: #1B4A78; cursor: pointer; white-space: nowrap; }
  .pv-reco-add.is-added { background: var(--accent-soft); border-color: transparent; }
  @media (hover: hover) and (pointer: fine) { .pv-reco-add:hover { background: var(--accent-soft); } }
  .pv-othumb img, .pv-lthumb img { width: 100%; height: 46px; object-fit: contain; }
  .pv-othumb span, .pv-lthumb span { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.1; }
  .pv-icon { width: min(320px, 70%); }
  .pv-icon svg { width: 100%; height: auto; }
  .pv-thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .pv-thumb {
    width: 64px; height: 64px; padding: 5px; border-radius: 12px; border: 1.5px solid #E4E8ED; background: #FFFFFF; cursor: pointer;
    transition: border-color 150ms ease, transform 150ms var(--ease-out);
  }
  .pv-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .pv-thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  .pv-thumb:active { transform: scale(0.96); }
  .pv-thumb:focus-visible { outline: 3px solid #BFE0FF; outline-offset: 2px; }

  .pv-info { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 40px 40px 32px; }
  .pv-brand { display: flex; align-items: center; gap: 8px; padding-right: 48px; }
  .pv-title { margin: 10px 0 6px; padding-right: 48px; font: 700 30px/1.15 'Inter', sans-serif; letter-spacing: -0.02em; color: #0F172A; overflow-wrap: anywhere; }
  .pv-kind { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); }
  .pv-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #EEF1F5; }
  .pv-mode { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: #1B4A78; font-size: 12.5px; font-weight: 700; }
  .pv-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

  .pv-group { margin-bottom: 20px; }
  .pv-group-label { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
  .pv-group-label strong { color: #0F172A; font-weight: 700; }
  .pv-group-label .pv-pick { color: var(--ink-soft); font-weight: 500; }
  .pv-choices { display: flex; flex-wrap: wrap; gap: 8px; }
  .pv-chip, .pv-color {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 11px;
    border: 1.5px solid #D5DBE3; background: #FFFFFF; color: #0F172A; cursor: pointer;
    font: 600 14px/1.2 'Inter', sans-serif; text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms var(--ease-out);
  }
  .pv-chip[aria-pressed="true"], .pv-color[aria-pressed="true"] { border-color: var(--accent); background: #EEF5FC; box-shadow: inset 0 0 0 1px var(--accent); color: #14467A; }
  .pv-chip:active, .pv-color:active { transform: scale(0.97); }
  .pv-chip:focus-visible, .pv-color:focus-visible { outline: 3px solid #BFE0FF; outline-offset: 2px; }
  .pv-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--sw); border: 1px solid rgba(15,23,42,0.22); box-shadow: inset 0 0 0 2px #FFFFFF; }
  .pv-group.is-missing .pv-chip { border-color: #E6A5A0; }
  .pv-need { margin: 8px 0 0; font-size: 13px; color: #B42318; }
  .pv-need[hidden] { display: none; }

  .pv-buy {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
    margin: 8px 0 30px; padding: 18px; border: 1px solid #E4E8ED; border-radius: 16px; background: #FAFBFC;
  }
  .pv-buy .qty { height: 48px; background: #FFFFFF; }
  .pv-buy .qty button { width: 40px; height: 46px; }
  .pv-buy .pv-add { width: 100%; height: 48px; padding: 0 14px; white-space: nowrap; }
  .pv-buy .panel-added { grid-column: 1 / -1; margin: 0; }

  .pv-section { margin-bottom: 28px; }
  .pv-section h3 { margin: 0 0 10px; font: 700 16px/1.3 'Inter', sans-serif; color: #0F172A; }
  .pv-section p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #334155; }
  .pv-specs-wrap { border: 1px solid #E4E8ED; border-radius: 14px; overflow: hidden; }
  .pv-specs { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
  .pv-specs th, .pv-specs td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #EEF1F5; }
  .pv-specs tr:last-child th, .pv-specs tr:last-child td { border-bottom: 0; }
  .pv-specs th { width: 38%; font-weight: 600; color: #475569; background: #F6F8FA; }
  .pv-specs td { color: #0F172A; overflow-wrap: anywhere; }

  @media (hover: hover) and (pointer: fine) {
    .pv-close:hover { background: #FFFFFF; }
    .pv-thumb:hover { border-color: #94A3B8; }
    .pv-chip:hover, .pv-color:hover { border-color: #94A3B8; }
    .pv-chip[aria-pressed="true"]:hover, .pv-color[aria-pressed="true"]:hover { border-color: var(--accent); }
  }

  /* Phones and small tablets: one column, a sheet that fills the screen */
  @media (max-width: 899px) {
    .panel {
      top: auto; bottom: 0; left: 0; width: 100%; display: block; overflow-y: auto; overscroll-behavior: contain;
      height: calc(100vh - 20px); height: calc(100dvh - 20px); border-radius: 22px 22px 0 0;
      opacity: 1; transform: translateY(100%);
      transition: transform 340ms var(--ease-drawer), visibility 0s linear 340ms;
    }
    .panel.open { transform: none; transition: transform 340ms var(--ease-drawer); }
    .pv-close { position: sticky; top: 12px; display: flex; margin: 12px 12px -54px auto; }
    .pv-media { padding: 20px 16px 16px; border-right: 0; border-bottom: 1px solid #EEF1F5; }
    .pv-stage { flex: none; height: min(42vh, 340px); }
    .pv-thumbs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
    .pv-thumb { flex: none; width: 54px; height: 54px; }
    .pv-info { overflow: visible; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
    .pv-brand, .pv-title { padding-right: 0; }
    .pv-title { font-size: 23px; }
    .pv-buy { position: sticky; bottom: 8px; z-index: 1; background: #FFFFFF; box-shadow: 0 10px 30px rgba(15,23,42,0.14); }
    .pv-specs th { width: 42%; }
  }

  .close-btn {
    background: var(--close-bg);
    color: #F5F7FA;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .close-btn { transition: background-color 150ms ease, transform 150ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .close-btn:hover { background: #000; } }
  .close-btn:active { transform: scale(0.92); }

  .primary-btn {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 150ms ease, transform 160ms var(--ease-out);
  }

  @media (hover: hover) and (pointer: fine) { .primary-btn:hover { background: #1F64A5; transform: translateY(-1px); } }
  /* Dark mode: the lighter blue is too pale under white text; buttons keep the deeper blue */
  [data-theme="dark"] .primary-btn { background: #2B79C2; }
  @media (hover: hover) and (pointer: fine) { [data-theme="dark"] .primary-btn:hover { background: #1F64A5; } }
  .primary-btn:active { transform: scale(0.97); }
  .primary-btn:focus-visible { outline: 3px solid #BFE0FF; outline-offset: 3px; }

  /* --- Rental request modal --- */
  .rent-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: min(460px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--panel);
    color: var(--ink);
    border-radius: 18px;
    padding: 26px 24px 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    z-index: 71;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }

  .rent-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

  .rent-scrim { z-index: 70; }

  /* Title and close button on one line */
  .rent-modal .panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 8px; }

  .rent-modal h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin: 0;
  }

  .rent-modal .lead {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 6px 0 18px;
  }

  .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .field label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
  }

  .field input, .field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: #F5F7FA;
    border: 1.5px solid var(--panel-line);
    border-radius: 10px;
    padding: 10px 12px;
    width: 100%;
  }

  .field textarea { min-height: 90px; resize: vertical; }

  .field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #FFFFFF;
  }

  .field-error { font-size: 12.5px; color: #B42318; margin: -4px 0 12px; min-height: 0; }
  .consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
  .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
  .consent a, .consent-note a, .footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .consent-note { margin: 0 0 12px; font-size: 11.5px; line-height: 1.5; color: var(--mute); }
  /* The request form stays white in dark mode, so its small print keeps a dark grey */
  .rent-modal .consent-note { color: #64748B; }

  /* Same questions as the home page contact form */
  .field label small { font-weight: 500; color: var(--ink-soft); }
  .interest-field { border: 0; padding: 0; min-width: 0; }
  .interest-field legend { padding: 0; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
  .interest-choices { display: flex; flex-wrap: wrap; gap: 8px; }
  .interest-choices label { position: relative; cursor: pointer; }
  .interest-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .interest-choices span {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
    border: 1.5px solid var(--panel-line); background: #F5F7FA; color: var(--ink); font-size: 13.5px; font-weight: 600;
    transition: border-color 150ms ease, background-color 150ms ease;
  }
  .interest-choices input:checked + span { border-color: #2B79C2; background: #EEF5FC; color: #14467A; }
  .interest-choices input:focus-visible + span { outline: 3px solid #BFE0FF; outline-offset: 2px; }
  .hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .rent-modal .primary-btn { width: 100%; margin-top: 4px; }
  .rent-modal .primary-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }


  /* --- Request list: quantity + "Añadir a mi lista" in the sheet, floating "Mi lista" button, list in the form --- */
  .qty { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1.5px solid var(--panel-line); border-radius: 999px; }
  .qty button {
    width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
    font: 700 18px/1 'Inter', sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  }
  .qty button:disabled { opacity: 0.3; cursor: default; }
  .qty button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .qty-n {
    width: 46px; height: 30px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--ink);
    text-align: center; font: 700 15px/1 'Inter', sans-serif; font-variant-numeric: tabular-nums;
    -moz-appearance: textfield; appearance: textfield;
  }
  /* Inside the request form the box must not take the form fields' look */
  .qty input.qty-n { width: 46px; height: 30px; padding: 0; border: 0; border-radius: 7px; background: transparent; font-size: 15px; }
  .qty input.qty-n:focus { background: #FFFFFF; border: 0; box-shadow: 0 0 0 2px var(--accent); }
  .qty-n::-webkit-inner-spin-button, .qty-n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  .qty-n:hover { background: rgba(15,23,42,0.05); }
  .qty-n:focus { outline: none; background: #FFFFFF; box-shadow: 0 0 0 2px var(--accent); }
  /* Phones: 16px so the page does not zoom in when typing */
  @media (max-width: 720px), (pointer: coarse) { .qty-n, .qty input.qty-n { font-size: 16px; } }
  .panel-added { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--android-tag); text-align: center; }
  .panel-added[hidden] { display: none; }
  .link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

  .req-box[hidden] { display: none; }
  .req-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; color: var(--ink); }
  .req-head .link-btn { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
  .req-list { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--panel-line); border-radius: 12px; max-height: 240px; overflow-y: auto; }
  .req-list li { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-top: 1px solid var(--panel-line); }
  .req-list li:first-child { border-top: 0; }
  .req-name { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
  .req-list .qty { border-width: 1px; }
  .req-list .qty button { width: 28px; height: 28px; font-size: 16px; }
  .req-remove {
    flex: 0 0 auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent;
    color: var(--ink-soft); font-size: 15px; cursor: pointer;
  }
  .req-remove:focus-visible { outline: 2px solid var(--accent); }

  /* "Mi lista": cart at the right end of the top bar, always there; the number appears once something is added */
  .nav-cart {
    position: relative; order: 5; flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border-radius: 50%; cursor: pointer;
    display: inline-grid; place-items: center; color: #0F172A; background: #FFFFFF; border: 1px solid rgba(15,23,42,0.18);
    transition: transform 200ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  }
  .nav-cart svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .nav-cart.has-items { color: #FFFFFF; background: #2B79C2; border-color: #2B79C2; }
  .nav-cart-n {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    background: #FFFFFF; color: #1F64A5; border: 2px solid #2B79C2;
    font: 800 12px/1 'Inter', sans-serif; font-variant-numeric: tabular-nums;
    animation: cart-n-in 260ms var(--ease-out);
  }
  .nav-cart-n[hidden] { display: none; }
  @keyframes cart-n-in { from { transform: scale(0.4); opacity: 0; } }
  .nav-cart:active { transform: scale(0.94); }
  .nav-cart:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
  .nav-cart.bump { animation: fab-bump 320ms var(--ease-out); }
  @keyframes fab-bump { 40% { transform: scale(1.12); } }
  @media (hover: hover) and (pointer: fine) {
    .nav-cart:hover { border-color: #0F172A; transform: translateY(-1px); }
    .nav-cart.has-items:hover { background: #1F64A5; border-color: #1F64A5; }
  }
  [data-theme="dark"] .nav-cart { color: #F5F7FA; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.22); }
  [data-theme="dark"] .nav-cart.has-items { color: #FFFFFF; background: #2B79C2; border-color: #2B79C2; }
  [data-theme="dark"] .nav-cart-n { background: #0A1222; color: #FFFFFF; border-color: #3D8BFF; }
  @media (hover: hover) and (pointer: fine) { [data-theme="dark"] .nav-cart:hover { border-color: #F5F7FA; } }
  /* Phones/tablets: between the night-mode button and the menu */
  @media (max-width: 860px) { .nav-cart { order: 3; width: 48px; height: 48px; margin-right: 8px; } .nav-cart svg { width: 23px; height: 23px; } }
  @media (max-width: 720px) { .nav-cart { width: 44px; height: 44px; margin-right: 0; } .nav-cart svg { width: 22px; height: 22px; } .theme-toggle { margin-right: 0; } }
  @media (min-width: 861px) { .nav-cart { margin-left: 2px; } }
  @media (hover: hover) and (pointer: fine) { .req-remove:hover { background: var(--panel-line); color: var(--ink); } }

  .rent-done { text-align: center; padding: 10px 0 4px; }
  .rent-done[hidden], #rentForm[hidden] { display: none; }
  .rent-done-icon {
    width: 56px; height: 56px; margin: 0 auto 14px;
    border-radius: 50%; background: var(--android-tag-soft); color: var(--android-tag);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700;
  }
  .rent-done-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 6px; }
  .rent-done-sub { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 20px; }

  @media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

  /* --- Storage: wide cards, two per row --- */
  /* Cards keep their size (459px); up to 3 per row when the screen is wide enough */
  #viewStorage, #viewTablets, #viewPhones, #viewAccessories, #viewComputers,
  #viewMac, #viewCabins, #viewVideoconf, #viewPrinters, #viewMonitors, #viewConnectivity, #viewBatteries, #viewSound, #viewStationery, #viewProtection, #viewElectric, #viewFilmset, #viewDulling, #viewLighting, #viewEffects, #viewCleaning, #viewMarks, #viewFastening, #viewTapes, #viewBackdrops, #viewOthersound, #viewLavacc, #viewMics { max-width: none; }

  .storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 459px), 459px));
    justify-content: center;
    gap: 22px;
    width: 100%;
  }

  .storage-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #475569;
    font-size: 14px;
    padding: 30px 0;
  }

  .storage-card {
    background: var(--panel);
    color: var(--ink);
    border: 2.5px solid var(--accent);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px var(--paper-shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
  }

  .storage-card.hidden { display: none; }
  .storage-card.search-miss { display: none; }

  /* --- Search: top right of every category, next to "Volver" --- */
  .view-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; width: 100%; }
  .view-top .back-btn { margin-bottom: 0; flex: none; }
  .view-search { position: relative; flex: 1 1 auto; max-width: 380px; margin-left: auto; }

  /* Breadcrumb: Inicio › Alquiler › Category */
  .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font: 500 13.5px/1.3 'Inter', sans-serif; color: #64748B; }
  .crumbs a { color: #2B6FD6; text-decoration: none; border-radius: 4px; transition: color 150ms ease; }
  .crumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .crumbs [aria-current] { color: var(--ink); font-weight: 600; }
  .crumbs-sep { color: #94A3B8; }
  @media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: #0F172A; text-decoration: underline; text-underline-offset: 3px; } }
  [data-theme="dark"] .crumbs { color: #A9B7C8; }
  [data-theme="dark"] .crumbs a { color: #A9C9F5; }
  [data-theme="dark"] .crumbs [aria-current] { color: #F5F7FA; }
  [data-theme="dark"] .crumbs-sep { color: #64748B; }
  @media (hover: hover) and (pointer: fine) { [data-theme="dark"] .crumbs a:hover { color: #FFFFFF; } }
  /* In the header, centred, in place of the big category title */
  .crumbs--head { justify-content: center; gap: 6px 12px; margin: 6px auto 4px; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
  .crumbs--head [aria-current] { font-weight: 700; }
  .crumbs--head[hidden] { display: none; }
  header.in-category #catTitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  @media (max-width: 720px) { .crumbs--head { font-size: 16.5px; gap: 4px 9px; margin-top: 2px; } }
  .vs-input {
    width: 100%; height: 44px; padding: 0 44px 0 42px; border-radius: 999px;
    border: 1px solid var(--field-line); background: #FFFFFF; color: var(--ink);
    font: 500 14.5px/1 'Inter', sans-serif; letter-spacing: -0.005em;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    -webkit-appearance: none; appearance: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
  }
  .vs-input::placeholder { color: #7A8593; opacity: 1; }
  .vs-input::-webkit-search-cancel-button, .vs-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
  .vs-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(43,121,194,0.16), 0 6px 18px rgba(15,23,42,0.06); }
  .vs-icon {
    position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none;
    fill: none; stroke: #7A8593; stroke-width: 2; stroke-linecap: round; transition: stroke 150ms ease;
  }
  .view-search:focus-within .vs-icon { stroke: var(--accent); }
  .vs-kbd {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none;
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--field-line);
    display: inline-flex; align-items: center; justify-content: center;
    font: 600 12px/1 'Inter', sans-serif; color: #64748B; background: rgba(15,23,42,0.03);
  }
  .view-search:focus-within .vs-kbd, .view-search.has-value .vs-kbd { display: none; }
  .vs-clear {
    position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%;
    background: transparent; color: #64748B; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  }
  .vs-clear[hidden] { display: none; }
  .vs-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .vs-clear:focus-visible { outline: 2px solid var(--accent); }

  .vs-pop {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: max(100%, min(420px, calc(100vw - 32px)));
    max-height: min(62vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 6px;
    background: #FFFFFF; color: var(--ink); border: 1px solid var(--panel-line); border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15,23,42,0.16), 0 2px 6px rgba(15,23,42,0.06);
    transform-origin: top right; animation: vs-pop-in 160ms var(--ease-out);
  }
  .vs-pop[hidden] { display: none; }
  @keyframes vs-pop-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
  .vs-pop-head { padding: 8px 10px 6px; font: 700 11px/1 'Inter', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #64748B; }
  .vs-opt { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 11px; cursor: pointer; }
  .vs-opt[aria-selected="true"] { background: var(--accent-soft); }
  .vs-thumb { width: 44px; height: 44px; border-radius: 9px; background: #F4F6FA; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .vs-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .vs-thumb svg { width: 30px; height: 30px; }
  .vs-opt-name { display: block; font: 600 13.5px/1.3 'Inter', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vs-opt-name mark { background: none; color: #1F64A5; font-weight: 800; }
  .vs-opt-cat { display: block; margin-top: 3px; font-size: 12px; color: #64748B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vs-pop-more { padding: 8px 10px 6px; font-size: 12px; color: #64748B; }
  @media (hover: hover) and (pointer: fine) {
    .vs-opt:hover { background: var(--accent-soft); }
    .vs-clear:hover { background: rgba(15,23,42,0.06); color: var(--ink); }
  }

  .vs-status { width: 100%; margin: -8px 0 14px; font-size: 13px; color: #64748B; text-align: right; }
  .vs-status[hidden] { display: none; }
  .vs-empty { grid-column: 1 / -1; text-align: center; padding: 44px 20px; border: 1px dashed var(--field-line); border-radius: 18px; background: rgba(255,255,255,0.6); }
  .vs-empty[hidden] { display: none; }
  .vs-empty-title { margin: 0 0 6px; font: 700 16px/1.35 'Inter', sans-serif; color: var(--ink); overflow-wrap: anywhere; }
  .vs-empty-sub { margin: 0; font-size: 14px; line-height: 1.5; color: #64748B; }
  .vs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 4px; }
  .vs-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--field-line); background: #FFFFFF; color: var(--ink); font: 600 13.5px/1 'Inter', sans-serif;
    transition: border-color 150ms ease, transform 150ms var(--ease-out);
  }
  .vs-chip span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: #1B4A78; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
  .vs-chip:active { transform: scale(0.97); }
  .vs-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (hover: hover) and (pointer: fine) { .vs-chip:hover { border-color: var(--accent); } }

  /* Phones: 16px text so the page does not zoom in when typing */
  @media (max-width: 720px), (pointer: coarse) { .vs-input { font-size: 16px; height: 42px; } }

  [data-theme="dark"] .vs-input { background: rgba(10,18,34,0.62); color: #F5F7FA; border-color: var(--field-line); box-shadow: none; }
  [data-theme="dark"] .vs-input::placeholder { color: #8FA0B6; }
  [data-theme="dark"] .vs-input:focus { border-color: #3D8BFF; box-shadow: 0 0 0 4px rgba(61,139,255,0.22); }
  [data-theme="dark"] .vs-icon { stroke: #8FA0B6; }
  [data-theme="dark"] .vs-kbd { color: #8FA0B6; background: rgba(255,255,255,0.05); }
  [data-theme="dark"] .vs-clear { color: #A9B7C8; }
  [data-theme="dark"] .vs-pop { background: var(--bg-deep); color: #F5F7FA; border-color: var(--line); box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
  [data-theme="dark"] .vs-opt[aria-selected="true"] { background: rgba(61,139,255,0.16); }
  [data-theme="dark"] .vs-thumb { background: #FFFFFF; }
  [data-theme="dark"] .vs-opt-name mark { color: #7FB2FF; }
  [data-theme="dark"] .vs-pop-head, [data-theme="dark"] .vs-opt-cat, [data-theme="dark"] .vs-pop-more, [data-theme="dark"] .vs-status, [data-theme="dark"] .vs-empty-sub { color: #A9B7C8; }
  [data-theme="dark"] .vs-empty { background: rgba(12,20,38,0.6); border-color: var(--line); }
  [data-theme="dark"] .vs-empty-title { color: #F5F7FA; }
  [data-theme="dark"] .vs-chip { background: rgba(255,255,255,0.04); color: #F5F7FA; border-color: var(--line); }
  [data-theme="dark"] .vs-chip span { background: rgba(61,139,255,0.18); color: #BFD9FF; }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .vs-opt:hover { background: rgba(61,139,255,0.16); }
    [data-theme="dark"] .vs-clear:hover { background: rgba(255,255,255,0.08); color: #F5F7FA; }
  }

  /* Model cards (tablets, phones...): same layout as storage cards, clickable */
  button.model-card {
    font: inherit;
    text-align: left;
    padding: 0;
    cursor: pointer;
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }

  button.model-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px var(--paper-shadow);
  }

  .model-card .storage-photo img { transition: transform 300ms var(--ease-out); }

  @media (hover: hover) and (pointer: fine) {
    button.model-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 30px var(--paper-shadow);
    }
    button.model-card:hover .storage-photo img { transform: scale(1.04); }
  }

  button.model-card:active { transform: scale(0.98); transition-duration: 120ms; }

  /* Cards cascade in when a category opens (backwards fill so hover still works afterwards) */
  @keyframes card-in {
    from { opacity: 0; transform: translateY(10px); }
  }

  .catalog-view.is-entering .storage-card {
    animation: card-in 360ms var(--ease-out) backwards;
    animation-delay: calc(min(var(--i, 0), 8) * 40ms);
  }

  button.model-card:focus-visible { outline: 3px solid #BFE0FF; outline-offset: 3px; }

  .model-card .storage-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-card .storage-icon-small { flex-direction: row; justify-content: center; gap: 6px; padding: 8px 6px; }
  .model-card .storage-icon-small svg { width: 18px; height: 18px; flex-shrink: 0; }
  /* A long word ("hidroalcohólico") splits with a hyphen inside its box instead of pushing the icon out */
  .storage-icon span { min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

  .model-card .card-hint { font-size: 11px; color: var(--ink-soft); }

  .storage-photo {
    background: #F3F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
  }

  .storage-photo svg, .storage-photo img { width: 100%; height: 100%; object-fit: contain; }
  .storage-photo { position: relative; }
  .card-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E3E8EF; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; color: #0F172A; box-shadow: 0 3px 10px rgba(15,23,42,0.10); cursor: pointer; }
  .card-arrow svg { width: 16px !important; height: 16px !important; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .card-prev { left: 8px; }
  .card-next { right: 8px; }
  @media (hover: hover) and (pointer: fine) { .card-arrow:hover { border-color: var(--accent); color: var(--accent); } }
  .storage-photo img { max-height: 224px; }

  .storage-info {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }

  .card-lead { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
  .storage-info .brand-line { display: flex; align-items: center; gap: 8px; }
  .storage-info h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
  }
  .storage-info .cat-chip { align-self: flex-start; background: var(--accent-soft); color: #1B4A78; }

  .storage-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
  }

  .storage-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--accent-soft);
    color: #1B4A78;
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
  }

  .storage-icon svg { width: 22px; height: 22px; }
  .storage-icon-wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 8px; padding: 8px 10px; }
  .storage-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-icon span { font-size: 11px; font-weight: 700; line-height: 1.2; }

  @media (max-width: 420px) {
    .storage-card { grid-template-columns: 1fr; }
    .storage-photo { aspect-ratio: 4 / 3; }
  }

  footer {
    margin-top: 44px;
    font-size: 12.5px;
    color: #BFD3E8;
    text-align: center;
  }

  /* ================= Professional theme (archetype "Mouse-Reactive Gradient", brand blue) ================= */
  :root {
    --accent: #3D8BFF;
    --accent-2: #2B6FD6;
    --line: rgba(15,23,42,0.10);
    --mute: #5B6779;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  }

  .bg-power { opacity: 0.05; }

  .scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 60;
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    pointer-events: none;
  }

  /* Navigation: transparent, turns into frosted glass on scroll */
  .site-nav {
    position: sticky;
    top: 12px;
    z-index: 40;
    width: min(1440px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 10px 16px;
    margin-bottom: 28px;
    border-radius: 18px;
    border: 1px solid transparent;
    transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease,
      transform 320ms var(--ease-out), opacity 220ms ease;
    background: rgba(255,255,255,0.86);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  }
  /* Hidden while scrolling down or with a product sheet open */
  .site-nav.nav-hidden { transform: translateY(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
  [data-theme="dark"] .site-nav { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; box-shadow: none; }

  [data-theme="dark"] .site-nav.is-solid {
    background: rgba(9,15,28,0.72);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-color: var(--line);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0F172A;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
  }

  .nav-brand img { width: auto; height: 30px; object-fit: contain; }
  /* Official logo: dark lettering in light mode, white lettering in dark mode */
  .brand-logo--dark { display: none; }
  [data-theme="dark"] .brand-logo--light { display: none; }
  [data-theme="dark"] .brand-logo--dark { display: block; }
  .brand-header .brand-logo { width: auto; height: clamp(46px, 7vw, 64px); }
  .footer-logo .brand-logo { width: auto; height: 34px; }
  /* On the landing the official logo is the heading; inside a category the category name is */
  header:not(.in-category) #catTitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .nav-menu { display: flex; align-items: center; gap: 4px; }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    text-decoration: none;
    font: 500 14px/1 'Inter', sans-serif;
    padding: 11px 13px;
    border-radius: 10px;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .nav-link:hover { color: #0F172A; background: rgba(15,23,42,0.05); }
  }

  .nav-link:focus-visible, .nav-dropdown a:focus-visible, .nav-brand:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

  .nav-chevron { transition: transform 200ms var(--ease-out); }
  .nav-group.open .nav-chevron { transform: rotate(180deg); }

  .nav-cta { margin-left: 8px; padding: 11px 18px; font-size: 14px; }

  .nav-group { position: relative; }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 8px;
    border-radius: 16px;
    background: #FFFFFF;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(15,23,42,0.14);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px) scale(0.98);
    transform-origin: top center;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }

  .nav-group.open .nav-dropdown { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }

  .nav-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #0F172A;
    text-decoration: none;
    font: 600 14px/1.25 'Inter', sans-serif;
    transition: background-color 150ms ease;
  }

  .nav-dropdown a small { display: block; margin-top: 3px; color: var(--mute); font-size: 12px; font-weight: 400; }

  /* Catálogo as a list (built by the code): category, then its subcategories; one column per 15 lines.
     It hangs from the whole bar, so it can be wider than the "Catálogo" button. */
  .nav-group.has-mega { position: static; }
  .nav-dropdown.is-mega {
    width: max-content; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px);
    display: flex; align-items: flex-start; gap: 0 10px; padding: 16px; overflow: auto; overscroll-behavior: contain;
  }
  .mega-col { display: flex; flex-direction: column; gap: 8px; flex: 0 1 max-content; min-width: 110px; max-width: 160px; }
  .mega-cat { display: flex; flex-direction: column; }
  /* One line each; a very long name wraps instead of being cut */
  .nav-dropdown.is-mega a { display: block; padding: 2px 8px; border-radius: 6px; overflow-wrap: anywhere; }
  .nav-dropdown.is-mega .mega-head { padding-block: 4px 3px; font: 700 12.5px/17px 'Inter', sans-serif; color: #0F172A; }
  .nav-dropdown.is-mega .mega-sub { padding-left: 14px; font: 500 11.5px/16px 'Inter', sans-serif; color: #475569; }
  @media (hover: hover) and (pointer: fine) {
    .nav-dropdown.is-mega .mega-sub:hover { color: #0F172A; }
  }

  @media (hover: hover) and (pointer: fine) {
    .nav-dropdown a:hover { background: rgba(61,139,255,0.08); }
  }

  .nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
  }

  .nav-toggle span {
    position: absolute;
    left: 12px; right: 12px;
    height: 2px;
    border-radius: 2px;
    background: #0F172A;
    transition: transform 200ms var(--ease-out), top 200ms var(--ease-out);
  }

  .nav-toggle span:first-child { top: 16px; }
  .nav-toggle span:last-child { top: 24px; }
  .site-nav.menu-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
  .site-nav.menu-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

  @media (max-width: 860px) {
    .nav-toggle { display: block; }
    [data-theme="dark"] .site-nav { background: rgba(9,15,28,0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); }
    .nav-menu {
      position: absolute;
      top: calc(100% + 8px);
      left: 0; right: 0;
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      padding: 10px;
      border-radius: 16px;
      background: #FFFFFF;
      border: 1px solid var(--line);
      box-shadow: 0 24px 60px rgba(15,23,42,0.14);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-6px);
      transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
      max-height: calc(100vh - 100px);
      overflow-y: auto;
    }
    .site-nav.menu-open .nav-menu { opacity: 1; pointer-events: auto; transform: none; }
    .nav-link { justify-content: space-between; padding: 14px; font-size: 15px; }
    .nav-dropdown {
      position: static;
      width: auto;
      grid-template-columns: 1fr;
      transform: none;
      box-shadow: none;
      border: 0;
      background: rgba(15,23,42,0.03);
      display: none;
      opacity: 1;
      pointer-events: auto;
    }
    .nav-group.open .nav-dropdown { display: grid; transform: none; }
    /* Phones: the list in one column inside the menu */
    .nav-dropdown.is-mega { width: auto; max-width: none; max-height: none; padding: 8px; overflow: visible; display: none; }
    .nav-group.open .nav-dropdown.is-mega { display: flex; flex-direction: column; gap: 10px; }
    .mega-col { width: auto; }
    .mega-col { max-width: none; }
    .nav-dropdown.is-mega a { padding-block: 11px; }
    .nav-dropdown.is-mega .mega-head { font-size: 15px; }
    .nav-dropdown.is-mega .mega-sub { font-size: 14px; }
    .nav-cta { margin: 6px 0 0; padding: 14px; }
  }


  /* Catalog header */
  .eyebrow { color: var(--accent-2); letter-spacing: 0.14em; font-size: 12px; }
  h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 7vw, 66px); letter-spacing: -0.01em; }
  header p { color: #475569; }
  header .eyebrow { color: #475569; }

  /* Header inside a category: only the category name, large and centred at the top */
  header.in-category { width: 100%; max-width: none; margin: 0 auto 22px; }
  header.in-category .brand-header { margin: 0; }
  header.in-category .brand-header img { display: none; }
  header.in-category h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #0F172A;
  }
  [data-theme="dark"] header.in-category h1 { color: #F5F7FA; }
  [data-theme="dark"] .back-btn { color: #C7CFD8; background: rgba(255,255,255,0.04); border-color: var(--line); }
  @media (hover: hover) and (pointer: fine) { [data-theme="dark"] .back-btn:hover { color: #F5F7FA; } }

  /* Category cards: dark glass */
  .category-card {
    width: 200px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 10px 26px rgba(15,23,42,0.06);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .category-label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: #0F172A; }

  @media (hover: hover) and (pointer: fine) {
    .category-card:hover {
      border-color: rgba(61,139,255,0.5);
      background: #FFFFFF;
      box-shadow: 0 0 0 1px rgba(61,139,255,0.18), 0 18px 40px rgba(15,23,42,0.12);
    }
  }

  .category-card:focus-visible { outline: 2px solid var(--accent-2); }

  /* --- Landing v2: 5 cards per row across the page; icon tile, name, what it includes, count and arrow --- */
  .landing:has(.cat-v2) {
    --cols: 5; --gap: 18px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
    width: min(1320px, 100%); max-width: none;
  }
  .landing .category-card.cat-v2 {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    width: auto; height: auto; padding: 22px 22px 18px; gap: 0; align-items: flex-start; text-align: left;
    border-radius: 20px; background: #FFFFFF; border: 1px solid #E3E9F2;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.05);
    transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  }
  .landing .cat-v2 .category-icon {
    width: 78px; height: 78px; padding: 13px; margin-bottom: 18px; border-radius: 20px;
    color: #1B4A78; background: linear-gradient(145deg, #EEF5FF 0%, #DCEAFD 100%);
    --ic-fill: rgba(61,139,255,0.16);
    transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
  }
  .landing .cat-v2 .category-icon svg .f { fill: var(--ic-fill); }
  .landing .cat-v2 .category-label { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #0F172A; line-height: 1.2; }
  .landing .cat-v2 .category-sub { margin-top: 6px; font-size: 13.5px; line-height: 1.35; color: #5B6779; }
  .landing .cat-v2 .category-meta {
    margin-top: auto; padding-top: 18px; width: 100%; display: flex; align-items: center; justify-content: space-between;
    justify-content: flex-end; font-size: 12.5px; font-weight: 600; color: #2B79C2;
  }
  .landing .cat-v2 .category-meta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .landing .category-card.cat-v2:hover {
      transform: translateY(-4px); border-color: rgba(61,139,255,0.55);
      box-shadow: 0 0 0 1px rgba(61,139,255,0.15), 0 18px 40px rgba(27,74,120,0.14);
    }
    .landing .cat-v2:hover .category-icon { color: #FFFFFF; background: linear-gradient(145deg, #3D8BFF 0%, #2B79C2 100%); --ic-fill: rgba(255,255,255,0.22); }
    .landing .cat-v2:hover .category-meta svg { transform: translateX(4px); }
  }
  [data-theme="dark"] .landing .category-card.cat-v2 { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.09); box-shadow: none; }
  [data-theme="dark"] .landing .cat-v2 .category-icon { color: #D6E6FF; background: linear-gradient(145deg, rgba(61,139,255,0.22) 0%, rgba(61,139,255,0.10) 100%); --ic-fill: rgba(61,139,255,0.25); }
  [data-theme="dark"] .landing .cat-v2 .category-label { color: #F1F5FB; }
  [data-theme="dark"] .landing .cat-v2 .category-sub { color: #A9B8CC; }
  [data-theme="dark"] .landing .cat-v2 .category-meta { color: #7FB2FF; }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .landing .category-card.cat-v2:hover { background: rgba(61,139,255,0.08); border-color: rgba(61,139,255,0.55); }
  }
  @media (max-width: 1100px) { .landing:has(.cat-v2) { --cols: 4; } }
  @media (max-width: 860px) { .landing:has(.cat-v2) { --cols: 3; --gap: 14px; } }
  /* Phone: 3 smaller cards per row, centred content (long names split with a hyphen) */
  @media (max-width: 640px) {
    .landing:has(.cat-v2) { --cols: 3; --gap: 8px; display: flex; }
    .landing .category-card.cat-v2 { height: auto; padding: 12px 6px 10px; border-radius: 14px; align-items: center; text-align: center; }
    .landing .cat-v2 .category-icon { width: 44px; height: 44px; padding: 8px; margin-bottom: 8px; border-radius: 12px; }
    .landing .cat-v2 .category-label { font-size: 12.5px; text-align: center; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
    .landing .cat-v2 .category-sub { margin-top: 4px; font-size: 10.5px; line-height: 1.3; }
    .landing .cat-v2 .category-meta { display: none; }
    /* A card never grows wider than its column (a long word or the "Sostenible" badge would push the row) */
    .landing .category-card.cat-v2 { min-width: 0; }
    .landing .cat-v2 .eco-badge { max-width: 100%; margin: 4px 0 0; font-size: 8.5px; letter-spacing: 0.02em; padding: 3px 6px 3px 5px; gap: 3px; }
    .landing .cat-v2 .eco-badge svg { width: 10px; height: 10px; }
  }
  @media (max-width: 360px) {
    .landing .cat-v2 .category-label { font-size: 11.5px; letter-spacing: -0.03em; }
    .landing .cat-v2 .category-sub { font-size: 10px; }
  }

  /* Product cards keep their white panel (product photos) with a refined blue frame */
  .storage-card { border: 1.5px solid rgba(61,139,255,0.75); border-radius: 18px; }
  .storage-info h3 { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.015em; }

  /* Filters and back button */
  .filter-label { color: #475569; letter-spacing: 0.08em; font-size: 11.5px; text-shadow: none; }
  .filter-select { background-color: #FFFFFF; border-color: var(--field-line); border-radius: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .back-btn {
    padding: 8px 14px;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 999px;
    background: #FFFFFF;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  /* Footer */
  .site-footer {
    width: min(1440px, 100%);
    margin-top: 80px;
    padding: 48px clamp(20px, 4vw, 48px) 28px;
    border-top: 1px solid var(--line);
    color: #475569;
    text-align: left;
    font-size: 14px;
  }

  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #0F172A; font-size: 17px; }
  .footer-brand p { max-width: 42ch; line-height: 1.6; margin: 0 0 18px; }
  /* Footer: same layout as the home page */
  .footer { width: min(1440px, 100%); margin-top: 80px; padding: 56px clamp(20px, 4vw, 48px) 36px; border-top: 1px solid var(--line); text-align: left; }
  .footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
  .footer .nav-brand img { height: 34px; }
  .footer-contact { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 0; color: #64748B; font-size: 14px; }
  .footer-contact a { color: #1F64A5; font-weight: 600; text-decoration: none; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
  .footer-links a { color: #334155; font-size: 14px; text-decoration: none; }
  .footer-bottom-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 26px; }
  .footer-copy { margin: 0; color: #64748B; font-size: 12.5px; }
  .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
  .footer-legal a, .footer-legal .credits-link { color: #64748B; font-size: 12.5px; text-decoration: none; }
  @media (hover: hover) and (pointer: fine) {
    .footer-contact a:hover { text-decoration: underline; }
    .footer-links a:hover, .footer-legal a:hover { color: #0F172A; }
    .footer-legal a:hover { text-decoration: underline; }
  }
  [data-theme="dark"] .footer-contact, [data-theme="dark"] .footer-copy, [data-theme="dark"] .footer-legal a, [data-theme="dark"] .footer-legal .credits-link { color: #A9B8CC; }
  [data-theme="dark"] .footer-contact a { color: #A9C9F5; }
  [data-theme="dark"] .footer-links a { color: #C9D4E3; }
  @media (hover: hover) and (pointer: fine) { [data-theme="dark"] .footer-links a:hover, [data-theme="dark"] .footer-legal a:hover { color: #FFFFFF; } }
  @media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 18px; } .footer { margin-top: 56px; padding-top: 40px; } }
  .footer-col { display: flex; flex-direction: column; gap: 10px; }
  .footer-col h4 { margin: 0 0 6px; color: #0F172A; font: 600 13px 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
  .footer-col a { color: #475569; text-decoration: none; transition: color 150ms ease; }
  @media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: #0F172A; } }
  .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 12.5px; }

  @media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }

  /* Catalog layout: filters in a sticky left sidebar, always visible while scrolling */
  .catalog-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
  }

  .filter-panel {
    position: sticky;
    top: 96px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
  }

  .filter-panel-title { margin: 0; color: #0F172A; font: 700 12px 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }

  /* Left column: filters + every category of the catalogue (sticky together, scrolls inside if taller than the window) */
  .side-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  @media (min-width: 901px) {
    .side-col { position: sticky; top: 96px; z-index: 5; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 4px; }
    .side-col .filter-panel { position: static; flex: none; }
  }
  .cat-nav {
    flex: none; padding: 14px 10px 10px; border-radius: 18px;
    background: rgba(255,255,255,0.94); border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
  }
  .cat-nav-title {
    display: flex; align-items: center; justify-content: space-between; padding: 0 10px 8px; cursor: pointer; list-style: none;
    color: #0F172A; font: 700 12px 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  }
  .cat-nav-title::-webkit-details-marker { display: none; }
  .cat-nav-title svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform 200ms var(--ease-out); }
  .cat-nav:not([open]) .cat-nav-title { padding-bottom: 4px; }
  .cat-nav:not([open]) .cat-nav-title svg { transform: rotate(0deg); }
  .cat-nav svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .cat-nav-list, .cat-nav-products { list-style: none; margin: 0; padding: 0; }
  .cat-nav-row { display: flex; align-items: center; gap: 2px; border-radius: 10px; }
  .cat-nav-link { flex: 1 1 auto; min-width: 0; padding: 7px 4px 7px 10px; color: #334155; text-decoration: none; font: 500 13.5px/1.3 'Inter', sans-serif; border-radius: 10px; }
  .cat-nav-item.is-current > .cat-nav-row { background: var(--accent-soft); }
  .cat-nav-item.is-current .cat-nav-link { color: #1B4A78; font-weight: 700; }
  .cat-nav-toggle {
    flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #64748B; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .cat-nav-toggle svg { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
  .cat-nav-item.is-open .cat-nav-toggle svg { transform: rotate(90deg); }
  .cat-nav-toggle:focus-visible, .cat-nav-link:focus-visible, .cat-nav-products a:focus-visible, .cat-nav-title:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  /* Unfolding: the panel grows from 0 to its height while the products fade and slide in */
  .cat-nav-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
  .cat-nav-item.is-open > .cat-nav-panel { grid-template-rows: 1fr; }
  .cat-nav-products {
    min-height: 0; overflow: hidden; margin: 0 0 0 14px; padding-left: 8px; border-left: 1px solid var(--line);
    opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease, transform 200ms var(--ease-out), margin 260ms var(--ease-out);
  }
  .cat-nav-item.is-open .cat-nav-products { opacity: 1; transform: none; margin: 2px 0 6px 14px; transition-delay: 60ms, 60ms, 0ms; }
  .cat-nav-row { transition: background-color 200ms ease; }
  /* The whole "Categorías" box (folded on phones) opens the same way where the browser can animate it */
  @supports (interpolate-size: allow-keywords) {
    .cat-nav { interpolate-size: allow-keywords; }
    .cat-nav::details-content { height: 0; overflow: clip; transition: height 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
    .cat-nav[open]::details-content { height: auto; }
  }
  .cat-nav-products a { display: block; padding: 5px 8px; border-radius: 8px; color: #475569; text-decoration: none; font: 400 12.5px/1.35 'Inter', sans-serif; }
  @media (hover: hover) and (pointer: fine) {
    .cat-nav-link:hover, .cat-nav-products a:hover { color: #0F172A; background: rgba(15,23,42,0.05); }
    .cat-nav-toggle:hover { color: #0F172A; background: rgba(15,23,42,0.06); }
  }
  [data-theme="dark"] .cat-nav { background: rgba(12,20,38,0.82); box-shadow: 0 18px 44px rgba(0,0,0,0.3); }
  [data-theme="dark"] .cat-nav-title { color: #FFFFFF; }
  [data-theme="dark"] .cat-nav-link { color: #C7CFD8; }
  [data-theme="dark"] .cat-nav-item.is-current > .cat-nav-row { background: rgba(61,139,255,0.16); }
  [data-theme="dark"] .cat-nav-item.is-current .cat-nav-link { color: #FFFFFF; }
  [data-theme="dark"] .cat-nav-toggle { color: #A9B7C8; }
  [data-theme="dark"] .cat-nav-products a { color: #A9B7C8; }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .cat-nav-link:hover, [data-theme="dark"] .cat-nav-products a:hover { color: #FFFFFF; background: rgba(255,255,255,0.06); }
    [data-theme="dark"] .cat-nav-toggle:hover { color: #FFFFFF; background: rgba(255,255,255,0.08); }
  }
  /* Tablets and phones: one column; the category list starts folded under the filters */
  @media (max-width: 900px) {
    .side-col { display: contents; }
    .cat-nav { border-radius: 14px; padding: 12px 8px 8px; }
    .cat-nav-link, .cat-nav-products a { padding-top: 9px; padding-bottom: 9px; }
    .cat-nav-toggle { width: 40px; height: 40px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cat-nav svg, .cat-nav-panel, .cat-nav-products, .cat-nav-row, .cat-nav::details-content { transition: none !important; }
    .cat-nav-products { transform: none; }
  }

  .filter-panel .filter-row,
  .filter-panel .filter-row:last-of-type {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    width: auto;
  }

  .filter-panel .filter-select { width: 100%; min-width: 0; }

  .filter-reset {
    align-self: flex-start;
    background: none;
    border: 0;
    padding: 4px 0;
    color: #2B6FD6;
    font: 600 13px 'Inter', sans-serif;
    cursor: pointer;
    transition: color 150ms ease;
  }

  @media (hover: hover) and (pointer: fine) { .filter-reset:hover { color: #0F172A; } }

  /* 4 products per row on desktop; cards adapt to the space available */
  .catalog-layout .storage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    container-type: inline-size;
    container-name: cards;
  }

  /* Narrow cards: photo on top, information below */
  .catalog-layout .storage-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .catalog-layout .storage-photo { aspect-ratio: 16 / 10; padding: 10px 8px; }
  .catalog-layout .storage-photo img { max-height: 210px; }
  .catalog-layout .storage-info { padding: 16px 16px 18px; gap: 8px; }
  .catalog-layout .storage-info h3 { font-size: 17px; }

  /* Wide enough for photo-left cards (4 columns of at least ~420px) */
  @container cards (min-width: 1734px) {
    .catalog-layout .storage-card { grid-template-columns: 1fr 1fr; min-height: 260px; }
    .catalog-layout .storage-photo { aspect-ratio: auto; }
    .catalog-layout .storage-photo img { max-height: 224px; }
  }

  /* Accesorios: smaller cards, up to 5 per row on wide screens (always photo on top) */
  @media (min-width: 1200px) {
    .catalog-layout #gridAccessories { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
    #gridAccessories .storage-info { padding: 14px 12px 16px; }
    #gridAccessories .storage-info h3 { font-size: 15.5px; }
  }
  @container cards (min-width: 1734px) {
    #gridAccessories .storage-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    #gridAccessories .storage-photo { aspect-ratio: 16 / 10; }
    #gridAccessories .storage-photo img { max-height: 210px; }
  }

  @media (max-width: 1199px) {
    .catalog-layout .storage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (max-width: 899px) {
    .catalog-layout .storage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  /* Conectividad: only a few products, so bigger cards (2 per row). Photo on the left and information on the right
     only when the cards are wide enough; on narrower screens the photo goes on top, so the boxes never get squeezed. */
  @media (min-width: 900px) {
    .catalog-layout #gridConnectivity { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; container: conngrid / inline-size; }
    @container conngrid (min-width: 900px) {
      #gridConnectivity .storage-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 300px; }
      #gridConnectivity .storage-photo { aspect-ratio: auto; padding: 22px; }
      #gridConnectivity .storage-photo img { max-height: 250px; }
    }
    #gridConnectivity .storage-info { padding: 26px 24px 22px; gap: 12px; justify-content: center; }
    #gridConnectivity .storage-info h3 { font-size: 22px; letter-spacing: -0.02em; }
    #gridConnectivity .storage-icons { gap: 8px; }
    #gridConnectivity .storage-icon { padding: 11px 10px; border-radius: 12px; }
    #gridConnectivity .storage-icon svg { width: 20px; height: 20px; }
    #gridConnectivity .storage-icon span { font-size: 12.5px; }
    #gridConnectivity .storage-info { container: conninfo / inline-size; }
    @container conninfo (max-width: 330px) {
      #gridConnectivity .storage-icon-small { flex-direction: column; gap: 5px; padding: 10px 3px; }
      #gridConnectivity .storage-icon-small span { font-size: 12px; }
    }
    #gridConnectivity .card-hint { font-size: 12px; }
    #gridConnectivity .card-lead { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
  }

  @media (max-width: 640px) {
    .catalog-layout .storage-grid { grid-template-columns: minmax(0, 1fr); }
  }

  @media (max-width: 900px) {
    .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .filter-panel {
      top: 76px;
      flex-direction: row;
      align-items: flex-end;
      gap: 12px;
      padding: 12px;
      overflow-x: auto;
      border-radius: 14px;
    }
    .filter-panel-title { display: none; }
    .filter-panel .filter-row { min-width: 170px; }
    .filter-reset { align-self: center; white-space: nowrap; }

  }

  /* Phones: filters two per row and "Quitar filtros" below, no sideways scrolling */
  @media (max-width: 640px) {
    .filter-panel { flex-wrap: wrap; overflow-x: visible; position: static; }
    .filter-panel .filter-row { min-width: 0; flex: 1 1 calc(50% - 6px); }
    .filter-reset { flex-basis: 100%; }
  }

  /* Featured models slider */
  .featured { width: min(1440px, 100%); margin: 72px 0 72px; }
  .featured-head { text-align: center; margin-bottom: 26px; }
  .featured-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 54px); line-height: 1.05; color: #0F172A; margin: 0 0 10px; }
  .featured-head p:last-child { color: #475569; margin: 0; font-size: 15.5px; }

  .slider {
    position: relative;
    height: clamp(400px, 44vw, 580px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(15,23,42,0.18);
    background: #0B1427;
    outline: none;
    touch-action: pan-y;
  }

  .slider:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease, visibility 0s linear 800ms;
  }

  .slide.is-active { opacity: 1; visibility: visible; transition: opacity 800ms ease; }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7.5s cubic-bezier(.2,.6,.2,1);
  }

  .slide.is-active img { transform: scale(1); }

  .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(7,12,24,0.9) 0%, rgba(7,12,24,0.6) 36%, rgba(7,12,24,0.05) 72%),
      linear-gradient(0deg, rgba(7,12,24,0.65) 0%, transparent 42%);
    pointer-events: none;
  }

  .slide-content {
    position: absolute;
    left: clamp(24px, 5vw, 72px);
    bottom: clamp(64px, 7vw, 100px);
    z-index: 1;
    max-width: 540px;
    color: #FFFFFF;
    opacity: 0;
    translate: 0 16px;
    transition: opacity 600ms var(--ease-out) 150ms, translate 600ms var(--ease-out) 150ms;
  }

  .slide.is-active .slide-content { opacity: 1; translate: none; }

  .slide-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(61,139,255,0.22);
    border: 1px solid rgba(140,194,255,0.35);
    color: #DCEBFF;
    font: 600 12.5px/1 'Inter', sans-serif;
    letter-spacing: 0.04em;
  }

  .slide-content h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.02;
    margin: 16px 0 10px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  }

  .slide-content p { margin: 0 0 22px; color: #DCE6F3; font: 500 17px/1.5 'Inter', sans-serif; }

  .slider-dots {
    position: absolute;
    left: clamp(24px, 5vw, 72px);
    bottom: clamp(24px, 3vw, 36px);
    z-index: 2;
    display: flex;
    gap: 8px;
  }

  .slider-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,0.28);
    overflow: hidden;
    cursor: pointer;
    transition: width 300ms var(--ease-out), background-color 150ms ease;
  }

  .slider-dot.is-active { width: 64px; }
  .slider-dot span { display: block; width: 100%; height: 100%; background: #FFFFFF; transform-origin: 0 50%; transform: scaleX(0); }
  .slider-dot.is-active span { animation: slider-progress 6.5s linear forwards; }
  .slider.is-paused .slider-dot.is-active span { animation-play-state: paused; }
  @keyframes slider-progress { to { transform: scaleX(1); } }

  .slider-nav {
    position: absolute;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 2.6vw, 28px);
    z-index: 2;
    display: flex;
    gap: 8px;
  }

  .slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(9,15,28,0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
  }

  @media (hover: hover) and (pointer: fine) {
    .slider-arrow:hover { background: rgba(61,139,255,0.35); border-color: rgba(140,194,255,0.5); }
  }

  .slider-arrow:active { transform: scale(0.94); }

  @media (max-width: 720px) {
    .slider { height: 540px; }
    .slide::after { background: linear-gradient(0deg, rgba(7,12,24,0.94) 0%, rgba(7,12,24,0.55) 50%, rgba(7,12,24,0) 78%); }
    .slide-content { left: 20px; right: 20px; bottom: 64px; }
    .slider-nav { display: none; }
    .slider-dots { left: 20px; }
  }

  /* Card highlighted when arriving from a featured slide */
  .storage-card.is-highlight { animation: card-highlight 2s var(--ease-out); }
  @keyframes card-highlight {
    0% { box-shadow: 0 0 0 0 rgba(61,139,255,0); }
    18% { box-shadow: 0 0 0 6px rgba(61,139,255,0.65), 0 20px 40px rgba(0,0,0,0.35); }
    100% { box-shadow: 0 0 0 0 rgba(61,139,255,0); }
  }

  /* Photo credits */
  .credits-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(147,166,191,0.4);
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 150ms ease;
  }

  @media (hover: hover) and (pointer: fine) { .credits-link:hover { color: #0F172A; } }

  .credits-scrim { z-index: 30; }

  .credits-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 22px 24px 20px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(15,23,42,0.18);
    color: #475569;
    font-size: 12.5px;
    line-height: 1.6;
    z-index: 31;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  }

  .credits-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
  .credits-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .credits-modal h2 { margin: 0; color: #0F172A; font: 700 16px 'Inter', sans-serif; letter-spacing: -0.01em; }
  .credits-modal p { margin: 14px 0 6px; color: #0F172A; font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
  .credits-modal p.credits-note { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mute); margin-top: 16px; }
  .credits-modal ul { margin: 0; padding-left: 18px; }
  .credits-modal a { color: #2B6FD6; }

  /* Reveal on scroll (content stays visible if JS doesn't run: only hidden once JS is ready) */
  #pageContent.js-ready .reveal {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out),
                transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
                border-color 200ms ease, background-color 200ms ease;
    transition-delay: calc(min(var(--i, 0), 6) * 40ms), calc(min(var(--i, 0), 6) * 40ms), 0s, 0s, 0s, 0s; /* short cascade: everything visible in under 1 s */
  }

  #pageContent.js-ready .reveal.is-visible { opacity: 1; translate: none; }

  /* ================= Theme switch ================= */
  .nav-menu { order: 1; margin-left: auto; }
  .theme-toggle { order: 2; }
  .nav-toggle { order: 3; color: #0F172A; }

  .theme-toggle {
    width: 42px;
    height: 42px;
    margin-left: 8px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: #0F172A;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
  }

  .theme-toggle:active { transform: scale(0.94); }
  .theme-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
  .theme-toggle .icon-moon { display: block; }
  [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
  .theme-toggle .icon-sun { display: none; }
  [data-theme="dark"] .theme-toggle .icon-sun { display: block; }

  @media (max-width: 860px) {
    .theme-toggle { margin-left: auto; margin-right: 8px; }
  }

  /* ================= Dark theme (optional; light is the base) ================= */
  [data-theme="dark"] {
    --bg: #0A1222;
    --bg-deep: #111C33;
    --line: rgba(255,255,255,0.09);
    --mute: #93A6BF;
    --accent-2: #8CC2FF;
    --paper-shadow: rgba(0,0,0,0.35);
    --field-line: rgba(255,255,255,0.16);
    --close-bg: var(--bg-deep);
  }

  [data-theme="dark"] body { background: radial-gradient(1200px 640px at 8% -12%, rgba(61,139,255,0.20), transparent 60%),
                radial-gradient(900px 560px at 100% 112%, rgba(99,102,241,0.16), transparent 60%),
                var(--bg); color: var(--panel); }

  [data-theme="dark"] .bg-power { opacity: 0.10; }

  /* Navigation: always a light frosted bar so it reads over banners */
  [data-theme="dark"] .nav-brand { color: #F5F7FA; }
  [data-theme="dark"] .nav-link { color: #C9D4E3; }
  [data-theme="dark"] .nav-dropdown { background: rgba(12,20,38,0.97); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
  [data-theme="dark"] .nav-dropdown a { color: #E3EAF4; }
  [data-theme="dark"] .nav-dropdown.is-mega .mega-head { color: #F5F7FA; }
  [data-theme="dark"] .nav-dropdown.is-mega .mega-sub { color: #A9B8CC; }
  [data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.04); color: #F5F7FA; }
  [data-theme="dark"] .nav-toggle { background: rgba(255,255,255,0.04); color: revert; }
  [data-theme="dark"] .nav-toggle span { background: #F5F7FA; }

  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .nav-link:hover { color: #FFFFFF; background: rgba(255,255,255,0.06); }
    [data-theme="dark"] .nav-dropdown a:hover { background: rgba(61,139,255,0.12); }
    [data-theme="dark"] .nav-dropdown.is-mega .mega-sub:hover { color: #FFFFFF; }
    .theme-toggle:hover { background: #F1F5FB; }
    [data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,0.04); }
  }

  @media (max-width: 860px) {
    [data-theme="dark"] .nav-menu { background: #0C1426; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
    [data-theme="dark"] .nav-dropdown { background: rgba(255,255,255,0.03); box-shadow: none; }
  }

  /* Catalogue header on the landing page (inside a category it stays white over the banner) */
  [data-theme="dark"] h1 { color: #F5F7FA; }
  [data-theme="dark"] header p { color: #A9B8CC; }
  [data-theme="dark"] header .eyebrow { color: var(--accent-2); }

  /* Category cards */
  [data-theme="dark"] .category-card {
    background: rgba(255,255,255,0.035);
    border-color: var(--line);
    box-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  [data-theme="dark"] .category-label { color: #F1F5FB; }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .category-card:hover {
      background: rgba(61,139,255,0.08);
      border-color: rgba(61,139,255,0.55);
      box-shadow: 0 0 0 1px rgba(61,139,255,0.2), 0 20px 44px rgba(0,0,0,0.35);
    }
  }

  /* Featured slider heading (the slides keep their dark photo overlay) */
  [data-theme="dark"] .featured-head h2 { color: #FFFFFF; }
  [data-theme="dark"] .featured-head p:last-child { color: #A9B8CC; }
  [data-theme="dark"] .slider { box-shadow: 0 30px 80px rgba(0,0,0,0.45); }

  /* Filters */
  [data-theme="dark"] .filter-panel { background: rgba(12,20,38,0.82); box-shadow: 0 18px 44px rgba(0,0,0,0.3); }
  [data-theme="dark"] .filter-panel-title { color: #FFFFFF; }
  [data-theme="dark"] .filter-label { color: #E6EEF8; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
  [data-theme="dark"] .filter-select {
    color: #F5F7FA;
    background-color: rgba(10,18,34,0.62);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C7CFD8" stroke-width="2"><path d="M6 9l6 6 6-6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
  [data-theme="dark"] .filter-select option { background: var(--bg-deep); color: #F5F7FA; }
  [data-theme="dark"] .filter-reset { color: #A9C9F5; }
  [data-theme="dark"] .storage-empty { color: #BFD3E8; }

  /* Sheets and dialogs */
  [data-theme="dark"] .credits-modal { background: #0E1830; color: #A9B8CC; box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
  [data-theme="dark"] .credits-modal h2 { color: #FFFFFF; }
  [data-theme="dark"] .credits-modal p { color: #E3EAF4; }
  [data-theme="dark"] .credits-modal p.credits-note { color: var(--mute); }
  [data-theme="dark"] .credits-modal a { color: #A9C9F5; }

  /* Footer */
  [data-theme="dark"] .site-footer { color: #A9B8CC; }
  [data-theme="dark"] .footer-logo { color: #F5F7FA; }
  [data-theme="dark"] .footer-col h4 { color: #F5F7FA; }
  [data-theme="dark"] .footer-col a { color: #A9B8CC; }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .footer-col a:hover { color: #FFFFFF; }
    [data-theme="dark"] .credits-link:hover { color: #FFFFFF; }
    [data-theme="dark"] .filter-reset:hover { color: #FFFFFF; }
  }

  /* --- Product cards: white photo area, transparent label area --- */
  .catalog-layout .storage-card { background: transparent; }
  .catalog-layout .storage-photo { background: #FFFFFF; }
  /* Dark mode: light text on the page background */
  .catalog-layout .storage-info { color: var(--ink); }
  .catalog-layout .storage-info h3 { color: var(--ink); }
  .catalog-layout .storage-info .brand-name { color: var(--ink-soft); }
  .catalog-layout .model-card .card-hint { color: var(--ink-soft); }
  .catalog-layout .storage-icon { background: var(--accent-soft); color: #1B4A78; }
  /* Light mode: dark text */
  [data-theme="dark"] .catalog-layout .storage-info { color: #F1F5FB; }
  [data-theme="dark"] .catalog-layout .storage-info h3 { color: #F1F5FB; }
  [data-theme="dark"] .catalog-layout .storage-info .brand-name { color: #A9B7C8; }
  [data-theme="dark"] .catalog-layout .model-card .card-hint { color: #8FA0B5; }
  [data-theme="dark"] .card-lead, [data-theme="dark"] #gridConnectivity .card-lead { color: #A9B8CC; }
  [data-theme="dark"] .catalog-layout .storage-icon { background: rgba(61,139,255,0.16); color: #D6E6FF; }

  /* --- Phones: keep a grid instead of one long column --- */
  @media (max-width: 640px) {
    /* Products: 2 per row, compact cards */
    .catalog-layout .storage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .catalog-layout .storage-card { border-radius: 14px; }
    .catalog-layout .storage-photo { aspect-ratio: 4 / 3; padding: 6px; }
    .catalog-layout .storage-photo img { max-height: 130px; }
    .catalog-layout .storage-info { padding: 10px 10px 12px; gap: 6px; }
    .catalog-layout .storage-info h3 { font-size: 14px; line-height: 1.25; }
    .storage-info .brand-line { gap: 6px; }
    .brand-name { font-size: 10px; }
    .storage-icons { gap: 5px; }
    .storage-icon, .model-card .storage-icon-small, .storage-icon-wide { padding: 6px 4px; gap: 4px; border-radius: 8px; }
    .storage-icon svg, .model-card .storage-icon-small svg { width: 14px; height: 14px; }
    .storage-icon span { font-size: 10px; overflow-wrap: anywhere; }
    .card-lead { font-size: 11.5px; line-height: 1.4; }
    .model-card .storage-icon-small { flex-direction: column; }
    .model-card .card-hint { display: none; }
  }

  /* ===== Top bar: bigger, clearer logo and links (same look in light and dark) ===== */
  .site-nav { padding: 14px 14px 14px 24px; gap: 20px; border-radius: 22px; background: rgba(255,255,255,0.94); box-shadow: 0 14px 34px rgba(15,23,42,0.10); }
  [data-theme="dark"] .site-nav, [data-theme="dark"] .site-nav.is-solid {
    background: rgba(9,15,28,0.9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-color: var(--line); box-shadow: 0 14px 34px rgba(0,0,0,0.38);
  }
  .nav-brand img { height: 42px; }
  .nav-link { font-size: 15.5px; color: #1E293B; padding: 12px 15px; }
  [data-theme="dark"] .nav-link { color: #E2E8F0; }
  .nav-cta { padding: 14px 22px; font-size: 15px; }
  .theme-toggle, .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle span { left: 14px; right: 14px; }
  .nav-toggle span:first-child { top: 19px; }
  .nav-toggle span:last-child { top: 27px; }
  .site-nav.menu-open .nav-toggle span:first-child, .site-nav.menu-open .nav-toggle span:last-child { top: 23px; }
  @media (max-width: 860px) { .nav-link { font-size: 16px; } }
  @media (max-width: 720px) {
    .site-nav { padding: 10px 10px 10px 16px; }
    .nav-brand img { height: 36px; }
    .theme-toggle, .nav-toggle { width: 44px; height: 44px; }
    .nav-toggle span:first-child { top: 17px; }
    .nav-toggle span:last-child { top: 25px; }
    .site-nav.menu-open .nav-toggle span:first-child, .site-nav.menu-open .nav-toggle span:last-child { top: 21px; }
  }

  /* Catalogue bar, bigger (11/10): larger logo, links and buttons */
  @media (min-width: 721px) {
    .site-nav { padding: 18px 18px 18px 30px; gap: 22px; border-radius: 26px; }
    .nav-brand img { height: 56px; }
    .nav-link { font-size: 17px; padding: 14px 17px; }
    .theme-toggle, .nav-toggle { width: 54px; height: 54px; border-radius: 14px; }
    .theme-toggle svg { width: 22px; height: 22px; }
    .nav-toggle span:first-child { top: 22px; }
    .nav-toggle span:last-child { top: 30px; }
    .site-nav.menu-open .nav-toggle span:first-child, .site-nav.menu-open .nav-toggle span:last-child { top: 26px; }
  }
  @media (max-width: 720px) {
    .site-nav { gap: 8px; padding: 10px 10px 10px 14px; }
    .nav-brand { min-width: 0; flex: 0 1 auto; }
    .nav-brand img { height: 38px; max-width: 100%; }
    .theme-toggle, .nav-toggle { width: 44px; height: 44px; flex: none; }
    .nav-toggle span:first-child { top: 17px; }
    .nav-toggle span:last-child { top: 25px; }
    .site-nav.menu-open .nav-toggle span:first-child, .site-nav.menu-open .nav-toggle span:last-child { top: 21px; }
  }
  @media (max-width: 360px) { .nav-brand img { height: 32px; } }

  /* Same layout as the home page bar: logo + links on the left, actions and WhatsApp on the right */
  .site-nav { justify-content: flex-start; }
  .nav-menu { order: 1; margin-left: 14px; margin-right: auto; }
  .theme-toggle { order: 2; margin-left: 0; }
  .nav-actions { order: 3; display: flex; align-items: center; gap: 10px; }
  .nav-toggle { order: 4; }
  .nav-actions .nav-cta { margin: 0; }
  .nav-ghost {
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
    font: 700 15px/1 'Inter', sans-serif; color: #0F172A; padding: 13px 22px; border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.18); background: transparent; transition: border-color 150ms ease, background-color 150ms ease;
  }
  [data-theme="dark"] .nav-ghost { color: #F5F7FA; border-color: rgba(255,255,255,0.22); }
  @media (hover: hover) and (pointer: fine) {
    .nav-ghost:hover { border-color: #0F172A; }
    [data-theme="dark"] .nav-ghost:hover { border-color: #F5F7FA; }
  }
  .nav-wa { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: inline-grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 10px 24px -10px rgba(18,140,126,0.8); transition: transform 200ms var(--ease-out), background-color 200ms ease; }
  .nav-wa svg { width: 24px; height: 24px; }
  .nav-wa[aria-expanded="true"] { background: #128C7E; }
  .nav-wa:active { transform: scale(0.92); }
  .nav-wa:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
  @media (hover: hover) and (pointer: fine) { .nav-wa:hover { background: #1EBE5A; transform: translateY(-1px); } }
  .nav-menu-ctas { display: none; }
  @media (min-width: 861px) {
    .nav-actions { gap: 12px; }
    .nav-actions .nav-cta, .nav-actions .nav-ghost { padding: 16px 26px; font-size: 16.5px; }
    .nav-wa { width: 56px; height: 56px; }
    .nav-wa svg { width: 28px; height: 28px; }
  }
  /* Medium screens: everything still fits on one line */
  @media (min-width: 861px) and (max-width: 1240px) {
    .site-nav { gap: 12px; padding: 14px 14px 14px 22px; }
    .nav-brand img { height: 46px; }
    .nav-menu { margin-left: 4px; }
    .nav-link { padding: 12px 10px; font-size: 15.5px; }
    .theme-toggle { width: 48px; height: 48px; }
    .nav-actions { gap: 8px; }
    .nav-actions .nav-cta, .nav-actions .nav-ghost { padding: 13px 17px; font-size: 15px; }
    .nav-wa, .nav-cart { width: 48px; height: 48px; }
    .nav-wa svg { width: 24px; height: 24px; }
  }
  @media (min-width: 861px) and (max-width: 1000px) {
    .site-nav { gap: 8px; padding: 12px 12px 12px 18px; }
    .nav-brand img { height: 38px; }
    .nav-link { padding: 10px 8px; font-size: 14.5px; }
    .theme-toggle, .nav-wa, .nav-cart { width: 42px; height: 42px; }
    .nav-actions { gap: 6px; }
    .nav-actions .nav-cta, .nav-actions .nav-ghost { padding: 11px 13px; font-size: 14px; }
    .nav-wa svg { width: 21px; height: 21px; }
    .nav-cart svg { width: 21px; height: 21px; }
  }
  @media (max-width: 860px) {
    /* phones/tablets: the menu holds Alquila / Compra and WhatsApp floats bottom right */
    .nav-actions { display: none; }
    .theme-toggle { margin-left: auto; }
    .nav-menu { margin: 0; }
    .nav-menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
    .nav-menu-ctas .primary-btn, .nav-menu-ctas .nav-ghost { padding: 14px; font-size: 15px; }
  }

  /* Pages (16 products per page) */
  .storage-card[hidden] { display: none !important; }

  /* "Sostenible" badge: big and green, on the category card and next to the category title */
  .eco-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 13px 6px 10px; border-radius: 999px;
    background: #E6F6EA; color: #11602F; border: 1.5px solid #39A85A;
    font: 800 13px 'Inter', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  }
  .eco-badge svg { width: 18px; height: 18px; flex: none; }
  .eco-badge[hidden] { display: none !important; }
  /* "Pendiente": same shape as "Sostenible", in amber */
  .pending-badge { background: #FFF3D6; color: #8A5300; border-color: #F0A500; }
  [data-theme="dark"] .pending-badge { background: rgba(240,165,0,0.16); color: #FFD27A; border-color: #F0A500; }
  .filter-panel[hidden] { display: none !important; }
  .catalog-layout:has(> .filter-panel[hidden]) { display: block; }
  .pending-notice { grid-column: 1 / -1; margin: 10px auto; max-width: 520px; text-align: center; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
  .pending-notice strong { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }
  .eco-badge--title { margin-top: 12px; padding: 9px 20px 9px 15px; font-size: 17px; gap: 9px; }
  .eco-badge--title svg { width: 24px; height: 24px; }
  header.in-category .brand-header { display: flex; flex-direction: column; align-items: center; }
  .category-card .eco-badge { margin-top: -2px; }
  [data-theme="dark"] .eco-badge { background: rgba(57,168,90,0.16); color: #9BE3B1; border-color: #39A85A; }
  @media (max-width: 720px) {
    .category-card .eco-badge { font-size: 10.5px; padding: 4px 9px 4px 7px; gap: 5px; }
    .category-card .eco-badge svg { width: 14px; height: 14px; }
    .eco-badge--title { font-size: 15px; padding: 7px 16px 7px 12px; }
  }

  /* Colour swatches: products sold in several colours (card and technical sheet) */
  .swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  /* On the cards the dots go right under the product name, all in one row */
  .title-row { display: flex; flex-direction: column; gap: 6px; }
  .card-swatches { flex-wrap: nowrap; overflow: hidden; gap: 5px; padding: 5px; margin: -5px; }
  .card-swatches .swatch-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .swatch {
    width: 18px; height: 18px; border-radius: 50%; background: var(--sw); cursor: pointer; flex: none;
    border: 1px solid rgba(15,23,42,0.22); box-shadow: inset 0 0 0 2px #FFFFFF;
    transition: transform 150ms ease;
  }
  .swatch[aria-pressed="true"] { outline: 2px solid #3D8BFF; outline-offset: 1px; }
  @media (hover: hover) and (pointer: fine) { .swatch:hover { transform: scale(1.12); } }
  .swatch:focus-visible { outline: 2px solid #3D8BFF; outline-offset: 2px; }
  .swatch-name { font-size: 11px; color: var(--ink-soft); margin-left: 2px; }
  [data-theme="dark"] .swatch { border-color: rgba(255,255,255,0.35); box-shadow: inset 0 0 0 2px #0E1830; }
  [data-theme="dark"] .swatch-name { color: #A9B7C8; }
  @media (max-width: 720px) { .swatch { width: 15px; height: 15px; } .swatches { gap: 5px; } }
  .storage-grid { scroll-margin-top: 110px; }
  .pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 6px; grid-column: -2 / -1; }
  .pager[hidden] { display: none; }
  .pager-btn {
    min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; cursor: pointer;
    font: 600 15px/1 'Inter', sans-serif; color: #0F172A; background: #FFFFFF; border: 1px solid var(--line);
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
  }
  .pager-btn[aria-current="page"] { background: #2B79C2; border-color: #2B79C2; color: #FFFFFF; }
  .pager-btn:disabled { opacity: 0.35; cursor: default; }
  .pager-btn:active:not(:disabled) { transform: scale(0.95); }
  .pager-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
  .pager-arrow { font-size: 20px; }
  .pager-info { width: 100%; text-align: center; font-size: 13px; color: var(--mute); margin-top: 2px; }
  [data-theme="dark"] .pager-btn { background: rgba(255,255,255,0.04); color: #F5F7FA; border-color: rgba(255,255,255,0.14); }
  [data-theme="dark"] .pager-btn[aria-current="page"] { background: #2B79C2; border-color: #2B79C2; color: #FFFFFF; }
  @media (hover: hover) and (pointer: fine) {
    .pager-btn:not(:disabled):not([aria-current]):hover { border-color: var(--accent); color: var(--accent-2); }
  }
