﻿.shop-theme {
    --shop-bg: #070b12;
    --shop-surface: #0f1623;
    --shop-border: rgba(255, 255, 255, 0.08);
    --shop-border-strong: rgba(255, 255, 255, 0.14);
    --shop-text: #f4f7fb;
    --shop-muted: #8b97ab;
    --shop-accent: #00e8a0;
    --shop-accent-soft: rgba(0, 232, 160, 0.14);
    --shop-sidebar: 240px;
    --shop-filters: 270px;
}

* { box-sizing: border-box; }
body.shop-theme {
    margin: 0;
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
[x-cloak] { display: none !important; }

.shop-shell {
    display: grid;
    grid-template-columns: var(--shop-sidebar) minmax(0, 1fr);
    min-height: 100vh;
}
.shop-shell.has-filters {
    grid-template-columns: var(--shop-sidebar) minmax(0, 1fr);
}

/* Left sidebar */
.shop-shell { align-items: stretch; }
.shop-sidebar {
    align-self: stretch;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--shop-sidebar-from, #0c1320) 0%, var(--shop-sidebar-to, #0a101a) 100%);
    border-right: 1px solid var(--shop-border);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 40;
}
.shop-sidebar-nav-sticky {
    position: sticky;
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.shop-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem 1rem;
}
.shop-sidebar-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--shop-brand-from, #ff4d6d), var(--shop-brand-to, #ff8a5b));
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden;
}
.shop-sidebar-brand-mark--logo {
    background: transparent;
    border: 1px solid var(--shop-border);
}
.shop-sidebar-brand-mark--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.shop-sidebar-brand-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.shop-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* Listoncillo / botÃ³n de menÃº */
.shop-ribbon {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121a28;
    color: #d7deea;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.shop-ribbon i:first-child {
    width: 1.15rem;
    text-align: center;
    color: var(--shop-muted);
    font-size: 0.92rem;
}
.shop-ribbon span { flex: 1; }
.shop-ribbon:hover {
    border-color: rgba(0, 232, 160, 0.35);
    color: #fff;
    background: #162033;
}
.shop-ribbon:hover i:first-child { color: var(--shop-accent); }
.shop-ribbon.is-active {
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    color: #041018;
    box-shadow: 0 0 18px rgba(0, 232, 160, 0.25);
}
.shop-ribbon.is-active i { color: #041018 !important; }
.shop-ribbon-tienda,
.shop-ribbon-tienda:hover,
.shop-ribbon-tienda.is-active {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.28);
}
.shop-ribbon-tienda i,
.shop-ribbon-tienda:hover i:first-child,
.shop-ribbon-tienda.is-active i {
    color: #fff !important;
}

.shop-ribbon-toggle { font: inherit; }
.shop-ribbon-caret {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--shop-muted);
    transition: transform .15s;
    width: auto !important;
}
.shop-ribbon.is-active .shop-ribbon-caret { color: #041018; }
.shop-ribbon-caret.is-open { transform: rotate(180deg); }

.shop-ribbon-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.15rem 0 0.25rem 0.55rem;
}
.shop-ribbon-sub {
    font-size: 0.84rem;
    font-weight: 500;
    padding: 0.62rem 0.85rem;
    background: #0e1522;
}

.shop-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--shop-border);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* compat: enlaces viejos del menÃº */
.shop-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    color: #c7d0df;
    font-size: 0.9rem;
}

/* Main */
.shop-main { min-width: 0; display: flex; flex-direction: column; }
.shop-top {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: rgba(7, 11, 18, 0.9);
    border-bottom: 1px solid var(--shop-border);
    padding: 0.85rem 1.25rem;
}
.shop-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}
.shop-top-brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 110px;
}
.shop-top-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: var(--shop-accent);
    font-weight: 700;
}
.shop-top-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
}
.shop-top-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--shop-pill-radius, 14px);
    padding: 0.28rem 0.7rem;
    max-width: 11.5rem;
}
.shop-top-logo-img {
    height: 30px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.shop-search {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    border-radius: var(--shop-input-radius, 14px);
    padding: 0.55rem 1rem;
    max-width: 640px;
    margin: 0 auto;
    z-index: 40;
}
.shop-search.is-open {
    border-radius: 14px 14px 0 0;
    border-bottom-color: transparent;
}
.shop-search > .fa-search { color: var(--shop-muted); flex-shrink: 0; }
.shop-search input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--shop-text);
    min-width: 0;
}
.shop-search input::placeholder { color: #667288; }
.shop-search-results {
    position: absolute;
    left: -1px;
    right: -1px;
    top: calc(100% - 1px);
    background: #121a28;
    border: 1px solid var(--shop-border-strong);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    z-index: 50;
}
.shop-search-results[hidden] { display: none !important; }
.shop-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s ease;
}
.shop-search-item:last-of-type { border-bottom: 0; }
.shop-search-item:hover,
.shop-search-item.is-active {
    background: rgba(42, 108, 255, 0.14);
}
.shop-search-thumb {
    width: 42px;
    height: 42px;
    border-radius: 0.55rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--shop-muted);
    font-size: 0.85rem;
}
.shop-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.shop-search-meta { min-width: 0; flex: 1; }
.shop-search-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #f2f5fb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-search-sub {
    display: block;
    font-size: 0.72rem;
    color: #8b96a8;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-search-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--shop-accent, #3dd6c6);
    flex-shrink: 0;
}
.shop-search-empty,
.shop-search-loading {
    padding: 1rem 1.1rem;
    font-size: 0.85rem;
    color: #8b96a8;
}
.shop-search-footer {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8eb6ff;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.shop-search-footer:hover { color: #fff; background: rgba(42, 108, 255, 0.12); }
.shop-top-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}
.shop-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #d7deea;
    font-size: 0.85rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    border-radius: var(--shop-pill-radius, 14px);
    cursor: pointer;
    padding: 0.35rem 0.85rem 0.35rem 0.35rem;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-user-chip:hover {
    border-color: rgba(0, 232, 160, 0.45);
    color: #fff;
}
.shop-user-menu {
    position: relative;
}
.shop-user-caret {
    font-size: 0.65rem;
    opacity: 0.6;
    transition: transform .15s ease;
}
.shop-user-caret.is-open {
    transform: rotate(180deg);
}
.shop-user-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 13.5rem;
    background: #121a28;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
    padding: 0.4rem;
    z-index: 60;
}
.shop-user-dropdown-hello {
    padding: 0.55rem 0.7rem 0.15rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #f2f5fb;
}
.shop-user-dropdown-role {
    padding: 0.1rem 0.7rem 0.55rem;
    font-size: 0.72rem;
    color: #8b97ab;
}
.shop-user-dropdown-divider {
    height: 1px;
    margin: 0.15rem 0.4rem 0.35rem;
    background: rgba(255,255,255,.08);
}
.shop-user-dropdown-form {
    margin: 0;
}
.shop-user-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: #d7deea;
    font-size: 0.82rem;
    text-decoration: none;
    cursor: pointer;
}
.shop-user-dropdown-item:hover {
    background: rgba(255,255,255,.06);
}
.shop-user-dropdown-item i {
    width: 1rem;
    text-align: center;
    opacity: 0.85;
    font-size: 0.78rem;
}
.shop-user-dropdown-item--danger {
    color: #f0a8a8;
}
.shop-user-dropdown-item--danger:hover {
    background: rgba(240, 100, 100, 0.1);
}

/* Logout confirmation modal */
.shop-logout-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(2px);
}
.shop-logout-modal {
    width: min(100%, 26rem);
    padding: 1.75rem 1.5rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #151515;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.shop-logout-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--shop-accent, #e11d2e);
    color: #fff;
    font-size: 1.35rem;
}
.shop-logout-title {
    margin: 0 0 0.55rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}
.shop-logout-text {
    margin: 0 0 1.35rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #a8b0bd;
}
.shop-logout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.shop-logout-form {
    margin: 0;
    display: block;
}
.shop-logout-btn {
    width: 100%;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
}
.shop-logout-btn--cancel {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: #f2f5fb;
}
.shop-logout-btn--cancel:hover {
    background: rgba(255, 255, 255, 0.05);
}
.shop-logout-btn--confirm {
    background: var(--shop-accent, #e11d2e);
    border-color: var(--shop-accent, #e11d2e);
    color: #041018;
}
.shop-logout-btn--confirm:hover {
    filter: brightness(1.05);
}
.shop-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2a6cff, var(--shop-accent));
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}
.shop-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    color: #fff;
    border-radius: var(--shop-pill-radius, 14px);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.shop-cart-btn:hover {
    border-color: rgba(0, 232, 160, 0.45);
    color: var(--shop-accent);
}
.shop-cart-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    background: var(--shop-accent);
    color: #041018;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}
.shop-content {
    padding: 1.25rem 1.5rem 1.5rem;
    max-width: none;
    width: 100%;
    margin: 0;
    flex: 1;
}

/* CatÃ¡logo: productos/categorÃ­as + filtros al lado */
.shop-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.25rem;
    align-items: start;
}
.shop-catalog-main { min-width: 0; }
.shop-filters-inline {
    position: sticky;
    top: 5.5rem;
    height: auto;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    background: transparent;
    border-left: 0;
    padding: 0;
}
.shop-filters-desktop { display: block; }
.shop-filters-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0,0,0,0.55);
    justify-content: flex-end;
}
.shop-filters-drawer.is-open { display: flex; }
.shop-filters-drawer .shop-filters-inline {
    width: min(300px, 88vw);
    height: 100%;
    max-height: none;
    background: #0c131f;
    border-left: 1px solid var(--shop-border);
    padding: 1rem;
    overflow-y: auto;
    position: static;
}
.shop-filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #fff;
}
.shop-filter-drawer-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.shop-branch-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.shop-branch-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 1rem;
}
.shop-branch-label {
    font-size: 0.8rem;
    color: #8b97ab;
    font-weight: 600;
}
.shop-branch-dropdown {
    position: relative;
    z-index: 40;
}
.shop-branch-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 12rem;
    max-width: 18rem;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: var(--shop-pill-radius, 14px);
    border: 1px solid rgba(0, 232, 160, 0.35);
    background: rgba(0, 232, 160, 0.12);
    color: #d7fceb;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-branch-trigger:hover {
    border-color: rgba(0, 232, 160, 0.55);
    background: rgba(0, 232, 160, 0.18);
}
.shop-branch-trigger-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    min-width: 0;
}
.shop-branch-trigger-text strong {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10rem;
}
.shop-branch-trigger-text small {
    font-size: 0.68rem;
    color: #9fe9cb;
    opacity: 0.9;
}
.shop-branch-caret {
    margin-left: auto;
    font-size: 0.65rem;
    opacity: 0.8;
    transition: transform .15s ease;
}
.shop-branch-caret.is-open {
    transform: rotate(180deg);
}
.shop-branch-thumb {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.18);
    flex-shrink: 0;
}
.shop-branch-thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: #8b97ab;
    font-size: 0.7rem;
}
.shop-branch-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    width: min(22rem, 86vw);
    max-height: min(22rem, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #121a28;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    padding: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 60;
    -webkit-overflow-scrolling: touch;
}
.shop-branch-menu-title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8b97ab;
    padding: 0.35rem 0.55rem 0.45rem;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #121a28;
}
.shop-branch-option-form {
    margin: 0;
}
.shop-branch-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #d7deea;
    cursor: pointer;
}
.shop-branch-option:hover {
    background: rgba(255,255,255,.05);
}
.shop-branch-option.is-active {
    border-color: rgba(0, 232, 160, 0.35);
    background: rgba(0, 232, 160, 0.1);
}
.shop-branch-option-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.shop-branch-option-text strong {
    font-size: 0.86rem;
}
.shop-branch-option-text small {
    font-size: 0.7rem;
    color: #8b97ab;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-branch-check {
    color: var(--shop-accent);
    font-size: 0.75rem;
}
.shop-branch-pills {
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.shop-branch-pill {
    border: 1px solid var(--shop-border-strong);
    background: var(--shop-surface);
    color: var(--shop-muted);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    cursor: pointer;
}
.shop-branch-pill.is-active,
.shop-branch-pill:hover {
    border-color: rgba(0, 232, 160, 0.45);
    color: var(--shop-accent);
    background: var(--shop-accent-soft);
}
.shop-branch-pill-km {
    margin-left: 0.25rem;
    opacity: 0.75;
    font-size: 0.68rem;
}
.shop-branch-geo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--shop-pill-radius, 14px);
    border: 1px dashed rgba(0, 232, 160, 0.4);
    background: rgba(0, 232, 160, 0.06);
    color: #9fe9cb;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}
.shop-branch-geo:disabled {
    opacity: 0.65;
    cursor: wait;
}
.shop-branch-geo--inline {
    width: auto;
    margin-top: 0;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
}
.shop-branch-geo-hint {
    font-size: 0.7rem;
    color: #f0a0a0;
    padding: 0.25rem 0.55rem 0.1rem;
    margin: 0;
}
.shop-search-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}
.shop-search-branch {
    display: inline-block;
    font-size: 0.65rem;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #9aa8bd;
    border: 1px solid rgba(255,255,255,0.08);
}
.shop-search-branch.is-current {
    color: #9fe9cb;
    border-color: rgba(0, 232, 160, 0.35);
    background: rgba(0, 232, 160, 0.1);
}
.shop-stock-branches {
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius, 16px);
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
}
.shop-stock-branches h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-text);
}
.shop-stock-banner-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}
.shop-stock-banner-nav {
    display: flex;
    gap: 0.35rem;
}
.shop-stock-banner-arrow {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.2);
    color: var(--shop-text);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0.65rem;
}
.shop-stock-banner-arrow:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent);
}
.shop-stock-banner-window {
    overflow: hidden;
    border-radius: 12px;
}
.shop-stock-banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s ease;
}
.shop-stock-banner-slide {
    flex: 0 0 100%;
    min-width: 100%;
}
.shop-stock-banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
}
.shop-stock-banner-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    cursor: pointer;
}
.shop-stock-banner-dot.is-active {
    width: 1.1rem;
    background: var(--shop-accent);
}
.shop-stock-chip {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    color: #041018;
    background: var(--shop-accent);
}
.shop-stock-branch-item.is-nearest:not(.is-current) {
    border-color: rgba(0, 232, 160, 0.28);
}
.shop-stock-branch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.shop-stock-branch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
}
.shop-stock-branch-item.is-current {
    border-color: rgba(0, 232, 160, 0.35);
    background: var(--shop-accent-soft);
}
.shop-stock-branch-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--shop-text);
}
.shop-stock-branch-item small {
    display: block;
    font-size: 0.72rem;
    color: var(--shop-muted);
}
.shop-stock-branch-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}
.shop-stock-qty {
    font-weight: 800;
    color: var(--shop-accent);
    font-size: 0.95rem;
}
.shop-pdp-pick {
    font-size: 0.72rem;
    color: var(--shop-accent);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}
.shop-pdp-pick:hover { text-decoration: underline; }
.shop-stock-here {
    font-size: 0.7rem;
    color: var(--shop-accent);
    font-weight: 700;
}

/* Product detail */
.shop-pdp { max-width: 1200px; margin: 0 auto; }
.shop-pdp-layout {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .shop-pdp-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
}
.shop-pdp-card {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius, 16px);
    padding: 1.35rem 1.35rem 1.5rem;
    color: var(--shop-text);
}
.shop-pdp-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--shop-accent);
}
.shop-pdp-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.25;
    font-weight: 800;
    color: var(--shop-text);
}
.shop-pdp-sku {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--shop-muted);
}
.shop-pdp-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .shop-pdp-grid { grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.15fr); }
}
.shop-pdp-zoom {
    position: relative;
    z-index: 8;
}
.shop-pdp-zoom.is-zooming {
    z-index: 40;
}
.shop-pdp-gallery {
    overflow: visible;
}
.shop-pdp-media {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 280px;
    border-radius: var(--shop-card-radius, 16px);
    border: 1px solid var(--shop-border-strong);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    overflow: hidden;
    cursor: crosshair;
}
.shop-pdp-zoom-pane {
    position: absolute;
    top: 0;
    left: calc(100% + 0.65rem);
    width: min(420px, 48vw);
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    overflow: hidden;
    border-radius: var(--shop-card-radius, 16px);
    border: 1px solid var(--shop-border-strong);
    background: rgba(0, 0, 0, 0.92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    z-index: 30;
    pointer-events: none;
}
.shop-pdp-zoom-pane img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}
.shop-pdp-lens {
    position: absolute;
    z-index: 2;
    border: 2px solid var(--shop-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
    pointer-events: none;
}
.shop-pdp-zoom-hint {
    margin: 0.55rem 0 0;
    font-size: 0.75rem;
    color: var(--shop-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.shop-pdp-pack-label {
    color: var(--shop-accent);
}
.shop-pdp-media img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    padding: 1.25rem;
}
.shop-pdp-placeholder {
    width: 100%;
    height: 280px;
    display: grid;
    place-items: center;
    color: var(--shop-muted);
    font-size: 3.5rem;
    opacity: 0.55;
}
.shop-pdp-buy {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    align-items: stretch;
}
.shop-pdp-buy-form {
    display: flex;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}
.shop-pdp-qty {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--shop-border-strong);
    border-radius: var(--shop-input-radius, 14px);
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    flex-shrink: 0;
}
.shop-pdp-qty button {
    width: 2.4rem;
    border: 0;
    background: transparent;
    color: var(--shop-text);
    cursor: pointer;
}
.shop-pdp-qty button:hover { color: var(--shop-accent); background: var(--shop-accent-soft); }
.shop-pdp-qty input {
    width: 3.2rem;
    border: 0;
    border-left: 1px solid var(--shop-border);
    border-right: 1px solid var(--shop-border);
    background: transparent;
    color: var(--shop-text);
    text-align: center;
    outline: none;
}
.shop-pdp-add {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font-weight: 800;
}
.shop-pdp-add.is-disabled { opacity: 0.45; cursor: not-allowed; }
.shop-pdp-wish {
    width: 2.75rem;
    flex-shrink: 0;
    border-radius: var(--shop-radius, 14px);
    border: 1px solid var(--shop-border-strong);
    background: var(--shop-accent-soft);
    color: var(--shop-accent);
    cursor: pointer;
    display: grid;
    place-items: center;
    appearance: none;
    padding: 0;
}
.shop-pdp-wish:hover { border-color: var(--shop-accent); }
.shop-pdp-specs {
    margin: 0;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    overflow: hidden;
}
.shop-pdp-specs > div {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--shop-border);
}
.shop-pdp-specs > div:last-child { border-bottom: 0; }
.shop-pdp-specs dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--shop-muted);
}
.shop-pdp-specs dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--shop-text);
    word-break: break-word;
}
.shop-pdp-specs .is-price dd {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}
.shop-pdp-price {
    color: var(--shop-accent);
    font-size: 1.15rem;
    font-weight: 800;
}
.shop-pdp-old {
    color: #f87171;
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.85rem;
}
.shop-pdp-branch {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--shop-muted);
    margin-bottom: 0.15rem;
}
.shop-pdp-stock.is-ok { color: #4ade80; }
.shop-pdp-stock.is-out { color: #f87171; }
.shop-pdp-details {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--shop-muted);
}
.shop-pdp-related { margin-top: 1.75rem; }
.shop-pdp-related .shop-section-title {
    margin: 0 0 1rem;
    color: var(--shop-text);
}
.shop-pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
@media (min-width: 768px) {
    .shop-pdp-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.shop-pdp-aside-card {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius, 16px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.shop-pdp-aside-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--shop-text);
}
.shop-pdp-aside-card .shop-product-card { width: 100%; }

.shop-product-other-stock {
    margin: 0.15rem 0 0;
    font-size: 0.62rem;
    line-height: 1.3;
    color: #8b97ab;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hero */
.shop-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--shop-border);
    min-height: clamp(280px, 38vw, 480px);
    margin-bottom: 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background:
        radial-gradient(ellipse 55% 60% at 78% 42%, rgba(80, 40, 160, 0.45), transparent 60%),
        radial-gradient(ellipse 40% 50% at 22% 72%, rgba(0, 180, 255, 0.18), transparent 55%),
        radial-gradient(circle at 12% 18%, rgba(0, 232, 160, 0.12), transparent 35%),
        linear-gradient(135deg, #070b16 0%, #10182c 45%, #0a0f1c 100%);
}
.shop-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.45), transparent),
        radial-gradient(1px 1px at 80px 70px, rgba(255,255,255,.35), transparent),
        radial-gradient(1.5px 1.5px at 140px 40px, rgba(255,255,255,.5), transparent),
        radial-gradient(1px 1px at 200px 120px, rgba(255,255,255,.3), transparent);
    background-size: 280px 160px;
    opacity: 0.45;
}
.shop-hero-card--wide {
    width: 100%;
}
.shop-hero-fs-toggle {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: rgba(160, 168, 180, 0.7);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color .15s ease, background .15s ease, opacity .15s ease;
    opacity: 0.75;
}
.shop-hero-fs-toggle:hover {
    color: #d0d5de;
    background: rgba(255,255,255,0.06);
    opacity: 1;
}
.shop-hero-badge {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--shop-accent);
    margin-bottom: 0.65rem;
}
.shop-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
    align-items: stretch;
    flex: 1 1 auto;
    min-height: clamp(280px, 38vw, 480px);
    height: 100%;
    gap: 0;
    width: 100%;
}
.shop-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.1rem, 2.5vw, 1.85rem) clamp(1rem, 2.2vw, 2rem);
    min-width: 0;
}
.shop-hero-title {
    font-size: clamp(1.35rem, 2.8vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    color: #fff;
}
.shop-hero-title span { color: var(--shop-accent); }
.shop-hero-sub {
    color: #b7c2d6;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    line-height: 1.5;
    margin: 0 0 1.15rem;
    max-width: 32rem;
}
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.shop-hero-actions .shop-btn {
    border-radius: var(--shop-pill-radius, 14px) !important;
    min-height: 2.75rem;
    padding: 0.72rem 1.35rem;
    font-weight: 700;
}
.shop-hero-actions .shop-btn-primary {
    border: 1px solid transparent;
    box-shadow: 0 6px 22px rgba(0, 232, 160, 0.22);
}
.shop-hero-actions .shop-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    background: rgba(8, 12, 20, 0.42) !important;
}
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: var(--shop-pill-radius, 14px);
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.shop-btn-primary { background: var(--shop-accent); color: #041018; }
.shop-btn-primary:hover { background: #25ffb3; color: #041018; }
.shop-btn-danger {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fecaca;
}
.shop-btn-danger:hover {
    background: rgba(239, 68, 68, 0.28);
    color: #fff;
}
.shop-btn-ghost {
    background: transparent;
    border-color: var(--shop-border-strong);
    color: #fff;
}
.shop-btn-ghost:hover { border-color: var(--shop-accent); color: var(--shop-accent); }
.shop-hero-visual {
    position: relative;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
    display: flex;
}
.shop-hero-visual-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    flex: 1 1 auto;
}
.shop-hero-visual-link.is-nolink {
    cursor: default;
}
.shop-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 38vw, 480px);
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
}
.shop-hero-card.is-fit-contain .shop-hero-img,
.shop-hero-card.is-fit-contain .shop-banner-fs-img {
    object-fit: contain;
    background: #070b16;
}
.shop-hero-card.is-fit-cover .shop-hero-img,
.shop-hero-card.is-fit-cover .shop-banner-fs-img {
    object-fit: cover;
}
.shop-hero-card.is-fit-fill .shop-hero-img,
.shop-hero-card.is-fit-fill .shop-banner-fs-img {
    object-fit: fill;
}
.shop-hero-img-fallback {
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 38vw, 480px);
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.04);
    border-left: 1px solid var(--shop-border);
    color: var(--shop-accent);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}
.shop-hero-points {
    display: none;
}
.shop-hero-dots {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}
.shop-hero-arrows {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.shop-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(7, 11, 18, 0.55);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    pointer-events: auto;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.shop-hero-arrow:hover {
    border-color: var(--shop-accent);
    background: rgba(0, 232, 160, 0.18);
    color: var(--shop-accent);
}
.shop-hero-arrow--prev { left: 0.65rem; }
.shop-hero-arrow--next { right: 0.65rem; }
.shop-hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}
.shop-hero-dots button.is-active { background: var(--shop-accent); }

/* Banner pantalla completa â€” adapta a cualquier viewport */
html.shop-banner-fs-lock,
html.shop-banner-fs-lock body {
    overflow: hidden !important;
}
.shop-banner-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #05070d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    overflow: hidden;
}
.shop-banner-fs-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
}
.shop-banner-fs-exit {
    position: absolute;
    top: max(0.85rem, env(safe-area-inset-top));
    left: max(0.85rem, env(safe-area-inset-left));
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(160, 160, 160, 0.35);
    background: rgba(40, 40, 40, 0.35);
    color: #b0b0b0;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity .15s ease, color .15s ease, background .15s ease;
}
.shop-banner-fs-exit:hover {
    color: #e8e8e8;
    background: rgba(60, 60, 60, 0.55);
    opacity: 1;
}
.shop-banner-fs-dots {
    position: absolute;
    bottom: max(1.1rem, env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    z-index: 2;
}
.shop-banner-fs-arrows {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.shop-banner-fs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(40, 40, 40, 0.45);
    color: #e8e8e8;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    pointer-events: auto;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.shop-banner-fs-arrow:hover {
    border-color: var(--shop-accent);
    background: rgba(0, 232, 160, 0.2);
    color: var(--shop-accent);
}
.shop-banner-fs-arrow--prev { left: max(0.85rem, env(safe-area-inset-left)); }
.shop-banner-fs-arrow--next { right: max(0.85rem, env(safe-area-inset-right)); }
.shop-banner-fs-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}
.shop-banner-fs-dots button.is-active { background: #cfcfcf; }

/* Sections */
.shop-section { margin-bottom: 1.5rem; }
.shop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}
.shop-section-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.shop-section-link { color: var(--shop-accent); font-size: 0.85rem; font-weight: 600; }

.shop-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
@media (min-width: 900px) {
    .shop-cat-grid { grid-template-columns: repeat(8, 1fr); }
}
.shop-cat-card {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    text-align: center;
    transition: border-color .15s, transform .15s;
}
.shop-cat-card:hover {
    border-color: rgba(0, 232, 160, 0.4);
    transform: translateY(-2px);
}
.shop-cat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.55rem;
    border-radius: 12px;
    background: var(--shop-accent-soft);
    color: var(--shop-accent);
    display: grid;
    place-items: center;
}
.shop-cat-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin: 0 auto 0.55rem;
    display: block;
}
.shop-cat-name {
    font-size: 0.72rem;
    color: #c9d3e3;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
    .shop-stats { grid-template-columns: repeat(4, 1fr); }
}
.shop-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    padding: 0.95rem 1rem;
}
.shop-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--shop-accent-soft);
    color: var(--shop-accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.shop-stat-value { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.1; }
.shop-stat-label { font-size: 0.78rem; color: #d0d8e6; line-height: 1.25; }
.shop-stat-label span { color: var(--shop-muted); font-size: 0.7rem; }

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 640px) { .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.shop-product-grid--compact {
    gap: 0.75rem;
}

.shop-section-head--catalog {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.shop-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    font-size: 0.82rem;
    color: var(--shop-muted);
}

.shop-catalog-toolbar-label {
    font-weight: 600;
    white-space: nowrap;
}

.shop-sort-select,
.shop-per-page-select {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    color: var(--shop-text);
    border-radius: var(--shop-input-radius, 14px);
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

.shop-sort-select:focus,
.shop-per-page-select:focus {
    border-color: var(--shop-accent);
}

.shop-catalog-pagination {
    color: var(--shop-muted);
    font-size: 0.85rem;
}

.shop-catalog-pagination nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.shop-catalog-pagination a,
.shop-catalog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--shop-border-strong);
    color: var(--shop-text);
    text-decoration: none;
}

.shop-catalog-pagination a:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent);
}

.shop-catalog-pagination span[aria-current="page"] {
    background: var(--shop-accent-soft);
    border-color: var(--shop-accent);
    color: var(--shop-accent);
    font-weight: 700;
}

.shop-product-card {
    background: var(--shop-surface);
    border: 2px solid var(--shop-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.shop-product-card.is-available {
    border-color: rgba(34, 197, 94, 0.65);
}
.shop-product-card.is-unavailable {
    border-color: rgba(239, 68, 68, 0.7);
}
.shop-product-card:hover {
    transform: translateY(-2px);
}
.shop-product-card.is-available:hover {
    border-color: rgba(34, 197, 94, 0.9);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
}
.shop-product-card.is-unavailable:hover {
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
}
.shop-product-image {
    position: relative;
    height: auto;
    min-height: calc(var(--shop-catalog-image-size, 200px) + 1.2rem);
    max-height: none;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #151e2e, #101722);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.shop-product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.shop-product-img {
    width: min(92%, var(--shop-catalog-image-size, 200px));
    height: min(92%, var(--shop-catalog-image-size, 200px));
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}
.shop-product-image img.shop-product-img {
    width: min(92%, var(--shop-catalog-image-size, 200px));
    height: min(92%, var(--shop-catalog-image-size, 200px));
}
.shop-product-placeholder {
    width: min(92%, var(--shop-catalog-image-size, 200px));
    height: min(92%, var(--shop-catalog-image-size, 200px));
    display: grid;
    place-items: center;
    color: #3d4b63;
    font-size: 2rem;
}
.shop-product-badge {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    background: var(--shop-accent);
    color: #041018;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    z-index: 2;
}
.shop-product-badge--soldout {
    background: #ef4444;
    color: #fff;
}

.shop-product-badge--offer {
    width: 3.35rem;
    height: 3.35rem;
    padding: 0.35rem;
    border-radius: 0;
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.05;
    font-size: 0.58rem;
    color: #fff;
    background: #dc1733;
    box-shadow: 0 4px 12px rgba(220, 23, 51, 0.35);
    clip-path: polygon(50% 0%,56.5% 5.5%,64% 1.5%,68% 8.5%,76.5% 5.5%,78.5% 13.5%,87% 12.5%,86.5% 21%,95% 22.5%,91.5% 30.5%,100% 35%,94.5% 42%,100% 50%,94.5% 58%,100% 65%,91.5% 69.5%,95% 77.5%,86.5% 79%,87% 87.5%,78.5% 86.5%,76.5% 94.5%,68% 91.5%,64% 98.5%,56.5% 94.5%,50% 100%,43.5% 94.5%,36% 98.5%,32% 91.5%,23.5% 94.5%,21.5% 86.5%,13% 87.5%,13.5% 79%,5% 77.5%,8.5% 69.5%,0% 65%,5.5% 58%,0% 50%,5.5% 42%,0% 35%,8.5% 30.5%,5% 22.5%,13.5% 21%,13% 12.5%,21.5% 13.5%,23.5% 5.5%,32% 8.5%,36% 1.5%,43.5% 5.5%);
}
.shop-product-badge--offer-pack {
    width: 3.7rem;
    height: 3.7rem;
    font-size: 0.48rem;
    padding: 0.4rem;
}
.shop-product-fav {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(7,11,18,0.55);
    color: #c9d3e3;
    display: grid;
    place-items: center;
    z-index: 2;
    cursor: pointer;
    padding: 0;
    appearance: none;
    font: inherit;
}
.shop-product-fav.is-on,
.shop-pdp-wish.is-on {
    color: var(--shop-accent);
    border-color: rgba(0, 232, 160, 0.55);
}
.shop-product-body {
    padding: 0.85rem 0.9rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}
.shop-product-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #e8eef8;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.shop-product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--shop-accent);
}
.shop-product-old-price {
    font-size: 0.78rem;
    color: #6d7a90;
    text-decoration: line-through;
}
.shop-product-stock {
    font-size: 0.78rem;
    color: #7d889c;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0;
}
.shop-product-stock.is-ok { color: #4ade80; }
.shop-product-stock.is-out { color: #f87171; }
.shop-product-stock .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}
.shop-product-restock {
    margin: 0;
    font-size: 0.65rem;
    line-height: 1.3;
    color: #fca5a5;
}
.shop-product-btn {
    width: 100%;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    background: var(--shop-accent);
    color: #041018;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
    text-decoration: none;
}
.shop-product-btn:hover { background: #25ffb3; color: #041018; }
.shop-product-btn.is-disabled { opacity: 0.45; cursor: not-allowed; }

/* Filters panel (inline next to products) */
.shop-filter-panel {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.85rem;
}
.shop-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.shop-filter-title { font-size: 0.95rem; font-weight: 700; margin: 0; }
.shop-filter-clear { color: var(--shop-accent); font-size: 0.8rem; font-weight: 600; }
.shop-filter-block { margin-bottom: 1.1rem; }
.shop-filter-subtitle {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: #fff;
}
.shop-filter-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem;
    color: #c7d0df;
    margin-bottom: 0.55rem;
}
.shop-filter-check input { accent-color: var(--shop-accent); }
.shop-filter-hint {
    margin: 0.45rem 0 0;
    font-size: 0.68rem;
    color: #7d889c;
}
.shop-stock-switch {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
}
.shop-stock-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.shop-stock-switch-track {
    position: relative;
    width: 2.6rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.35);
    border: 1px solid rgba(34, 197, 94, 0.55);
    flex-shrink: 0;
    transition: background .15s ease, border-color .15s ease;
}
.shop-stock-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: #4ade80;
    transition: transform .15s ease, background .15s ease;
}
.shop-stock-switch-input:checked + .shop-stock-switch-track {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.55);
}
.shop-stock-switch-input:checked + .shop-stock-switch-track .shop-stock-switch-thumb {
    transform: translateX(1.2rem);
    background: #f87171;
}
.shop-stock-switch-label {
    font-size: 0.78rem;
    color: #7d889c;
    font-weight: 600;
}
.shop-stock-switch-label.is-active {
    color: #4ade80;
}
.shop-stock-switch-label.is-active.is-out {
    color: #f87171;
}
.shop-filter-empty { font-size: 0.8rem; color: var(--shop-muted); }
.shop-price-range input[type=range] { width: 100%; accent-color: var(--shop-accent); }
.shop-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--shop-muted);
    margin-top: 0.35rem;
}
.shop-filter-apply {
    width: 100%;
    border: 1px solid rgba(0, 232, 160, 0.45);
    background: transparent;
    color: var(--shop-accent);
    border-radius: 999px;
    padding: 0.65rem;
    font-weight: 700;
    cursor: pointer;
}
.shop-filter-apply:hover { background: var(--shop-accent-soft); }

.shop-benefits-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 16px;
}
@media (min-width: 900px) {
    .shop-benefits-bar { grid-template-columns: repeat(4, 1fr); }
}
.shop-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #d0d8e6;
    font-size: 0.82rem;
}
.shop-benefit-item i { color: var(--shop-accent); }

.shop-footer {
    margin-top: 1.5rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--shop-border);
    color: var(--shop-muted);
    font-size: 0.8rem;
}
.shop-footer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
    .shop-footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.shop-footer-title { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.shop-footer a:hover { color: var(--shop-accent); }
.shop-footer-bottom {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--shop-border);
    text-align: center;
}

.shop-flash {
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
}
.shop-flash-ok {
    background: rgba(0, 232, 160, 0.12);
    border: 1px solid rgba(0, 232, 160, 0.3);
    color: #9dffd4;
}
.shop-flash-err {
    background: rgba(255, 92, 122, 0.12);
    border: 1px solid rgba(255, 92, 122, 0.3);
    color: #ffb3c1;
}

.shop-mobile-toggle {
    display: none;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    color: #fff;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    place-items: center;
}

@media (max-width: 1200px) {
    .shop-hero-grid {
        grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.15fr);
        min-height: clamp(260px, 36vw, 400px);
    }
    .shop-hero-card,
    .shop-hero-img,
    .shop-hero-img-fallback {
        min-height: clamp(260px, 36vw, 400px);
    }
    .shop-catalog-layout { grid-template-columns: minmax(0, 1fr) 230px; }
}
@media (max-width: 1100px) {
    .shop-shell { grid-template-columns: 1fr; }
    .shop-sidebar {
        position: fixed;
        top: 0;
        height: 100vh;
        z-index: 60;
        transform: translateX(-110%);
        transition: transform .2s ease;
        width: min(280px, 86vw);
    }
    .shop-shell.sidebar-open .shop-sidebar { transform: translateX(0); }
    .shop-mobile-toggle { display: inline-grid; }
    .shop-catalog-layout { grid-template-columns: 1fr; }
    .shop-filters-desktop { display: none; }
}
@media (max-width: 900px) {
    .shop-hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .shop-hero-visual {
        order: -1;
        width: 100%;
        min-height: clamp(180px, 48vw, 320px);
        aspect-ratio: 16 / 9;
        max-height: 42vh;
    }
    .shop-hero-visual-link,
    .shop-hero-img,
    .shop-hero-img-fallback {
        min-height: 100%;
        height: 100%;
        max-height: 100%;
    }
    .shop-hero-copy { padding: 1.15rem 1.15rem 1.35rem; }
    .shop-hero-card {
        min-height: 0;
    }
    .shop-hero-fs-toggle {
        top: 0.55rem;
        right: 0.55rem;
    }
}

/* ===== Ticket 1: plantillas / tipografï¿½a / botones ===== */
.shop-theme {
    --shop-sidebar-from: #0c1320;
    --shop-sidebar-to: #0a101a;
    --shop-brand-from: #ff4d6d;
    --shop-brand-to: #ff8a5b;
    --shop-radius: 14px;
    --shop-pill-radius: 14px;
    --shop-input-radius: 14px;
    --shop-textarea-radius: 14px;
    --shop-card-radius: 16px;
    --shop-font: Inter, ui-sans-serif, system-ui, sans-serif;
    --shop-font-display: var(--shop-font);
}

/* Inputs y buscadores â€” mismo redondeo pÃ­ldora que botones CTA */
body.shop-theme input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="image"]),
body.shop-theme select,
body.shop-theme textarea {
    border-radius: var(--shop-input-radius, 14px);
}
body.shop-theme textarea {
    border-radius: var(--shop-textarea-radius, 1.25rem);
}
body.shop-theme .shop-search input {
    border-radius: 0;
}
body.shop-theme .shop-pdp-qty input {
    border-radius: 0;
}

body.shop-theme h1,
body.shop-theme h2,
body.shop-theme .shop-hero-title,
body.shop-theme .shop-section-title {
    font-family: var(--shop-font-display);
}

.shop-theme .shop-card,
.shop-theme .shop-product-card,
.shop-theme .shop-hero-card,
.shop-theme .shop-category-card {
    border-radius: var(--shop-card-radius);
}

.shop-theme .shop-btn,
.shop-theme .shop-btn-primary,
.shop-theme button.shop-btn,
.shop-theme a.shop-btn {
    border-radius: var(--shop-pill-radius, 14px);
}

body.shop-btn-rounded .shop-btn,
body.shop-btn-rounded .shop-btn-primary,
body.shop-btn-rounded a.shop-btn {
    border-radius: var(--shop-pill-radius, 14px) !important;
}

.shop-btn-pill .shop-btn,
.shop-btn-pill .shop-btn-primary,
body.shop-btn-pill {
    --shop-pill-radius: 999px;
    --shop-input-radius: 999px;
}
.shop-btn-pill .shop-btn,
.shop-btn-pill .shop-btn-primary,
body.shop-btn-pill .shop-btn,
body.shop-btn-pill .shop-btn-primary,
body.shop-btn-pill a.shop-btn {
    border-radius: 999px !important;
}
.shop-btn-square .shop-btn,
.shop-btn-square .shop-btn-primary,
body.shop-btn-square .shop-cart-btn,
body.shop-btn-square .shop-branch-trigger,
body.shop-btn-square .shop-search,
body.shop-btn-square .shop-user-chip,
body.shop-btn-square .shop-top-logo-wrap {
    border-radius: 4px !important;
}
body.shop-btn-square {
    --shop-pill-radius: 4px;
    --shop-input-radius: 4px;
    --shop-textarea-radius: 4px;
}

/* Light mode surfaces */
.shop-mode-light .shop-sidebar {
    box-shadow: 0 0 0 1px var(--shop-border);
}
.shop-mode-light .shop-product-card,
.shop-mode-light .shop-card {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Template density */
.shop-density-compact .shop-content { gap: 0.85rem; }
.shop-density-airy .shop-content { gap: 1.6rem; }

.shop-template-natural_green .shop-hero-card {
    border: 1px solid var(--shop-border);
}
.shop-template-industrial_pro .shop-product-card {
    border-radius: var(--shop-card-radius);
}
.shop-template-industrial_pro .shop-btn:not(.shop-hero-actions .shop-btn) {
    border-radius: var(--shop-card-radius);
}
.shop-hero-actions .shop-btn {
    border-radius: var(--shop-pill-radius, 14px) !important;
}
.shop-template-industrial_pro .shop-section-title {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.shop-hero-grid--full{grid-template-columns:1fr!important}.shop-hero-card--visual-only .shop-hero-visual{min-height:280px}.shop-catalog-layout--nofiltros{grid-template-columns:1fr!important}

/* Cart */
.shop-cart { max-width: 1200px; margin: 0 auto; }
.shop-cart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}
.shop-cart-title {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: var(--shop-text);
}
.shop-cart-title i { color: var(--shop-accent); }
.shop-cart-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-muted);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(255,255,255,0.04);
}
.shop-cart-continue {
    color: var(--shop-accent);
    font-weight: 700;
    font-size: 0.88rem;
}
.shop-cart-continue:hover { text-decoration: underline; }
.shop-cart-layout {
    display: grid;
    gap: 1.15rem;
}
@media (min-width: 1024px) {
    .shop-cart-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}
.shop-cart-panel {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius, 16px);
    color: var(--shop-text);
    overflow: hidden;
}
.shop-cart-table-wrap { overflow-x: auto; }
.shop-cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.shop-cart-table th {
    text-align: left;
    padding: 0.8rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shop-muted);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--shop-border);
}
.shop-cart-table td {
    padding: 0.9rem;
    border-bottom: 1px solid var(--shop-border);
    color: var(--shop-text);
    vertical-align: middle;
}
.shop-cart-table .is-action { width: 2.75rem; }
.shop-cart-table .is-qty { width: 7.5rem; text-align: center; }
.shop-cart-table .is-num { text-align: right; white-space: nowrap; }
.shop-cart-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 12rem;
}
.shop-cart-product img,
.shop-cart-thumb {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.25);
    flex-shrink: 0;
}
.shop-cart-thumb {
    display: grid;
    place-items: center;
    color: var(--shop-muted);
    font-size: 1.1rem;
}
.shop-cart-name {
    display: block;
    font-weight: 700;
    color: var(--shop-text);
    line-height: 1.3;
}
.shop-cart-name:hover { color: var(--shop-accent); }
.shop-cart-product small {
    display: block;
    margin-top: 0.15rem;
    color: var(--shop-muted);
    font-size: 0.72rem;
}
.shop-cart-price { color: var(--shop-muted); font-weight: 600; }
.shop-cart-subtotal { color: var(--shop-accent); font-weight: 800; }
.shop-cart-remove {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    cursor: pointer;
}
.shop-cart-remove:hover { background: rgba(239, 68, 68, 0.28); color: #fecaca; }
.shop-cart-qty input {
    width: 4.5rem;
    text-align: center;
    border-radius: var(--shop-input-radius, 14px);
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.28);
    color: var(--shop-text);
    padding: 0.45rem 0.35rem;
    outline: none;
}
.shop-cart-qty input:focus { border-color: var(--shop-accent); }
.shop-cart-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
}
.shop-cart-empty {
    padding: 3rem 1.25rem;
    text-align: center;
    color: var(--shop-muted);
}
.shop-cart-empty i {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    color: var(--shop-accent);
    opacity: 0.8;
}
.shop-cart-empty p {
    margin: 0 0 1rem;
    color: var(--shop-text);
    font-weight: 600;
}
.shop-cart-summary { padding: 1.15rem 1.2rem 1.3rem; }
.shop-cart-summary h2 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--shop-text);
}
.shop-cart-totals { margin: 0; }
.shop-cart-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--shop-border);
}
.shop-cart-totals dt { color: var(--shop-muted); font-weight: 600; }
.shop-cart-totals dd {
    margin: 0;
    color: var(--shop-text);
    font-weight: 700;
}
.shop-cart-totals .is-grand {
    border-bottom: 0;
    padding-top: 0.85rem;
    margin-top: 0.15rem;
}
.shop-cart-totals .is-grand dt,
.shop-cart-totals .is-grand dd {
    color: var(--shop-text);
    font-size: 1.05rem;
    font-weight: 800;
}
.shop-cart-totals .is-grand dd { color: var(--shop-accent); }
.shop-cart-checkout {
    width: 100%;
    margin-top: 1.1rem;
    min-height: 2.85rem;
    font-weight: 800;
}
.shop-cart-note {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: #fca5a5;
}

/* Checkout */
.shop-checkout { max-width: 1200px; margin: 0 auto; }
.shop-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}
.shop-checkout-card { padding: 1.15rem 1.2rem 1.25rem; }
.shop-checkout-card h2 {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--shop-text);
}
.shop-checkout-empty {
    margin: 0 0 0.85rem;
    color: var(--shop-muted);
    font-size: 0.9rem;
}
.shop-checkout-link {
    color: var(--shop-accent);
    font-size: 0.85rem;
    font-weight: 700;
}
.shop-checkout-link:hover { text-decoration: underline; }
.shop-checkout-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.55rem;
    border-radius: 12px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.22);
    cursor: pointer;
    color: var(--shop-text);
}
.shop-checkout-option.is-inline { align-items: center; }
.shop-checkout-option:has(:checked) {
    border-color: rgba(0, 232, 160, 0.45);
    background: var(--shop-accent-soft);
}
.shop-checkout-option input {
    margin-top: 0.2rem;
    accent-color: var(--shop-accent);
    flex-shrink: 0;
}
.shop-checkout-option.is-inline input { margin-top: 0; }
.shop-checkout-option strong {
    display: block;
    font-size: 0.9rem;
    color: var(--shop-text);
}
.shop-checkout-option small {
    display: block;
    margin-top: 0.25rem;
    white-space: pre-line;
    font-size: 0.78rem;
    color: var(--shop-muted);
    line-height: 1.45;
}
.shop-checkout-note {
    width: 100%;
    resize: vertical;
    min-height: 5.5rem;
    border-radius: var(--shop-textarea-radius, 1.25rem);
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.28);
    color: var(--shop-text);
    padding: 0.75rem 0.9rem;
    outline: none;
}
.shop-checkout-note::placeholder { color: var(--shop-muted); }
.shop-checkout-note:focus { border-color: var(--shop-accent); }
.shop-checkout-submit {
    width: 100%;
    min-height: 3rem;
    font-size: 1rem;
    font-weight: 800;
}
.shop-checkout-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}
.shop-checkout-alert.is-ok {
    background: rgba(0, 232, 160, 0.12);
    border: 1px solid rgba(0, 232, 160, 0.35);
    color: #6ee7b7;
}
.shop-checkout-alert.is-err {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
}
.shop-checkout-alert.is-warn {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
}
.shop-checkout-alert.is-warn strong { color: #fff; }
.shop-checkout-warn-note {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fcd34d;
}
.shop-checkout-confirm { margin-bottom: 0.75rem; }
.shop-checkout-status { font-weight: 700; }
.shop-checkout-status.is-ok { color: #4ade80; }
.shop-checkout-status.is-err { color: #f87171; }
.shop-checkout-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.shop-order-card { padding: 1.1rem 1.15rem; margin-bottom: 1rem; }
.shop-order-card h3 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--shop-text);
}
.shop-order-card p {
    margin: 0;
    white-space: pre-line;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--shop-muted);
}
.shop-order-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem 1.25rem;
}
@media (min-width: 640px) {
    .shop-order-meta { grid-template-columns: 1fr 1fr; }
}
.shop-order-meta dt {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-muted);
}
.shop-order-meta dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
    color: var(--shop-text);
}
.shop-order-split {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .shop-order-split { grid-template-columns: 1fr 1fr; }
}
.shop-order-split .shop-order-card { margin-bottom: 0; }
.shop-cart-table tfoot td {
    font-weight: 800;
    border-bottom: 0;
}
.shop-checkout-footer .shop-btn,
.shop-checkout-footer form { flex: 1; min-width: 10rem; }
.shop-checkout-footer form .shop-btn { width: 100%; }

/* Account */
.shop-account { max-width: 760px; margin: 0 auto; }
.shop-account-address {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 0.75rem;
}
.shop-account-address-text {
    margin: 0.4rem 0 0;
    white-space: pre-line;
    color: var(--shop-text);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
}
.shop-account-delete {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
}
.shop-account-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.shop-account-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .shop-account-grid { grid-template-columns: 1fr 1fr; }
    .shop-account-field.is-wide { grid-column: 1 / -1; }
}
.shop-account-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.shop-account-field span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-muted);
}
.shop-account-input {
    width: 100%;
    border-radius: var(--shop-input-radius, 14px);
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.28);
    color: var(--shop-text);
    padding: 0.7rem 0.85rem;
    outline: none;
    font: inherit;
}
.shop-account-input::placeholder { color: #8b97ab; }
.shop-account-input:focus { border-color: var(--shop-accent); }
textarea.shop-account-input { resize: vertical; min-height: 4.5rem; }
.shop-account-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--shop-text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}
.shop-account-check input { accent-color: var(--shop-accent); }

.shop-wishlist { max-width: 1180px; margin: 0 auto; }
.shop-wishlist-hint {
    margin: 0;
    padding: 1rem 1.15rem 0.35rem;
    color: var(--shop-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}
.shop-wishlist-table td small {
    display: block;
    margin-top: 0.2rem;
    color: var(--shop-muted);
    font-size: 0.72rem;
}
.shop-wishlist-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.25);
}
.shop-wishlist-qty-input {
    width: 4.6rem;
    text-align: center;
    border-radius: var(--shop-input-radius, 14px);
    border: 1px solid var(--shop-border-strong);
    background: rgba(0,0,0,0.28);
    color: var(--shop-text);
    padding: 0.4rem 0.3rem;
    outline: none;
}
.shop-wishlist-qty-input:focus { border-color: var(--shop-accent); }
.shop-wishlist-status {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.shop-wishlist-status.is-sent {
    background: rgba(0, 232, 160, 0.14);
    color: var(--shop-accent);
    border-color: rgba(0, 232, 160, 0.4);
}
.shop-wishlist-table .is-actions { width: 6.5rem; text-align: right; }
.shop-wishlist-row-actions {
    display: inline-flex;
    gap: 0.4rem;
    justify-content: flex-end;
}
.shop-wish-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #041018;
}
.shop-wish-icon.is-cart { background: var(--shop-accent); }
.shop-wish-icon.is-cart:hover { background: #25ffb3; }
.shop-wish-icon.is-del { background: #ef4444; color: #fff; }
.shop-wish-icon.is-del:hover { background: #f87171; }
.shop-wishlist-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.15rem 1.15rem;
}

/* SweetAlert â€” lista de deseos */
.shop-swal {
    background: var(--shop-surface, #0f1623) !important;
    color: var(--shop-text, #f4f7fb) !important;
    border: 1px solid var(--shop-border, rgba(255,255,255,0.08)) !important;
    border-radius: 18px !important;
    padding: 1.4rem 1.3rem 1.2rem !important;
}
.shop-swal-title {
    color: var(--shop-text, #f4f7fb) !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
}
.shop-swal-html { color: var(--shop-text, #f4f7fb) !important; padding: 0 !important; }
.shop-swal-sub {
    margin: 0 0 1rem;
    color: var(--shop-muted, #8b97ab);
    font-size: 0.9rem;
}
.shop-swal-icon {
    border-color: rgba(0, 232, 160, 0.45) !important;
    color: var(--shop-accent, #00e8a0) !important;
}
.shop-swal-field {
    display: block;
    text-align: left;
    margin-bottom: 0.75rem;
}
.shop-swal-field span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-muted, #8b97ab);
}
.shop-swal-input {
    width: 100%;
    border-radius: var(--shop-input-radius, 14px);
    border: 1px solid var(--shop-border-strong, rgba(255,255,255,0.14));
    background: rgba(0,0,0,0.32);
    color: var(--shop-text, #f4f7fb);
    padding: 0.7rem 0.85rem;
    font: inherit;
    outline: none;
}
.shop-swal-input:focus { border-color: var(--shop-accent, #00e8a0); }
.shop-swal-input.is-readonly {
    opacity: 0.85;
    color: #d7deea;
}
.shop-swal-actions {
    display: flex !important;
    gap: 0.6rem;
    margin-top: 0.6rem !important;
}
.shop-swal-confirm,
.shop-swal-cancel {
    flex: 1;
    border-radius: 999px !important;
    padding: 0.7rem 1rem !important;
    font-weight: 800 !important;
    border: 1px solid transparent !important;
    cursor: pointer;
}
.shop-swal-confirm {
    background: var(--shop-accent, #00e8a0) !important;
    color: #041018 !important;
}
.shop-swal-cancel {
    background: transparent !important;
    border-color: var(--shop-border-strong, rgba(255,255,255,0.14)) !important;
    color: var(--shop-text, #f4f7fb) !important;
}

/* Brands / Categories taxonomy grids */
.shop-brands,
.shop-taxonomy {
    width: 100%;
    max-width: none;
    margin: 0;
}
.shop-taxonomy-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
}
.shop-taxonomy-search {
    position: relative;
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 28rem;
}
.shop-taxonomy-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-muted);
    font-size: 0.85rem;
    pointer-events: none;
}
.shop-taxonomy-search input {
    width: 100%;
    box-sizing: border-box;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    color: var(--shop-text);
    border-radius: var(--shop-input-radius, 14px);
    padding: 0.65rem 0.9rem 0.65rem 2.35rem;
    font-size: 0.9rem;
    outline: none;
}
.shop-taxonomy-search input:focus {
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px var(--shop-accent-soft);
}
.shop-taxonomy-btn {
    border: 0;
    border-radius: var(--shop-input-radius, 14px);
    background: var(--shop-accent);
    color: #0b1120;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1.1rem;
    cursor: pointer;
}
.shop-taxonomy-clear {
    color: var(--shop-muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.shop-taxonomy-clear:hover {
    color: var(--shop-text);
}
.shop-brands-grid,
.shop-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    justify-content: start;
    justify-items: stretch;
    width: 100%;
}
@media (min-width: 640px) {
    .shop-brands-grid,
    .shop-taxonomy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .shop-brands-grid,
    .shop-taxonomy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1500px) {
    .shop-brands-grid,
    .shop-taxonomy-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.shop-brand-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius, 16px);
    color: var(--shop-text);
    text-align: center;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.shop-brand-card:hover {
    border-color: rgba(0, 232, 160, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 232, 160, 0.08);
}
.shop-brand-logo {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-width: none;
    max-height: none;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: rgba(0,0,0,0.28);
    border: 0;
    border-bottom: 1px solid var(--shop-border);
    overflow: hidden;
    flex-shrink: 0;
    padding: 0.85rem;
    box-sizing: border-box;
}
.shop-brand-logo img {
    width: min(92%, var(--shop-catalog-image-size, 200px));
    height: min(92%, var(--shop-catalog-image-size, 200px));
    object-fit: contain;
    padding: 0;
}
.shop-brand-logo span {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--shop-accent);
}
.shop-brand-card strong {
    display: block;
    padding: 0.9rem 0.95rem 1.05rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--shop-text);
    line-height: 1.3;
}
.shop-taxonomy-pagination {
    margin-top: 1.25rem;
}

.shop-product-quick-actions {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
}
.shop-product-quick-actions .shop-product-fav {
    position: static;
}
.shop-favorite-trigger.is-on,
.shop-pdp-wish.shop-favorite-trigger.is-on {
    color: #fb7185;
    border-color: rgba(251, 113, 133, 0.55);
}
.shop-pdp-quick-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.shop-cart-fly {
    position: fixed;
    z-index: 9999;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -21px;
    border-radius: 999px;
    background: var(--shop-accent);
    color: #04120d;
    display: grid;
    place-items: center;
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.52s ease;
    box-shadow: 0 8px 24px rgba(0, 232, 160, 0.35);
}
.shop-cart-btn.is-bump {
    animation: shop-cart-bump 0.42s ease;
}
@keyframes shop-cart-bump {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.08); }
}
.shop-profile-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--shop-border-strong);
    background: var(--shop-surface);
}
.shop-profile-toolbar-label {
    font-size: 0.9rem;
    font-weight: 600;
}
.shop-font-controls {
    display: inline-flex;
    gap: 0.35rem;
}
.shop-font-btn {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.55rem;
    border-radius: 10px;
    border: 1px solid var(--shop-border-strong);
    background: rgba(255,255,255,0.04);
    color: var(--shop-text);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
}
.shop-font-btn:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent);
}
.shop-catalog-grid--favorites {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
}

.shop-help-subtitle {
    color: var(--shop-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.shop-help-content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.shop-help-block--heading .shop-help-heading,
.shop-help-block--contact .shop-help-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}
.shop-help-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--shop-text);
    opacity: 0.92;
}
.shop-help-faq {
    border: 1px solid var(--shop-border-strong);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.shop-help-faq-q {
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
}
.shop-help-faq-q::-webkit-details-marker { display: none; }
.shop-help-faq-a {
    padding: 0 1rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--shop-muted);
}
.shop-help-figure { margin: 0; }
.shop-help-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--shop-border-strong);
    display: block;
}
.shop-help-caption {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--shop-muted);
}
.shop-help-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--shop-border-strong);
    background: #000;
}
.shop-help-video-embed,
.shop-help-video-native {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}
.shop-help-video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--shop-accent);
    font-weight: 600;
}
.shop-help-contact-line {
    font-size: 0.92rem;
    margin: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.shop-help-contact-line a {
    color: var(--shop-accent);
}
.shop-help-divider {
    border: 0;
    border-top: 1px solid var(--shop-border-strong);
    margin: 0.25rem 0;
}


/* ï¿½ï¿½ Buscar por moto (tienda / Buscamoto) ï¿½ï¿½ */
.shop-moto { width: 100%; }
.shop-moto-lead {
    margin: 0 0 1rem;
    color: var(--shop-muted);
    font-size: 0.92rem;
    max-width: 46rem;
    line-height: 1.45;
}
.shop-moto-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 1rem;
}
.shop-moto-step,
.shop-moto-reset {
    border: 1px solid var(--shop-border-strong);
    background: var(--shop-surface);
    color: var(--shop-text);
    border-radius: 999px;
    padding: 0.55rem 1.05rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}
.shop-moto-step.is-on {
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    color: #041018;
}
.shop-moto-step:disabled { opacity: 0.4; cursor: not-allowed; }
.shop-moto-reset { color: #f87171; border-color: rgba(248, 113, 113, 0.45); }
.shop-moto-question {
    margin: 0.35rem 0 1rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--shop-text);
}
.shop-moto-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}
.shop-moto-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 168px;
    padding: 1rem 0.75rem;
    border-radius: 16px;
    border: 1px solid var(--shop-border);
    background: var(--shop-surface);
    color: var(--shop-text);
    cursor: pointer;
    text-align: center;
}
.shop-moto-chip.is-on {
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 1px var(--shop-accent);
}
.shop-moto-chip-skip {
    border-style: dashed;
    opacity: 0.95;
    min-height: 168px;
}
.shop-moto-chip-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
}
.shop-moto-chip-ph {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--shop-muted);
    font-size: 2rem;
}
.shop-moto-chip-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}
.shop-moto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem;
}
.shop-moto-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid var(--shop-border);
    background: var(--shop-surface);
    color: var(--shop-text);
    cursor: pointer;
    text-align: left;
}
.shop-moto-card:hover { border-color: var(--shop-accent); }
.shop-moto-card-img {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    overflow: hidden;
    color: var(--shop-muted);
    font-size: 1.6rem;
}
.shop-moto-card-img img { width: 100%; height: 100%; object-fit: contain; }
.shop-moto-card strong { font-size: 0.9rem; }
.shop-moto-card span { font-size: 0.75rem; color: var(--shop-muted); }
.shop-moto-empty, .shop-moto-count { font-size: 0.88rem; color: var(--shop-muted); margin: 0.75rem 0; }
.shop-moto-error { color: #f87171; font-size: 0.88rem; }
.shop-moto-piezas-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}
.shop-moto-piezas-head > div { flex: 1; min-width: 160px; }
.shop-moto-piezas-head strong { display: block; font-size: 1.05rem; }
.shop-moto-piezas-head span { font-size: 0.8rem; color: var(--shop-muted); }
.shop-moto-back {
    border: 0; background: transparent; color: var(--shop-text);
    font-weight: 700; cursor: pointer; padding: 0.35rem 0;
}
.shop-moto-pieza-q {
    min-width: 200px;
    flex: 1 1 200px;
    max-width: 280px;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    color: var(--shop-text);
    border-radius: 12px;
    padding: 0.55rem 0.8rem;
}
.shop-sp-search {
    position: relative;
    z-index: 30;
    overflow: visible !important;
}
.shop-sp-search-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: stretch;
}
.shop-sp-search-field {
    position: relative;
    flex: 1;
    min-width: 14rem;
}
.shop-sp-search-field > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-muted);
    pointer-events: none;
}
.shop-sp-search-input {
    padding-left: 2.35rem !important;
}
.shop-sp-suggest {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.35rem);
    z-index: 80;
    max-height: 22rem;
    overflow: auto;
    border: 1px solid var(--shop-border-strong);
    border-radius: 12px;
    background: var(--shop-surface, #fff);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.shop-sp-suggest-empty {
    padding: 0.85rem 1rem;
    color: var(--shop-muted);
    font-size: 0.88rem;
}
.shop-sp-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
}
.shop-sp-suggest-item:last-child { border-bottom: 0; }
.shop-sp-suggest-item:hover,
.shop-sp-suggest-item.is-active {
    background: rgba(220, 23, 51, 0.08);
}
.shop-sp-suggest-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid var(--shop-border);
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.shop-sp-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.shop-sp-suggest-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.shop-sp-suggest-meta strong {
    font-size: 0.9rem;
    line-height: 1.25;
}
.shop-sp-suggest-meta small {
    color: var(--shop-muted);
    font-size: 0.75rem;
}
.shop-sp-suggest-pick {
    color: var(--shop-accent);
    font-size: 0.75rem;
    font-weight: 800;
    font-style: normal;
    flex-shrink: 0;
}

.shop-moto-filter {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 420px;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.85rem;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border-strong);
    border-radius: 12px;
    color: var(--shop-muted);
}
.shop-moto-filter-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--shop-text);
    font-size: 0.92rem;
    outline: none;
}
.shop-moto-filter-input::placeholder {
    color: var(--shop-muted);
}
.shop-moto-pieza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}
.shop-moto-pieza-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: var(--shop-surface);
    overflow: hidden;
}
.shop-moto-pieza-img {
    aspect-ratio: 1.2;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.28);
    color: var(--shop-muted);
    font-size: 1.8rem;
}
.shop-moto-pieza-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.75rem; }
.shop-moto-pieza-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.9rem 0.5rem;
}
.shop-moto-pieza-body strong { font-size: 0.95rem; line-height: 1.3; }
.shop-moto-pieza-sku { font-size: 0.75rem; color: var(--shop-muted); }
.shop-moto-pieza-price { font-size: 1.1rem; font-weight: 800; color: var(--shop-accent); }
.shop-moto-pieza-atp { font-size: 0.78rem; color: var(--shop-muted); }
.shop-moto-pieza-atp.is-ok { color: #4ade80; }
.shop-moto-pieza-atp.is-out { color: #f87171; }
.shop-moto-pieza-aviso { font-size: 0.75rem; color: #fbbf24; }
.shop-moto-pieza-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem 0.9rem;
}
.shop-moto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.shop-moto-btn-primary {
    background: var(--shop-accent);
    color: #041018;
}
.shop-moto-btn-ghost {
    background: transparent;
    border-color: var(--shop-border-strong);
    color: var(--shop-text);
}
.shop-moto-cart-msg {
    margin-top: 0.85rem;
    color: #86efac;
    font-size: 0.88rem;
}

.shop-history-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.shop-history-summary div {
    padding: 0.9rem 1rem;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}
.shop-history-summary span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shop-muted);
}
.shop-history-summary strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.35rem;
}
.shop-history-list { display: flex; flex-direction: column; gap: 0.75rem; }
.shop-history-card {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    color: inherit;
    text-decoration: none;
}
.shop-history-card:hover { border-color: var(--shop-accent, #e11d2e); }
.shop-history-date {
    text-align: center;
    padding-right: 0.85rem;
    border-right: 1px solid var(--shop-border);
}
.shop-history-date strong { display: block; font-size: 1.45rem; line-height: 1; }
.shop-history-date span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shop-muted);
}
.shop-history-folio { font-weight: 800; font-size: 1rem; }
.shop-history-piece { margin-top: 0.2rem; color: var(--shop-muted); font-size: 0.86rem; }
.shop-history-piece span { margin-left: 0.35rem; }
.shop-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    align-items: center;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: var(--shop-muted);
}
.shop-history-canal,
.shop-history-status {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.shop-history-canal.is-web { background: rgba(225,29,46,0.16); color: #fda4af; }
.shop-history-canal.is-tienda { background: rgba(245,158,11,0.16); color: #fcd34d; }
.shop-history-canal.is-marketplace { background: rgba(56,189,248,0.16); color: #7dd3fc; }
.shop-history-canal.is-whatsapp { background: rgba(34,197,94,0.16); color: #86efac; }
.shop-history-canal.is-app,
.shop-history-canal.is-otro { background: rgba(255,255,255,0.08); color: #e5e7eb; }
.shop-history-status.is-done { background: rgba(34,197,94,0.16); color: #86efac; }
.shop-history-status.is-open { background: rgba(251,191,36,0.16); color: #fde68a; }
.shop-history-status.is-off { background: rgba(225,29,46,0.16); color: #fca5a5; }
.shop-history-side { text-align: right; }
.shop-history-total { font-size: 1.15rem; font-weight: 800; }
.shop-history-open {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--shop-accent, #e11d2e);
}
@media (max-width: 720px) {
    .shop-history-card { grid-template-columns: 1fr; }
    .shop-history-date { text-align: left; border-right: 0; padding-right: 0; }
    .shop-history-side { text-align: left; }
}
