/* ============================================================
   Colectivo Pro 360 — Tienda (e-commerce click & collect)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --color-primary: #7C5CFC;
    --color-secondary: #FF8FB1;
    --color-accent: #3EC9A7;
    --ink: #1a1528;
    --ink-soft: #5c5470;
    --muted: #9490a8;
    --bg: #faf9fc;
    --surface: #ffffff;
    --line: #ebe8f2;
    --ok: #2EAD6B;
    --danger: #E2556B;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(26, 21, 40, .06);
    --shadow: 0 8px 32px rgba(26, 21, 40, .08);
    --shadow-lg: 0 20px 50px rgba(26, 21, 40, .12);
    --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-weight: 600;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; width: 100%; }

/* ── Trust bar ── */
.trust-bar {
    background: var(--ink);
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
}
.trust-bar__inner {
    max-width: var(--max); margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Header ── */
.store-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.store-header__inner {
    max-width: var(--max); margin: 0 auto; padding: 14px 20px;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
}
.store-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 900; font-size: 17px; white-space: nowrap;
}
.store-brand__logo {
    width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 900;
    flex-shrink: 0;
}
.store-brand__logo--img { background: #fff; border: 1px solid var(--line); }
.store-brand__logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 4px; }

.store-search {
    display: flex; align-items: center; gap: 0;
    background: var(--bg); border: 2px solid var(--line);
    border-radius: 999px; overflow: hidden; max-width: 520px; width: 100%; margin: 0 auto;
    transition: border-color .2s, box-shadow .2s;
}
.store-search:focus-within {
    border-color: color-mix(in srgb, var(--color-primary) 50%, var(--line));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 12%, transparent);
}
.store-search input {
    flex: 1; border: none; background: transparent; padding: 11px 18px;
    font: inherit; font-weight: 700; color: var(--ink); outline: none; min-width: 0;
}
.store-search input::placeholder { color: var(--muted); font-weight: 600; }
.store-search button {
    border: none; background: var(--color-primary); color: #fff;
    padding: 11px 18px; font-weight: 800; display: flex; align-items: center; gap: 6px;
}
.store-search button:hover { filter: brightness(1.05); }

.store-actions { display: flex; align-items: center; gap: 10px; }
.store-actions__link {
    display: none; font-weight: 800; font-size: 14px; color: var(--ink-soft);
    padding: 8px 12px; border-radius: 10px;
}
.store-actions__link:hover { color: var(--color-primary); background: var(--bg); }

.cart-pill {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
    transition: transform .15s, box-shadow .15s;
}
.cart-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-pill__badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 20px; height: 20px; border-radius: 999px;
    background: var(--color-accent); color: #fff;
    font-size: 11px; font-weight: 900;
    display: grid; place-items: center; padding: 0 5px;
    border: 2px solid #fff;
}

/* ── Hero tienda ── */
.store-hero {
    padding: 32px 0 24px;
}
.store-hero__banner {
    border-radius: var(--radius-lg);
    background: linear-gradient(125deg, var(--color-primary) 0%, #9b7aff 40%, var(--color-secondary) 100%);
    color: #fff; padding: 36px 32px;
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden; position: relative;
}
.store-hero__banner::after {
    content: ''; position: absolute; right: -40px; top: -40px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.store-hero__banner h1 {
    font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.1;
    letter-spacing: -.5px; position: relative; z-index: 1;
}
.store-hero__banner p {
    margin-top: 10px; font-size: 16px; opacity: .92; max-width: 420px;
    position: relative; z-index: 1;
}
.store-hero__badges {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1;
}
.store-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
    font-size: 12px; font-weight: 800;
}
.store-hero__visual {
    display: grid; place-items: center; position: relative; z-index: 1;
}
.store-hero__visual i { font-size: 88px; opacity: .35; }

/* ── Catálogo layout (sidebar + main) ── */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.store-catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
    padding-bottom: 56px;
    position: relative;
}
.store-main { min-width: 0; }
.store-filter-fab { display: none; }

.store-sidebar {
    position: sticky; top: 88px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.store-sidebar__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; font-size: 15px;
}
.store-sidebar__head strong { display: flex; align-items: center; gap: 8px; }
.store-sidebar__close { display: none; border: none; background: none; font-size: 22px; color: var(--muted); }
.store-sidebar__label {
    font-size: 11px; font-weight: 900; text-transform: uppercase;
    letter-spacing: .06em; color: var(--muted); margin-bottom: 10px;
}
.store-sidebar__block { margin-bottom: 20px; }
.store-sidebar__block .field { margin-bottom: 10px; }
.store-sidebar__block .field label { font-size: 12px; margin-bottom: 4px; }
.store-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.store-sidebar__tip {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px; border-radius: 12px;
    background: color-mix(in srgb, var(--color-accent) 10%, #fff);
    font-size: 12px; color: #0a6847; line-height: 1.45;
}
.store-sidebar__tip i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.store-sidebar-scrim { display: none; }

.store-side-cats { display: flex; flex-direction: column; gap: 4px; }
.store-side-cat {
    display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
    padding: 10px 12px; border-radius: 12px; font-weight: 800; font-size: 13px;
    color: var(--ink-soft); transition: background .12s, color .12s;
}
.store-side-cat:hover { background: var(--bg); color: var(--color-primary); }
.store-side-cat.is-active {
    background: color-mix(in srgb, var(--cat, var(--color-primary)) 12%, #fff);
    color: var(--cat, var(--color-primary));
}
.store-side-cat__icon {
    width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center; font-size: 16px;
    background: color-mix(in srgb, var(--cat, var(--color-primary)) 14%, #fff);
    color: var(--cat, var(--color-primary));
}
.store-side-cat__count {
    font-size: 11px; font-weight: 900; color: var(--muted);
    background: var(--bg); padding: 2px 8px; border-radius: 999px;
}
.store-side-cat.is-active .store-side-cat__count {
    background: rgba(255,255,255,.7); color: var(--cat, var(--color-primary));
}

.store-catalog-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.store-catalog-head__info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-catalog-head__count { font-size: 13px; color: var(--muted); font-weight: 800; }
.store-catalog-head__count b { color: var(--ink); }
.store-catalog-head__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 900; color: var(--ink);
}
.store-crumb i { color: var(--cat, var(--color-primary)); font-size: 22px; }

.store-cat-scroll { margin-bottom: 18px; display: none; }
.store-view-toggle {
    display: inline-flex; border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
}
.store-view-toggle button {
    border: none; background: #fff; padding: 10px 13px; cursor: pointer;
    font-size: 17px; color: var(--muted); transition: background .12s, color .12s;
}
.store-view-toggle button.is-active { background: var(--ink); color: #fff; }
.store-view-toggle button:hover:not(.is-active) { color: var(--color-primary); }

.store-sort--inline .select { min-width: 170px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); font-weight: 800; font-size: 13px; }
.store-load-more-wrap { text-align: center; padding: 8px 0 32px; }

/* ── Categorías (chips) — móvil ── */
.store-toolbar {
    display: none;
}

.cat-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 999px;
    border: 2px solid var(--line); background: var(--surface);
    font-weight: 800; font-size: 13px; color: var(--ink-soft);
    transition: all .15s; white-space: nowrap;
}
.cat-chip i { font-size: 16px; }
.cat-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cat-chip.is-active {
    background: var(--ink); border-color: var(--ink); color: #fff;
}

/* ── Grid productos ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-tile {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    position: relative;
}
.product-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--color-primary) 30%, var(--line));
}
.product-tile.is-soldout { opacity: .72; }
.product-tile.is-soldout:hover { transform: none; }

.product-tile__media {
    position: relative; aspect-ratio: 1;
    background: linear-gradient(160deg, #f3f0ff 0%, #fff0f5 100%);
    overflow: hidden; display: block;
}
.product-tile__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.product-tile:hover .product-tile__media img { transform: scale(1.06); }
.product-tile__placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-size: 52px;
}
.product-tile__cat {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 10px; border-radius: 8px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
    font-size: 10px; font-weight: 900; text-transform: uppercase;
    letter-spacing: .04em; color: var(--cat, var(--color-primary));
}
.product-tile__soldout {
    position: absolute; inset: 0; z-index: 3;
    display: grid; place-items: center;
    background: rgba(26, 21, 40, .45); color: #fff;
    font-weight: 900; font-size: 14px; letter-spacing: .04em;
}
.product-tile__quick {
    position: absolute; inset: auto 0 0 0; z-index: 2;
    padding: 14px; background: linear-gradient(transparent, rgba(26,21,40,.55));
    opacity: 0; transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}
.product-tile__quick-label {
    display: inline-flex; align-items: center; gap: 6px;
    color: #fff; font-size: 12px; font-weight: 900;
}
.product-tile:hover .product-tile__quick { opacity: 1; transform: none; }

.product-tile__body { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-tile__top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.product-tile__vendor {
    font-size: 11px; font-weight: 800; color: var(--muted);
    display: inline-flex; align-items: center; gap: 4px;
}
.product-tile__name {
    font-weight: 900; font-size: 15px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-tile__name:hover { color: var(--color-primary); }
.product-tile__price-row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 6px;
}
.product-tile__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.product-tile__price { font-size: 19px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.product-tile__stock { font-size: 10px; color: var(--danger); font-weight: 900; white-space: nowrap; }

.product-tile__actions { padding: 0 14px 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.btn-add {
    border: none; border-radius: 12px; padding: 12px;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .15s, transform .15s; width: 100%;
}
.btn-add:hover { background: var(--color-primary); transform: translateY(-1px); }
.btn-add--disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn-view {
    border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
    background: var(--surface); color: var(--ink-soft); font-weight: 800;
    display: grid; place-items: center; font-size: 18px;
}
.btn-view:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Vista lista */
.product-grid[data-store-view="list"] {
    display: flex; flex-direction: column; gap: 10px;
}
.product-grid[data-store-view="list"] .product-tile {
    flex-direction: row; align-items: stretch; border-radius: var(--radius);
}
.product-grid[data-store-view="list"] .product-tile:hover { transform: none; }
.product-grid[data-store-view="list"] .product-tile__media {
    width: 140px; min-width: 140px; aspect-ratio: 1; flex-shrink: 0;
    border-radius: var(--radius) 0 0 var(--radius);
}
.product-grid[data-store-view="list"] .product-tile__quick { display: none; }
.product-grid[data-store-view="list"] .product-tile__body {
    padding: 16px 18px; justify-content: center;
}
.product-grid[data-store-view="list"] .product-tile__name {
    -webkit-line-clamp: 3; font-size: 16px;
}
.product-grid[data-store-view="list"] .product-tile__actions {
    padding: 16px; width: 180px; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    border-left: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, #fff);
}
.product-grid[data-store-view="list"] .product-tile__actions .btn-view { display: none; }

/* Vista compacta */
.product-grid[data-store-view="compact"] {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.product-grid[data-store-view="compact"] .product-tile { border-radius: var(--radius); }
.product-grid[data-store-view="compact"] .product-tile__media { aspect-ratio: 1; }
.product-grid[data-store-view="compact"] .product-tile__cat,
.product-grid[data-store-view="compact"] .product-tile__vendor,
.product-grid[data-store-view="compact"] .product-tile__sku,
.product-grid[data-store-view="compact"] .product-tile__quick { display: none; }
.product-grid[data-store-view="compact"] .product-tile__body { padding: 10px 12px 8px; }
.product-grid[data-store-view="compact"] .product-tile__name { font-size: 13px; -webkit-line-clamp: 2; }
.product-grid[data-store-view="compact"] .product-tile__price { font-size: 16px; }
.product-grid[data-store-view="compact"] .product-tile__actions {
    padding: 0 10px 10px; grid-template-columns: 1fr;
}
.product-grid[data-store-view="compact"] .product-tile__actions .btn-view { display: none; }
.product-grid[data-store-view="compact"] .btn-add { padding: 9px; font-size: 12px; }

/* ── Botones globales ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 14px; font-weight: 800; font-size: 15px;
    border: 2px solid transparent; cursor: pointer; font-family: inherit;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--color-primary); box-shadow: var(--shadow); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.05); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 11px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ── Empty state ── */
.store-empty {
    text-align: center; padding: 72px 24px;
    background: var(--surface); border-radius: var(--radius-lg);
    border: 2px dashed var(--line); margin-bottom: 48px;
}
.store-empty__icon {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px;
    background: color-mix(in srgb, var(--color-primary) 12%, #fff);
    display: grid; place-items: center; font-size: 36px; color: var(--color-primary);
}
.store-empty h2 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.store-empty p { color: var(--muted); max-width: 400px; margin: 0 auto 20px; font-size: 15px; }

/* ── Alerts ── */
.alert {
    padding: 14px 18px; border-radius: 14px; margin: 16px 0;
    font-weight: 700; font-size: 14px;
    display: flex; gap: 10px; align-items: flex-start;
}
.alert i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.alert--ok { background: #e6f9f1; color: #0a6847; border: 1px solid #b8ecd8; }
.alert--error { background: #fdeef1; color: #9b2c42; border: 1px solid #f5c6d0; }
.alert--info { background: #f0ecff; color: #4a3a8c; border: 1px solid #ddd4ff; }

/* ── Product detail ── */
.pdp { padding: 24px 0 56px; }
.pdp__crumb { margin-bottom: 20px; }
.pdp__crumb a {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 800; font-size: 14px; color: var(--muted);
}
.pdp__crumb a:hover { color: var(--color-primary); }
.pdp__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.pdp__gallery {
    border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(160deg, #f3f0ff, #fff0f5);
    border: 1px solid var(--line);
}
.pdp__gallery-main { aspect-ratio: 1; background: #fff; }
.pdp__gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__gallery-thumbs {
    display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto;
    border-top: 1px solid var(--line); background: #fff;
}
.pdp__thumb {
    flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 2px solid var(--line);
    border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--bg);
}
.pdp__thumb.is-active { border-color: var(--color-primary); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp__gallery-main video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.pdp__video-embed { width: 100%; height: 100%; background: #000; }
.pdp__video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.pdp__thumb--video { position: relative; display: grid; place-items: center; background: #1a1528; }
.pdp__thumb-play { color: #fff; font-size: 22px; line-height: 1; }
.hide { display: none !important; }
.pdp__gallery-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    font-size: 100px; color: color-mix(in srgb, var(--color-primary) 25%, #ccc);
}
.pdp__cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 900;
    text-transform: uppercase; letter-spacing: .04em;
    background: color-mix(in srgb, var(--color-primary) 10%, #fff);
    color: var(--color-primary); margin-bottom: 12px;
}
.pdp__title { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.15; letter-spacing: -.3px; }
.pdp__price { font-size: 32px; font-weight: 900; margin: 16px 0; }
.pdp__stock { font-size: 14px; color: var(--ok); font-weight: 800; margin-bottom: 16px; }
.pdp__desc { color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; white-space: pre-wrap; }
.pdp__buy {
    background: var(--bg); border-radius: var(--radius-lg); padding: 20px;
    border: 1px solid var(--line);
}
.pdp__qty {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.qty-control {
    display: inline-flex; align-items: center;
    border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
    background: var(--surface);
}
.qty-control button {
    border: none; background: transparent; width: 40px; height: 40px;
    font-size: 18px; font-weight: 900; color: var(--ink);
}
.qty-control button:hover { background: var(--bg); }
.qty-control input {
    width: 48px; border: none; text-align: center; font: inherit;
    font-weight: 900; font-size: 16px; background: transparent;
    -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp__pickup {
    margin-top: 16px; padding: 14px; border-radius: 12px;
    background: color-mix(in srgb, var(--color-accent) 12%, #fff);
    font-size: 13px; font-weight: 700; color: #0a6847;
    display: flex; gap: 10px; align-items: flex-start;
}

/* ── Carrito ── */
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: 28px; font-weight: 900; }
.page-head p { color: var(--muted); margin-top: 4px; }

.cart-layout {
    display: grid; grid-template-columns: 1fr 340px; gap: 24px;
    padding-bottom: 56px; align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
    display: grid; grid-template-columns: 88px 1fr auto; gap: 16px;
    align-items: start; padding: 16px;
    background: var(--surface); border-radius: var(--radius);
    border: 1px solid var(--line);
}
.cart-item__info { min-width: 0; }
.cart-item__qty { margin-top: 10px; width: fit-content; }
.cart-items__update { margin-top: 12px; }
.cart-item__remove-form { margin: 10px 0 0; padding: 0; }
.cart-item__remove {
    border: none; background: none; color: var(--danger);
    font-weight: 800; font-size: 13px; display: inline-flex; gap: 5px; align-items: center;
    padding: 4px 0; cursor: pointer; font-family: inherit;
}
.cart-item__remove:hover { text-decoration: underline; }
.cart-item__remove i { font-size: 16px; }
.cart-item__thumb {
    width: 88px; height: 88px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(160deg, #f3f0ff, #fff0f5);
    display: grid; place-items: center; font-size: 28px; color: var(--muted);
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 900; font-size: 15px; }
.cart-item__price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-item__sub { font-weight: 900; font-size: 16px; text-align: right; padding-top: 4px; }

.cart-summary {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--line);
    position: sticky; top: 100px;
}
.cart-summary h2 { font-size: 18px; font-weight: 900; margin-bottom: 16px; }
.summary-line {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 8px 0; font-size: 14px;
}
.summary-line.total {
    font-size: 20px; font-weight: 900; margin-top: 12px; padding-top: 16px;
    border-top: 2px solid var(--line);
}
.summary-line.total span:last-child { color: var(--color-primary); }

.checkout-grid {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px;
    padding-bottom: 56px; align-items: start;
}
.card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 28px; border: 1px solid var(--line);
}
.card h2 { font-size: 18px; font-weight: 900; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--ink-soft); }
.field .req { color: var(--danger); }
.input, .select, .textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    border: 2px solid var(--line); font: inherit; font-weight: 700;
    background: var(--surface); transition: border-color .15s;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 12%, transparent);
}
.textarea { min-height: 96px; resize: vertical; }

.status-banner {
    border-radius: var(--radius); padding: 18px 20px; margin: 20px 0;
    font-weight: 800; display: flex; gap: 10px; align-items: center;
}
.status-banner.pendiente { background: #fff8e6; color: #8a6500; border: 1px solid #ffe08a; }
.status-banner.confirmado { background: #f0ecff; color: #4a3a8c; border: 1px solid #ddd4ff; }
.status-banner.listo { background: #e6f9f1; color: #0a6847; border: 1px solid #b8ecd8; }
.status-banner.entregado { background: #e8f0ff; color: #2a4d8c; }
.status-banner.cancelado { background: #f5f4f7; color: #666; }

/* ── Footer ── */
.store-footer {
    margin-top: auto; border-top: 1px solid var(--line);
    background: var(--surface); padding: 32px 0;
}
.store-footer__inner {
    max-width: var(--max); margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted);
}
.store-footer a { color: var(--color-primary); font-weight: 800; }
.store-footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (min-width: 768px) {
    .store-actions__link { display: inline-flex; }
}
@media (max-width: 1024px) {
    .store-catalog { grid-template-columns: 1fr; gap: 0; }
    .store-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
        width: min(100%, 320px); border-radius: 0;
        transform: translateX(-105%); transition: transform .25s ease;
        overflow-y: auto; box-shadow: var(--shadow-lg);
    }
    .store-sidebar.is-open { transform: none; }
    .store-sidebar__close { display: grid; place-items: center; }
    .store-sidebar-scrim {
        display: none; position: fixed; inset: 0; z-index: 199;
        background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px);
    }
    .store-sidebar-scrim.is-open { display: block; }
    .store-filter-fab {
        display: inline-flex; align-items: center; gap: 8px;
        position: fixed; bottom: 88px; left: 16px; z-index: 120;
        padding: 12px 18px; border-radius: 999px; border: none;
        background: var(--ink); color: #fff; font-weight: 900; font-size: 14px;
        box-shadow: var(--shadow-lg);
    }
    .store-cat-scroll { display: flex; }
    .cat-scroll {
        display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
        scrollbar-width: none; width: 100%; max-width: 100%; min-width: 0;
    }
    .cat-scroll::-webkit-scrollbar { display: none; }
}
@media (max-width: 900px) {
    .hide-mobile { display: none; }
    .store-header__inner { grid-template-columns: auto 1fr; }
    .store-search { grid-column: 1 / -1; order: 3; max-width: none; }
    .store-hero__banner { grid-template-columns: 1fr; padding: 28px 24px; }
    .store-hero__visual { display: none; }
    .pdp__grid, .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .product-grid:not([data-store-view="list"]) {
        grid-template-columns: repeat(2, 1fr); gap: 12px;
    }
    .product-grid[data-store-view="list"] .product-tile { flex-direction: column; }
    .product-grid[data-store-view="list"] .product-tile__media { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
    .product-grid[data-store-view="list"] .product-tile__actions {
        width: auto; border-left: none; border-top: 1px solid var(--line);
        flex-direction: row; padding: 12px;
    }
    .product-tile__body { padding: 12px; }
    .product-tile__price { font-size: 17px; }
    .product-tile__actions { padding: 0 12px 12px; grid-template-columns: 1fr; }
    .btn-view { display: none; }
    .store-catalog-head__tools { width: 100%; justify-content: space-between; }
    .store-crumb { font-size: 17px; }
    .mobile-cart-bar { display: flex; }
    body { padding-bottom: 64px; }
    .toast-stack { bottom: 76px; }
    .store-filter-fab { bottom: 80px; }
}
@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* ── Hero mejorado ── */
.store-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
    background: rgba(255,255,255,.22); font-size: 12px; font-weight: 900;
    position: relative; z-index: 1;
}
.store-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; position: relative; z-index: 1; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { box-shadow: var(--shadow-lg); }
.btn--ghost-hero { background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.45); color: #fff; }
.btn--ghost-hero:hover { background: rgba(255,255,255,.25); }
.store-hero__card {
    background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
    border-radius: var(--radius-lg); padding: 28px; text-align: center;
    border: 1px solid rgba(255,255,255,.25); min-width: 180px;
}
.store-hero__card i { font-size: 48px; opacity: .6; display: block; margin-bottom: 8px; }
.store-hero__card strong { font-size: 42px; font-weight: 900; display: block; line-height: 1; }
.store-hero--compact { padding: 16px 0 8px; }
.store-hero--compact .store-hero__banner {
    grid-template-columns: 1fr; padding: 22px 24px;
}
.store-hero--compact .store-hero__banner h1 { font-size: clamp(22px, 3vw, 28px); }
.store-hero--compact .store-hero__badges { margin-top: 12px; }

/* ── Secciones tienda ── */
.section-title { margin-bottom: 20px; }
.section-title h2 { font-size: 24px; font-weight: 900; }
.section-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }

.store-cats { padding: 8px 0 32px; }
.cat-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.cat-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 20px 14px; border-radius: var(--radius);
    background: var(--surface); border: 2px solid var(--line);
    transition: transform .15s, border-color .15s, box-shadow .15s;
    text-align: center;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--cat-color); box-shadow: var(--shadow); }
.cat-card__icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; font-size: 24px;
    background: color-mix(in srgb, var(--cat-color) 14%, #fff);
    color: var(--cat-color);
}
.cat-card__name { font-weight: 900; font-size: 14px; }

.store-vendors { padding: 8px 0 28px; }
.section-title--row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.vendor-section-label {
    font-size: 12px; font-weight: 900; text-transform: uppercase;
    letter-spacing: .06em; color: var(--muted); margin: 20px 0 10px;
}
.vendor-section-more { text-align: center; margin-top: 16px; }
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.vendor-grid--featured { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vendor-grid--directory { margin-top: 8px; }

/* Buscador de tiendas */
.vendor-picker { display: flex; flex-direction: column; gap: 10px; }
.vendor-picker--wide {
    flex-direction: row; align-items: stretch; flex-wrap: wrap; gap: 10px;
}
.vendor-picker--wide .vendor-picker__search { flex: 1; min-width: min(100%, 320px); }
.vendor-picker__active {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 12px; border-radius: var(--radius);
    background: color-mix(in srgb, var(--color-primary) 8%, #fff);
    border: 1.5px solid color-mix(in srgb, var(--color-primary) 25%, var(--line));
}
.vendor-picker__active-label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.vendor-picker__active-chip {
    font-weight: 900; color: var(--color-primary); text-decoration: none;
}
.vendor-picker__clear {
    margin-left: auto; width: 28px; height: 28px; border-radius: 8px;
    display: grid; place-items: center; color: var(--muted); text-decoration: none;
    background: #fff; border: 1px solid var(--line);
}
.vendor-picker__search { position: relative; }
.vendor-picker__icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none; font-size: 18px;
}
.vendor-picker__input {
    width: 100%; padding: 12px 14px 12px 42px; border-radius: var(--radius);
    border: 1.5px solid var(--line); font: inherit; font-weight: 700;
    background: var(--surface);
}
.vendor-picker__input:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.vendor-picker__dropdown {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); max-height: 320px; overflow: auto;
}
.vendor-picker__item {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    text-decoration: none; color: inherit; border-bottom: 1px solid var(--line);
}
.vendor-picker__item:last-child { border-bottom: none; }
.vendor-picker__item:hover { background: var(--bg); }
.vendor-picker__item-av {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; font-weight: 900; font-size: 14px;
    background: color-mix(in srgb, var(--color-primary) 12%, #fff);
    color: var(--color-primary);
}
.vendor-picker__item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vendor-picker__item-body strong { font-size: 14px; }
.vendor-picker__item-body small { font-size: 11px; color: var(--muted); font-weight: 700; }
.vendor-picker__empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.vendor-picker__link {
    font-size: 13px; font-weight: 800; color: var(--color-primary);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.vendor-picker__link:hover { text-decoration: underline; }

.store-vendor-bar {
    margin-bottom: 14px; padding: 14px 16px; border-radius: var(--radius);
    background: var(--bg); border: 1.5px solid var(--line);
}
.store-vendors--directory { padding: 0 0 48px; max-width: var(--store-max, 1200px); margin: 0 auto; }
.vendor-directory-search { margin-bottom: 16px; }
.vendor-directory-tools {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px;
}
.vendor-directory-sort {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted);
}
.vendor-directory-meta {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px;
}
.vendor-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 16px; margin-top: 28px; flex-wrap: wrap;
}
.vendor-pagination__info { font-size: 13px; color: var(--muted); font-weight: 800; }

.vendor-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: var(--radius);
    background: var(--surface); border: 2px solid var(--line);
    transition: transform .15s, border-color .15s, box-shadow .15s;
    color: inherit; text-decoration: none;
}
.vendor-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--color-primary) 40%, var(--line));
    box-shadow: var(--shadow);
}
.vendor-card__avatar {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center; font-weight: 900; font-size: 16px;
    background: color-mix(in srgb, var(--color-primary) 14%, #fff);
    color: var(--color-primary);
}
.vendor-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vendor-card__body strong { font-size: 15px; font-weight: 900; }
.vendor-card__sub { font-size: 12px; color: var(--muted); }
.vendor-card__count { font-size: 11px; color: var(--muted); font-weight: 800; margin-top: 2px; }
.vendor-card__arrow { color: var(--muted); font-size: 20px; flex-shrink: 0; }

.store-hero__cta--inline { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

.pdp__vendor {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: var(--radius);
    background: var(--bg); border: 1.5px solid var(--line);
    margin: 12px 0 16px; text-decoration: none; color: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.pdp__vendor:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }
.pdp__vendor-arrow { margin-left: auto; color: var(--muted); font-size: 22px; }

.store-steps { padding: 16px 0 36px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 22px;
}
.step-card__num {
    width: 36px; height: 36px; border-radius: 12px;
    background: var(--ink); color: #fff; font-weight: 900;
    display: grid; place-items: center; margin-bottom: 12px;
}
.step-card h3 { font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.store-sort {
    grid-area: sort;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; font-weight: 800; color: var(--muted);
    min-width: 0;
}
.store-sort label { white-space: nowrap; }
.store-sort .input--sm { width: 72px; min-width: 64px; }
.store-sort .select {
    padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line);
    font: inherit; font-weight: 800; font-size: 13px; background: var(--surface);
    min-width: 140px; max-width: 100%;
}
.store-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.related { padding: 16px 0 56px; border-top: 1px solid var(--line); margin-top: 16px; }
.product-grid--related { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding-bottom: 0; }

/* ── Footer ampliado ── */
.store-footer__grid {
    max-width: var(--max); margin: 0 auto; padding: 0 20px 24px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
}
.store-footer__tagline { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.store-footer h4 { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; color: var(--ink); }
.store-footer__grid a, .store-footer__addr {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; color: var(--ink-soft); font-weight: 700; margin-bottom: 8px;
}
.store-footer__grid a:hover { color: var(--color-primary); }
.store-brand--footer { margin-bottom: 4px; }
.store-footer__bottom {
    max-width: var(--max); margin: 0 auto; padding: 20px 20px 0;
    border-top: 1px solid var(--line); text-align: center;
    font-size: 13px; color: var(--muted);
}

/* ── Toast & mobile bar ── */
.toast-stack {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
    padding: 14px 20px; border-radius: 14px; font-weight: 800; font-size: 14px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px;
    animation: toast-in .3s ease;
}
.toast--ok { background: #0a6847; color: #fff; }
.toast--error { background: #9b2c42; color: #fff; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.js-toast-source { display: none !important; }

.mobile-cart-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    padding: 14px 20px; background: var(--ink); color: #fff;
    font-weight: 800; align-items: center; justify-content: space-between;
    box-shadow: 0 -8px 24px rgba(0,0,0,.15);
}
.mobile-cart-bar strong { color: var(--color-accent); }

/* ── Promociones tienda ── */
.store-promos { margin: 32px 0 40px; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 8%, #fff), #fff);
    border: 2px solid color-mix(in srgb, var(--color-primary) 20%, var(--line));
    border-radius: var(--radius-lg); padding: 20px;
}
.promo-card__badge {
    display: inline-block; background: var(--color-accent); color: #fff;
    font-weight: 900; font-size: 13px; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.promo-card h3 { font-size: 17px; margin-bottom: 6px; }
.promo-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.promo-card__meta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.promo-card__code b { color: var(--color-primary); letter-spacing: .04em; }
.product-tile__promo {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--danger); color: #fff; font-size: 11px; font-weight: 900;
    padding: 4px 8px; border-radius: 8px;
}
.product-tile__sku { font-size: 11px; color: var(--muted); font-weight: 800; }
.product-tile__price--sale { color: var(--danger); }
.product-tile__price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.product-tile__media { position: relative; }
.pdp__sku { font-size: 13px; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.pdp__price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pdp__price--sale { color: var(--danger); font-size: 32px; font-weight: 900; }
.pdp__price-old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.pdp__promo-badge { background: var(--danger); color: #fff; font-size: 12px; font-weight: 900; padding: 6px 12px; border-radius: 999px; }
.pdp__promo-badge--info { background: var(--color-primary); }
.promo-form { margin-top: 20px; padding: 16px; }
.promo-form label { display: block; font-weight: 800; margin-bottom: 10px; }
.promo-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-form__row .input { flex: 1; min-width: 140px; }
.summary-line--discount { color: var(--ok); font-weight: 800; }
.cart-item__promo { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 900; background: #e8faf3; color: var(--ok); padding: 2px 8px; border-radius: 6px; }
.price-sale { color: var(--danger); font-weight: 900; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 12px; margin-left: 6px; }

@media (max-width: 900px) {
    .steps-row, .store-footer__grid { grid-template-columns: 1fr; }
    .mobile-cart-bar { display: flex; }
    body { padding-bottom: 64px; }
    .toast-stack { bottom: 76px; }
}

/* ── Tienda enriquecida ── */
.store-banner { max-width: var(--max); margin: 0 auto; padding: 0 20px 12px; }
.store-banner img { width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--radius-lg); }

.store-search__wrap { position: relative; flex: 1; min-width: 0; }
.store-search__suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120;
    background: var(--surface); border: 2px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.suggest-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    border-bottom: 1px solid var(--line); font-size: 14px;
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover { background: color-mix(in srgb, var(--color-primary) 6%, #fff); }
.suggest-item img, .suggest-ph {
    width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
    background: var(--bg); display: grid; place-items: center; color: var(--muted);
}
.suggest-item strong { display: block; font-weight: 800; }
.suggest-item small { color: var(--muted); font-weight: 700; display: block; line-height: 1.35; }

.store-rating-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.store-rating-chip {
    display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
    border: 2px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 800;
    color: var(--ink-soft);
}
.store-rating-chip.is-active {
    border-color: #f5a623; background: #fff8eb; color: #b45309;
}
.product-tile__rating {
    display: flex; align-items: center; gap: 2px; font-size: 11px; color: #f5a623; margin: 2px 0 6px;
}
.product-tile__rating span { color: var(--muted); font-weight: 700; margin-left: 4px; }

.store-carousel-section { margin: 28px 0 36px; position: relative; }
.store-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.store-carousel-head h2 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.store-carousel-head__link { font-size: 14px; font-weight: 800; color: var(--color-primary); }
.store-carousel {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.store-carousel .product-tile { min-width: 220px; max-width: 240px; scroll-snap-align: start; flex-shrink: 0; }
.store-carousel__btn {
    position: absolute; top: 50%; transform: translateY(-20%);
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: var(--surface); box-shadow: var(--shadow); z-index: 2;
    display: grid; place-items: center; cursor: pointer;
}
.store-carousel__btn--prev { left: -4px; }
.store-carousel__btn--next { right: -4px; }

.product-tile__brand {
    font-size: 11px; font-weight: 900; color: var(--color-primary);
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
    display: flex; align-items: center; gap: 4px;
}
.product-tile__desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 4px 0 8px; }
.product-tile__meta { margin-top: 6px; }
.product-tile__new, .product-tile__featured, .product-tile__low {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    font-size: 10px; font-weight: 900; padding: 4px 8px; border-radius: 8px; color: #fff;
}
.product-tile__new { background: var(--color-accent); }
.product-tile__featured { background: var(--color-secondary); }
.product-tile__low { background: #e67e22; left: 10px; right: auto; }
.btn-share {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: #25d366; color: #fff; flex-shrink: 0;
}

.stock-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 999px;
}
.stock-badge--ok { background: #e8faf3; color: #0a6847; }
.stock-badge--mid { background: #fff4e5; color: #b45309; }
.stock-badge--low { background: #fff0eb; color: #c0392b; }
.stock-badge--out { background: #fdecef; color: var(--danger); }

.pdp__badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pdp__tag { font-size: 11px; font-weight: 900; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.pdp__tag--new { background: color-mix(in srgb, var(--color-accent) 18%, #fff); color: #0a6847; }
.pdp__tag--promo { background: var(--danger); color: #fff; }
.pdp__vendor {
    display: flex; gap: 12px; align-items: center; padding: 14px;
    background: color-mix(in srgb, var(--color-primary) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-primary) 15%, var(--line));
    border-radius: 14px; margin: 12px 0 16px;
}
.pdp__vendor-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary); color: #fff;
    display: grid; place-items: center; font-size: 20px;
}
.pdp__vendor strong { display: block; font-size: 15px; }
.pdp__vendor span { font-size: 12px; color: var(--muted); font-weight: 700; }
.pdp__specs { display: grid; gap: 10px; margin: 16px 0; }
.pdp__specs div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: 14px; }
.pdp__specs dt { font-weight: 800; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pdp__specs dd { font-weight: 700; color: var(--ink-soft); margin: 0; }
.pdp__share { display: flex; align-items: center; gap: 8px; margin: 16px 0; font-size: 13px; font-weight: 800; color: var(--muted); }
.pdp__share-btn {
    width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--line);
    background: var(--surface); display: grid; place-items: center; font-size: 18px; cursor: pointer;
}
.pdp__gallery-main { position: relative; border: 0; padding: 0; width: 100%; cursor: zoom-in; background: #fff; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; display: block; }
.pdp__zoom-hint {
    position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff;
    padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
}
.pdp__rating-summary { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #f5a623; font-size: 14px; font-weight: 800; }
.pdp__buy .btn--primary { background: var(--color-primary); }
.pdp__buy .btn--primary:hover { background: color-mix(in srgb, var(--color-primary) 85%, #000); }

.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(10,10,20,.92);
    display: grid; place-items: center; padding: 20px;
}
.lightbox[hidden] { display: none !important; }
.lightbox__img { max-width: min(960px, 100%); max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
    position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
    border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; cursor: pointer;
}
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
body.lightbox-open { overflow: hidden; }

.pdp-reviews { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.review-list { display: grid; gap: 12px; margin-bottom: 24px; }
.review-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.review-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.review-card__stars { color: #f5a623; }
.review-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.review-card time { font-size: 12px; color: var(--muted); font-weight: 700; }
.pdp-review-form { max-width: 520px; margin-top: 16px; }
.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.star-input input { display: none; }
.star-input label {
    cursor: pointer;
    color: #ddd;
    font-size: 22px;
    line-height: 1;
    transition: color .12s;
}
.star-input label i { pointer-events: none; }
/* input y label son hermanos: al marcar, colorea esa estrella y las anteriores (visual) */
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
    color: #f5a623;
}

.store-trust { margin: 48px 0 32px; }
.store-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.store-trust__card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 20px; text-align: center;
}
.store-trust__card i { font-size: 28px; color: var(--color-primary); margin-bottom: 10px; }
.store-trust__card h3 { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.store-trust__card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.store-trust__map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius-lg); }

.store-faq { margin: 32px 0 56px; }
.faq-list { display: grid; gap: 10px; max-width: 760px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 16px; }
.faq-item summary { cursor: pointer; font-weight: 900; padding: 16px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.checkout-steps { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.checkout-step {
    flex: 1; min-width: 120px; text-align: center; padding: 12px; border-radius: 12px;
    background: var(--surface); border: 2px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted);
}
.checkout-step span {
    display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
    background: var(--line); margin-right: 6px; font-size: 12px;
}
.checkout-step.is-done { border-color: var(--ok); color: var(--ok); }
.checkout-step.is-active { border-color: var(--color-primary); color: var(--color-primary); }
.checkout-pickup-box {
    background: color-mix(in srgb, var(--color-accent) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-accent) 25%, var(--line));
    border-radius: 14px; padding: 16px; margin-bottom: 16px;
}
.checkout-pickup-box h3 { font-size: 15px; font-weight: 900; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.checkout-pickup-box p { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.checkout-summary__items { margin-bottom: 16px; }
.checkout-summary__item {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--line);
}
.checkout-summary__item img, .checkout-summary__ph {
    width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--bg);
    display: grid; place-items: center; color: var(--muted);
}
.checkout-summary__item strong { display: block; font-size: 14px; }
.checkout-summary__item span { font-size: 12px; color: var(--muted); font-weight: 700; }
.checkout-summary__hint { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.order-success {
    text-align: center; padding: 28px 20px; margin-bottom: 24px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--color-accent) 12%, #fff), #fff);
    border: 2px solid color-mix(in srgb, var(--color-accent) 30%, var(--line));
    border-radius: var(--radius-lg);
}
.order-success__icon { font-size: 48px; color: var(--ok); margin-bottom: 8px; }
.order-success__folio { margin-top: 12px; font-size: 15px; }
.order-ready { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }

@media (max-width: 900px) {
    .store-trust__grid { grid-template-columns: 1fr; }
    .store-carousel .product-tile { min-width: 180px; }
    .store-carousel__btn { display: none; }
    .pdp__specs div { grid-template-columns: 1fr; }
    .checkout-summary__item { grid-template-columns: 44px 1fr auto; }
    .product-tile__actions { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .store-search { flex-wrap: wrap; }
    .store-header__inner { gap: 10px; }
    .pdp__grid { grid-template-columns: 1fr; }
}

