@font-face {
    font-family: "Bellfort Draw";
    src: url("../fonts/bellfort-draw.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Bellfort Draw Dark";
    src: url("../fonts/bellfort-draw-dark.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Bellfort Draw Dark Bold";
    src: url("../fonts/bellfort-draw-dark-bold.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Black";
    src: url("../fonts/Moderat-Black.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Bold";
    src: url("../fonts/Moderat-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Medium";
    src: url("../fonts/Moderat-Medium.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Regular";
    src: url("../fonts/Moderat-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --sand: #f6f0e8;
    --ink: #10151d;
    --sky: #dffcff;
    --accent: #f6d525;
    --muted: #6c6f75;
    --font-banner: "Bellfort Draw Dark Bold", "Bebas Neue", sans-serif;
    --font-content: "Montserrat", sans-serif;
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-content);
    background: linear-gradient(180deg, #fffdfa 0%, #f4efe8 100%);
    color: var(--ink);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}

.brand-mark,
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-family: var(--font-banner);
    color: var(--ink);
    text-decoration: none;
}

.brand-icon { font-size: 1.3rem; transform: rotate(-12deg); }
.site-brand-logo {
    width: auto;
    height: 52px;
    max-width: 220px;
    object-fit: cover;
    object-position: left center;
}

.site-brand-text {
    display: inline-block;
}

.site-header-start {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.site-icon-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    background: rgba(16, 21, 29, 0.05);
    border: 1px solid rgba(16, 21, 29, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-icon-link:hover {
    transform: translateY(-1px);
    color: #fff;
    background: #10151d;
    box-shadow: 0 14px 28px rgba(16, 21, 29, 0.12);
}

.site-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-cart-link {
    position: relative;
    overflow: visible;
}

.site-cart-badge {
    position: absolute;
    top: -0.38rem;
    right: -0.38rem;
    z-index: 1;
    display: grid;
    min-width: 1.18rem;
    height: 1.18rem;
    padding: 0 0.24rem;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #10151d;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.site-language-toggle {
    border: 0;
    background: rgba(16, 21, 29, 0.05);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-content);
}

.site-language-toggle span {
    line-height: 1;
}

.site-header-search {
    margin-left: auto;
}

.site-customer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(16, 21, 29, 0.06);
    border: 1px solid rgba(16, 21, 29, 0.08);
    color: var(--ink);
    line-height: 1;
}

.site-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.site-account-trigger::after {
    margin-left: 0;
}

.site-account-trigger:hover .site-icon-link-static,
.site-account-trigger:focus-visible .site-icon-link-static,
.site-account-trigger[aria-expanded="true"] .site-icon-link-static {
    transform: translateY(-1px);
    color: #fff;
    background: #10151d;
    box-shadow: 0 14px 28px rgba(16, 21, 29, 0.12);
}

.site-account-trigger:hover .site-customer-pill,
.site-account-trigger:focus-visible .site-customer-pill,
.site-account-trigger[aria-expanded="true"] .site-customer-pill {
    color: #fff;
    background: #10151d;
    border-color: #10151d;
    box-shadow: 0 14px 28px rgba(16, 21, 29, 0.12);
}

.site-account-trigger:hover .site-customer-pill-label,
.site-account-trigger:focus-visible .site-customer-pill-label,
.site-account-trigger[aria-expanded="true"] .site-customer-pill-label {
    color: rgba(255, 255, 255, 0.72);
}

.site-icon-link-static:hover {
    transform: none;
    color: var(--ink);
    background: rgba(16, 21, 29, 0.05);
    box-shadow: none;
}

.site-account-menu {
    min-width: 220px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(16, 21, 29, 0.14);
    padding: 0.5rem;
}

.site-account-menu .dropdown-item {
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
}

.site-account-menu-user {
    color: var(--muted);
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem 0.7rem;
}

.site-customer-pill-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.search-pill { border-radius: 999px; min-width: 180px; background: #eceae6; border: 0; }
.cart-link { text-decoration: none; font-weight: 600; color: var(--ink); }

/* Mobile storefront menu (matches design reference) */
:root {
    --menu-blue: #2f80ed;
}

.site-mobile-menu {
    --bs-offcanvas-width: min(100vw, 26rem);
    border: 0;
    background: #fff;
}

.site-mobile-menu .offcanvas-backdrop {
    background: rgba(16, 21, 29, 0.35);
}

.site-mobile-menu-panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    padding: 0.85rem 1.1rem calc(1.15rem + env(safe-area-inset-bottom));
    background: #fff;
}

.site-mobile-menu-top {
    display: flex;
    justify-content: flex-end;
    margin: 0 -0.15rem;
}

.site-mobile-menu-close {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    font-size: 1.2rem;
}

.site-mobile-nav {
    display: grid;
    margin: 0;
}

.site-mobile-nav-link {
    display: grid;
    grid-template-columns: 1.7rem 1fr auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 3.35rem;
    padding: 0.55rem 0.1rem;
    border-bottom: 1px solid #eceff3;
    color: #111827;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-mobile-nav-link:last-child {
    border-bottom-color: #eceff3;
}

.site-mobile-nav-link:active {
    background: #f8fafc;
}

.site-mobile-nav-icon {
    width: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--menu-blue);
    font-size: 1.15rem;
    line-height: 1;
}

.site-mobile-nav-label {
    font-family: var(--font-content);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
}

.site-mobile-nav-chevron {
    color: #94a3b8;
    font-size: 0.78rem;
}

.site-mobile-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0.15rem;
}

.site-mobile-search i {
    position: absolute;
    left: 1rem;
    color: var(--menu-blue);
    font-size: 0.95rem;
    pointer-events: none;
}

.site-mobile-search input {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.7rem 1rem 0.7rem 2.7rem;
    border: 0;
    border-radius: 999px;
    background: #f1f3f5;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
}

.site-mobile-search input::placeholder {
    color: #9aa3af;
}

.site-mobile-promo {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    text-decoration: none;
    background: #dbe3ee;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.site-mobile-promo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    filter: grayscale(1) contrast(1.05);
}

.site-mobile-promo-copy {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    justify-items: end;
    max-width: 46%;
    pointer-events: none;
}

.site-mobile-promo-logo {
    display: block;
    width: auto;
    height: clamp(2.4rem, 14vw, 3.6rem);
    max-width: 100%;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}

.site-mobile-promo-logo-fallback {
    color: #111827;
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.site-mobile-menu-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding-top: 0.35rem;
}

.site-mobile-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.site-mobile-social a {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--menu-blue);
    border-radius: 999px;
    color: var(--menu-blue);
    text-decoration: none;
    font-size: 1rem;
    background: #fff;
}

.site-mobile-social a.is-filled {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.site-mobile-menu-brand {
    display: grid;
    justify-items: end;
    gap: 0.18rem;
    text-align: right;
}

.site-mobile-menu-brand strong {
    color: var(--menu-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.site-mobile-menu-brand span {
    color: #9aa3af;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .site-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .site-mobile-menu-toggler {
        border: 0;
        padding: 0.35rem;
        box-shadow: none;
    }

    .site-mobile-menu-toggler:focus {
        box-shadow: none;
    }
}

:root {
    --auth-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --auth-ease-ui: cubic-bezier(0.25, 1, 0.5, 1);
    --auth-duration: 160ms;
    --auth-duration-enter: 220ms;
}

/* Fit-to-viewport chrome: keep header, hide storefront footer on auth gates */
body:has(.auth-shell-login) {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(.auth-shell-login) .site-header {
    flex-shrink: 0;
}

body:has(.auth-shell-login) .site-footer {
    display: none;
}

body:has(.auth-shell-login) .size-guide-modal {
    flex: 0 0 auto;
}

.auth-shell {
    padding: 2rem 0 4rem;
}

.auth-shell-login {
    --auth-pad-y: clamp(0.35rem, 1.4vh, 1rem);
    --auth-pad-x: clamp(0.75rem, 2vw, 1.25rem);
    --auth-gap: clamp(0.35rem, 1.1vh, 0.7rem);
    --auth-logo-h: clamp(36px, 5.5vh, 52px);
    --auth-title-size: clamp(1.35rem, 1.1rem + 1.4vh, 1.85rem);
    --auth-copy-size: clamp(0.8rem, 0.72rem + 0.35vh, 0.9rem);
    --auth-label-size: clamp(0.78rem, 0.72rem + 0.2vh, 0.84rem);
    --auth-control-h: clamp(42px, 5.2vh, 46px);
    --auth-radius: 18px;
    --auth-panel-pad: clamp(0.85rem, 1.2vh + 0.55rem, 1.35rem);
    --auth-form-pad: clamp(0.7rem, 1vh + 0.45rem, 1rem);
    --auth-form-gap: clamp(0.45rem, 0.9vh, 0.7rem);

    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: var(--auth-pad-y) 0;
    box-sizing: border-box;
}

.auth-shell-login .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1350px;
    min-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: var(--auth-pad-x) !important;
    padding-right: var(--auth-pad-x) !important;
}

.auth-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 21, 29, 0.1);
    padding: 2rem;
}

.auth-card-admin {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,242,234,0.96));
}

.auth-card-customer {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,239,232,0.96));
}

.customer-profile {
    padding: 1.25rem 0 2.5rem;
}

.customer-profile-card {
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(16, 21, 29, 0.06);
}

.customer-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.customer-profile-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #10151d;
}

.customer-profile-copy {
    margin: 0.35rem 0 0;
    max-width: 42ch;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
}

.customer-profile .form-label {
    margin-bottom: 0.28rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3a4450;
}

.customer-profile .form-control-sm,
.customer-profile .form-select-sm {
    min-height: 2.15rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.88rem;
}

.customer-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.customer-profile-empty {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.86rem;
}

.customer-address-grid {
    display: grid;
    gap: 0.75rem;
}

.customer-address-card {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.customer-address-card.is-primary {
    border-color: rgba(16, 21, 29, 0.18);
}

.customer-address-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.customer-address-top strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #10151d;
}

.customer-address-meta {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--muted);
}

.customer-address-copy {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #27303a;
}

.customer-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

/* Nueva dirección — mismo lenguaje visual que “Nuevo rol” (admin) */
.customer-address-create-dialog {
    --a-ink: #1a1f2b;
    --a-ink-2: #2e3340;
    --a-canvas: #f4f6f9;
    --a-surface: #ffffff;
    --a-border: #e2e6eb;
    --a-muted: #6c7380;
    --a-accent: #4f6af5;
    --bs-modal-width: min(720px, calc(100vw - 1.1rem));
    margin: 0.55rem auto;
}

.customer-address-create-dialog .admin-role-create-shell {
    max-height: min(860px, calc(100dvh - 1.1rem));
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--a-canvas);
}

.customer-address-create-dialog .admin-role-create-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    background: #fff;
    border-bottom: 1px solid var(--a-border);
}

.customer-address-create-dialog .admin-panel-kicker {
    display: inline-block;
    margin-bottom: 0.2rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--a-accent);
}

.customer-address-create-dialog .admin-role-create-header .modal-title {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--a-ink);
}

.customer-address-create-dialog .admin-role-create-body {
    padding: 0.75rem 0.95rem 0.9rem;
    overflow: auto;
    background: var(--a-canvas);
}

.customer-address-create-dialog .admin-role-create-form {
    display: grid;
    gap: 0.7rem;
}

.customer-address-create-dialog .admin-role-card {
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--a-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(26, 31, 43, 0.03);
}

.customer-address-create-dialog .admin-role-card-head {
    margin-bottom: 0.5rem;
}

.customer-address-create-dialog .admin-role-card-head h4 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 850;
    color: var(--a-ink);
    line-height: 1.25;
}

.customer-address-create-dialog .admin-role-card-head p {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    color: var(--a-muted);
    line-height: 1.3;
}

.customer-address-create-dialog .admin-role-basic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
}

.customer-address-create-dialog .admin-role-field {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.customer-address-create-dialog .admin-role-field-wide {
    grid-column: 1 / -1;
}

.customer-address-create-dialog .admin-role-label {
    font-size: 0.81rem;
    font-weight: 750;
    color: var(--a-ink);
    line-height: 1.2;
}

.customer-address-create-dialog .admin-role-label em {
    color: #e11d48;
    font-style: normal;
}

.customer-address-create-dialog .admin-role-field small,
.customer-address-create-dialog .admin-role-active-toggle small {
    color: var(--a-muted);
    font-size: 0.7rem;
    line-height: 1.25;
}

.customer-address-create-dialog .admin-role-field .form-control,
.customer-address-create-dialog .admin-role-field .form-select {
    min-height: 37px;
    padding: 0.35rem 0.65rem;
    font-size: 0.84rem;
    line-height: 1.25;
    border-radius: 10px;
    border-color: #d7dce3;
}

.customer-address-create-dialog .admin-role-active-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--a-border);
    border-radius: 12px;
    background: #fbfcfe;
    cursor: pointer;
}

.customer-address-create-dialog .admin-role-active-toggle strong {
    display: block;
    font-size: 0.8rem;
    line-height: 1.25;
    color: var(--a-ink);
}

.customer-address-create-dialog .admin-role-active-toggle .form-check-input {
    width: 2.2rem;
    height: 1.2rem;
    margin-top: 0.08rem;
    cursor: pointer;
}

.customer-address-create-dialog .admin-role-active-toggle .form-check-input:checked {
    background-color: #22c55e;
    border-color: #22c55e;
}

.customer-address-create-dialog .admin-role-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    position: sticky;
    bottom: 0;
    padding: 0.6rem 0 0;
    background: linear-gradient(180deg, rgba(244, 246, 249, 0), var(--a-canvas) 28%);
}

.customer-address-create-dialog .admin-role-create-actions .btn {
    min-height: 36px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
}

@media (max-width: 767.98px) {
    .customer-address-create-dialog .admin-role-basic-grid {
        grid-template-columns: 1fr;
    }

    .customer-address-create-dialog .admin-role-field-wide {
        grid-column: auto;
    }

    .customer-address-create-dialog .admin-role-create-actions {
        justify-content: stretch;
    }

    .customer-address-create-dialog .admin-role-create-actions .btn {
        flex: 1 1 auto;
    }
}

.customer-order-items {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(16, 21, 29, 0.08);
}

.customer-order-item-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #27303a;
}

.customer-order-item-row strong {
    font-size: 0.78rem;
    white-space: nowrap;
}

.customer-profile .auth-customer-state {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    text-align: left;
}

.customer-profile .auth-customer-state strong {
    font-size: 0.86rem;
}

.customer-profile .auth-orders-count {
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
}

.customer-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.customer-order-kpi {
    position: relative;
    min-height: 102px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 7px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(16, 21, 29, 0.12);
}

.customer-order-kpi > div {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: calc(100% - 56px);
}

.customer-order-kpi span {
    display: block;
    margin-bottom: 0.45rem;
    color: inherit;
    font-size: 0.92rem;
    font-weight: 500;
}

.customer-order-kpi strong {
    display: block;
    color: inherit;
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.12;
}

.customer-order-kpi > i {
    position: absolute;
    top: 16px;
    right: 16px;
    color: rgba(0, 0, 0, 0.16);
    font-size: 3.8rem;
    line-height: 1;
}

.customer-order-kpi-blue {
    background: #007bff;
}

.customer-order-kpi-green {
    background: #00a65a;
}

.customer-order-kpi-yellow {
    background: #f39c12;
    color: #111827;
}

.customer-order-kpi-red {
    background: #f56954;
}

.customer-order-products-card {
    padding: 1.25rem;
}

.customer-order-products-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.customer-order-products-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #fff2ea;
    color: #ff5a00;
    font-size: 1.65rem;
}

.customer-order-section-head {
    align-items: center;
    justify-content: flex-start;
}

.customer-order-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 12px;
    background: #fff2ea;
    color: #ff5a00;
    font-size: 1.55rem;
}

.customer-order-products-count {
    align-self: start;
    border: 0;
    border-radius: 999px;
    background: #edf2f7;
    color: #1f2a37;
    font-size: 0.95rem;
    font-weight: 850;
    padding: 0.55rem 0.9rem;
}

.customer-order-products-table {
    overflow: hidden;
    border-radius: 14px;
}

.customer-order-products-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 150px 150px;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid #e8eef5;
}

.customer-order-products-row-head {
    padding: 0.72rem 1rem;
    background: #f3f7fb;
    color: #445469;
    font-size: 0.92rem;
    font-weight: 800;
}

.customer-order-products-row-head span:not(:first-child) {
    text-align: center;
}

.customer-order-product-main {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.customer-order-product-main img {
    width: 72px;
    height: 72px;
    border-radius: 9px;
    background: #f4f6f8;
    object-fit: cover;
}

.customer-order-product-main strong {
    display: block;
    color: #101827;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.18;
}

.customer-order-product-main span,
.customer-order-product-main small {
    display: block;
    margin-top: 0.28rem;
    color: #69778a;
    font-size: 0.88rem;
    line-height: 1.2;
}

.customer-order-product-main b {
    margin: 0 0.45rem;
    color: #9aa5b5;
}

.customer-order-product-qty,
.customer-order-product-money {
    color: #253246;
    font-size: 1rem;
    font-weight: 650;
    text-align: center;
    white-space: nowrap;
}

.customer-order-product-subtotal {
    color: #071225;
    font-size: 1.08rem;
    font-weight: 900;
}

.customer-order-products-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f3f7fb;
}

.customer-order-products-total span {
    color: #445469;
    font-size: 1rem;
    font-weight: 800;
}

.customer-order-products-total strong {
    padding-left: 1rem;
    border-left: 1px solid #d4dde8;
    color: #ff5a00;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.customer-order-detail-stack {
    display: grid;
    gap: 0.7rem;
}

.customer-order-detail-stack > div {
    display: grid;
    gap: 0.15rem;
}

.customer-order-detail-stack span {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--muted);
}

.customer-order-detail-stack strong {
    font-size: 0.88rem;
    line-height: 1.35;
    color: #10151d;
    word-break: break-word;
}

.customer-order-payload {
    margin: 0.25rem 0 0;
    max-height: 140px;
    overflow: auto;
    font-size: 0.72rem;
}

.customer-order-progress.order-progress-route {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 0;
    padding: 1.75rem 0.25rem 1.25rem;
    overflow-x: auto;
}

.customer-order-progress .order-progress-step {
    min-width: 112px;
    text-align: center;
}

.customer-order-progress .order-progress-node-wrap {
    justify-content: center;
    margin-bottom: 0.95rem;
}

.customer-order-progress .order-progress-node {
    width: 58px;
    height: 58px;
    border: 2px solid #d8dce2;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(16, 21, 29, 0.04);
}

.customer-order-progress .order-progress-node svg {
    width: 28px;
    height: 28px;
}

.customer-order-progress .order-progress-line {
    position: absolute;
    left: calc(50% + 29px);
    top: 27px;
    width: calc(100% - 58px);
    height: 7px;
    margin: 0;
    border-radius: 999px;
    background: #d6d6d6;
}

.customer-order-progress .order-progress-step:last-child .order-progress-line {
    display: none;
}

.customer-order-progress .order-progress-step-current .order-progress-node {
    background: #ff5a00;
    border-color: #ff5a00;
    box-shadow: 0 0 0 12px rgba(255, 90, 0, 0.12), 0 0 22px rgba(255, 90, 0, 0.42);
}

.customer-order-progress .order-progress-step-current .order-progress-copy strong {
    color: #ff5a00;
}

.customer-order-progress .order-progress-step-completed .order-progress-node {
    background: #ff5a00;
    border-color: #ff5a00;
    box-shadow: 0 0 0 8px rgba(255, 90, 0, 0.1);
}

.customer-order-progress .order-progress-step-completed .order-progress-line {
    background: #ff5a00;
}

.customer-order-progress .order-progress-step-completed .order-progress-node-wrap .order-progress-line::after {
    background: #ff5a00;
}

.customer-order-progress .order-progress-node-wrap::before {
    display: none;
}

.customer-order-progress .order-progress-copy strong {
    font-size: 0.96rem;
    line-height: 1.2;
}

.customer-order-progress .order-progress-copy span {
    font-size: 0.82rem;
}

@media (max-width: 991.98px) {
    .customer-order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-order-products-row {
        grid-template-columns: minmax(0, 1fr) 76px 120px 120px;
        gap: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .customer-profile-card {
        padding: 1rem;
    }

    .customer-profile-title {
        font-size: 1.1rem;
    }

    .customer-order-summary-grid {
        grid-template-columns: 1fr;
    }

    .customer-order-progress.order-progress-route {
        grid-template-columns: repeat(6, 122px);
        padding-bottom: 1rem;
    }

    .customer-order-products-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .customer-order-products-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .customer-order-products-row-head {
        display: none;
    }

    .customer-order-products-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 0.9rem;
        padding: 0.95rem 0;
    }

    .customer-order-product-main {
        grid-column: 1 / -1;
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .customer-order-product-main img {
        width: 64px;
        height: 64px;
    }

    .customer-order-product-qty,
    .customer-order-product-money {
        text-align: left;
        font-size: 0.92rem;
    }

    .customer-order-product-qty::before {
        content: "Cant.: ";
        color: #69778a;
        font-weight: 700;
    }

    .customer-order-product-money::before {
        content: "P. Unitario: ";
        display: block;
        color: #69778a;
        font-size: 0.74rem;
        font-weight: 700;
    }

    .customer-order-product-subtotal::before {
        content: "Subtotal: ";
    }

    .customer-order-products-total {
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .customer-order-products-total strong {
        font-size: 1.28rem;
    }
}

/* Cambiar contraseña — mismo lenguaje visual que “Nuevo rol” (admin) */
.customer-password-create-dialog {
    --a-ink: #1a1f2b;
    --a-ink-2: #2e3340;
    --a-canvas: #f4f6f9;
    --a-surface: #ffffff;
    --a-border: #e2e6eb;
    --a-muted: #6c7380;
    --a-accent: #4f6af5;
    --bs-modal-width: min(640px, calc(100vw - 1.1rem));
    margin: 0.55rem auto;
}

.customer-password-create-dialog .admin-role-create-shell {
    max-height: min(860px, calc(100dvh - 1.1rem));
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--a-canvas);
}

.customer-password-create-dialog .admin-role-create-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    background: #fff;
    border-bottom: 1px solid var(--a-border);
}

.customer-password-create-dialog .admin-panel-kicker {
    display: inline-block;
    margin-bottom: 0.2rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--a-accent);
}

.customer-password-create-dialog .admin-role-create-header .modal-title {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--a-ink);
}

.customer-password-create-dialog .admin-role-create-body {
    padding: 0.75rem 0.95rem 0.9rem;
    overflow: auto;
    background: var(--a-canvas);
}

.customer-password-create-dialog .admin-role-create-form {
    display: grid;
    gap: 0.7rem;
}

.customer-password-create-dialog .admin-role-card {
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--a-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(26, 31, 43, 0.03);
}

.customer-password-create-dialog .admin-role-card-head {
    margin-bottom: 0.5rem;
}

.customer-password-create-dialog .admin-role-card-head h4 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 850;
    color: var(--a-ink);
    line-height: 1.25;
}

.customer-password-create-dialog .admin-role-card-head p {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    color: var(--a-muted);
    line-height: 1.3;
}

.customer-password-create-dialog .admin-role-basic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
}

.customer-password-create-dialog .customer-password-grid {
    align-items: start;
}

.customer-password-create-dialog .admin-role-field {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.customer-password-create-dialog .admin-role-field-wide {
    grid-column: 1 / -1;
}

.customer-password-create-dialog .admin-role-label {
    font-size: 0.81rem;
    font-weight: 750;
    color: var(--a-ink);
    line-height: 1.2;
}

.customer-password-create-dialog .admin-role-label em {
    color: #e11d48;
    font-style: normal;
}

.customer-password-create-dialog .admin-role-field small {
    color: var(--a-muted);
    font-size: 0.7rem;
    line-height: 1.25;
}

.customer-password-create-dialog .admin-role-field .form-control {
    min-height: 37px;
    padding: 0.35rem 2.6rem 0.35rem 0.65rem;
    font-size: 0.84rem;
    line-height: 1.25;
    border-radius: 10px;
    border-color: #d7dce3;
}

.customer-password-create-dialog .admin-role-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    position: sticky;
    bottom: 0;
    padding: 0.6rem 0 0;
    background: linear-gradient(180deg, rgba(244, 246, 249, 0), var(--a-canvas) 28%);
}

.customer-password-create-dialog .admin-role-create-actions .btn {
    min-height: 36px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
}

.customer-password-field {
    position: relative;
}

.customer-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6d7279;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.customer-password-toggle:hover,
.customer-password-toggle:focus-visible {
    color: #10151d;
    background: rgba(16, 21, 29, 0.06);
    outline: none;
}

.customer-password-toggle i {
    font-size: 0.9rem;
}

.customer-password-strength {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.customer-password-strength-track {
    width: 100%;
    height: 0.32rem;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.08);
    overflow: hidden;
}

.customer-password-strength-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #dc3545;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.customer-password-strength-bar[data-level="1"] {
    background: #fd7e14;
}

.customer-password-strength-bar[data-level="2"] {
    background: #ffc107;
}

.customer-password-strength-bar[data-level="3"] {
    background: #20c997;
}

.customer-password-strength-bar[data-level="4"] {
    background: #198754;
}

.customer-password-strength-label {
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--a-muted, #6c7380);
}

.customer-password-requirements {
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(16, 21, 29, 0.035);
    border: 1px solid rgba(16, 21, 29, 0.06);
}

.customer-password-requirements-title {
    font-size: 0.76rem;
    font-weight: 750;
    color: var(--a-ink, #1a1f2b);
}

.customer-password-requirements-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.9rem;
}

.customer-password-requirement,
.customer-password-match {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.customer-password-requirement {
    white-space: nowrap;
}

.customer-password-requirement i,
.customer-password-match i {
    width: 0.9rem;
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.customer-password-requirement.is-valid-rule i,
.customer-password-match.text-success i {
    transform: scale(1.05);
}

.customer-password-match {
    margin-top: 0.2rem;
}

.customer-password-form [data-password-submit]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .customer-password-create-dialog .admin-role-basic-grid {
        grid-template-columns: 1fr;
    }

    .customer-password-create-dialog .admin-role-field-wide {
        grid-column: auto;
    }

    .customer-password-create-dialog .admin-role-create-actions {
        justify-content: stretch;
    }

    .customer-password-create-dialog .admin-role-create-actions .btn {
        flex: 1 1 auto;
    }
}

.auth-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
}

.auth-brand-logo {
    width: auto;
    max-width: min(240px, 70%);
    max-height: 108px;
    object-fit: contain;
}

.auth-brand-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: #10151d;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-12deg);
}

.auth-footer-copy {
    margin-top: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer-copy a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.35rem;
    transition: color var(--auth-duration) var(--auth-ease-ui);
}

.auth-footer-copy a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.auth-customer-state {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(16, 21, 29, 0.05);
    border: 1px solid rgba(16, 21, 29, 0.08);
    margin-bottom: 1rem;
    text-align: center;
}

.auth-panel-block {
    height: 100%;
    padding: 1.35rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.auth-secondary-actions {
    display: grid;
    gap: 0.9rem;
}

.auth-login-split {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: stretch;
    width: 100%;
    min-height: 0;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 21, 29, 0.09);
    border: 1px solid rgba(16, 21, 29, 0.06);
}

.auth-login-media {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #ece7df;
}

.auth-login-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 28% center;
    opacity: 0;
    transform: scale(1.02);
    animation: authImageIn var(--auth-duration-enter) var(--auth-ease-out) forwards;
    transition: transform 480ms var(--auth-ease-ui);
}

@media (hover: hover) and (pointer: fine) {
    .auth-login-media:hover .auth-login-image {
        transform: scale(1.015);
    }
}

.auth-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    padding: clamp(1rem, 2.2vh + 0.4rem, 2.4rem) clamp(1rem, 2.5vw, 2.75rem);
    background: #fff;
    overflow: hidden;
}

.auth-login-inner {
    width: min(100%, 400px);
    max-height: 100%;
    opacity: 0;
    transform: translateY(8px);
    animation: authFormIn var(--auth-duration-enter) var(--auth-ease-out) 40ms forwards;
}

.auth-login-card {
    padding: var(--auth-panel-pad);
    border: 1px solid rgba(16, 21, 29, 0.06);
    border-radius: var(--auth-radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 36px rgba(16, 21, 29, 0.06);
}

.auth-login-brand {
    margin-bottom: var(--auth-gap);
}

.auth-login-brand .auth-brand-logo {
    max-width: min(72px, 30%);
    max-height: var(--auth-logo-h);
}

.auth-login-brand .auth-brand-fallback {
    width: var(--auth-logo-h);
    height: var(--auth-logo-h);
    font-size: calc(var(--auth-logo-h) * 0.42);
    border-radius: 16px;
}

.auth-shell-login .section-kicker {
    margin-bottom: 0;
    font-size: clamp(0.68rem, 0.62rem + 0.2vh, 0.76rem);
}

.auth-login-title {
    max-width: 22ch;
    margin: 0.28rem auto 0.4rem;
    text-align: center;
    font-family: var(--font-content);
    font-size: var(--auth-title-size);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}

.auth-login-copy {
    margin: 0 auto var(--auth-gap);
    max-width: 34ch;
    color: #5f646b;
    text-align: center;
    font-size: var(--auth-copy-size);
    line-height: 1.45;
}

.auth-login-form-card {
    margin-top: var(--auth-gap);
    padding: var(--auth-form-pad);
    border: 1px solid rgba(16, 21, 29, 0.07);
    border-radius: 14px;
    background: #fff;
}

.auth-login-form-title {
    margin: 0 0 var(--auth-form-gap);
    color: var(--ink);
    font-size: clamp(0.95rem, 0.88rem + 0.3vh, 1.05rem);
    font-weight: 800;
}

.auth-login-form {
    display: grid;
    gap: var(--auth-form-gap);
}

.auth-field {
    display: grid;
    gap: 0.3rem;
}

.auth-field .form-label {
    margin: 0;
    font-size: var(--auth-label-size);
    font-weight: 700;
    color: #1d2128;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon,
.auth-password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d7279;
}

.auth-input-icon {
    left: 0.9rem;
    pointer-events: none;
}

.auth-input-icon svg,
.auth-password-toggle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.auth-login-input {
    min-height: var(--auth-control-h);
    border: 1px solid #d5d8de;
    border-radius: 8px;
    background: #fff;
    padding: 0.55rem 2.7rem 0.55rem 2.55rem;
    color: var(--ink);
    box-shadow: none;
    font-size: 0.95rem;
    line-height: 1.3;
    transition:
        border-color var(--auth-duration) var(--auth-ease-ui),
        box-shadow var(--auth-duration) var(--auth-ease-ui),
        background-color var(--auth-duration) var(--auth-ease-ui);
}

.auth-login-input::placeholder {
    color: #8a8f97;
}

.auth-login-input:hover {
    border-color: #b8bcc4;
}

.auth-login-input:focus,
.auth-login-input:focus-visible {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 21, 29, 0.12);
}

.auth-login-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #f4f3ef;
}

.auth-password-toggle {
    right: 0.35rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transition:
        background var(--auth-duration) var(--auth-ease-ui),
        color var(--auth-duration) var(--auth-ease-ui),
        transform var(--auth-duration) var(--auth-ease-out);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    color: var(--ink);
    background: rgba(16, 21, 29, 0.06);
}

.auth-password-toggle:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}

.auth-password-toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.auth-password-toggle.is-visible {
    color: var(--ink);
}

.auth-recover-link {
    justify-self: end;
    min-height: 32px;
    border: 0;
    background: transparent;
    padding: 0.25rem 0.15rem;
    color: #35383d;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--auth-duration) var(--auth-ease-ui);
}

.auth-recover-link:hover,
.auth-recover-link:focus-visible {
    color: var(--ink);
    text-decoration: underline;
}

.auth-recover-link:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
    border-radius: 4px;
}

.auth-login-submit,
.auth-create-account {
    width: 100%;
    min-height: var(--auth-control-h);
    border-radius: 8px;
    font-weight: 800;
    text-transform: none;
    cursor: pointer;
    transition:
        transform var(--auth-duration) var(--auth-ease-out),
        background-color var(--auth-duration) var(--auth-ease-ui),
        border-color var(--auth-duration) var(--auth-ease-ui),
        color var(--auth-duration) var(--auth-ease-ui),
        box-shadow var(--auth-duration) var(--auth-ease-ui);
}

.auth-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.15rem;
    padding: 0.6rem 0.95rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 0.92rem;
}

.auth-login-submit:focus-visible,
.auth-create-account:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .auth-login-submit:hover {
        transform: translateY(-1px);
        background: #252a33;
        border-color: #252a33;
        box-shadow: 0 10px 22px rgba(16, 21, 29, 0.16);
    }

    .auth-create-account:hover {
        transform: translateY(-1px);
        background: #f4f3ef;
        border-color: #c9c5bd;
    }
}

.auth-login-submit:active,
.auth-create-account:active {
    transform: scale(0.98);
    box-shadow: none;
}

.auth-login-submit:disabled,
.auth-create-account:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.auth-login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: var(--auth-gap) 0;
    color: #7a7e84;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-login-divider::before,
.auth-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2dfd8;
}

.auth-create-account {
    border: 1px solid #d4d0c8;
    background: transparent;
    color: var(--ink);
    font-size: 0.92rem;
}

.auth-login-admin {
    margin-top: var(--auth-gap);
    font-size: clamp(0.76rem, 0.72rem + 0.15vh, 0.84rem);
}

.auth-login-admin a {
    white-space: nowrap;
}

.auth-modal-shell.admin-modal-shell .modal-header,
.auth-modal-shell .admin-modal-header {
    padding: 0.7rem 1rem;
}

.auth-modal-shell .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}

.auth-modal-shell .admin-panel-kicker {
    display: none;
}

.auth-modal-shell .modal-header .text-muted,
.auth-modal-shell .modal-body > .text-muted,
.auth-modal-shell .modal-body > p.text-muted {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-modal-shell .form-label {
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1d2128;
}

.auth-modal-shell .form-control,
.auth-modal-shell .form-select {
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.86rem;
    transition:
        border-color var(--auth-duration) var(--auth-ease-ui),
        box-shadow var(--auth-duration) var(--auth-ease-ui);
}

.auth-modal-shell .form-control:focus,
.auth-modal-shell .form-select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(16, 21, 29, 0.1);
}

.auth-modal-shell .btn {
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    font-size: 0.84rem;
    border-radius: 6px;
    transition:
        transform var(--auth-duration) var(--auth-ease-out),
        background-color var(--auth-duration) var(--auth-ease-ui),
        border-color var(--auth-duration) var(--auth-ease-ui);
}

.auth-modal-shell .btn:active {
    transform: scale(0.98);
}

.auth-modal-shell .modal-body {
    padding: 0.75rem 1rem 0.9rem;
}

.auth-modal-shell .mt-4 {
    margin-top: 0.75rem !important;
}

.auth-modal-shell .mb-4 {
    margin-bottom: 0.65rem !important;
}

/* Recover password modal */
.auth-recover-modal .modal-dialog {
    max-width: 460px;
}

.auth-recover-shell {
    position: relative;
    padding: 1.55rem 1.6rem 1.35rem;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.auth-recover-close {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #9ca3af;
    font-size: 1.05rem;
    transition: color 0.18s ease, background 0.18s ease;
}

.auth-recover-close:hover,
.auth-recover-close:focus-visible {
    color: #15181e;
    background: rgba(21, 24, 30, 0.06);
}

.auth-recover-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
    padding-right: 2rem;
}

.auth-recover-brand-logo {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
    flex-shrink: 0;
}

.auth-recover-brand-copy {
    display: grid;
    gap: 0.05rem;
    line-height: 1.05;
}

.auth-recover-brand-copy strong {
    color: #15181e;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.auth-recover-brand-copy span {
    color: #ff6a00;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.auth-recover-hero {
    position: relative;
    width: 5.4rem;
    height: 5.4rem;
    margin: 0.15rem auto 1rem;
}

.auth-recover-hero-ring {
    position: absolute;
    inset: 0;
    border: 3px solid #ff6a00;
    border-radius: 999px;
    opacity: 0.95;
    clip-path: polygon(8% 0, 92% 0, 100% 18%, 96% 48%, 100% 82%, 88% 100%, 12% 100%, 0 78%, 6% 42%, 0 16%);
}

.auth-recover-hero-mark {
    position: absolute;
    inset: 0.55rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #15181e;
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 8px 18px rgba(21, 24, 30, 0.18);
}

.auth-recover-head {
    text-align: center;
    margin-bottom: 1.2rem;
}

.auth-recover-title {
    margin: 0;
    color: #15181e;
    font-size: clamp(1.55rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.auth-recover-subtitle {
    margin: 0.2rem 0 0.75rem;
    color: #ff6a00;
    font-family: "Segoe Script", "Brush Script MT", "Comic Sans MS", cursive;
    font-size: clamp(1.55rem, 3.4vw, 1.95rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1;
    transform: rotate(-2deg);
}

.auth-recover-copy {
    margin: 0 auto;
    max-width: 22rem;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-recover-form {
    display: grid;
    gap: 0.75rem;
}

.auth-recover-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: #15181e;
    font-size: 0.86rem;
    font-weight: 750;
}

.auth-recover-label i {
    font-size: 0.82rem;
}

.auth-recover-input-wrap {
    position: relative;
}

.auth-recover-input-icon {
    position: absolute;
    top: 50%;
    left: 0.95rem;
    transform: translateY(-50%);
    color: #c4c9d1;
    font-size: 0.92rem;
    pointer-events: none;
}

.auth-recover-input {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.7rem 0.95rem 0.7rem 2.55rem;
    border: 1.5px solid #ff6a00;
    border-radius: 12px;
    background: #fff;
    color: #15181e;
    font-size: 0.92rem;
    box-shadow: none;
    outline: none;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.auth-recover-input::placeholder {
    color: #b0b6bf;
}

.auth-recover-input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.18rem rgba(255, 106, 0, 0.14);
}

.auth-recover-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: #eaf4ff;
    color: #1d4f91;
    font-size: 0.82rem;
    line-height: 1.4;
}

.auth-recover-note i {
    margin-top: 0.1rem;
    color: #2f80ed;
    font-size: 0.9rem;
}

.auth-recover-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.95rem;
    margin-top: 0.15rem;
    border: 0;
    border-radius: 12px;
    background: #15181e;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.18s ease, transform 0.18s ease;
}

.auth-recover-submit i {
    color: #ff6a00;
}

.auth-recover-submit:hover {
    background: #0b0d11;
    color: #fff;
    transform: translateY(-1px);
}

.auth-recover-submit:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.auth-recover-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem;
    margin: 1.15rem 0 0.9rem;
    color: #d1d5db;
}

.auth-recover-divider span {
    height: 1px;
    background: #e5e7eb;
}

.auth-recover-divider i {
    font-size: 0.78rem;
}

.auth-recover-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    margin: 0;
    color: #15181e;
    font-size: 0.88rem;
    text-align: center;
}

.auth-recover-footer > i {
    color: #ff6a00;
}

.auth-recover-login-link {
    border: 0;
    background: transparent;
    color: #ff6a00;
    font-size: inherit;
    font-weight: 800;
    padding: 0;
    text-decoration: none;
}

.auth-recover-login-link:hover,
.auth-recover-login-link:focus-visible {
    color: #e85f00;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .auth-recover-modal .modal-dialog {
        margin: 0.75rem;
    }

    .auth-recover-shell {
        padding: 1.3rem 1.15rem 1.2rem;
        border-radius: 18px;
    }

    .auth-recover-title {
        font-size: 1.45rem;
    }

    .auth-recover-subtitle {
        font-size: 1.45rem;
    }
}

/* Minimalist create-account modal */
.auth-register-modal .modal-dialog {
    max-width: 560px;
}

.auth-register-shell {
    display: flex;
    flex-direction: column;
    max-height: min(90dvh, 720px);
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 21, 29, 0.05);
    overflow: hidden;
}

.auth-register-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ebe8e2;
    background: #fff;
}

.auth-register-header-copy {
    min-width: 0;
}

.auth-register-title {
    margin: 0;
    font-family: var(--font-content);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}

.auth-register-desc {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-register-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -0.15rem 0 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6c6f75;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color var(--auth-duration) var(--auth-ease-ui),
        color var(--auth-duration) var(--auth-ease-ui),
        transform var(--auth-duration) var(--auth-ease-out);
}

.auth-register-close:hover,
.auth-register-close:focus-visible {
    color: var(--ink);
    background: rgba(16, 21, 29, 0.05);
}

.auth-register-close:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.auth-register-close:active {
    transform: scale(0.96);
}

.auth-register-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.auth-register-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
}

.auth-register-fields {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.auth-register-section {
    padding: 0.7rem 1rem 0.8rem;
    border-bottom: 1px solid #ebe8e2;
}

.auth-register-section:last-of-type {
    border-bottom: 0;
}

.auth-register-section-title {
    margin: 0 0 0.5rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8c90;
}

.auth-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.65rem;
}

.auth-register-field {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.auth-register-field-full {
    grid-column: 1 / -1;
}

.auth-register-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2a2f36;
}

.auth-register-input-wrap {
    position: relative;
}

.auth-register-input {
    width: 100%;
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #e2dfd8;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-content);
    font-size: 0.86rem;
    line-height: 1.3;
    appearance: none;
    box-shadow: none;
    transition:
        border-color var(--auth-duration) var(--auth-ease-ui),
        background-color var(--auth-duration) var(--auth-ease-ui),
        box-shadow var(--auth-duration) var(--auth-ease-ui);
}

select.auth-register-input {
    padding-right: 2.2rem;
    background-image:
        linear-gradient(45deg, transparent 50%, #6c6f75 50%),
        linear-gradient(135deg, #6c6f75 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.auth-register-input-wrap .auth-register-input {
    padding-right: 2.4rem;
}

.auth-register-input::placeholder {
    color: #9a9ea5;
}

.auth-register-input:hover {
    border-color: #cfcbc3;
}

.auth-register-input:focus,
.auth-register-input:focus-visible {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(16, 21, 29, 0.1);
}

.auth-register-password-toggle {
    right: 0.2rem;
    width: 34px;
    height: 34px;
}

.auth-register-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.65rem 1rem 0.8rem;
    border-top: 1px solid #ebe8e2;
    background: #faf9f7;
}

.auth-register-submit {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-content);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform var(--auth-duration) var(--auth-ease-out),
        background-color var(--auth-duration) var(--auth-ease-ui),
        border-color var(--auth-duration) var(--auth-ease-ui);
}

.auth-register-cancel {
    width: 100%;
    min-height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #5f646b;
    font-family: var(--font-content);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        color var(--auth-duration) var(--auth-ease-ui),
        background-color var(--auth-duration) var(--auth-ease-ui),
        transform var(--auth-duration) var(--auth-ease-out);
}

.auth-register-submit:focus-visible,
.auth-register-cancel:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .auth-register-submit:hover {
        background: #252a33;
        border-color: #252a33;
    }

    .auth-register-cancel:hover {
        color: var(--ink);
        background: rgba(16, 21, 29, 0.04);
    }
}

.auth-register-submit:active,
.auth-register-cancel:active {
    transform: scale(0.98);
}

.auth-register-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

@media (max-width: 575.98px) {
    .auth-register-modal .modal-dialog {
        margin: 0.5rem;
    }

    .auth-register-header,
    .auth-register-section,
    .auth-register-actions {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .auth-register-grid {
        grid-template-columns: 1fr;
    }

    .auth-register-input,
    .auth-register-submit {
        min-height: 40px;
    }

    .auth-register-title {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-register-close:active,
    .auth-register-submit:active,
    .auth-register-cancel:active {
        transform: none;
    }
}

@keyframes authImageIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes authFormIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Width breakpoints */
@media (max-width: 1199.98px) {
    .auth-login-split {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    }
}

@media (max-width: 991.98px) {
    .auth-login-split {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .auth-login-panel {
        padding: clamp(0.9rem, 2vh, 1.5rem) clamp(0.9rem, 2vw, 1.5rem);
    }
}

@media (max-width: 767.98px) {
    .auth-shell-customer:not(.auth-shell-login) {
        padding-top: 1rem;
    }

    .auth-shell-login {
        --auth-pad-y: 0.5rem;
        --auth-control-h: 46px;
    }

    .auth-login-split {
        grid-template-columns: 1fr;
        overflow: visible;
        border-radius: 18px;
    }

    .auth-login-media {
        min-height: clamp(96px, 16vh, 140px);
        max-height: 16vh;
    }

    .auth-login-image {
        object-position: center 35%;
    }

    .auth-login-panel {
        align-items: stretch;
        justify-content: flex-start;
        overflow: visible;
        padding: 1.1rem 1rem 1.25rem;
    }

    .auth-login-inner {
        width: 100%;
        max-height: none;
    }

    .auth-login-title {
        max-width: none;
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }

    .auth-login-copy {
        max-width: none;
        margin-bottom: 0.55rem;
    }

    .auth-login-admin {
        display: grid;
        gap: 0.2rem;
        justify-items: center;
    }

    .auth-login-admin a {
        white-space: normal;
    }
}

/* Height-responsive densification (desktop/laptop first) */
@media (max-height: 899px) {
    .auth-shell-login {
        --auth-pad-y: 0.4rem;
        --auth-gap: 0.4rem;
        --auth-logo-h: 42px;
        --auth-panel-pad: 0.85rem;
        --auth-form-pad: 0.75rem;
        --auth-form-gap: 0.5rem;
        --auth-title-size: clamp(1.28rem, 2.4vh, 1.6rem);
    }

    .auth-login-form-card {
        box-shadow: none;
    }
}

@media (max-height: 767px) {
    .auth-shell-login {
        --auth-pad-y: 0.25rem;
        --auth-gap: 0.3rem;
        --auth-logo-h: 36px;
        --auth-panel-pad: 0.7rem;
        --auth-form-pad: 0.65rem;
        --auth-copy-size: 0.78rem;
        --auth-control-h: 42px;
    }

    .auth-shell-login .section-kicker {
        display: none;
    }

    .auth-login-copy {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .auth-login-card {
        box-shadow: none;
    }
}

@media (max-height: 699px) {
    .auth-shell-login {
        --auth-logo-h: 32px;
        --auth-title-size: 1.2rem;
        --auth-panel-pad: 0.55rem;
        --auth-form-pad: 0.55rem;
        overflow: auto;
    }

    .auth-login-media {
        display: none;
    }

    .auth-login-split {
        grid-template-columns: 1fr;
        overflow: visible;
        box-shadow: none;
        border: 0;
        background: transparent;
    }

    .auth-login-panel {
        overflow: visible;
        padding: 0.35rem 0.15rem 0.75rem;
        background: transparent;
    }

    .auth-login-card {
        border-color: rgba(16, 21, 29, 0.08);
        box-shadow: 0 10px 28px rgba(16, 21, 29, 0.06);
        background: #fff;
    }

    .auth-login-divider,
    .auth-login-admin {
        margin-top: 0.35rem;
    }
}

/* Short / typical mobile heights: prioritize form usability over hero */
@media (max-width: 767.98px) and (max-height: 920px) {
    .auth-login-media {
        display: none;
    }

    .auth-shell-login {
        --auth-pad-y: 0.35rem;
        --auth-gap: 0.35rem;
        --auth-panel-pad: 0.85rem;
        --auth-form-pad: 0.8rem;
    }

    .auth-shell-login,
    .auth-login-panel,
    .auth-login-split {
        overflow: visible;
    }
}

/* Extremely short mobile / keyboard / zoom: natural scroll fallback */
@media (max-width: 767.98px) and (max-height: 700px) {
    body:has(.auth-shell-login) {
        display: block;
        min-height: 0;
    }

    .auth-shell-login {
        flex: none;
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-login-image,
    .auth-login-inner {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .auth-login-media:hover .auth-login-image,
    .auth-login-submit:hover,
    .auth-login-submit:focus-visible,
    .auth-login-submit:active,
    .auth-create-account:hover,
    .auth-create-account:focus-visible,
    .auth-create-account:active,
    .auth-password-toggle:active,
    .auth-modal-shell .btn:active {
        transform: none;
    }
}

.auth-action-disclosure {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(16, 21, 29, 0.04);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.auth-action-disclosure summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.auth-action-disclosure summary::-webkit-details-marker {
    display: none;
}

.auth-action-disclosure[open] summary {
    margin-bottom: 0.8rem;
}

.auth-orders-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    color: #27303a;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-empty-state {
    display: grid;
    gap: 0.35rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(16, 21, 29, 0.04);
    border: 1px dashed rgba(16, 21, 29, 0.14);
    color: var(--muted);
}

.auth-order-list {
    display: grid;
    gap: 1rem;
}

.auth-order-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 14px 34px rgba(16, 21, 29, 0.05);
}

.auth-order-head,
.auth-order-meta,
.auth-order-item-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-order-head {
    align-items: center;
    margin-bottom: 0.85rem;
}

.auth-order-head > div {
    display: grid;
    gap: 0.2rem;
}

.auth-order-head span,
.auth-order-meta span {
    color: var(--muted);
    font-size: 0.94rem;
}

.auth-order-meta {
    margin-bottom: 0.85rem;
}

.auth-order-items {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(16, 21, 29, 0.08);
}

.order-progress-route {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.order-progress-step {
    position: relative;
}

.order-progress-node-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.order-progress-node {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #d0d7de;
    border: 3px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 0 0 10px rgba(16, 21, 29, 0.04);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.order-progress-node svg {
    width: 10px;
    height: 10px;
    fill: rgba(16, 21, 29, 0.52);
    transition: fill 0.35s ease, transform 0.35s ease;
}

.order-progress-line {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(16, 21, 29, 0.08), rgba(16, 21, 29, 0.04));
    margin-left: 0.7rem;
    position: relative;
    overflow: hidden;
}

.order-progress-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #1b8d52, #7ad6a5);
    transition: width 0.45s ease;
}

.order-progress-copy {
    display: grid;
    gap: 0.22rem;
}

.order-progress-copy strong {
    font-size: 0.96rem;
}

.order-progress-copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.order-progress-tone-ink .order-progress-copy strong {
    color: #18202a;
}

.order-progress-tone-success .order-progress-copy strong {
    color: #16663d;
}

.order-progress-tone-amber .order-progress-copy strong {
    color: #8a6200;
}

.order-progress-tone-sky .order-progress-copy strong {
    color: #1c5f9a;
}

.order-progress-tone-danger .order-progress-copy strong {
    color: #8f2230;
}

.order-progress-tone-success .order-progress-node-wrap::before,
.order-progress-tone-amber .order-progress-node-wrap::before,
.order-progress-tone-sky .order-progress-node-wrap::before,
.order-progress-tone-danger .order-progress-node-wrap::before,
.order-progress-tone-ink .order-progress-node-wrap::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    right: -0.3rem;
    top: -0.65rem;
    bottom: -0.65rem;
    border-radius: 18px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-progress-tone-ink .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(16, 21, 29, 0.06), rgba(16, 21, 29, 0.02));
}

.order-progress-tone-success .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(27, 141, 82, 0.12), rgba(27, 141, 82, 0.03));
}

.order-progress-tone-amber .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(240, 146, 32, 0.14), rgba(240, 146, 32, 0.03));
}

.order-progress-tone-sky .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(28, 95, 154, 0.14), rgba(28, 95, 154, 0.03));
}

.order-progress-tone-danger .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(170, 38, 53, 0.14), rgba(170, 38, 53, 0.03));
}

.order-progress-step-completed .order-progress-node,
.order-progress-step-current .order-progress-node {
    background: #1b8d52;
    border-color: rgba(27, 141, 82, 0.18);
}

.order-progress-step-completed .order-progress-node {
    transform: scale(1.03);
}

.order-progress-step-completed .order-progress-node-wrap::before,
.order-progress-step-current .order-progress-node-wrap::before,
.order-progress-step-cancelled-current .order-progress-node-wrap::before {
    opacity: 1;
}

.order-progress-step-completed .order-progress-node-wrap .order-progress-line::after {
    width: 100%;
}

.order-progress-step-completed .order-progress-node svg,
.order-progress-step-current .order-progress-node svg {
    fill: #fff;
}

.order-progress-step-completed .order-progress-line {
    background: linear-gradient(90deg, #1b8d52, rgba(27, 141, 82, 0.35));
}

.order-progress-step-current .order-progress-node {
    box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    transform: scale(1.08);
    animation: orderProgressPulse 2.2s ease-in-out infinite;
}

.order-progress-step-current .order-progress-copy strong {
    color: #16663d;
}

.order-progress-step-current .order-progress-node svg {
    transform: scale(1.06);
}

.order-progress-step-cancelled-current .order-progress-node {
    background: #aa2635;
    border-color: rgba(170, 38, 53, 0.2);
    box-shadow: 0 0 0 10px rgba(170, 38, 53, 0.1);
}

.order-progress-step-cancelled-current .order-progress-node svg {
    fill: #fff;
}

@keyframes orderProgressPulse {
    0% {
        box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(27, 141, 82, 0.08), 0 0 0 1px rgba(27, 141, 82, 0.18);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    }
}

.order-progress-step-cancelled-current .order-progress-copy strong {
    color: #8f2230;
}

.hero-section { padding: 1.5rem 0 2.5rem; }

.about-story-section {
    padding: 4rem 0 4.75rem;
}

/* ===== Quiénes Somos ===== */
.about-page {
    --about-ink: #15181e;
    --about-muted: #6b7280;
    --about-peach: #f6ebe3;
    --about-accent: #e8a06a;
    --about-line: rgba(21, 24, 30, 0.1);
    --about-header-offset: 5.5rem;
    display: flex;
    align-items: stretch;
    min-height: calc(100svh - var(--about-header-offset));
    min-height: calc(100dvh - var(--about-header-offset));
}

/* CMS Quiénes Somos */
.about-cms-page { background: #fff; color: #15181e; }
.about-cms-section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.about-cms-section--light { background: #f4f5f7; }
.about-cms-section--dark, .about-cms-cta { background: #10151d; color: #fff; }
.about-cms-hero { position: relative; display: grid; align-items: center; min-height: 520px; background: #10151d var(--about-image) center / cover no-repeat; color: #fff; isolation: isolate; }
.about-cms-hero--compact { min-height: 360px; }.about-cms-hero--large { min-height: min(760px, 84vh); }
.about-cms-hero-overlay { position: absolute; inset: 0; z-index: -1; background: #10151d; }
.about-cms-hero-content { max-width: 760px; padding-top: 4rem; padding-bottom: 4rem; }.about-cms-align-center { text-align: center; margin-inline: auto; }.about-cms-align-right { text-align: right; margin-left: auto; }
.about-cms-hero-content > span, .about-cms-eyebrow { display: block; margin-bottom: .65rem; color: #e8a06a; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.about-cms-hero h1, .about-cms-hero h2 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; }.about-cms-hero-content > div { margin-top: 1rem; font-size: 1.08rem; line-height: 1.55; }.about-cms-hero .btn { margin-top: 1.4rem; }
.about-cms-prose { max-width: 720px; }.about-cms-prose h2, .about-cms-split h2, .about-cms-mission h2, .about-cms-cta h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3.2rem); letter-spacing: -.035em; }.about-cms-prose > div, .about-cms-split-copy > div, .about-cms-mission div, .about-cms-cta > div > div { margin-top: 1rem; line-height: 1.65; color: #4b5563; }.about-cms-section--dark .about-cms-prose > div, .about-cms-cta > div > div { color: rgba(255,255,255,.78); }
.about-cms-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }.about-cms-split > img { width: 100%; height: 100%; min-height: 340px; max-height: 620px; border-radius: 16px; object-fit: cover; }.about-cms-image-right > img { order: 2; }.about-cms-ratio-1-1 > img { aspect-ratio: 1; }.about-cms-ratio-4-5 > img { aspect-ratio: 4 / 5; }.about-cms-ratio-16-9 > img { aspect-ratio: 16 / 9; min-height: auto; }
.about-cms-mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }.about-cms-mission article { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 16px; background: #fff; }.about-cms-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 2rem; }.about-cms-values article { padding: 1.25rem; border: 1px solid rgba(16,21,29,.1); border-radius: 14px; }.about-cms-values i { color: #e8a06a; font-size: 1.4rem; }.about-cms-values h3 { margin: .8rem 0 .35rem; font-size: 1rem; }.about-cms-values p { margin: 0; color: #6b7280; font-size: .9rem; line-height: 1.5; }
.about-cms-cta { text-align: center; padding: clamp(3rem, 6vw, 5.5rem) 0; }.about-cms-cta > div { max-width: 720px; }.about-cms-cta > div > div:last-child { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.about-cms-admin-grid { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.45fr); gap: 1rem; }.about-cms-list-panel,.about-cms-editor-panel { padding: 1rem; border: 1px solid var(--a-border,#e5e7eb); border-radius: 14px; background: #fff; }.about-cms-list-head,.about-cms-editor-head,.about-cms-section-row,.about-cms-row-actions { display:flex; align-items:center; gap:.65rem; }.about-cms-list-head,.about-cms-editor-head { justify-content:space-between; margin-bottom:1rem; }.about-cms-editor-head h2{margin:0;font-size:1.1rem}.about-cms-editor-head p{margin:.2rem 0 0;color:#6b7280;font-size:.82rem}.about-cms-list{display:grid;gap:.55rem}.about-cms-section-row{padding:.75rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.about-cms-section-row.is-hidden{opacity:.62}.about-cms-section-row>div:nth-child(2){display:grid;gap:.12rem;flex:1;min-width:0}.about-cms-section-row small{font-size:.62rem;font-weight:800;letter-spacing:.08em;color:#6b7280}.about-cms-section-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}.about-cms-section-row em{font-style:normal;font-size:.7rem;color:#15803d}.about-cms-section-row.is-hidden em{color:#6b7280}.about-cms-grip{cursor:grab;color:#6b7280}.about-cms-row-actions{margin-left:auto}.about-cms-row-actions form{margin:0}.about-cms-save{display:flex;justify-content:flex-end;margin-top:1.25rem}
@media (max-width: 991.98px) { .about-cms-admin-grid{grid-template-columns:1fr}.about-cms-hero{min-height:460px}.about-cms-split{grid-template-columns:1fr}.about-cms-split > img,.about-cms-image-right > img{order:-1}.about-cms-split > img{min-height:0;max-height:480px}.about-cms-align-right{margin-left:0;text-align:left} }
@media (max-width: 575.98px) { .about-cms-section{padding:3.25rem 0}.about-cms-hero{min-height:420px}.about-cms-hero-content{padding-top:3rem;padding-bottom:3rem}.about-cms-mission{grid-template-columns:1fr}.about-cms-row-actions{flex-wrap:wrap}.about-cms-admin-grid{gap:.75rem}.about-cms-list-panel,.about-cms-editor-panel{padding:.75rem}.about-cms-admin .admin-inventory-actions{width:100%;display:flex;flex-wrap:wrap}.about-cms-admin .admin-inventory-actions .btn{flex:1 1 auto} }

.about-page-inner {
    display: flex;
    flex: 1;
    align-items: stretch;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    flex: 1;
    min-height: 0;
    max-height: calc(100svh - var(--about-header-offset) - 2rem);
    max-height: calc(100dvh - var(--about-header-offset) - 2rem);
    overflow: hidden;
    border: 1px solid rgba(16, 21, 29, 0.06);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 21, 29, 0.08);
}

.about-card-content {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.4vh, 1.35rem);
    min-height: 0;
    padding: clamp(1.35rem, 2.8vh, 2.5rem) clamp(1.35rem, 2.2vw, 2.5rem);
    overflow: auto;
}

.about-card-header {
    display: grid;
    gap: 0.4rem;
}

.about-kicker {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    color: #9aa0a8;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-kicker::after {
    content: "";
    display: block;
    width: 2.6rem;
    height: 2px;
    border-radius: 999px;
    background: var(--about-accent);
}

.about-title {
    margin: 0;
    color: var(--about-ink);
    font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.about-lead {
    margin: 0.05rem 0 0;
    color: var(--about-ink);
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
    font-weight: 750;
    line-height: 1.3;
}

.about-copy {
    display: grid;
    gap: 0.7rem;
    color: #4b5563;
    font-size: clamp(0.86rem, 0.8rem + 0.25vw, 0.95rem);
    line-height: 1.55;
}

.about-copy p {
    margin: 0;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--about-line);
}

.about-value {
    display: grid;
    gap: 0.25rem;
    justify-items: start;
}

.about-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.1rem;
    color: var(--about-accent);
    font-size: 1.05rem;
    line-height: 1;
}

.about-value-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.about-value strong {
    color: var(--about-ink);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.about-value > span:not(.about-value-icon) {
    color: var(--about-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.about-quote-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: var(--about-peach);
}

.about-quote-icon {
    display: inline-flex;
    color: var(--about-accent);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.about-quote-banner p {
    margin: 0;
    color: var(--about-ink);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
}

.about-card-media {
    position: relative;
    min-height: 0;
    height: 100%;
    background: #1a1f27;
}

.about-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-media-badge {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #0b0d11;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.about-media-badge img {
    display: block;
    width: auto;
    height: 1.55rem;
    min-height: 0;
    object-fit: contain;
}

/* CMS Quiénes Somos: lista compacta y editor modal */
.about-cms-admin { display: grid; gap: 1rem; }
.about-cms-list-panel { border: 1px solid var(--a-border, #e5e7eb); border-radius: 14px; background: #fff; overflow: hidden; }
.about-cms-list-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid var(--a-border, #e5e7eb); }
.about-cms-list-head > div { display: grid; gap: .1rem; }.about-cms-list-head strong { font-size: .95rem; }.about-cms-list-head span { color: #6b7280; font-size: .78rem; }
.about-cms-list { display: grid; gap: .45rem; padding: .55rem; }
.about-cms-section-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: .65rem; min-height: 3.3rem; padding: .45rem .55rem; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.about-cms-section-row.is-hidden { opacity: .63; background: #fafafa; }.about-cms-section-row.is-dragging { opacity: .45; }
.about-cms-grip { display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent; color: #6b7280; cursor: grab; }.about-cms-grip:active { cursor: grabbing; }
.about-cms-type { padding: .22rem .45rem; border-radius: 999px; background: #f1f2f4; color: #4b5563; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.about-cms-row-title { overflow: hidden; color: #20242b; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }.about-cms-status { color: #198754; font-size: .74rem; font-weight: 700; white-space: nowrap; }.is-hidden .about-cms-status { color: #6b7280; }
.about-cms-row-actions { display: flex; align-items: center; gap: .35rem; }.about-cms-row-actions form { margin: 0; }.about-cms-row-actions .btn { display: inline-flex; align-items: center; gap: .28rem; }
.about-cms-modal { border: 0; border-radius: 16px; overflow: hidden; }.about-cms-modal .modal-header { align-items: flex-start; padding: 1.1rem 1.25rem; border-bottom: 1px solid #e5e7eb; }.about-cms-modal-kicker { margin: 0 0 .2rem; color: #6b7280; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.about-cms-modal .modal-body { padding: 1.25rem; background: #fbfbfc; }.about-cms-modal .modal-footer { padding: .9rem 1.25rem; border-top: 1px solid #e5e7eb; }
.about-cms-form-section { padding: 1rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }.about-cms-form-section + .about-cms-form-section { margin-top: .85rem; }.about-cms-form-section h3 { margin: 0 0 .85rem; color: #30343a; font-size: .9rem; font-weight: 800; }.about-cms-form-section .form-label { margin-bottom: .3rem; color: #4b5563; font-size: .76rem; font-weight: 750; }
.about-cms-image-preview { display: grid; place-items: center; min-height: 5.6rem; height: 100%; border: 1px dashed #cbd0d8; border-radius: 9px; background: #f8f9fa; overflow: hidden; }.about-cms-image-preview img { width: 100%; height: 100%; min-height: 5.6rem; object-fit: cover; }.about-cms-image-preview span { color: #6b7280; font-size: .75rem; }
@media (max-width: 767.98px) { .about-cms-section-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; }.about-cms-type { grid-column: 2; justify-self: start; }.about-cms-row-title { grid-column: 2; }.about-cms-status { grid-column: 3; grid-row: 1 / span 2; }.about-cms-row-actions { grid-column: 1 / -1; justify-content: flex-end; padding-top: .25rem; border-top: 1px solid #f0f1f3; }.about-cms-list-head { align-items: flex-start; }.about-cms-list-head form .btn { white-space: nowrap; }.about-cms-modal .modal-body { padding: .85rem; }.about-cms-form-section { padding: .85rem; } }

@media (max-width: 991.98px) {
    .about-page {
        min-height: 0;
    }

    .about-page-inner {
        padding-top: 1.15rem;
        padding-bottom: 1.5rem;
    }

    .about-card {
        max-height: none;
        grid-template-columns: 1fr;
    }

    .about-card-media {
        order: -1;
        min-height: auto;
        height: auto;
        max-height: min(48svh, 22rem);
    }

    .about-card-media img {
        min-height: 0;
        height: 100%;
        max-height: min(48svh, 22rem);
        aspect-ratio: 16 / 11;
        object-position: center 18%;
    }

    .about-card-content {
        padding: 1.5rem 1.35rem 1.4rem;
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    .about-card {
        border-radius: 20px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-lead {
        font-size: 1.02rem;
    }

    .about-copy {
        font-size: 0.92rem;
    }

    .about-quote-banner {
        align-items: flex-start;
    }

    .about-quote-banner p {
        font-size: 0.86rem;
        letter-spacing: 0.06em;
    }

    .about-media-badge {
        right: 0.85rem;
        bottom: 0.85rem;
        padding: 0.45rem 0.7rem;
    }

    .about-media-badge img {
        height: 1.3rem;
    }
}

/* ===== Páginas legales ===== */
.legal-page {
    --legal-ink: #15181e;
    --legal-muted: #6b7280;
    --legal-accent: #e8a06a;
    --legal-line: rgba(21, 24, 30, 0.1);
    padding: 2.5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(232, 160, 106, 0.12), transparent 38%),
        linear-gradient(180deg, #f7f5f2 0%, #efeee9 100%);
}

.legal-page-inner {
    max-width: 920px;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--legal-line);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    box-shadow: 0 18px 40px rgba(21, 24, 30, 0.06);
}

.legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--legal-line);
}

.legal-kicker {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    color: #9aa0a8;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-kicker::after {
    content: "";
    display: block;
    width: 2.6rem;
    height: 2px;
    border-radius: 999px;
    background: var(--legal-accent);
}

.legal-title {
    margin: 0 0 0.65rem;
    color: var(--legal-ink);
    font-size: clamp(1.85rem, 1.4rem + 1.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.legal-lead {
    margin: 0 0 0.5rem;
    color: var(--legal-muted);
    font-size: 1.02rem;
    line-height: 1.5;
}

.legal-updated {
    margin: 0;
    color: #9aa0a8;
    font-size: 0.86rem;
}

.legal-body {
    display: grid;
    gap: 1.6rem;
}

.legal-section h2 {
    margin: 0 0 0.65rem;
    color: var(--legal-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.legal-section p,
.legal-section li {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-section p {
    margin: 0 0 0.75rem;
}

.legal-section ul {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.legal-section a {
    color: var(--legal-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f7f5f2;
    border: 1px solid var(--legal-line);
}

.legal-claim-form {
    margin-top: 0.5rem;
}

.legal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.legal-field {
    display: grid;
    gap: 0.4rem;
}

.legal-field-full {
    grid-column: 1 / -1;
}

.legal-field span {
    color: var(--legal-ink);
    font-size: 0.86rem;
    font-weight: 600;
}

.legal-field input,
.legal-field select,
.legal-field textarea {
    width: 100%;
    border: 1px solid rgba(21, 24, 30, 0.14);
    border-radius: 12px;
    background: #fff;
    color: var(--legal-ink);
    padding: 0.8rem 0.95rem;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.legal-field input:focus,
.legal-field select:focus,
.legal-field textarea:focus {
    outline: none;
    border-color: rgba(232, 160, 106, 0.8);
    box-shadow: 0 0 0 3px rgba(232, 160, 106, 0.18);
}

.legal-submit {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--legal-ink);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, background 0.2s ease;
}

.legal-submit:hover {
    background: #000;
    transform: translateY(-1px);
}

.legal-submit:active {
    transform: scale(0.98);
}

@media (max-width: 767.98px) {
    .legal-page {
        padding: 1.5rem 0 3rem;
    }

    .legal-card {
        border-radius: 18px;
        padding: 1.35rem 1.15rem 1.5rem;
    }

    .legal-form-grid {
        grid-template-columns: 1fr;
    }

    .legal-submit {
        width: 100%;
    }
}

/* ===== Contáctenos ===== */
.contact-page {
    --contact-ink: #15181e;
    --contact-muted: #6b7280;
    --contact-tan: #c4a484;
    --contact-line: rgba(21, 24, 30, 0.1);
    --contact-header-offset: 5.5rem;
    display: flex;
    align-items: stretch;
    min-height: calc(100svh - var(--contact-header-offset));
    min-height: calc(100dvh - var(--contact-header-offset));
}

.contact-page-inner {
    display: flex;
    flex: 1;
    align-items: stretch;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1rem, 2vw, 1.75rem);
    flex: 1;
    min-height: 0;
    max-height: calc(100svh - var(--contact-header-offset) - 2rem);
    max-height: calc(100dvh - var(--contact-header-offset) - 2rem);
    padding: clamp(1rem, 2vh, 1.5rem);
    overflow: hidden;
    border: 1px solid rgba(16, 21, 29, 0.06);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(16, 21, 29, 0.06);
}

.contact-brand {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(0.75rem, 1.5vh, 1.15rem);
    min-height: 0;
    padding: clamp(0.35rem, 1vh, 0.75rem);
}

.contact-brand-top {
    display: grid;
    gap: 0.45rem;
}

.contact-brand-logo {
    display: block;
    width: auto;
    max-width: 160px;
    height: 2rem;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 0.35rem;
}

.contact-brand-fallback {
    color: var(--contact-ink);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-kicker {
    color: var(--contact-tan);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-title {
    margin: 0;
    max-width: 18ch;
    color: var(--contact-ink);
    font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.contact-title::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 2px;
    margin-top: 0.7rem;
    border-radius: 999px;
    background: var(--contact-tan);
}

.contact-copy {
    margin: 0.15rem 0 0;
    max-width: 34ch;
    color: var(--contact-muted);
    font-size: clamp(0.84rem, 0.78rem + 0.25vw, 0.94rem);
    line-height: 1.45;
}

.contact-visual {
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #d7d2cb;
}

.contact-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.contact-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.contact-meta-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
}

.contact-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    color: var(--contact-tan);
    font-size: 0.9rem;
}

.contact-meta-item span {
    display: block;
    color: var(--contact-tan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-meta-item strong {
    display: block;
    margin-top: 0.12rem;
    color: var(--contact-ink);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.contact-form-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: clamp(1.15rem, 2.2vh, 1.75rem);
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 21, 29, 0.08);
}

.contact-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 0;
    padding-top: 0.35rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.9rem;
    align-items: start;
}

.contact-field {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    align-items: stretch;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--contact-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 2.65rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(21, 24, 30, 0.12);
    border-radius: 12px;
    background-color: #fff;
    color: var(--contact-ink);
    font-size: 0.9rem;
    box-shadow: none;
}

.contact-form .form-select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2315181e' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.2 0 2.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    background-size: 12px 8px;
    appearance: none;
}

.contact-form textarea.form-control {
    min-height: 7.5rem;
    resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: rgba(21, 24, 30, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(21, 24, 30, 0.06);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 2.85rem;
    margin-top: auto;
    border: 0;
    border-radius: 12px;
    background: #15181e;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 750;
    transition: background 0.18s ease, transform 0.18s ease;
}

.contact-submit-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #fff;
}

.contact-submit:hover {
    background: #0b0d11;
    color: #fff;
    transform: translateY(-1px);
}

.contact-submit:hover .contact-submit-icon {
    color: #fff;
}

.contact-secure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    color: #9aa0a8;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
}

.contact-secure i {
    font-size: 0.72rem;
}

.contact-char-count {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
    transition: color 0.18s ease;
}

.contact-char-count[hidden] {
    display: none !important;
}

.contact-char-count.is-low {
    color: #b42318;
}

.contact-char-count.is-ok {
    color: #027a48;
}

.contact-feedback {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.35;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.contact-feedback[hidden] {
    display: none !important;
}

.contact-feedback-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.contact-feedback-wave {
    display: block;
    width: 16px;
    height: 16px;
}

.contact-feedback.is-invalid {
    color: #b42318;
}

.contact-feedback.is-valid {
    color: #027a48;
}

.contact-form .form-control,
.contact-form .form-select {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: rgba(180, 35, 24, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(180, 35, 24, 0.08);
}

.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: rgba(2, 122, 72, 0.4);
    box-shadow: 0 0 0 0.15rem rgba(2, 122, 72, 0.07);
}

.contact-submit-spinner {
    width: 1.05rem;
    height: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-spin 0.7s linear infinite;
}

.contact-submit.is-loading {
    cursor: wait;
    opacity: 0.92;
}

.contact-inline-alert {
    display: grid;
    gap: 0.25rem;
    margin: 0 0 0.95rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.4;
}

.contact-inline-alert strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-inline-alert.is-success {
    border: 1px solid rgba(2, 122, 72, 0.22);
    background: rgba(2, 122, 72, 0.08);
    color: #027a48;
}

.contact-inline-alert.is-error {
    border: 1px solid rgba(180, 35, 24, 0.22);
    background: rgba(180, 35, 24, 0.07);
    color: #b42318;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
    .contact-page {
        min-height: 0;
    }

    .contact-page-inner {
        padding-top: 1.15rem;
        padding-bottom: 1.5rem;
    }

    .contact-shell {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
        gap: 1.15rem;
        padding: 1rem;
    }

    .contact-brand {
        grid-template-rows: auto auto auto;
    }

    .contact-visual {
        min-height: 11rem;
        max-height: 14rem;
    }

    .contact-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-form-panel {
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    .contact-shell,
    .contact-form-panel {
        border-radius: 20px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        max-width: none;
        font-size: 1.7rem;
    }
}

.hero-carousel {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    background: #10151d;
    box-shadow: 0 30px 90px rgba(16, 21, 29, 0.18);
}

.hero-card {
    position: relative;
    height: 100%;
    min-height: 560px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
    gap: 1.5rem;
    align-items: end;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #10151d;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity .85s ease, transform 6s ease, visibility .85s ease;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 0;
    opacity: 0.82;
    background: #10151d;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide.is-active .hero-logo,
.hero-slide.is-active .hero-copy,
.hero-slide.is-active .hero-sidecard {
    animation: heroReveal .9s ease both;
}

.hero-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.75;
    z-index: 1;
}

.hero-ambient-one {
    right: -40px;
    top: 70px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(246, 213, 37, 0.55), rgba(246, 213, 37, 0));
}

.hero-ambient-two {
    left: -30px;
    bottom: 80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(223, 252, 255, 0.35), rgba(223, 252, 255, 0));
}

.hero-logo,
.hero-copy h1,
.hero-mini {
    font-family: var(--font-banner);
}

.hero-logo {
    font-size: clamp(5rem, 16vw, 10rem);
    color: var(--sky);
    line-height: 0.84;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-logo-media {
    display: inline-flex;
    align-items: flex-start;
}

.hero-logo-image {
    width: min(62vw, 760px);
    max-height: 220px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.hero-copy { max-width: 420px; color: white; }
.hero-copy p,
.section-title,
.product-body h3,
.product-category,
.footer-title,
.section-kicker,
.split-heading,
.split-overlay h3,
.detail-title,
.detail-price,
.nav-link,
.cart-link,
.site-footer h5,
.site-footer h4,
.contact-card h3,
.checkout-card h3,
.branch-card h3,
.section-head a,
.product-body strong,
.price-row strong {
    font-family: var(--font-content);
}

.hero-copy p,
.product-body p,
.footer-link,
.site-footer p,
.split-overlay p,
.section-head p {
    font-family: var(--font-content);
}
.section-view-all {
    white-space: nowrap;
    flex-shrink: 0;
}
.hero-tone-dark .hero-copy,
.hero-tone-dark .hero-sidecard,
.hero-tone-dark .hero-logo,
.hero-tone-dark .hero-mini { color: #f7f4ef; }
.hero-tone-contrast .hero-copy,
.hero-tone-contrast .hero-sidecard,
.hero-tone-contrast .hero-logo,
.hero-tone-contrast .hero-mini { color: white; }
.hero-tone-light .hero-copy,
.hero-tone-light .hero-sidecard,
.hero-tone-light .hero-logo,
.hero-tone-light .hero-mini { color: white; }
.hero-mini, .section-kicker, .split-heading { letter-spacing: 0.08em; font-size: 1.15rem; }
.hero-copy h1, .section-title, .product-body h3, .footer-title { letter-spacing: 0.04em; }
.hero-copy h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
.hero-copy p { max-width: 560px; font-size: 1.03rem; }

.hero-button {
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0;
    padding: 0.85rem 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.hero-button-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.hero-sidecard {
    align-self: end;
    color: white;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 1.25rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.hero-sidecard-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-sidecard p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.88);
}

.hero-sidecard-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.76);
}
.hero-slide-natural .hero-card {
    background: linear-gradient(180deg, rgba(9, 16, 22, 0.08), rgba(9, 16, 22, 0.2));
}

.hero-slide-natural .hero-copy,
.hero-slide-natural .hero-sidecard,
.hero-slide-natural .hero-mini,
.hero-slide-natural .hero-logo {
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-sidecard-natural {
    background: linear-gradient(180deg, rgba(16, 21, 29, 0.38), rgba(16, 21, 29, 0.2));
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
}

.admin-inline-panel {
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfaf7, #f6f2eb);
}

.admin-form-section {
    margin-bottom: 1rem;
    padding: 1.15rem 1.15rem 1.05rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdfa, #f8f4ec);
    box-shadow: 0 12px 30px rgba(16, 21, 29, 0.04);
}

.admin-form-section:last-child {
    margin-bottom: 0;
}

.admin-form-section-compact {
    padding: 1rem;
}

.admin-form-section-head {
    margin-bottom: 1rem;
}

.admin-form-section-head h4 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #18202a;
}

.admin-form-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-inline-panel-head h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
}

.admin-inline-panel-head p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-toggle-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    color: #18202a;
    cursor: pointer;
}

.admin-toggle-card input {
    margin: 0;
}

.admin-brand-logo-card {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(135deg, #faf7f2, #f0ebe2);
}

.admin-modal-sidecard-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-banner-live-preview {
    position: relative;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #111820;
    color: #fff;
    box-shadow: 0 18px 42px rgba(16, 21, 29, 0.16);
}

.admin-banner-live-preview-modal {
    min-height: 620px;
}

.admin-banner-live-preview-media,
.admin-banner-live-preview-overlay {
    position: absolute;
    inset: 0;
}

.admin-banner-live-preview-media {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.admin-banner-live-preview-inner {
    position: relative;
    z-index: 2;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem;
}

.admin-banner-live-preview-modal .admin-banner-live-preview-inner {
    min-height: 620px;
    padding: 1.75rem;
}

.admin-banner-live-preview-modal .admin-banner-live-brand-text {
    font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.admin-banner-live-preview-modal .admin-banner-live-brand-logo {
    max-width: 320px;
    max-height: 110px;
}

.admin-banner-live-preview-modal .admin-banner-live-copy strong {
    font-size: 2.2rem;
}

.admin-banner-live-preview-modal .admin-banner-live-copy p {
    font-size: 1.02rem;
    max-width: 620px;
}

.admin-banner-live-preview-modal .admin-banner-live-sidecard {
    width: min(100%, 280px);
    padding: 1rem;
}

.admin-banner-live-brand-text {
    font-family: "Bebas Neue", "Montserrat", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: #d9fbff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.admin-banner-live-brand-logo {
    max-width: 220px;
    max-height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.admin-banner-live-copy {
    max-width: 78%;
}

.admin-banner-live-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
}

.admin-banner-live-copy strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.45rem;
    line-height: 1.1;
}

.admin-banner-live-copy p {
    margin: 0 0 0.9rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
}

.admin-banner-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-banner-live-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f6d525;
    color: #10151d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-banner-live-button-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-banner-live-sidecard {
    align-self: flex-end;
    width: min(100%, 220px);
    padding: 0.85rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
}

.admin-banner-live-sidecard-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #f6d525;
    color: #10151d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-banner-live-sidecard p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-grid-center {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-grid-center .hero-copy { max-width: 760px; }
.hero-grid-center .hero-actions { justify-content: center; }
.hero-grid-center .hero-sidecard { width: min(100%, 380px); }

.hero-grid-right {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1.2fr);
}

.hero-grid-right .hero-copy {
    order: 2;
    justify-self: end;
    text-align: right;
}

.hero-grid-right .hero-actions { justify-content: flex-end; }
.hero-grid-right .hero-sidecard { order: 1; }

.hero-controls {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 2;
}

.hero-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    width: min(280px, 48vw);
}

.hero-dots {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.hero-progress {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
}

.hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #fff1a2);
    transition: width 6.5s linear;
}

.hero-dot,
.hero-nav {
    border: 0;
    cursor: pointer;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: transform .25s ease, background .25s ease;
}

.hero-dot.is-active {
    background: var(--accent);
    transform: scale(1.2);
}

.hero-nav {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-size: 2rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 0.85rem 0 1.4rem;
    }

    .hero-carousel {
        /* Keep landscape creatives fully readable on phones */
        aspect-ratio: 16 / 9;
        min-height: 0;
        max-height: none;
        border-radius: 18px;
    }

    .hero-card {
        min-height: 0;
        height: 100%;
        padding: 1.05rem 0.95rem 3.4rem;
        justify-content: flex-end;
        gap: 0.75rem;
    }

    .hero-grid,
    .hero-grid-center,
    .hero-grid-right {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        align-items: stretch;
        justify-items: stretch;
    }

    .hero-grid-center {
        text-align: left;
    }

    .hero-grid-center .hero-actions,
    .hero-grid-right .hero-actions {
        justify-content: flex-start;
    }

    .hero-grid-right .hero-copy {
        order: 0;
        justify-self: stretch;
        text-align: left;
    }

    .hero-grid-right .hero-sidecard,
    .hero-grid-center .hero-sidecard,
    .hero-sidecard {
        display: none;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-copy h1 {
        font-size: clamp(1.45rem, 6.2vw, 2rem);
        line-height: 1.05;
        margin-bottom: 0.45rem;
    }

    .hero-copy p {
        max-width: 34ch;
        font-size: 0.84rem;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .hero-mini {
        font-size: 0.74rem;
        letter-spacing: 0.1em;
    }

    .hero-logo {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
        line-height: 0.86;
    }

    .hero-logo-image {
        width: min(46vw, 190px);
        max-height: 58px;
    }

    .hero-actions {
        gap: 0.55rem;
        margin-top: 0.75rem;
    }

    .hero-button {
        padding: 0.68rem 1rem;
        font-size: 0.78rem;
    }

    .hero-ambient {
        opacity: 0.45;
    }

    .hero-controls {
        left: 0.55rem;
        right: 0.55rem;
        bottom: 0.65rem;
        gap: 0.45rem;
    }

    .hero-progress-wrap {
        width: min(160px, 42vw);
        gap: 0.4rem;
    }

    .hero-nav {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.25rem;
    }

    .hero-dot {
        width: 0.5rem;
        height: 0.5rem;
    }

    .hero-video {
        object-fit: cover;
        opacity: 1;
    }

    /*
     * Designed banners (text baked into artwork):
     * keep 16:9 + center cover so "BACKSLIDE" is not cropped on the sides.
     */
    .hero-slide-natural {
        background-size: cover;
        background-position: center center;
    }

    .hero-slide-natural .hero-card {
        padding-top: 0.7rem;
        justify-content: space-between;
    }

    .hero-slide-natural .hero-logo,
    .hero-slide-natural .hero-copy,
    .hero-slide-natural .hero-ambient {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel {
        border-radius: 14px;
    }

    .hero-card {
        padding: 0.85rem 0.75rem 3rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.3rem, 7vw, 1.75rem);
    }

    .hero-copy p {
        font-size: 0.8rem;
        max-width: 30ch;
    }

    .hero-button,
    .hero-button-ghost {
        width: auto;
    }

    .hero-actions {
        width: 100%;
    }
}

.category-split { padding-bottom: 3rem; }
.split-card { position: relative; }
.split-image { width: 100%; object-fit: cover; border-radius: 20px; }
.product-media img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7f4ef, #ffffff);
}
.detail-main-image,
.detail-thumb {
    width: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8f4ec, #ffffff);
}
.split-image { height: 280px; }

.split-overlay {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.split-heading span, .price-row span { color: var(--muted); }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }

.product-card,
.contact-card,
.info-banner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-media {
    position: relative;
    height: 340px;
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f7f4ef, #ffffff);
}

.product-media img {
    height: 100%;
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.empty-state {
    padding: 3rem 1.5rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(16, 21, 29, 0.06);
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 0.55rem;
    color: #10151d;
    font-size: 1.35rem;
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: #6f7782;
}

.product-category {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.product-body h3 {
    min-height: 5.05rem;
    margin-bottom: 0.65rem;
    font-size: 2rem;
    line-height: 1.08;
}

.product-body p {
    min-height: 3.2rem;
    margin-bottom: 1rem;
}

.product-body .d-flex.justify-content-between {
    margin-top: auto;
}

.product-card-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.product-card-cart-button i,
.product-card-cart-button svg {
    color: #fff;
    fill: currentColor;
    font-size: 1.05rem;
    line-height: 1;
}

.product-card-cart-button svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}

.product-size-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.size-guide-trigger {
    border: 0;
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 800;
    line-height: 1;
}

.size-guide-trigger {
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(16, 21, 29, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 21, 29, 0.06);
    font-size: 0.82rem;
}

.size-guide-trigger:hover {
    color: #000;
    transform: translateY(-1px);
}

.size-guide-trigger svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.size-guide-modal .modal-dialog {
    width: fit-content;
    max-width: min(100vw - 1.5rem, 100%);
    margin: 0.75rem auto;
}

.size-guide-shell {
    position: relative;
    width: fit-content;
    max-width: min(100vw - 1.5rem, 100%);
    max-height: min(100dvh - 1.5rem, 100svh - 1.5rem);
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 24px 70px rgba(16, 21, 29, 0.35);
}

.size-guide-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707A1 1 0 0 1 .293.293z'/%3e%3c/svg%3e");
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0.5rem;
    border-radius: 999px;
    background-color: #10151d;
    background-image: var(--bs-btn-close-bg);
    background-position: center;
    background-size: 0.85rem;
    background-repeat: no-repeat;
    box-shadow: 0 8px 20px rgba(16, 21, 29, 0.28);
    opacity: 1;
    filter: none;
}

.size-guide-close:hover {
    background-color: #000;
    opacity: 1;
    transform: scale(1.04);
}

.size-guide-frame {
    margin: 0;
    line-height: 0;
    background: #fff;
}

.size-guide-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100vw - 1.5rem, 100%);
    max-height: min(100dvh - 1.5rem, 100svh - 1.5rem);
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .product-size-label-row {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
    }

    .size-guide-trigger {
        width: 100%;
    }

    .size-guide-modal .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .size-guide-shell {
        max-width: calc(100vw - 1rem);
        max-height: calc(100dvh - 1rem);
        border-radius: 12px;
    }

    .size-guide-frame img {
        max-width: calc(100vw - 1rem);
        max-height: calc(100dvh - 1rem);
    }
}

.price-row { display: flex; gap: 0.75rem; align-items: center; }
.price-row strong { font-size: 1.2rem; }
.price-row.large strong { font-size: 2rem; }
.price-row span { text-decoration: line-through; }

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--ink);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
}

.info-banner {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.banner-points { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.banner-points span {
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.contact-card { padding: 1.5rem; }

.site-footer {
    margin-top: 4rem;
    background: #000;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(160px, 1fr));
    gap: 2.5rem 2rem;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-brand-block {
    display: inline-flex;
    max-width: 220px;
    margin-bottom: 0.85rem;
    text-decoration: none;
}

.footer-brand-logo {
    display: block;
    width: auto;
    max-width: 200px;
    max-height: 48px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-brand-tagline {
    margin: 0 0 0.75rem;
    max-width: 28ch;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.footer-brand-copy {
    margin: 0 0 1.35rem;
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

.footer-title {
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.footer-link,
.footer-link-static {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-link i,
.footer-link-static i {
    width: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.footer-link:hover {
    color: #fff;
}

.footer-link:focus-visible,
.footer-social-link:focus-visible,
.footer-whatsapp-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.footer-social-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
    color: #000;
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.footer-social-link i {
    font-size: 1rem;
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-whatsapp-btn i {
    font-size: 1.15rem;
}

.footer-whatsapp-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-1px);
}

.footer-whatsapp-btn:active {
    transform: scale(0.98);
}

.footer-payments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-payments-title {
    margin: 0 0 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.footer-payment-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-payment-logo {
    width: 110px;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 0;
}

.footer-payment-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.footer-secure-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
}

.footer-secure-note i {
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.25rem 0 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.footer-bottom small {
    color: inherit;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .footer-inner {
        padding-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-whatsapp-btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .footer-payment-logo {
        width: 92px;
    }
}
.cart-item, .detail-gallery, .product-form { border-radius: 24px; }

.cart-page {
    background: #f4f5f7;
    padding-bottom: 1rem;
}

.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cart-page-title {
    margin: 0;
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #10151d;
    line-height: 1.15;
}

.cart-page-copy {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: #6b7280;
}

.cart-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #eceff3;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-secure-badge i {
    color: #16a34a;
}

.cart-panel,
.cart-summary {
    background: #fff;
    border: 1px solid rgba(16, 21, 29, 0.06);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(16, 21, 29, 0.05);
}

.cart-panel {
    padding: 1.15rem 1.25rem 1.25rem;
}

.cart-empty {
    display: grid;
    justify-items: start;
    gap: 0.55rem;
    padding: 1.5rem 0.35rem;
}

.cart-empty-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 1.2rem;
}

.cart-empty-title {
    margin: 0.4rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.cart-empty-copy {
    margin: 0 0 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.cart-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 0.7fr 1fr 0.7fr 2.5rem;
    gap: 0.75rem;
    padding: 0 0.25rem 0.75rem;
    border-bottom: 1px solid #eef0f3;
    color: #9ca3af;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-item-list {
    display: grid;
}

.cart-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 0.7fr 1fr 0.7fr 2.5rem;
    gap: 0.75rem;
    align-items: center;
    padding: 1.1rem 0.25rem;
    border-bottom: 1px solid #eef0f3;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.cart-item-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid rgba(16, 21, 29, 0.06);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    text-decoration: underline;
}

.cart-item-meta {
    margin: 0.2rem 0 0.35rem;
    color: #6b7280;
    font-size: 0.82rem;
}

.cart-item-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.cart-item-stock.is-available {
    color: #16a34a;
}

.cart-item-stock.is-unavailable {
    color: #dc2626;
}

.cart-item-price strong,
.cart-item-total strong {
    font-size: 0.95rem;
    color: #111827;
}

.cart-qty-form {
    display: grid;
    justify-items: start;
    gap: 0.35rem;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.cart-qty-btn {
    width: 2rem;
    height: 2rem;
    border: 0;
    background: #f9fafb;
    color: #111827;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.cart-qty-btn:hover {
    background: #f3f4f6;
}

.cart-qty-input {
    width: 2.4rem;
    height: 2rem;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

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

.cart-qty-update {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.cart-qty-update:hover {
    text-decoration: underline;
}

.cart-remove-btn {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dc2626;
    border-radius: 8px;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cart-remove-btn:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
}

.cart-remove-btn:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.28);
    outline-offset: 2px;
}

.cart-remove-btn:active {
    background: #991b1b;
    border-color: #991b1b;
    transform: translateY(0);
}

.cart-continue-wrap {
    margin-top: 1rem;
}

.cart-continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-continue-btn:hover {
    background: #f9fafb;
    color: #111827;
}

.cart-summary {
    padding: 1.25rem;
    position: sticky;
    top: 6.5rem;
}

.cart-summary-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.cart-summary-rows {
    display: grid;
    gap: 0.55rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: #4b5563;
}

.cart-summary-row strong {
    color: #111827;
}

.cart-summary-total {
    margin: 1rem 0 1.1rem;
    padding-top: 0.95rem;
    border-top: 1px solid #eef0f3;
}

.cart-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.cart-summary-total-row span {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.cart-summary-total-row strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.cart-summary-total small {
    display: block;
    margin-top: 0.2rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

.cart-checkout-btn,
.cart-yape-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.85rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-checkout-btn {
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
}

.cart-checkout-btn:hover {
    background: #000;
    color: #fff;
}

.cart-yape-btn {
    margin-top: 0.65rem;
    background: #fff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.cart-yape-btn:hover {
    background: #f9fafb;
    color: #111827;
}

.cart-yape-btn img {
    height: 1.15rem;
    width: auto;
    display: block;
}

.cart-summary-trust {
    margin-top: 1.1rem;
    text-align: center;
}

.cart-summary-trust p {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.7rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.cart-summary-trust i {
    color: #16a34a;
}

.cart-summary-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-summary-payments img {
    height: 1.15rem;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.cart-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
    padding: 1.15rem 0 0.25rem;
}

.cart-perk {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.cart-perk i {
    margin-top: 0.15rem;
    color: #374151;
    font-size: 1.1rem;
}

.cart-perk strong {
    display: block;
    font-size: 0.88rem;
    color: #111827;
}

.cart-perk span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: #6b7280;
}

@media (max-width: 991.98px) {
    .cart-table-head {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "product remove"
            "price price"
            "qty total";
        gap: 0.65rem 0.75rem;
    }

    .cart-item-product { grid-area: product; }
    .cart-item-remove { grid-area: remove; justify-self: end; }
    .cart-item-price { grid-area: price; }
    .cart-item-qty { grid-area: qty; }
    .cart-item-total { grid-area: total; justify-self: end; align-self: end; }

    .cart-item-price::before,
    .cart-item-total::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: #9ca3af;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .cart-summary {
        position: static;
    }

    .cart-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .cart-perks {
        grid-template-columns: 1fr;
    }

}
.detail-gallery {
    padding: 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(16, 21, 29, 0.06);
}

.detail-main-image {
    height: 520px;
    padding: 0.85rem;
}

.detail-thumb {
    height: 150px;
    cursor: pointer;
    padding: 0.45rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.product-detail-page {
    background: #fff;
}

.pd-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.pd-thumbs {
    display: grid;
    gap: 0.55rem;
}

.pd-thumb {
    width: 72px;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    cursor: pointer;
}

.pd-thumb.is-active {
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.pd-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f6;
    min-height: 420px;
}

.pd-main-image {
    width: 100%;
    height: min(68vh, 640px);
    object-fit: contain;
    object-position: center center;
    display: block;
}

[data-gallery-lightbox] {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 5rem);
    margin: 0 auto;
    object-fit: contain;
}

.pd-nav,
.pd-expand {
    position: absolute;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(16, 21, 29, 0.12);
    cursor: pointer;
}

.pd-nav-prev { left: 0.85rem; top: 50%; transform: translateY(-50%); }
.pd-nav-next { right: 0.85rem; top: 50%; transform: translateY(-50%); }
.pd-expand { top: 0.85rem; right: 0.85rem; }

.pd-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 0.95rem 0.35rem;
}

.pd-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.pd-trust-item i {
    margin-top: 0.15rem;
    color: #4b5563;
}

.pd-trust-item strong {
    display: block;
    font-size: 0.84rem;
    color: #111827;
}

.pd-trust-item span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.76rem;
    color: #6b7280;
}

.pd-category {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-title {
    margin: 0;
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #111827;
}

.pd-description {
    margin: 0.7rem 0 1rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.55;
}

.pd-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    margin-bottom: 1.25rem;
}

.pd-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: #111827;
}

.pd-price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.pd-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
}

.pd-form {
    display: grid;
    gap: 1.05rem;
}

.pd-field-label {
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: #374151;
}

.pd-field-label strong {
    color: #111827;
}

.pd-color-list,
.pd-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pd-color-swatch {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--swatch, #64748b);
    box-shadow: inset 0 0 0 1px rgba(16, 21, 29, 0.12);
    cursor: pointer;
}

.pd-color-swatch.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111827;
}

.pd-size-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.pd-size-head .pd-field-label {
    margin-bottom: 0;
}

.pd-size-guide {
    color: #4b5563;
    font-size: 0.82rem;
    gap: 0.35rem;
}

.pd-size-option {
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.7rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.pd-size-option.is-active {
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
}

.pd-size-option.is-disabled,
.pd-size-option:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #6b7280;
    font-size: 0.86rem;
}

.pd-stock-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #9ca3af;
}

.pd-stock[data-state="available"] {
    color: #16a34a;
}

.pd-stock[data-state="available"] .pd-stock-dot {
    background: #16a34a;
}

.pd-stock[data-state="soldout"],
.pd-stock[data-state="unavailable"] {
    color: #dc2626;
}

.pd-stock[data-state="soldout"] .pd-stock-dot,
.pd-stock[data-state="unavailable"] .pd-stock-dot {
    background: #dc2626;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.pd-qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: #f9fafb;
    color: #111827;
    font-size: 1.05rem;
    cursor: pointer;
}

.pd-qty-input {
    width: 3rem;
    height: 2.5rem;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}

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

.pd-add-btn,
.pd-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
}

.pd-add-btn {
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
}

.pd-add-btn:hover {
    background: #000;
    color: #fff;
}

.pd-buy-btn {
    border: 1px solid #111827;
    background: #fff;
    color: #111827;
}

.pd-buy-btn:hover {
    background: #f9fafb;
}

@media (max-width: 991.98px) {
    .pd-gallery {
        grid-template-columns: 1fr;
    }

    .pd-thumbs {
        grid-auto-flow: column;
        grid-auto-columns: 64px;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .pd-thumb {
        width: 64px;
        aspect-ratio: 4 / 5;
    }

    .pd-main-image {
        height: min(58vh, 480px);
    }

    .pd-trust {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .pd-trust {
        grid-template-columns: 1fr;
    }
}
.product-branch-panel {
    padding: 1.35rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 20px 48px rgba(16, 21, 29, 0.07);
}
.product-branch-grid {
    display: grid;
    gap: 1rem;
}
.product-branch-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,241,233,0.92));
}
.product-branch-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.7rem;
}
.product-branch-status {
    margin-bottom: 0.75rem;
    color: #45505b;
    font-size: 0.94rem;
}
.product-branch-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.product-branch-variant {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    color: #37404a;
    font-size: 0.84rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-branch-variant.is-highlighted {
    background: rgba(246, 213, 37, 0.24);
    color: #6e5a00;
    transform: translateY(-1px);
}
.checkout-delivery-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.checkout-delivery-option {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,241,233,0.92));
    cursor: pointer;
}
.checkout-delivery-option input {
    margin-top: 0.25rem;
}
.checkout-delivery-option strong,
.checkout-branch-card strong {
    display: block;
    color: #18202a;
}
.checkout-delivery-option small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
}
.checkout-branch-list {
    display: grid;
    gap: 0.8rem;
}
.checkout-branch-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.82);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.checkout-branch-card span {
    display: block;
    margin-top: 0.2rem;
    color: #45505b;
    font-size: 0.92rem;
}
.checkout-branch-card.is-selected {
    border-color: rgba(246, 213, 37, 0.8);
    box-shadow: 0 16px 34px rgba(246, 213, 37, 0.18);
    transform: translateY(-1px);
}

body:has(.checkout-page) {
    background: #f7f7f6;
}

body:has(.checkout-page) .site-footer {
    display: none;
}

.checkout-page {
    --checkout-ink: #111820;
    --checkout-muted: #68717b;
    --checkout-border: #e4e7ea;
    --checkout-soft: #f8f9fa;
    --checkout-accent: #ff6b00;
    --checkout-success: #19a55a;
    min-height: calc(100dvh - 78px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(0.75rem, 1.8vh, 1.35rem) 1rem;
    color: var(--checkout-ink);
}

.checkout-shell {
    width: min(100%, 860px);
    max-height: calc(100dvh - 104px);
    overflow: auto;
    border: 1px solid var(--checkout-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 24, 32, 0.08);
    padding: clamp(1rem, 2vw, 1.45rem);
    scrollbar-width: thin;
}

.checkout-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-header h1 {
    margin: 0;
    font-family: var(--font-content);
    font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.05rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.checkout-header p {
    max-width: 58ch;
    margin: 0.35rem 0 0;
    color: var(--checkout-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.checkout-env-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: #dff7e8;
    color: #08703c;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-env-badge svg,
.checkout-section h2 svg,
.checkout-secure-note svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.checkout-order-panel,
.checkout-section,
.checkout-address-card,
.checkout-pickup-card {
    border: 1px solid var(--checkout-border);
    border-radius: 10px;
    background: #fff;
}

.checkout-order-panel {
    margin-bottom: 1rem;
}

.checkout-order-list {
    display: grid;
}

.checkout-order-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-order-item img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f1f0;
}

.checkout-order-item strong,
.checkout-payment-copy strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 900;
    color: var(--checkout-ink);
}

.checkout-order-item span,
.checkout-payment-copy small {
    display: block;
    margin-top: 0.18rem;
    color: var(--checkout-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.checkout-order-item b {
    font-size: 0.98rem;
    color: var(--checkout-ink);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.checkout-total-row strong {
    color: var(--checkout-accent);
    font-size: 1.04rem;
}

.checkout-section {
    border: 0;
    border-top: 1px solid var(--checkout-border);
    border-radius: 0;
    padding: 1rem 0 0;
    margin-top: 1rem;
}

.checkout-section h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

.checkout-section h2 svg {
    color: #1f2933;
}

.checkout-section-copy {
    margin: -0.45rem 0 0.65rem;
    color: var(--checkout-muted);
    font-size: 0.78rem;
}

.checkout-field-grid {
    display: grid;
    gap: 0.8rem;
}

.checkout-field-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-field-grid-two {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-field-full {
    grid-column: 1 / -1;
}

.checkout-field {
    display: grid;
    gap: 0.34rem;
    min-width: 0;
}

.checkout-field span {
    color: #3d4650;
    font-size: 0.74rem;
    font-weight: 750;
}

.checkout-field .form-control,
.checkout-field .form-select,
.checkout-notes .form-control {
    min-height: 42px;
    border: 1px solid var(--checkout-border);
    border-radius: 7px;
    background-color: #fff;
    color: var(--checkout-ink);
    font-size: 0.82rem;
    box-shadow: none;
}

.checkout-field .form-control:focus,
.checkout-field .form-select:focus,
.checkout-notes .form-control:focus {
    border-color: var(--checkout-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.checkout-billing-feedback {
    margin: 0.8rem 0 0;
    padding: 0.62rem 0.72rem;
    border-radius: 7px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

.checkout-delivery-switch,
.checkout-payment-list {
    display: grid;
    gap: 0.75rem;
}

.checkout-delivery-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-delivery-option,
.checkout-payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 72px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--checkout-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.checkout-delivery-option input,
.checkout-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-radio-dot {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #cbd1d6;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
}

.checkout-delivery-option:has(input:checked),
.checkout-payment-option:has(input:checked) {
    border-color: var(--checkout-accent);
    background: #fffaf6;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.08);
}

.checkout-delivery-option:has(input:checked) .checkout-radio-dot,
.checkout-payment-option:has(input:checked) .checkout-radio-dot {
    border-color: var(--checkout-accent);
    background: var(--checkout-accent);
}

.checkout-delivery-option strong,
.checkout-branch-card strong {
    display: block;
    color: var(--checkout-ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.checkout-delivery-option small {
    display: block;
    margin-top: 0.22rem;
    color: var(--checkout-muted);
    font-size: 0.73rem;
    line-height: 1.35;
}

.checkout-address-card,
.checkout-pickup-card {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding: 0.9rem;
    background: #fff;
}

.checkout-pickup-card.d-none,
.checkout-address-card.d-none {
    display: none !important;
}

.checkout-branch-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0;
}

.checkout-branch-card {
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--checkout-border);
    background: #fff;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.checkout-branch-card span {
    display: block;
    margin-top: 0.18rem;
    color: var(--checkout-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.checkout-branch-card.is-selected {
    border-color: var(--checkout-accent);
    background: #fffaf6;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.08);
    transform: none;
}

.checkout-payment-list {
    gap: 0.65rem;
}

.checkout-payment-option {
    min-height: 76px;
    gap: 0.72rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    outline: none;
}

.checkout-payment-option:hover { border-color: #aab1b8; background: #fcfcfb; }
.checkout-payment-option:focus-within { border-color: var(--checkout-accent); box-shadow: 0 0 0 3px rgba(255,107,0,.16); }

.checkout-payment-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-payment-copy strong {
    font-size: 0.9rem;
}

.checkout-payment-copy small {
    margin-top: 0.16rem;
    font-size: 0.73rem;
}

.checkout-payment-visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border-radius: 10px;
}

.checkout-payment-visual svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.checkout-payment-visual img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.checkout-payment-visual-yape.checkout-payment-visual-has-image img,
.checkout-payment-visual-wallet.checkout-payment-visual-has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-payment-visual-card {
    color: #5b4ecb;
    background: linear-gradient(135deg, #eeeaff, #dfdcff);
}

.checkout-payment-visual-yape {
    color: #fff;
    background: linear-gradient(145deg, #5d1eca, #bf00a7);
}

.checkout-payment-yape-mark {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-8deg);
}

.checkout-payment-visual-yape:not(.checkout-payment-visual-has-image)::after {
    content: "S/";
    position: absolute;
    top: 14px;
    right: 17px;
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: #10d6c2;
    color: #6b19c8;
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 19px;
    text-align: center;
}

.checkout-payment-visual-wallet {
    color: #172033;
    background: linear-gradient(135deg, #c7fff0, #adf1e4);
}

.checkout-payment-visual-pagoefectivo {
    color: #f36b12;
    background: linear-gradient(135deg, #fff1dd, #ffd9b8);
}

.checkout-payment-logos {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.28rem;
    flex: 0 0 auto;
    max-width: 42%;
    flex-wrap: wrap;
}

.checkout-payment-logos img {
    width: auto;
    height: 26px;
    max-width: 72px;
    object-fit: contain;
    padding: 0.16rem 0.32rem;
    border: 1px solid var(--checkout-border);
    border-radius: 7px;
    background: #fff;
}

.checkout-payment-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 26px;
    padding: 0 0.42rem;
    border: 1px solid var(--checkout-border);
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
}

.checkout-payment-brand-amex {
    border-color: #0094d8;
    background: #0c9ede;
    color: #fff;
    font-size: 0.6rem;
}

.checkout-payment-brand-visa {
    color: #0646a8;
}

.checkout-payment-brand-diners {
    color: #123a63;
}

.checkout-payment-brand-bbva {
    border-color: #0b4f95;
    background: #063f83;
    color: #fff;
}

.checkout-payment-brand-more {
    color: #4f5b6d;
    font-size: 0.72rem;
    font-weight: 800;
}

.checkout-notes {
    margin-top: 0.75rem;
}

.checkout-yape-guide {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .8rem;
    margin-top: .75rem;
    padding: .9rem;
    border: 1px solid #e5d6fb;
    border-radius: 12px;
    background: #fcfaff;
}
.checkout-yape-guide[hidden], .checkout-async-note[hidden] { display: none; }
.checkout-yape-guide-mark { width: 48px; height: 48px; overflow: hidden; border-radius: 10px; background: #6d28d9; }
.checkout-yape-guide-mark img { width: 100%; height: 100%; object-fit: cover; }
.checkout-yape-guide h3 { margin: 0; color: var(--checkout-ink); font-size: .9rem; font-weight: 900; }
.checkout-yape-guide p { color: #4c4560; font-size: .82rem; line-height: 1.45; }
.checkout-yape-guide p { margin: .2rem 0 0; }
.checkout-yape-guide-timing { color: #5520ab !important; font-weight: 800; }
.checkout-async-note { margin: .75rem 0 0; padding: .72rem .82rem; border: 1px solid #f1d4a0; border-radius: 10px; background: #fff9ee; color: #7d4a05; font-size: .76rem; font-weight: 700; line-height: 1.4; }
.checkout-payment-state { margin: .75rem 0 0; color: #515b68; font-size: .82rem; font-weight: 700; line-height: 1.4; }
.checkout-payment-state[hidden] { display: none; }
.checkout-payment-recovery { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding: .85rem .9rem; border: 1px solid #d9dde2; border-radius: 12px; background: #f8f9fa; }
.checkout-payment-recovery[hidden] { display: none; }
.checkout-payment-recovery h3 { margin: 0; color: var(--checkout-ink); font-size: .88rem; font-weight: 900; }
.checkout-payment-recovery p { margin: .2rem 0 0; color: #515b68; font-size: .78rem; line-height: 1.4; }
.checkout-recovery-action { flex: 0 0 auto; min-height: 40px; padding: .55rem .8rem; border: 1px solid var(--checkout-ink); border-radius: 8px; background: #fff; color: var(--checkout-ink); font: inherit; font-size: .8rem; font-weight: 900; }
.checkout-recovery-action:hover:not(:disabled), .checkout-recovery-action:focus-visible { border-color: var(--checkout-accent); color: var(--checkout-accent); outline: none; }
.checkout-recovery-action:disabled { cursor: progress; opacity: .65; }

.checkout-notes textarea {
    resize: vertical;
}

.checkout-alert {
    margin-top: 0.95rem;
    padding: 0.72rem 0.85rem;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.checkout-alert-info {
    border: 1px solid #96daf8;
    background: #e9f8ff;
    color: #00607f;
}

.checkout-alert-warning {
    border: 1px solid #ffd59f;
    background: #fff7eb;
    color: #8a4b00;
}

.checkout-alert-sales-paused {
    border-color: #c7cbd1;
    background: #f4f5f6;
    color: #30353b;
    font-weight: 700;
}

.checkout-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 0.85rem;
    border: 0;
    border-radius: 8px;
    background: #030405;
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: 0 14px 26px rgba(3, 4, 5, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.checkout-submit:hover {
    background: #151a20;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(3, 4, 5, 0.22);
}

.checkout-submit:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
    box-shadow: none;
}

.checkout-sales-paused-note {
    margin: .62rem 0 0;
    color: var(--checkout-muted);
    font-size: .78rem;
    line-height: 1.4;
    text-align: center;
}

.checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    margin: 0.62rem 0 0;
    color: var(--checkout-muted);
    font-size: 0.78rem;
}

.checkout-secure-note svg {
    color: #7b858f;
}

@media (max-width: 900px) {
    .checkout-page {
        min-height: auto;
        padding: 0.75rem;
    }

    .checkout-shell {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .checkout-shell {
        padding: 0.9rem;
        border-radius: 10px;
    }

    .checkout-header {
        display: grid;
    }

    .checkout-env-badge {
        width: max-content;
    }

    .checkout-field-grid-three,
    .checkout-field-grid-two,
    .checkout-delivery-switch {
        grid-template-columns: 1fr;
    }

    .checkout-order-item {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    .checkout-order-item img {
        width: 52px;
        height: 52px;
    }

    .checkout-payment-option {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.6rem;
        min-height: 0;
        padding: 0.72rem;
    }

    .checkout-payment-visual {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 10px;
    }

    .checkout-payment-visual svg {
        width: 30px;
        height: 30px;
    }

    .checkout-yape-guide { grid-template-columns: 42px minmax(0, 1fr); padding: .8rem; }
    .checkout-yape-guide-mark { width: 42px; height: 42px; }
    .checkout-payment-recovery { align-items: flex-start; flex-direction: column; }
    .checkout-recovery-action { width: 100%; }

    .checkout-payment-logos {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
        padding-left: 72px;
    }

    .checkout-payment-logos img,
    .checkout-payment-brand {
        height: 24px;
    }
}
/* Backslide alert system */
.swal2-popup.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm){width:min(21.5rem,calc(100vw - 1rem)) !important;padding:1.35rem 1.25rem 1rem !important;border-radius:10px;background:#fff;color:#111827;box-shadow:0 16px 40px rgba(15,23,42,.24);}
.swal2-popup.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm)::before{content:"";display:flex;width:3.8rem;height:3.8rem;margin:0 auto .72rem;border:1px solid #edf0f4;border-radius:50%;background:#fff url("../img/bs.png") center/2.35rem auto no-repeat;box-shadow:0 6px 16px rgba(15,23,42,.08);}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__icon{display:none !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__title{margin:0 0 .45rem;padding:0;font-size:1.28rem;line-height:1.12;font-weight:900;letter-spacing:-.02em;color:#111827;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__title::after{content:"";display:block;width:1.55rem;height:.14rem;margin:.55rem auto 0;border-radius:999px;background:#ff3d00;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__html{margin:.2rem 0 0;padding:0;color:#374151;font-size:.88rem;line-height:1.42;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__actions{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem;width:100%;margin:.95rem 0 0 !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__confirm,.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__cancel{min-height:2.2rem;align-items:center;justify-content:center;gap:.34rem;border-radius:7px;font-size:.78rem;font-weight:850;box-shadow:none !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__confirm{display:inline-flex !important;border:1px solid #ff3d00 !important;background:#ff3d00 !important;color:#fff !important;box-shadow:0 6px 12px rgba(255,61,0,.15) !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .bs-swal__cancel{border:1px solid #111827 !important;background:#fff !important;color:#111827 !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .swal2-cancel.swal2-styled:not([style*="display: none"]){display:inline-flex !important;}
.bs-swal:not(.bs-swal--toast):not(.bs-swal--status-confirm) .swal2-cancel[style*="display: none"]{display:none !important;}
.bs-swal__deny{display:none !important;}
.bs-swal-progress{display:grid;gap:.6rem;margin:.25rem 0 0;text-align:left;}
.bs-swal-progress__copy{margin:0;color:#1f2937;font-size:.88rem;font-weight:750;line-height:1.35;text-align:center;}
.bs-swal-progress__track{height:.42rem;border-radius:999px;background:#f1f5f9;overflow:hidden;}
.bs-swal-progress__bar{height:100%;border-radius:inherit;background:#ff3d00;transition:width .28s ease;}
.bs-swal-progress__step{margin:0;color:#64748b;font-size:.78rem;line-height:1.35;text-align:center;}
.bs-swal--toast{border-radius:9px !important;box-shadow:0 12px 30px rgba(15,23,42,.18) !important;}

.surf-tip {
    --surf-tip-ink: #15263a;
    --surf-tip-muted: #5b7388;
    --surf-tip-line: #7ec8e3;
    position: relative;
    display: none;
    align-items: stretch;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    min-height: 58px;
    margin-top: 0.65rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--surf-tip-line);
    border-radius: 12px;
    background: #eaf7fc;
    box-shadow: none;
    outline: none;
    filter: none;
    text-align: left;
    white-space: nowrap;
}

.surf-tip.is-visible,
.surf-tip:not([hidden]) {
    display: inline-flex;
}

.surf-tip[hidden] {
    display: none !important;
}

.surf-tip::before,
.surf-tip::after {
    content: none !important;
    display: none !important;
}

.surf-tip__graphic {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    align-self: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none;
    line-height: 0;
    position: static;
    opacity: 1;
}

.surf-tip__graphic--left,
.surf-tip__graphic--right,
.surf-tip__graphic--left img,
.surf-tip__graphic--right img,
.surf-tip__icon,
.surf-tip__wave {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    outline: none !important;
    opacity: 1;
}

.surf-tip__graphic--left::before,
.surf-tip__graphic--left::after,
.surf-tip__graphic--right::before,
.surf-tip__graphic--right::after {
    content: none !important;
    display: none !important;
}

.surf-tip__graphic--left,
.surf-tip__graphic--right {
    position: static;
}

.surf-tip__graphic img,
.surf-tip__icon,
.surf-tip__wave {
    display: block;
    height: 100%;
    width: auto;
    min-height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    mix-blend-mode: normal;
    pointer-events: none;
    user-select: none;
}

.surf-tip__icon {
    object-position: left center;
}

.surf-tip__wave {
    object-position: right center;
}

.surf-tip__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 6px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    filter: none;
}

.surf-tip__copy strong {
    color: var(--surf-tip-ink);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    white-space: nowrap;
}

.surf-tip__copy span {
    color: var(--surf-tip-muted);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .surf-tip {
        min-height: 54px;
        border-radius: 12px;
        white-space: normal;
    }

    .surf-tip__graphic img,
    .surf-tip__icon,
    .surf-tip__wave {
        min-height: 54px;
    }

    .surf-tip__copy {
        padding: 6px 10px;
    }

    .surf-tip__copy strong,
    .surf-tip__copy span {
        white-space: normal;
    }

    .surf-tip__copy strong {
        font-size: 0.86rem;
        line-height: 1.1;
    }

    .surf-tip__copy span {
        font-size: 0.74rem;
        line-height: 1.2;
    }
}

/* ===== Sucursales / Sedes ===== */
.stores-page {
    --stores-peach: #f8e4d4;
    --stores-peach-deep: #e8a06a;
    --stores-ink: #2a2f36;
    --stores-muted: #7a8088;
    --stores-line: rgba(42, 47, 54, 0.08);
    --stores-radius: 1.35rem;
}

.stores-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

.stores-page-title {
    margin: 0;
    font-family: var(--font-content);
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--stores-ink);
    text-transform: uppercase;
}

.stores-page-copy {
    margin: 0.45rem 0 0;
    max-width: 36rem;
    color: var(--stores-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.stores-branch-heading {
    margin: 0 0 0.35rem;
    color: var(--stores-ink);
    font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-transform: uppercase;
}

.stores-branch-subcopy {
    margin: 0 0 1.1rem;
    color: var(--stores-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.stores-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.05rem;
    border: 1px solid rgba(42, 47, 54, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--stores-ink);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.stores-back-btn:hover {
    background: #faf7f3;
    border-color: rgba(42, 47, 54, 0.22);
    color: var(--stores-ink);
    transform: translateY(-1px);
}

.stores-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--stores-peach);
    color: #9a5a28;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.stores-page .fas,
.stores-page .far,
.stores-page .fa-solid,
.stores-page .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
}

.stores-page .fas,
.stores-page .fa-solid {
    font-weight: 900 !important;
}

.stores-page .far,
.stores-page .fa-regular {
    font-weight: 400 !important;
}

.stores-badge i {
    font-size: 0.7rem;
    line-height: 1;
}

.stores-detail-icon,
.stores-perk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--stores-peach);
    color: #b5672f;
    line-height: 1;
}

.stores-detail-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.95rem;
}

.stores-perk-icon {
    font-size: 0.9rem;
}

.stores-detail-icon i,
.stores-perk-icon i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 1em;
    height: 1em;
    line-height: 1 !important;
}

.stores-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.65rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.stores-btn:hover {
    transform: translateY(-1px);
}

.stores-btn-dark {
    border: 1px solid #1f242b;
    background: #1f242b;
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 36, 43, 0.16);
}

.stores-btn-dark:hover {
    background: #10151d;
    border-color: #10151d;
    color: #fff;
}

.stores-btn-light {
    border: 1px solid rgba(42, 47, 54, 0.16);
    background: #fff;
    color: var(--stores-ink);
}

.stores-btn-light:hover {
    border-color: rgba(42, 47, 54, 0.28);
    background: #faf7f3;
    color: var(--stores-ink);
}

.stores-empty {
    display: grid;
    gap: 0.35rem;
    padding: 1.5rem 1.25rem;
    border: 1px dashed rgba(42, 47, 54, 0.18);
    border-radius: var(--stores-radius);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.stores-empty strong {
    color: var(--stores-ink);
    font-size: 1.05rem;
}

.stores-empty span {
    color: var(--stores-muted);
    font-size: 0.9rem;
}

.stores-list {
    display: grid;
    gap: 1.15rem;
}

.stores-list-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--stores-line);
    border-radius: var(--stores-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 21, 29, 0.05);
}

.stores-list-card-body {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1.35rem 1.4rem 1.4rem;
}

.stores-list-card-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--stores-ink);
    text-transform: uppercase;
}

.stores-list-card-address {
    margin: 0;
    color: var(--stores-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.stores-list-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    color: var(--stores-ink);
    font-size: 0.86rem;
    font-weight: 600;
}

.stores-list-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.stores-list-card-meta i {
    color: var(--stores-peach-deep);
}

.stores-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.stores-list-card-map {
    position: relative;
    min-height: 240px;
    background: #edf1f4;
}

.stores-list-card-map iframe,
.stores-detail-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stores-map-missing {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 240px;
    color: var(--stores-muted);
    font-size: 0.9rem;
    font-weight: 600;
    background:
        linear-gradient(135deg, rgba(248, 228, 212, 0.55), rgba(237, 241, 244, 0.9));
}

.stores-detail-card {
    overflow: hidden;
    border: 1px solid var(--stores-line);
    border-radius: calc(var(--stores-radius) + 0.15rem);
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 21, 29, 0.06);
}

.stores-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    min-height: 420px;
}

.stores-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.45rem 1.5rem 1.5rem;
}

.stores-detail-rows {
    display: grid;
}

.stores-detail-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--stores-line);
}

.stores-detail-row:first-child {
    padding-top: 0.2rem;
}

.stores-detail-row:last-child {
    border-bottom: 0;
    padding-bottom: 0.2rem;
}

.stores-detail-label {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--stores-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.stores-detail-row strong {
    display: grid;
    gap: 0.15rem;
    color: var(--stores-ink);
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.35;
}

.stores-detail-row strong small {
    color: var(--stores-muted);
    font-size: 0.86rem;
    font-weight: 550;
}

.stores-detail-row strong a {
    color: inherit;
    text-decoration: none;
}

.stores-detail-row strong a:hover {
    text-decoration: underline;
}

.stores-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.stores-detail-map {
    position: relative;
    min-height: 320px;
    background: #edf1f4;
}

.stores-map-card {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: grid;
    gap: 0.2rem;
    max-width: min(16.5rem, calc(100% - 2rem));
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(16, 21, 29, 0.12);
    backdrop-filter: blur(8px);
}

.stores-map-card strong {
    color: var(--stores-ink);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stores-map-card span {
    color: var(--stores-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.stores-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    margin-top: 1.35rem;
}

.stores-perks-inline {
    margin: 0;
    padding: 1.05rem 1.25rem 1.15rem;
    border-top: 1px solid var(--stores-line);
    background: linear-gradient(180deg, #fffdfa 0%, #faf6f1 100%);
}

.stores-perk {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
}

.stores-perk strong {
    display: block;
    color: var(--stores-ink);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.25;
}

.stores-perk > div span {
    display: block;
    margin-top: 0.12rem;
    color: var(--stores-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .stores-list-card,
    .stores-detail-grid {
        grid-template-columns: 1fr;
    }

    .stores-list-card-map,
    .stores-detail-map {
        min-height: 280px;
    }

    .stores-perks,
    .stores-perks-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .stores-page-header {
        margin-bottom: 1.1rem;
    }

    .stores-list-card-body,
    .stores-detail-info {
        padding: 1.15rem 1.1rem 1.2rem;
    }

    .stores-detail-actions,
    .stores-list-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .stores-btn {
        width: 100%;
    }

    .stores-perks,
    .stores-perks-inline {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .stores-perks-inline {
        padding: 1rem 1.1rem 1.15rem;
    }

    .stores-map-card {
        top: 0.75rem;
        left: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }
}

/* ===== Catálogo / listado de productos ===== */
.catalog-page {
    --catalog-ink: #15181e;
    --catalog-muted: #6b7280;
    --catalog-line: rgba(21, 24, 30, 0.08);
    --catalog-chip: #eef0f3;
    --catalog-radius: 1.15rem;
}

.catalog-page > .container {
    max-width: 1348px;
}

.home-product-grid-section {
    max-width: 1348px;
}

.catalog-header {
    margin-bottom: 1.35rem;
}

.catalog-title {
    margin: 0;
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--catalog-ink);
}

.catalog-copy {
    margin: 0.45rem 0 0;
    max-width: 40rem;
    color: var(--catalog-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

.catalog-chips {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    min-width: 0;
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: var(--catalog-ink);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.catalog-chip i {
    font-size: 0.82rem;
    color: #4b5563;
}

.catalog-chip:hover {
    background: var(--catalog-chip);
    color: var(--catalog-ink);
}

.catalog-chip.is-active {
    background: var(--catalog-chip);
    border-color: rgba(21, 24, 30, 0.06);
    color: var(--catalog-ink);
}

.catalog-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.catalog-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--catalog-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.catalog-sort-select {
    min-width: 10.5rem;
    min-height: 2.35rem;
    padding: 0.4rem 2rem 0.4rem 0.85rem;
    border: 1px solid var(--catalog-line);
    border-radius: 999px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.2 0 2.3z'/%3E%3C/svg%3E") right 0.85rem center/10px no-repeat;
    color: var(--catalog-ink);
    font-size: 0.86rem;
    font-weight: 650;
    appearance: none;
    cursor: pointer;
}

.catalog-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--catalog-line);
    border-radius: 999px;
    background: #fff;
    color: var(--catalog-ink);
    font-size: 0.86rem;
    font-weight: 650;
}

.catalog-filters-btn:hover {
    background: #f8f9fb;
}

.catalog-active-filters {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: -0.35rem 0 1.15rem;
}

.catalog-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 650;
}

.catalog-active-filter a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.catalog-results-count {
    margin-left: auto;
    color: var(--catalog-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.catalog-empty {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 2.5rem 1.25rem;
    border: 1px dashed rgba(21, 24, 30, 0.14);
    border-radius: var(--catalog-radius);
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.catalog-empty strong {
    color: var(--catalog-ink);
    font-size: 1.1rem;
}

.catalog-empty span {
    color: var(--catalog-muted);
    font-size: 0.9rem;
}

.catalog-grid {
    --catalog-ink: #15181e;
    --catalog-muted: #6b7280;
    --catalog-line: rgba(21, 24, 30, 0.08);
    --catalog-radius: 1.15rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 316px));
    justify-content: center;
    gap: 0.75rem;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 316px;
    min-height: 615px;
    overflow: hidden;
    border: 1px solid var(--catalog-line);
    border-radius: var(--catalog-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 21, 29, 0.04);
    cursor: pointer;
}

.catalog-card-media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f5f7, #ffffff);
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.catalog-card:hover .catalog-card-media img {
    transform: scale(1.03);
}

.catalog-card:hover .catalog-card-title a {
    text-decoration: underline;
}

.catalog-card-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.55rem;
    height: 2.55rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--catalog-ink);
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(246, 213, 37, 0.35);
}

.catalog-card-badge-text {
    min-width: 0;
    height: auto;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
}

.catalog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.1rem;
    min-height: 0;
}

.catalog-card-category {
    color: #9ca3af;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.catalog-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.25;
}

.catalog-card-title a {
    color: var(--catalog-ink);
    text-decoration: none;
}

.catalog-card-title a:hover {
    text-decoration: underline;
}

.catalog-card-copy {
    margin: 0;
    color: var(--catalog-muted);
    font-size: 0.84rem;
    line-height: 1.4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.catalog-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.catalog-card-price strong {
    color: var(--catalog-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.catalog-card-price span {
    color: #9ca3af;
    font-size: 0.86rem;
    text-decoration: line-through;
}

.catalog-card-colors {
    display: grid;
    gap: 0.28rem;
    justify-items: end;
    text-align: right;
}

.catalog-card-colors-label {
    color: var(--catalog-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.catalog-card-swatches {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.catalog-card-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--swatch, #64748b);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.catalog-card-swatch-more {
    color: var(--catalog-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.catalog-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.45rem;
}

.catalog-card-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.55rem;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 0.7rem;
    background: #15181e;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.catalog-card-cart:hover {
    background: #0b0d11;
    color: #fff;
    transform: translateY(-1px);
}

.catalog-card-wish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid var(--catalog-line);
    border-radius: 0.7rem;
    background: #fff;
    color: #374151;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.catalog-card-wish:hover,
.catalog-card-wish.is-active {
    border-color: rgba(239, 68, 68, 0.35);
    color: #ef4444;
    background: #fff5f5;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.catalog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--catalog-line);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--catalog-ink);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.catalog-page-btn:hover {
    background: #f3f4f6;
    color: var(--catalog-ink);
}

.catalog-page-btn.is-active {
    border-color: #15181e;
    background: #15181e;
    color: #fff;
}

.catalog-page-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.catalog-page-ellipsis {
    color: var(--catalog-muted);
    font-weight: 700;
    padding: 0 0.15rem;
}

/* Solo imágenes comerciales: evita el arrastre y el menú de pulsación prolongada
   sin interceptar gestos, enlaces ni controles de la tienda. */
.product-image-protected,
[data-product-image-scope] img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.catalog-filters-panel .offcanvas-title {
    font-size: 1.15rem;
    font-weight: 800;
}

.catalog-filters-form {
    display: grid;
    gap: 1rem;
}

.catalog-filter-group {
    display: grid;
    gap: 0.4rem;
}

.catalog-filter-label {
    color: var(--catalog-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.catalog-filter-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--catalog-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.catalog-filters-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.catalog-filters-clear {
    text-align: center;
    color: var(--catalog-muted);
    font-size: 0.86rem;
    font-weight: 650;
}

@media (max-width: 991.98px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 316px));
    }

    .catalog-toolbar-actions {
        width: 100%;
        margin-left: 0;
    }

    .catalog-sort {
        flex: 1;
    }

    .catalog-sort-select {
        flex: 1;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .catalog-grid {
        grid-template-columns: minmax(0, 316px);
    }

    .catalog-results-count {
        width: 100%;
        margin-left: 0;
    }
}
