:root {
    color-scheme: light;
    --bg: #fcf8ff;
    --panel: #ffffff;
    --panel-2: #f5efff;
    --line: #e4d7f1;
    --line-soft: #f0e9f6;
    --text: #30263d;
    --muted: #756b82;
    --accent: #7652b8;
    --success: #7652b8;
    --warning: #a56c05;
    --danger: #c5303d;
    --radius: 16px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Experiencia comercial y visor de producto */
.category-mobile-toggle {
    display: none;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 4px;
}

.trust-strip span {
    padding: 8px 11px;
    border: 1px solid rgba(104, 228, 182, .2);
    border-radius: 999px;
    background: rgba(104, 228, 182, .07);
    color: #a9dfcc;
    font-size: 12px;
    font-weight: 750;
}

.catalog-breadcrumb {
    margin-top: 16px;
    color: #8d9aab;
    font-size: 13px;
}

.product-image-button {
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background: transparent;
    box-shadow: none;
    cursor: zoom-in;
}

.product-image-button:focus-visible {
    outline: 3px solid rgba(93, 155, 255, .65);
    outline-offset: 3px;
}

.product-image-button img {
    display: block;
}

.image-viewer-stage {
    display: grid;
    place-items: center;
    max-height: min(74vh, 820px);
    overflow: auto;
    border-radius: 16px;
    background: #070a0f;
    text-align: center;
    overscroll-behavior: contain;
}

.image-viewer-image,
.description-product-image {
    display: block;
    width: min(100%, 760px);
    max-width: 100%;
    max-height: min(74vh, 820px);
    margin: 0 auto;
    object-fit: contain;
    cursor: zoom-in;
    transform-origin: center;
    transition: width .22s ease, max-width .22s ease, max-height .22s ease;
}

.description-product-image {
    width: 100%;
    height: min(46vh, 420px);
    margin-bottom: 16px;
    border-radius: 14px;
    background: #070a0f;
}

.image-viewer-image.zoomed,
.description-product-image.zoomed {
    width: min(1400px, 180vw);
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}

.modal:has(.image-viewer) .modal-card {
    width: min(1000px, 94vw);
}

@media (max-width: 760px) {
    .image-viewer-stage {
        max-height: 68vh;
    }

    .image-viewer-image,
    .description-product-image {
        width: 100%;
        max-height: 68vh;
    }

    .image-viewer-image.zoomed,
    .description-product-image.zoomed {
        width: 180vw;
    }
}

.cart-product-main {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.cart-product-image,
.cart-product-image-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #111823;
}

.cart-product-main .product-image-button {
    width: 48px;
}

@media (max-width: 760px) {
    .category-mobile-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(255, 255, 255, .04);
        color: #fff;
        font-weight: 800;
    }

    .category-panel #category-list {
        display: none;
        width: 100%;
        padding-top: 10px;
    }

    .category-panel.mobile-open #category-list {
        display: grid;
    }

    .category-panel.mobile-open .category-button {
        width: 100%;
        text-align: left;
    }

    .trust-strip {
        gap: 6px;
    }

    .trust-strip span {
        font-size: 11px;
    }
}

.category-branch {
    display: inline-block;
    width: 18px;
    color: #6f8fbd;
}

.form-error {
    margin: 12px 0;
    padding: 11px 12px;
    border: 1px solid rgba(255, 111, 133, .55);
    border-radius: 9px;
    background: rgba(255, 111, 133, .1);
    color: #ffadba !important;
}

.store-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 24px clamp(20px, 4vw, 58px);
    border-top: 1px solid var(--line);
    background: #080b10;
    color: var(--muted);
    font-size: 13px;
}

.store-contact div {
    margin-right: auto;
}

.store-contact .eyebrow {
    margin-bottom: 4px;
}

.store-contact strong,
.store-contact a {
    color: #fff;
}

.floating-whatsapp {
    position: fixed;
    z-index: 60;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #8d5bc0;
    box-shadow: 0 12px 34px rgba(118, 82, 184, .32);
    transition: transform .18s ease, box-shadow .18s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 42px rgba(37, 211, 102, .48);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 760px) {
    .store-contact {
        display: grid;
        padding: 22px 16px 92px;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

.size-guide-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(78, 140, 255, .16), transparent 30rem),
        var(--bg);
}

.size-guide-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 90px;
}

.size-guide-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.size-guide-intro h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 68px);
    line-height: .95;
    letter-spacing: -.045em;
}

.size-guide-intro > p:last-child {
    color: var(--muted);
    line-height: 1.6;
}

.size-guide-groups {
    display: grid;
    gap: 18px;
}

.size-guide-card,
.size-guide-empty {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(14, 19, 27, .9);
}

.size-guide-card h2,
.size-guide-empty {
    padding: 20px 22px;
}

.size-guide-card h2 {
    margin: 0;
    border-bottom: 1px solid var(--line);
    font-size: 21px;
    text-transform: uppercase;
}

.size-guide-table-wrap {
    overflow-x: auto;
}

.size-guide-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
}

.size-guide-table th,
.size-guide-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
}

.size-guide-table thead th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.size-guide-table tbody tr:last-child > * {
    border-bottom: 0;
}

.size-guide-table tbody th {
    color: #fff;
}

.size-guide-table td {
    color: #c9d1dd;
}

.size-guide-empty h2 {
    margin: 0 0 8px;
}

.size-guide-empty p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 760px) {
    .size-guide-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 34px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 48% -15%, rgba(78, 140, 255, .13), transparent 34rem),
        radial-gradient(circle at 86% 55%, rgba(53, 211, 155, .05), transparent 30rem),
        var(--bg);
    color: var(--text);
}

button,
input {
    font: inherit;
}

.header-link {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-underline-offset: 4px;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.cart-maintenance-notice {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #d6c7eb;
    border-radius: 12px;
    background: #faf7ff;
    color: #3f3157;
    box-shadow: 0 4px 14px rgba(77, 57, 112, .06);
}

.cart-maintenance-notice strong {
    font-size: 14px;
}

.cart-maintenance-notice span {
    font-size: 13px;
    line-height: 1.45;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    width: min(138px, 30vw);
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 14px;
    letter-spacing: .08em;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .07em;
}

.cart-mobile,
.icon-button {
    display: none;
}

.catalog-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.catalog-menu-button span:first-child { font-size: 19px; line-height: .8; }

.store-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    min-height: calc(100vh - 74px);
}

.category-panel,
.order-panel {
    align-self: start;
    position: sticky;
    top: 74px;
    max-height: calc(100vh - 74px);
    overflow: auto;
}

.category-panel {
    display: none;
    position: fixed;
    z-index: 20;
    top: 74px;
    right: 18px;
    width: min(330px, calc(100vw - 36px));
    max-height: calc(100vh - 92px);
    overflow-x: hidden;
    height: calc(100dvh - 74px);
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    touch-action: pan-y;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.category-panel::-webkit-scrollbar { width: 0; height: 0; }

.category-panel.menu-open { display: block; }

.category-title,
.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

#category-list {
    display: grid;
    gap: 5px;
}

.category-children {
    display: grid;
    gap: 3px;
    margin: 1px 0 3px;
}

.category-children[hidden] {
    display: none;
}

.category-row {
    display: flex;
    align-items: stretch;
}

.category-row .category-button {
    flex: 1 1 auto;
}

.category-node.has-children .category-button { cursor: pointer; }

.category-expand {
    width: 38px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font-size: 0;
    cursor: pointer;
}

.category-expand::after {
    content: '›';
    font-size: 25px;
    line-height: 1;
}

.category-expand[aria-expanded="true"]::after {
    content: '⌄';
    font-size: 22px;
}

.category-expand:hover,
.category-expand:focus-visible {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.category-depth-1 { padding-left: 25px; font-size: 13px; }
.category-depth-2 { padding-left: 38px; font-size: 13px; }
.category-depth-3 { padding-left: 51px; font-size: 12px; }
.category-depth-4 { padding-left: 64px; font-size: 12px; }

.category-button {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    text-align: left;
}

.category-button:hover,
.category-button.active {
    background: #fff;
    color: #000;
}

.category-help {
    display: grid;
    gap: 7px;
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.category-help strong {
    color: var(--text);
}

.catalog-column {
    min-width: 0;
    padding: 38px clamp(22px, 4vw, 58px) 80px;
}

.catalog-intro {
    max-width: 720px;
}

.catalog-intro h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(28px, 4.2vw, 54px);
    line-height: .98;
    letter-spacing: -.04em;
}

.catalog-intro > p:last-child {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.55;
}

.search-wrap {
    position: relative;
    z-index: 20;
    margin: 30px 0 20px;
}

.search-wrap label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.search-wrap input {
    width: 100%;
    padding: 17px 18px;
    border: 1px solid #4a4a4a;
    border-radius: 12px;
    outline: none;
    background: #111;
    color: #fff;
    font-size: 16px;
}

.search-wrap input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}

.search-mode-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.search-mode-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.035em;
}

.search-mode-head button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.search-field {
    position: relative;
}

.search-field svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 18px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #e7e7e7;
    stroke-linecap: round;
    stroke-width: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-wrap .search-field input {
    padding: 19px 52px;
    border-radius: 8px;
    background: #050708;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 650;
}

.search-wrap .search-field input::placeholder {
    color: #858585;
}

.search-wrap .search-field input::-webkit-search-cancel-button {
    filter: invert(1);
}

.catalog-results.search-results-mode {
    display: block;
}

body.product-detail-mode .store-shell {
    grid-template-columns: 220px minmax(0, 1fr);
}

body.product-detail-mode .catalog-intro,
body.product-detail-mode .trust-strip,
body.product-detail-mode .order-panel:not(.mobile-open) {
    display: none;
}

body.product-detail-mode .catalog-column {
    padding-top: 28px;
}

.catalog-summary-list {
    border-top: 1px solid var(--line);
}

.catalog-product-summary {
    display: grid;
    grid-template-columns: 86px minmax(130px, 1fr) minmax(80px, .45fr) minmax(75px, .4fr) 126px;
    min-height: 112px;
    align-items: center;
    gap: 10px;
    padding: 18px 12px 18px 20px;
    border-bottom: 1px solid var(--line);
}

.catalog-product-summary.expandable-product {
    grid-template-columns: 86px minmax(145px, 1fr) minmax(82px, .4fr) minmax(145px, .7fr) 38px;
}

.summary-product-image,
.summary-product-image-placeholder,
.opened-variant-image,
.opened-variant-image-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
}

.summary-product-image-placeholder,
.opened-variant-image-placeholder {
    display: grid;
    place-items: center;
    background: #202020;
    color: #777;
    font-size: 10px;
    font-weight: 850;
}

.summary-product-title {
    display: grid;
    min-width: 0;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
}

.summary-product-title > strong,
.summary-product-title button > strong {
    display: block;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
    text-transform: uppercase;
}

.summary-product-title > small,
.summary-product-title button + small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.summary-product-title:not(.static-title):hover > strong,
.summary-product-title:not(.static-title):focus-visible > strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.summary-product-title.static-title button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.summary-variant-count,
.summary-product-stock {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.summary-product-stock.none,
.opened-variant-stock.none {
    color: var(--danger);
}

.summary-product-stock small,
.opened-variant-stock small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.summary-product-price {
    white-space: nowrap;
    font-size: 16px;
}

.summary-product-chevron {
    display: grid;
    width: 42px;
    height: 64px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 48px;
    font-weight: 200;
    line-height: 1;
}

.summary-product-chevron:hover,
.summary-product-chevron:focus-visible {
    color: #45efff;
}

.summary-quantity-control,
.opened-quantity-control {
    border-color: #075ecf;
}

.summary-quantity-control {
    grid-template-columns: 34px 48px 34px;
    justify-self: end;
}

.summary-quantity-control button:last-child,
.opened-quantity-control button:last-child {
    color: #45efff;
    font-size: 22px;
    font-weight: 800;
}

.single-product.out-of-stock .summary-quantity-control,
.opened-variant-row.out-of-stock .opened-quantity-control {
    border-color: #353535;
}

.opened-product-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 104px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.opened-product-head h2 {
    margin: 7px 0 8px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.opened-product-back {
    display: grid;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    place-items: center;
    padding: 0 0 5px;
    border: 1px solid #4a4a4a;
    border-radius: 9px;
    background: #0b0e0f;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 45px;
    font-weight: 200;
    line-height: 1;
}

.opened-product-back:hover,
.opened-product-back:focus-visible {
    border-color: #fff;
}

.opened-variant-list {
    display: grid;
}

.opened-variant-row {
    display: grid;
    grid-template-columns: 86px minmax(150px, 1fr) minmax(125px, .7fr) minmax(130px, .55fr) 142px;
    min-height: 126px;
    align-items: center;
    gap: 20px;
    padding: 18px 12px 18px 20px;
    border-bottom: 1px solid var(--line);
}

.opened-variant-name,
.opened-variant-stock,
.opened-variant-price {
    font-size: 15px;
}

.opened-variant-stock {
    font-weight: 700;
}

.opened-variant-price {
    white-space: nowrap;
}

.search-empty-state {
    min-height: 280px;
    padding: 56px 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

.search-empty-state strong {
    color: #fff;
    font-size: 18px;
}

.search-empty-state p {
    margin: 9px 0 0;
}

.search-result-count {
    padding: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.search-result-list {
    border-top: 1px solid var(--line);
}

.search-product-result {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 12px 20px 20px;
    border-bottom: 1px solid var(--line);
}

.search-product-image,
.search-product-image-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
}

.search-product-image-placeholder {
    display: grid;
    place-items: center;
    background: #202020;
    color: #777;
    font-size: 10px;
    font-weight: 850;
}

.search-result-variants {
    min-width: 0;
}

.search-result-variant {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(125px, 155px) 130px 142px;
    min-height: 64px;
    align-items: center;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
}

.search-result-variant:first-child {
    padding-top: 0;
}

.search-result-variant:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.search-result-name {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.search-product-title {
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.search-product-title:hover,
.search-product-title:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.search-result-name small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.search-result-name > strong {
    color: #d8d8d8;
    font-size: 13px;
}

.search-result-stock {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.search-result-stock.none {
    color: var(--danger);
}

.search-result-stock small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.search-result-price {
    white-space: nowrap;
    font-size: 16px;
}

.search-quantity-control {
    border-color: #075ecf;
}

.search-quantity-control button:last-child {
    color: #45efff;
    font-size: 24px;
    font-weight: 800;
}

.search-result-variant.out-of-stock .search-quantity-control {
    border-color: #353535;
}

.suggestions {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    top: calc(100% + 7px);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(620px, 70vh);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #111;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .55);
}

.suggestions.open {
    display: block;
}

.suggestion-button {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    background: transparent;
    color: #fff;
    text-align: left;
}

.suggestion-button:last-child {
    border-bottom: 0;
}

.suggestion-button:hover {
    background: #202020;
}

.suggestion-button img,
.suggestion-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #292929;
}

.suggestion-button small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.suggestion-card {
    border-bottom: 1px solid var(--line-soft);
}

.suggestion-card:last-child {
    border-bottom: 0;
}

.suggestion-card .suggestion-button {
    border-bottom: 1px solid var(--line-soft);
}

.suggestion-variants {
    display: grid;
    gap: 7px;
    padding: 8px 12px 11px 72px;
}

.suggestion-variant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.suggestion-variant > span {
    min-width: 0;
}

.suggestion-variant small {
    display: block;
    color: var(--muted);
}

.suggestion-variant .quantity-control {
    flex: 0 0 auto;
    grid-template-columns: 30px 42px 30px;
}

.suggestion-variant .quantity-control button,
.suggestion-variant .quantity-control input {
    height: 30px;
}

.catalog-results {
    display: grid;
    gap: 12px;
}

.store-home { display: grid; gap: 26px; padding-top: 8px; }
.home-search-prompt { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
.home-search-prompt strong { font-size: 14px; letter-spacing: .04em; }
.home-search-prompt span { color: var(--muted); font-size: 14px; }
.home-people-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-people-gallery img { display: block; width: 100%; aspect-ratio: 2 / 1; border-radius: 14px; object-fit: cover; object-position: center; background: #17191b; transition: transform .22s ease, filter .22s ease; }
.home-people-gallery img:hover { transform: translateY(-3px); filter: brightness(1.06); }
.quick-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quick-categories button { min-height: 135px; text-align: left; display: grid; align-content: space-between; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: #fff; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.quick-categories button:hover { transform: translateY(-3px); border-color: #8ab8ff; background: #14171a; }
.quick-categories span { color: #9fc2ff; font-size: 24px; }
.quick-categories strong { font-size: 14px; line-height: 1.15; }
.quick-categories small { color: var(--muted); font-size: 11px; }
.show-all-products { justify-self: start; padding: 11px 0; border: 0; background: transparent; color: #fff; font-weight: 850; letter-spacing: .05em; cursor: pointer; }
.show-all-products span { color: #9fc2ff; font-size: 19px; margin-left: 7px; }
.home-how-it-works { display: grid; gap: 14px; margin-top: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.home-how-it-works h2 { margin: 0; font-size: 20px; }
.home-how-it-works ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-how-it-works li { display: flex; align-items: flex-start; gap: 10px; }
.home-how-it-works li > span { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #1a2b42; color: #a9ceff; font-size: 12px; font-weight: 900; }
.home-how-it-works strong, .home-how-it-works small { display: block; }
.home-how-it-works strong { font-size: 13px; line-height: 1.3; }
.home-how-it-works small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
body.home-mode .catalog-breadcrumb { display: none; }

@media (max-width: 720px) {
    .home-people-gallery { grid-template-columns: 1fr; gap: 8px; }
    .home-people-gallery img { aspect-ratio: 16 / 7; }
    .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-categories button { min-height: 112px; }
    .home-how-it-works ol { grid-template-columns: 1fr; gap: 13px; }
}

/* Tema claro de la tienda */
body {
    background:
        radial-gradient(circle at 48% -15%, rgba(22, 131, 66, .10), transparent 34rem),
        radial-gradient(circle at 86% 55%, rgba(22, 131, 66, .04), transparent 30rem),
        var(--bg);
}

.store-contact,
.category-panel,
.order-panel,
.modal-card,
.home-search-prompt,
.home-how-it-works,
.quick-categories button,
.product-row,
.cart-line,
.search-empty-state,
.empty-state,
.size-guide-card,
.size-guide-empty {
    background: var(--panel);
    color: var(--text);
}

.store-contact strong,
.store-contact a,
.category-mobile-toggle,
.brand,
.catalog-menu-button,
.header-link,
.quick-categories button,
.product-row,
.cart-line,
.modal-card,
.order-panel,
.size-guide-table tbody th {
    color: var(--text);
}

.store-contact { background: #f0f7f1; }
.category-help { background: #f5efff; }
.home-search-prompt { background: linear-gradient(135deg, #fff, #f0f7f1); }
.home-how-it-works { background: #f5faf6; }
.quick-categories button:hover { border-color: var(--accent); background: #f5efff; }
.quick-categories span,
.show-all-products span { color: var(--accent); }
.show-all-products { color: var(--accent); }

.primary-button,
.checkout-button,
.cart-mobile,
.quantity-control button,
.suggestion-variant .quantity-control button {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.primary-button:hover,
.checkout-button:hover,
.cart-mobile:hover,
.quantity-control button:hover,
.suggestion-variant .quantity-control button:hover { background: #0f6732; border-color: #0f6732; }

.catalog-menu-button:hover,
.header-link:hover,
.category-link:hover,
.category-link.active,
.cart-remove:hover,
.cart-remove:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: #f5efff;
}

.search-input,
.quantity-control input,
.category-mobile-toggle {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.product-image-placeholder,
.cart-product-image-placeholder { background: #edf3ee; color: var(--muted); }
.size-guide-card { background: #fff; }
.size-guide-table td { color: #344238; }

.product-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    scroll-margin-top: 100px;
}

.product-image,
.product-image-placeholder {
    width: 112px;
    height: 112px;
    border-radius: 11px;
    object-fit: cover;
    background: #242424;
    transition: transform .28s ease, box-shadow .28s ease;
}

.product-row:has(.product-image:hover) { z-index: 2; }
.product-image:hover { transform: scale(1.45); box-shadow: 0 18px 38px rgba(0, 0, 0, .42); cursor: zoom-in; }

.product-image-placeholder {
    display: grid;
    place-items: center;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
}

.product-head h2 {
    margin: 2px 0 6px;
    font-size: 19px;
    line-height: 1.15;
}

.product-category {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-price {
    white-space: nowrap;
    font-weight: 850;
}

.description-button {
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.variant-list {
    display: grid;
    border-top: 1px solid var(--line-soft);
}

.variant-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(96px, auto) 142px;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    border-bottom: 1px solid var(--line-soft);
}

.variant-row:last-child {
    border-bottom: 0;
}

.variant-stock {
    color: var(--success);
    font-size: 12px;
}

.variant-stock.none {
    color: var(--muted);
}

.quantity-control {
    display: grid;
    grid-template-columns: 38px 58px 38px;
    overflow: hidden;
    border: 1px solid #4a4a4a;
    border-radius: 9px;
}

.quantity-control button,
.quantity-control input {
    width: 100%;
    height: 38px;
    border: 0;
    background: #181818;
    color: #fff;
    text-align: center;
}

.quantity-control button:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

.quantity-control input {
    border-right: 1px solid #4a4a4a;
    border-left: 1px solid #4a4a4a;
    appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.order-panel {
    min-height: calc(100vh - 74px);
    padding: 28px 22px;
    border-left: 1px solid var(--line);
    background: #0b0b0b;
}

.order-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.order-panel h2 {
    margin: 0;
    font-size: 22px;
}

.cart-lines {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.empty-copy,
.empty-state {
    color: var(--muted);
}

.cart-line {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--panel);
}

.cart-line-head,
.cart-line-bottom,
.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-line small {
    color: var(--muted);
}

.cart-line-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.cart-remove {
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    place-items: center;
}

.cart-remove:hover,
.cart-remove:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.cart-line-bottom {
    margin-top: 10px;
}

.cart-line .quantity-control {
    grid-template-columns: 30px 42px 30px;
}

.cart-line .quantity-control button,
.cart-line .quantity-control input {
    height: 30px;
}

.order-total {
    padding: 17px 0;
    border-top: 1px solid var(--line);
    font-size: 18px;
}

.order-total strong {
    font-size: 24px;
}

.primary-button,
.secondary-button,
.whatsapp-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid #fff;
    border-radius: 10px;
    font-weight: 850;
    text-decoration: none;
}

.primary-button {
    width: 100%;
    background: #fff;
    color: #000;
}

.secondary-button {
    background: transparent;
    color: #fff;
}

.whatsapp-button {
    background: var(--success);
    border-color: var(--success);
    color: #07180f;
}

.order-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 22px;
}

.modal.open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(5px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 28px;
    border: 1px solid #464646;
    border-radius: 16px;
    background: #111;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
}

.modal-card h2 {
    margin: 0 36px 18px 0;
    font-size: 28px;
}

.modal-card p {
    color: var(--muted);
    line-height: 1.55;
}

.modal-card label {
    display: grid;
    gap: 6px;
    margin: 14px 0;
    color: #ddd;
    font-size: 13px;
    font-weight: 700;
}

.modal-card input {
    width: 100%;
    padding: 13px;
    border: 1px solid #454545;
    border-radius: 9px;
    background: #0a0a0a;
    color: #fff;
}

.checkout-lines {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
}

.notice,
.success-box {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #4c4c4c;
    border-radius: 10px;
    line-height: 1.5;
}

.success-box {
    border-color: #256e47;
    background: rgba(63, 165, 106, .12);
    color: #b8f3cf;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 42px 24px 0;
    padding: 0;
    list-style: none;
}

.checkout-steps li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #797979;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-steps li span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #3b3b3b;
    border-radius: 50%;
}

.checkout-steps li.active,
.checkout-steps li.done {
    color: #fff;
}

.checkout-steps li.active span {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.checkout-steps li.done span {
    border-color: var(--success);
    color: #b8f3cf;
}

.checkout-lead,
.checkout-footnote {
    margin: -8px 0 16px;
}

.checkout-footnote {
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.payment-choice {
    display: grid;
    gap: 9px;
    margin: 20px 0 14px;
    padding: 0;
    border: 0;
}

.payment-choice legend {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 850;
}

.modal-card label.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid #454545;
    border-radius: 11px;
    background: #0a0a0a;
    cursor: pointer;
}

.modal-card label.payment-option:has(input:checked) {
    border-color: #fff;
    background: #191919;
}

.modal-card .payment-option input {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #fff;
}

.payment-option span {
    display: grid;
    gap: 3px;
}

.payment-option small {
    color: var(--muted);
    font-weight: 500;
}

.cash-reservation-warning,
.cash-expiry-explanation {
    display: grid;
    gap: 7px;
    margin: 14px 0;
    padding: 15px;
    border: 1px solid rgba(130, 195, 178, .52);
    border-radius: 11px;
    background: rgba(130, 195, 178, .09);
    color: #d9f4eb;
    line-height: 1.45;
}

.cash-reservation-warning[hidden] {
    display: none;
}

.cash-confirmation {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 24px;
    border: 1px solid rgba(130, 195, 178, .55);
    border-radius: 14px;
    background: rgba(130, 195, 178, .09);
    text-align: center;
}

.cash-confirmation strong {
    color: #b7ead9;
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1;
}

.cash-expiry-explanation p {
    margin: 0;
    color: #ffe3ad;
}

.payment-focus {
    display: grid;
    gap: 7px;
    margin: 18px 0;
    padding: 22px;
    border: 1px solid #3e674d;
    border-radius: 14px;
    background: rgba(63, 165, 106, .09);
    text-align: center;
}

.payment-focus span {
    color: #c9d7ce;
    font-size: 13px;
}

.payment-amount {
    color: #fff;
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1;
}

.bank-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}

.bank-details div {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #090909;
}

.bank-details dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.bank-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 850;
    user-select: all;
}

.payment-instructions {
    display: grid;
    gap: 7px;
    margin: 18px 0 24px;
    padding-left: 19px;
    border-left: 2px solid #fff;
    color: #d2d2d2;
    font-size: 13px;
}

.proof-section-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 28px 0 8px;
    font-size: 13px;
    text-transform: uppercase;
}

.proof-section-head span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 11px;
    font-weight: 900;
}

.modal-card label.proof-drop {
    display: grid;
    min-height: 122px;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 20px;
    border: 1px dashed #686868;
    border-radius: 13px;
    background: #080808;
    text-align: center;
    cursor: pointer;
}

.proof-drop:hover,
.proof-drop:focus-within {
    border-color: #fff;
}

.proof-drop span,
.proof-ai-note,
.proof-processing {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.modal-card .proof-drop input {
    width: auto;
    max-width: 100%;
    padding: 8px;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.proof-file-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 14px;
    color: var(--muted);
    font-size: 11px;
}

.proof-file-meta strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proof-file-meta span {
    flex: 0 0 auto;
}

.proof-ai-note {
    padding: 10px 12px;
    border-radius: 9px;
    background: #181818;
}

.proof-processing {
    color: #b8f3cf;
}

.checkout-later {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 560px) {
    .checkout-steps {
        margin-right: 32px;
    }

    .checkout-steps li {
        display: grid;
        justify-items: center;
        gap: 4px;
        text-align: center;
    }

    .bank-details {
        grid-template-columns: 1fr;
    }
}

.toast {
    position: fixed;
    z-index: 150;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: #000;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .2s ease;
}

.toast.open {
    opacity: 1;
    transform: translateY(0);
}

.payment-page {
    min-height: 100vh;
}

.payment-shell {
    width: min(820px, calc(100% - 28px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.payment-card {
    padding: clamp(22px, 5vw, 42px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.payment-card-centered {
    max-width: 620px;
    margin: 9vh auto 0;
    text-align: center;
}

.payment-card h1 {
    margin: 0;
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1;
    letter-spacing: -.04em;
}

.payment-lead,
.pickup-copy {
    color: var(--muted);
    line-height: 1.55;
}

.payment-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.status-pill {
    flex: none;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--warning);
    font-size: 12px;
    font-weight: 800;
}

.status-payment_reported,
.status-paid_prepare,
.status-ready_pickup,
.status-delivered {
    color: var(--success);
}

.status-rejected,
.status-cancelled {
    color: var(--danger);
}

.payment-status-copy {
    margin: 24px 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #ddd;
    line-height: 1.5;
}

.payment-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.payment-total strong {
    font-size: 27px;
}

.payment-items {
    display: grid;
    margin: 20px 0 28px;
}

.payment-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
}

.payment-item span,
.payment-item small {
    display: block;
}

.payment-item small {
    margin-top: 4px;
    color: var(--muted);
}

.bank-panel {
    margin: 24px 0 16px;
    padding: 18px;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    background: #090909;
}

.bank-row {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
}

.bank-row:last-child {
    border-bottom: 0;
}

.bank-row > span {
    color: var(--muted);
    font-size: 13px;
}

.copy-button {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.deadline-box {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #725827;
    border-radius: 10px;
    background: rgba(255, 198, 109, .08);
    color: #ffe1af;
    line-height: 1.5;
}

.deadline-expired {
    border-color: #713838;
    background: rgba(255, 123, 123, .08);
    color: #ffc4c4;
}

.payment-upload {
    display: grid;
    gap: 13px;
    margin-top: 22px;
}

.payment-upload label,
.payment-upload label small {
    display: block;
}

.payment-upload label {
    font-size: 14px;
    font-weight: 750;
}

.payment-upload label small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 400;
}

.payment-upload input {
    width: 100%;
    padding: 14px;
    border: 1px solid #454545;
    border-radius: 9px;
    background: #090909;
    color: #fff;
}

.in-person-option {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid rgba(93, 155, 255, .32);
    border-radius: 12px;
    background: rgba(78, 140, 255, .07);
}

.in-person-option h2 {
    margin: 5px 0 10px;
    font-size: 20px;
}

.in-person-option p {
    margin: 7px 0;
    color: var(--muted);
    line-height: 1.5;
}

.form-feedback {
    min-height: 24px;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.form-feedback.success {
    color: var(--success);
}

.form-feedback.error {
    color: var(--danger);
}

.button-link {
    width: auto;
    margin-top: 16px;
}

/* Presentación pública: moderna, clara y orientada a compras rápidas. */
.store-header {
    border-color: rgba(101, 121, 148, .28);
    background: rgba(6, 8, 13, .84);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px) saturate(140%);
}

.brand-mark {
    border: 0;
    background: linear-gradient(145deg, #5d9bff, #2765e8);
    box-shadow: 0 8px 24px rgba(47, 112, 241, .32);
}

.brand strong {
    color: #fff;
}

.header-link {
    padding: 8px 10px;
    border-radius: 9px;
    color: #c6cfdd;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.header-link:hover,
.header-link:focus-visible {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.store-shell {
    width: 100%;
    max-width: 1840px;
    margin: 0 auto;
}

.category-panel {
    border-color: rgba(101, 121, 148, .22);
    background: rgba(9, 13, 20, .58);
}

.category-title,
.eyebrow {
    color: #7e8da2;
}

.category-button {
    position: relative;
    padding: 12px 13px 12px 15px;
    border: 1px solid transparent;
    color: #aeb8c6;
    font-weight: 650;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.category-button:hover {
    border-color: rgba(101, 121, 148, .25);
    background: rgba(255, 255, 255, .035);
    color: #fff;
    transform: translateX(2px);
}

.category-button.active {
    border-color: rgba(78, 140, 255, .38);
    background: linear-gradient(90deg, rgba(78, 140, 255, .25), rgba(78, 140, 255, .08));
    box-shadow: inset 3px 0 0 #5d9bff;
    color: #fff;
}

.category-help {
    border-color: rgba(78, 140, 255, .22);
    background: linear-gradient(145deg, rgba(78, 140, 255, .1), rgba(13, 19, 28, .72));
}

.catalog-intro .eyebrow {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid rgba(53, 211, 155, .22);
    border-radius: 999px;
    background: rgba(53, 211, 155, .07);
    color: #68e4b6;
}

.catalog-intro h1 {
    margin-top: 8px;
    color: #f8faff;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .32);
}

.catalog-intro > p:last-child {
    color: #a9b4c3;
    font-size: 15px;
}

.search-wrap {
    position: sticky;
    top: 84px;
    z-index: 25;
    margin: 22px -10px 18px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(6, 8, 13, .84);
    backdrop-filter: blur(16px);
}

.search-wrap .search-field input {
    border: 1px solid #344154;
    border-radius: 13px;
    background: rgba(12, 17, 25, .96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.search-wrap .search-field input:focus {
    border-color: #5d9bff;
    background: #0d131c;
    box-shadow: 0 0 0 4px rgba(78, 140, 255, .14), 0 15px 36px rgba(0, 0, 0, .3);
}

.search-field svg {
    stroke: #7eaaff;
}

.search-result-count {
    padding: 2px 4px 12px;
    color: #8997aa;
}

.catalog-summary-list {
    display: grid;
    gap: 10px;
    border-top: 0;
}

.catalog-product-summary {
    overflow: visible;
    border: 1px solid rgba(101, 121, 148, .24);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(16, 22, 32, .96), rgba(11, 16, 24, .96));
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.catalog-product-summary:hover {
    position: relative;
    z-index: 30;
    border-color: rgba(93, 155, 255, .5);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22), 0 0 0 1px rgba(78, 140, 255, .06);
    transform: translateY(-1px);
}

.summary-product-image,
.opened-variant-image {
    position: relative;
    z-index: 2;
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

@media (hover: hover) and (pointer: fine) {
    .summary-product-image,
    .opened-variant-image {
        cursor: zoom-in;
        transform-origin: left center;
        transition: transform .2s ease, box-shadow .2s ease;
        will-change: transform;
    }

    .summary-product-image:hover,
    .opened-variant-image:hover {
        z-index: 40;
        transform: scale(2);
        box-shadow: 0 18px 48px rgba(0, 0, 0, .58), 0 0 0 1px rgba(126, 175, 255, .45);
    }
}

.summary-product-title > strong,
.summary-product-title button > strong {
    color: #f8faff;
}

.summary-product-title > small,
.summary-product-title button + small {
    color: #7f8da0;
}

.summary-variant-count {
    width: max-content;
    padding: 7px 10px;
    border: 1px solid rgba(78, 140, 255, .2);
    border-radius: 999px;
    background: rgba(78, 140, 255, .09);
    color: #a9c7ff;
    font-size: 12px;
}

.summary-product-stock:not(.none),
.opened-variant-stock:not(.none) {
    color: #6be3b6;
}

.summary-product-price,
.opened-variant-price {
    color: #fff;
    letter-spacing: -.015em;
}

.summary-product-chevron {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(78, 140, 255, .34);
    border-radius: 11px;
    background: rgba(78, 140, 255, .1);
    color: #7eb0ff;
    font-size: 34px;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.summary-product-chevron:hover,
.summary-product-chevron:focus-visible {
    border-color: #5d9bff;
    background: #377cf1;
    color: #fff;
    transform: translateX(2px);
}

.quantity-control {
    border-color: #344154;
    background: #0b1018;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.quantity-control button,
.quantity-control input {
    background: #111823;
}

.quantity-control button:hover:not(:disabled) {
    background: #377cf1;
    color: #fff;
}

.quantity-control input {
    border-color: #344154;
}

.opened-product-head {
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(78, 140, 255, .12), rgba(14, 19, 27, .2));
    padding: 18px;
}

.opened-product-back {
    border-color: rgba(78, 140, 255, .36);
    background: rgba(78, 140, 255, .11);
    color: #9cc0ff;
}

.opened-product-back:hover,
.opened-product-back:focus-visible {
    border-color: #5d9bff;
    background: #377cf1;
    color: #fff;
}

.opened-variant-list {
    gap: 10px;
    margin-top: 12px;
}

.opened-variant-row {
    border: 1px solid rgba(101, 121, 148, .22);
    border-radius: 15px;
    background: rgba(14, 19, 27, .88);
    transition: border-color .18s ease, background .18s ease;
}

.opened-variant-row:hover {
    position: relative;
    z-index: 30;
    border-color: rgba(93, 155, 255, .42);
    background: rgba(18, 25, 36, .96);
}

.order-panel {
    border-color: rgba(101, 121, 148, .24);
    background: linear-gradient(180deg, rgba(13, 18, 27, .98), rgba(8, 12, 18, .98));
    box-shadow: -14px 0 34px rgba(0, 0, 0, .12);
}

.order-panel h2 {
    color: #f7f9fc;
}

.cart-line {
    border-color: rgba(101, 121, 148, .26);
    border-radius: 14px;
    background: linear-gradient(145deg, #121925, #0d131c);
}

.order-total {
    border-color: rgba(101, 121, 148, .28);
}

.order-total strong {
    color: #fff;
}

.primary-button {
    border: 0;
    background: linear-gradient(135deg, #5d9bff, #2f70ee);
    box-shadow: 0 12px 28px rgba(47, 112, 238, .24);
    color: #fff;
    transition: filter .18s ease, transform .18s ease;
}

.primary-button:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.primary-button:disabled {
    background: #222c3b;
    box-shadow: none;
    color: #8997aa;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #7eafff;
    outline-offset: 3px;
}

* {
    scrollbar-color: #3c4a5d #0a0e14;
    scrollbar-width: thin;
}

@media (max-width: 1120px) {
    .store-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    body.product-detail-mode .store-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .order-panel {
        position: fixed;
        z-index: 80;
        top: 0;
        right: 0;
        width: min(380px, 92vw);
        max-height: 100vh;
        min-height: 100vh;
        transform: translateX(105%);
        transition: transform .22s ease;
        box-shadow: -20px 0 70px rgba(0, 0, 0, .75);
    }

    .order-panel.mobile-open {
        transform: translateX(0);
    }

    .cart-mobile,
    .icon-button {
        display: inline-flex;
    }

    .cart-mobile {
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
        border: 1px solid #fff;
        border-radius: 9px;
        background: transparent;
        color: #fff;
    }

    .cart-mobile span {
        display: grid;
        min-width: 23px;
        height: 23px;
        place-items: center;
        border-radius: 50%;
        background: #fff;
        color: #000;
        font-size: 12px;
        font-weight: 900;
    }

    .icon-button {
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
    }
}

@media (max-width: 760px) {
    .store-header {
        min-height: 66px;
        padding: 10px 14px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand small {
        display: none;
    }

    .header-actions {
        gap: 9px;
    }

    .header-actions .header-link {
        font-size: 9px;
    }

    .store-shell {
        display: block;
    }

    .category-panel {
        position: sticky;
        top: 66px;
        z-index: 28;
        max-height: none;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        background: rgba(9, 13, 20, .96);
        overflow-x: auto;
        backdrop-filter: blur(14px);
    }

    .category-mobile-toggle {
        display: none;
    }

    .category-title,
    .category-help {
        display: none;
    }

    #category-list {
        display: flex;
        width: max-content;
    }

    .category-button {
        width: auto;
        white-space: nowrap;
        border: 1px solid var(--line);
    }

    .catalog-column {
        padding: 28px 14px 70px;
    }

    .catalog-column > .search-wrap {
        top: 132px;
    }

    .catalog-product-summary {
        grid-template-columns: 62px minmax(0, 1fr) 126px;
        min-height: 96px;
        gap: 7px 11px;
        padding: 14px 4px;
    }

    .catalog-product-summary.expandable-product {
        grid-template-columns: 62px minmax(0, 1fr) 38px;
    }

    .summary-product-image,
    .summary-product-image-placeholder,
    .opened-variant-image,
    .opened-variant-image-placeholder {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 62px;
        height: 62px;
        border-radius: 8px;
    }

    .summary-product-title {
        grid-column: 2;
        grid-row: 1;
    }

    .summary-product-title > strong,
    .summary-product-title button > strong {
        font-size: 13px;
    }

    .summary-variant-count,
    .summary-product-stock {
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
    }

    .summary-product-price {
        grid-column: 2;
        grid-row: 3;
        font-size: 13px;
    }

    .summary-product-chevron {
        grid-column: 3;
        grid-row: 1 / span 3;
        width: 38px;
        height: 62px;
        font-size: 40px;
    }

    .summary-quantity-control {
        grid-column: 3;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .opened-product-head {
        min-height: 82px;
        padding-bottom: 18px;
    }

    .opened-product-head h2 {
        margin-top: 4px;
        font-size: 22px;
    }

    .opened-product-back {
        width: 46px;
        height: 46px;
        font-size: 37px;
    }

    .opened-variant-row {
        grid-template-columns: 62px minmax(0, 1fr) 126px;
        min-height: 104px;
        gap: 5px 11px;
        padding: 14px 4px;
    }

    .opened-variant-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 13px;
    }

    .opened-variant-stock {
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
    }

    .opened-variant-price {
        grid-column: 2;
        grid-row: 3;
        font-size: 13px;
    }

    .opened-quantity-control {
        grid-column: 3;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .search-mode-head {
        margin-bottom: 20px;
    }

    .search-mode-head h2 {
        font-size: 26px;
    }

    .search-wrap .search-field input {
        padding: 16px 44px;
        font-size: 15px;
    }

    .search-field svg {
        left: 14px;
        width: 19px;
        height: 19px;
    }

    .search-product-result {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 4px;
    }

    .search-product-image,
    .search-product-image-placeholder {
        width: 62px;
        height: 62px;
        border-radius: 8px;
    }

    .search-result-variant {
        grid-template-columns: minmax(0, 1fr) 126px;
        gap: 6px 10px;
        padding: 12px 0;
    }

    .search-result-stock,
    .search-result-price {
        grid-column: 1;
        font-size: 12px;
    }

    .search-result-price {
        grid-row: 3;
    }

    .search-quantity-control {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .search-product-title {
        font-size: 14px;
    }

    .catalog-intro h1 {
        font-size: 34px;
    }

    .product-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .product-image,
    .product-image-placeholder {
        width: 72px;
        height: 72px;
    }

    .product-head {
        display: block;
    }

    .product-price {
        display: inline-block;
        margin-top: 8px;
    }

    .variant-row {
        grid-template-columns: minmax(0, 1fr) 126px;
        gap: 8px;
        padding: 9px 0;
    }

    .variant-row > .variant-price {
        display: none;
    }

    .quantity-control {
        grid-template-columns: 34px 52px 34px;
    }

    .suggestion-variants {
        padding-left: 12px;
    }

    .suggestion-variant {
        align-items: flex-end;
    }

    .modal {
        padding: 0;
        align-items: end;
    }

    .modal-card {
        width: 100%;
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: 18px 18px 0 0;
    }

    .header-link {
        font-size: 10px;
    }

    .payment-shell {
        padding: 22px 0 50px;
    }

    .payment-heading {
        display: grid;
    }

    .status-pill {
        width: max-content;
    }

    .bank-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .copy-button {
        grid-column: 2;
        width: max-content;
    }
}

/* Fila de producto unificada: catálogo, categorías y búsqueda */
.catalog-summary-list {
    gap: 0;
    border-top: 1px solid var(--line);
}

.catalog-product-summary.unified-product-row {
    display: grid;
    grid-template-columns: 76px minmax(220px, 1.5fr) minmax(110px, .55fr) minmax(170px, .75fr) 42px;
    min-height: 104px;
    align-items: center;
    gap: 16px;
    padding: 14px 10px 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-product-summary.unified-product-row:hover {
    border-color: var(--line);
    background: rgba(93, 155, 255, .055);
    box-shadow: none;
    transform: none;
}

.unified-product-media,
.unified-product-media .product-image-button {
    width: 72px;
}

.unified-product-media .summary-product-image,
.unified-product-media .summary-product-image-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 10px;
}

.unified-product-row .summary-product-title {
    gap: 3px;
}

.unified-product-row .summary-product-title > strong {
    font-size: 15px;
}

.unified-product-row .summary-variant-count {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.unified-product-row .summary-variant-count:hover,
.unified-product-row .summary-variant-count:focus-visible {
    color: #8db7ff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.unified-product-row .summary-product-price {
    justify-self: start;
    color: var(--text);
    font-size: 15px;
}

.unified-product-row .summary-product-chevron {
    width: 36px;
    height: 54px;
    font-size: 38px;
}

.opened-variant-list {
    gap: 0;
    border-top: 1px solid var(--line);
}

.opened-variant-row {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.opened-variant-row:hover {
    border-color: var(--line);
    background: rgba(93, 155, 255, .055);
}

body.product-detail-mode .catalog-column {
    width: 100%;
}

.opened-variant-row {
    grid-template-columns: 86px minmax(220px, 1.25fr) minmax(145px, .65fr) 142px minmax(130px, .45fr);
}

.opened-quantity-control {
    grid-column: 4;
    grid-row: 1;
}

.opened-variant-price {
    grid-column: 5;
    grid-row: 1;
    justify-self: end;
    text-align: right;
}

@media (max-width: 760px) {
    .catalog-product-summary.unified-product-row {
        grid-template-columns: 62px minmax(0, 1fr) 32px;
        grid-template-areas:
            "image title chevron"
            "image variants chevron"
            "image price chevron";
        min-height: 94px;
        gap: 3px 11px;
        padding: 12px 4px;
    }

    .unified-product-media {
        grid-area: image;
    }

    .unified-product-row .summary-product-title {
        grid-area: title;
    }

    .unified-product-row .summary-variant-count {
        grid-area: variants;
        font-size: 12px;
    }

    .unified-product-row .summary-product-price {
        grid-area: price;
        font-size: 13px;
    }

    .unified-product-row .summary-product-chevron {
        grid-area: chevron;
    }

    .unified-product-media,
    .unified-product-media .product-image-button,
    .unified-product-media .summary-product-image,
    .unified-product-media .summary-product-image-placeholder {
        width: 58px;
        height: 58px;
    }

    .opened-variant-row {
        grid-template-columns: 62px minmax(0, 1fr) 126px;
    }

    .opened-variant-price {
        grid-column: 2;
        grid-row: 3;
        justify-self: start;
        text-align: left;
    }

    .opened-quantity-control {
        grid-column: 3;
        grid-row: 1 / span 3;
    }
}

/* Menú principal y árbol de categorías en panel lateral izquierdo. */
.header-leading {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.catalog-menu-button {
    flex: 0 0 auto;
}

.category-backdrop {
    position: fixed;
    z-index: 18;
    inset: 74px 0 0;
    display: block;
    border: 0;
    background: rgba(1, 3, 7, .58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.category-backdrop.menu-open {
    opacity: 1;
    pointer-events: auto;
}

.category-panel {
    display: block;
    position: fixed;
    z-index: 20;
    top: 74px;
    right: auto;
    bottom: 0;
    left: 0;
    width: min(360px, 88vw);
    max-height: none;
    padding: 24px 20px 32px;
    border: 0;
    border-right: 1px solid rgba(101, 121, 148, .28);
    border-radius: 0 16px 16px 0;
    background: rgba(7, 11, 17, .98);
    box-shadow: 22px 0 60px rgba(0, 0, 0, .48);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(-104%);
    pointer-events: none;
    transition: transform .22s ease, visibility .22s ease;
}

.category-panel.menu-open {
    display: block;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Respaldo para navegadores móviles: el estado del documento prevalece sobre
   reglas antiguas del tema y garantiza que el panel lateral sea interactivo. */
body.category-menu-open .category-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.category-menu-open .category-panel {
    display: block !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

@media (max-width: 1120px) {
    .store-shell,
    body.product-detail-mode .store-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-column {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .header-leading {
        gap: 10px;
    }

    .catalog-menu-button {
        padding: 9px 10px;
    }

    .brand strong {
        font-size: 12px;
    }

    .category-backdrop {
        inset: 66px 0 0;
    }

    .category-panel {
        position: fixed;
        top: 66px;
        right: auto;
        bottom: 0;
        left: 0;
        width: min(340px, 90vw);
        max-height: none;
        padding: 20px 16px 28px;
        border-right: 1px solid rgba(101, 121, 148, .28);
        border-bottom: 0;
        border-radius: 0 14px 14px 0;
        height: calc(100dvh - 66px);
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .category-title {
        display: block;
    }

    #category-list {
        display: grid;
        width: 100%;
    }

    .category-button {
        width: 100%;
        white-space: normal;
        border: 1px solid transparent;
    }
}

/* Tema claro definitivo: estas reglas van al final para reemplazar la presentación oscura anterior. */
.store-header { background: rgba(255,255,255,.95) !important; border-color: var(--line) !important; box-shadow: 0 8px 25px rgba(24,35,27,.08) !important; }
.brand strong { color: var(--text) !important; }
.header-link { color: var(--text) !important; }
.header-link:hover, .header-link:focus-visible { color: var(--accent) !important; background: #f5efff !important; }
.category-panel { background: rgba(255,255,255,.98) !important; border-color: var(--line) !important; box-shadow: 14px 0 34px rgba(24,35,27,.12) !important; }
.category-title, .eyebrow { color: var(--muted) !important; }
.category-button { color: #344238 !important; }
.category-button:hover { color: var(--accent) !important; background: #f5efff !important; border-color: #dac9ee !important; }
.category-button.active { color: var(--accent) !important; background: #eee4fa !important; border-color: #cfb7e8 !important; box-shadow: inset 3px 0 0 var(--accent) !important; }
.category-help { background: #f5efff !important; border-color: #dac9ee !important; }
.catalog-intro { background: linear-gradient(135deg, #ffffff, #f7f0ff) !important; }
.catalog-intro .eyebrow { color: var(--accent) !important; background: #eee4fa !important; border-color: #cfb7e8 !important; }
.catalog-intro h1, .summary-product-title > strong, .summary-product-title button > strong, .order-panel h2, .order-total strong { color: var(--text) !important; text-shadow: none !important; }
.catalog-intro > p:last-child, .summary-product-title > small, .summary-product-title button + small, .search-result-count { color: var(--muted) !important; }
.search-wrap { background: rgba(252,248,255,.94) !important; }
.search-wrap .search-field input { background: #fff !important; border-color: #d8c8e8 !important; color: var(--text) !important; box-shadow: 0 8px 20px rgba(70,42,100,.08) !important; }
.search-wrap .search-field input:focus { border-color: var(--accent) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(118,82,184,.14) !important; }
.search-field svg { stroke: var(--accent) !important; }
.catalog-product-summary, .opened-variant-row, .cart-line { background: #fff !important; border-color: var(--line) !important; box-shadow: 0 6px 18px rgba(70,42,100,.06) !important; }
.catalog-product-summary:hover, .opened-variant-row:hover { border-color: #c7ade4 !important; background: #fdfaff !important; box-shadow: 0 10px 24px rgba(70,42,100,.10) !important; }
.catalog-product-summary.availability-changed,
.opened-variant-row.availability-changed {
    border-color: #d79a25 !important;
    background: #fff8df !important;
    box-shadow: 0 0 0 3px rgba(215,154,37,.18) !important;
    animation: availability-pulse 1.4s ease-in-out 3;
}
.catalog-product-summary.availability-conflict,
.opened-variant-row.availability-conflict,
.cart-line.availability-conflict {
    border-color: #d74444 !important;
    background: #fff1f1 !important;
    box-shadow: 0 0 0 3px rgba(215,68,68,.15) !important;
}
.availability-conflict .summary-product-title strong,
.availability-conflict .opened-variant-name,
.availability-conflict .cart-product-main strong { color: #b62d2d !important; }
@keyframes availability-pulse { 50% { box-shadow: 0 0 0 6px rgba(215,154,37,.10) !important; } }
.summary-variant-count, .summary-product-chevron, .opened-product-back { color: var(--accent) !important; background: #eee4fa !important; border-color: #cfb7e8 !important; }
.summary-product-price, .opened-variant-price { color: var(--text) !important; }
.summary-product-stock:not(.none), .opened-variant-stock:not(.none) { color: var(--accent) !important; }
.quantity-control { background: #fff !important; border-color: #b9cdbd !important; box-shadow: none !important; }
.quantity-control button, .quantity-control input { background: #fff !important; color: var(--text) !important; }
.quantity-control button { color: var(--accent) !important; }
.quantity-control button:hover:not(:disabled) { background: var(--accent) !important; color: #fff !important; }
.opened-product-head { background: #f5efff !important; }
.order-panel { background: #fff !important; border-color: var(--line) !important; box-shadow: -10px 0 25px rgba(24,35,27,.06) !important; }
.primary-button { background: var(--accent) !important; color: #fff !important; }
.continue-shopping-button {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #cfb7e8;
    border-radius: 10px;
    background: #fff;
    color: var(--accent);
    font: inherit;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
}
.continue-shopping-button:hover { background: #f5efff; }
@media (max-width: 900px) {
    .order-panel.mobile-open .continue-shopping-button { display: block; }
}

/* Encabezado compacto para teléfonos: evita que logo y acciones se superpongan. */
@media (max-width: 760px) {
    .store-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        min-height: 58px !important;
        gap: 8px !important;
        padding: 8px 10px !important;
    }

    .header-leading { min-width: 0; gap: 7px !important; overflow: hidden; }
    .catalog-menu-button { flex: 0 0 auto; padding: 8px !important; font-size: 0; }
    .catalog-menu-button span:first-child { font-size: 18px; }
    .brand { min-width: 0; overflow: hidden; }
    .brand-logo { display: block !important; width: min(108px, 31vw) !important; height: 30px !important; object-position: left center !important; }
    .brand > span:not(.brand-logo) { display: none !important; }
    .header-actions { flex: 0 0 auto; gap: 4px !important; }
    .header-link { display: inline-flex !important; align-items: center; padding: 7px 6px !important; font-size: 9px !important; letter-spacing: 0 !important; white-space: nowrap; }
    .header-link-long { display: none; }
    .store-header .header-link-short { display: inline; }
    .cart-mobile { min-width: 38px !important; padding: 7px !important; }
    .cart-mobile svg { width: 18px !important; height: 18px !important; }
    .cart-mobile span { min-width: 18px !important; height: 18px !important; font-size: 10px !important; }
}

.header-link-short { display: none; }

/* En teléfono el buscador es una herramienta permanente, no una tarjeta que
   flota entre los productos. Se fija inmediatamente debajo del encabezado. */
@media (max-width: 760px) {
    .catalog-column {
        padding-top: 0 !important;
    }

    .catalog-column > .search-wrap {
        position: relative;
        z-index: 1;
        top: auto;
        width: auto;
        margin: 0 -10px 14px;
        padding: 7px 10px;
        border-radius: 0;
        background: rgba(247, 250, 247, .98) !important;
        box-shadow: 0 5px 14px rgba(24, 35, 27, .1);
        backdrop-filter: blur(10px);
    }

    .catalog-column > .search-wrap .search-field input {
        min-height: 42px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 9px;
    }

    body.category-menu-open .category-panel {
        top: 58px !important;
        z-index: 31;
    }
}
.stock-change-notice {
    margin: 0 0 14px;
    padding: 15px 16px;
    border: 2px solid #c63c3c;
    border-radius: 12px;
    background: #fff2f2;
    color: #681d1d;
    box-shadow: 0 8px 24px rgba(133, 30, 30, .14);
}
.stock-change-notice strong { display: block; margin-bottom: 6px; font-size: 15px; }
.stock-change-notice p { margin: 0 0 7px; color: #681d1d; }
.stock-change-notice ul { margin: 0 0 10px; padding-left: 20px; font-weight: 750; }
.stock-change-notice button { padding: 7px 0; border: 0; background: transparent; color: #8f2424; font: inherit; font-weight: 850; cursor: pointer; }
