:root {
    --brand: #111827;
    --accent: #0ea5e9;
    --header-bg: #ffffff;
    --header-text: #111827;
    --section-eyebrow: #2563eb;
    --section-eyebrow-size: 16px;
    --section-title: #111827;
    --section-text: #687385;
    --page-bg: #fbfcfd;
    --banner-title-size: 64px;
    --banner-text-size: 20px;
    --section-title-size: 40px;
    --body-text-size: 16px;
    --line: #dfe6ee;
    --surface: #ffffff;
    --soft: #f4f7fb;
    --green: #15b86a;
    --danger: #ef4444;
    --shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--section-title);
    background: var(--page-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--body-text-size);
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    background: var(--page-bg);
}

/* Anuncio */
.announcement {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    text-align: center;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.35;
}

.announcement span {
    width: min(1180px, 100%);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem clamp(1rem, 4vw, 4rem);
    background: color-mix(in srgb, var(--header-bg) 94%, transparent);
    color: var(--header-text);
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    backdrop-filter: blur(18px);
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .72rem;
}

.brand img,
.brand span {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-weight: 950;
}

.brand strong {
    overflow: hidden;
    max-width: 42vw;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: .34rem;
}

.nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: .65rem .82rem;
    color: color-mix(in srgb, var(--header-text) 62%, #64748b);
    border-radius: 12px;
    font-size: .94rem;
    font-weight: 850;
}

.nav a:hover,
.nav .admin-link {
    background: var(--soft);
    color: var(--header-text);
}

.nav .admin-link {
    border: 1px solid var(--line);
}

.cart-nav-link {
    position: relative;
    gap: 8px;
    padding: 0 13px !important;
    background: color-mix(in srgb, var(--accent) 10%, white);
    border: 1px solid rgba(148, 163, 184, .22);
}

.cart-nav-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.cart-nav-link em {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px auto;
    background: var(--header-text);
    border-radius: 99px;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Banner inicio */
.hero-carousel {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: var(--page-bg);
}

.hero-slide {
    position: relative;
    min-height: clamp(380px, 42vw, 680px);
    display: none;
    align-items: stretch;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(9, 15, 28, .64), rgba(9, 15, 28, .18)),
        var(--hero-image, linear-gradient(120deg, var(--hero-color-a, var(--brand)), var(--hero-color-b, var(--accent))));
    background-size: cover, var(--hero-fit, cover);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--hero-color-a, var(--brand));
    color: var(--hero-text, #ffffff);
}

.hero-slide.is-active {
    display: flex;
}

.banner-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 56px));
    min-height: clamp(380px, 42vw, 680px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 78px) 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-copy p {
    margin: 0 0 10px;
    color: var(--hero-eyebrow, var(--accent));
    font-size: var(--banner-text-size);
    font-weight: 950;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 850px;
    margin: 0;
    color: var(--hero-text, #fff);
    font-size: clamp(38px, 6vw, var(--banner-title-size));
    line-height: .96;
    letter-spacing: 0;
}

.hero-copy span {
    display: block;
    max-width: 660px;
    margin-top: 14px;
    color: var(--hero-text, #fff);
    font-size: var(--banner-text-size);
    line-height: 1.55;
}

.hero-actions {
    position: absolute;
    left: max(28px, calc((100vw - 1180px) / 2));
    bottom: clamp(28px, 5vw, 64px);
    z-index: 5;
    max-width: min(760px, calc(100% - 56px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .24);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
    backdrop-filter: blur(14px);
}

.banner-btn,
.hero-actions a,
.primary-btn,
.ghost-btn,
.small-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.banner-btn {
    color: var(--btn-text);
    transition: transform .18s ease, box-shadow .18s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
}

.banner-btn.is-solid {
    background: var(--btn-bg);
    color: var(--btn-text);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--btn-bg) 35%, transparent);
}

.banner-btn.is-glass {
    background: color-mix(in srgb, var(--btn-bg) 28%, transparent);
    color: var(--btn-text);
    border: 1px solid color-mix(in srgb, var(--btn-bg) 48%, white);
    backdrop-filter: blur(16px);
}

.banner-btn.is-outline {
    background: transparent;
    color: var(--btn-bg);
    border: 2px solid var(--btn-bg);
}

.primary-btn {
    background: var(--accent);
    color: #fff;
}

.ghost-btn {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .46);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 26px;
    background: #fff;
}

/* Secciones */
.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 72px) 0;
}

.hero-carousel + .section,
.hero-carousel + .section-alt {
    padding-top: clamp(24px, 3vw, 42px);
}

.section-alt {
    width: 100%;
    max-width: none;
    padding: clamp(42px, 5vw, 72px) max(18px, calc((100vw - 1180px) / 2));
    background: color-mix(in srgb, var(--page-bg) 86%, #eef4fb);
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 18px;
    text-align: left;
}

.section-title p,
.listing-head p {
    margin: 0;
    color: var(--section-eyebrow);
    font-size: var(--section-eyebrow-size);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.section-title h2 {
    display: none;
}

.listing-head {
    padding: clamp(44px, 6vw, 80px) max(18px, calc((100vw - 1180px) / 2)) 28px;
    background: var(--soft);
}

.listing-head h1 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(36px, 6vw, 72px);
    line-height: .98;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.category-strip a {
    min-height: 78px;
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .045);
}

/* Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}

.product-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .12);
}

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.045);
}

.product-placeholder,
.detail-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--brand);
    font-size: 4rem;
    font-weight: 950;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(239, 68, 68, .25);
}

.product-info {
    padding: 18px;
    color: var(--section-text);
}

.product-info .eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--section-eyebrow);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 0;
    color: var(--section-title);
    font-size: 19px;
    line-height: 1.18;
}

.product-info p {
    min-height: 44px;
    margin: 10px 0 0;
    color: var(--section-text);
    line-height: 1.45;
}

.price-row,
.detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 14px;
}

.price-row strong,
.detail-price strong {
    color: var(--brand);
    font-size: 23px;
    font-weight: 950;
}

.price-row span,
.detail-price span {
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 800;
}

.product-actions {
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.product-actions form {
    margin: 0;
}

.small-action {
    width: 100%;
    border: 0;
    background: var(--brand);
    color: #fff;
}

.small-action.ghost {
    background: #f1f5f9;
    color: var(--brand);
}

.cart-action {
    background: var(--accent);
}

/* Detalle producto */
.product-detail {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(36px, 5vw, 72px) 0;
}

.detail-media {
    overflow: hidden;
    min-height: 360px;
    background: linear-gradient(135deg, #edf7f1, #eaf3ff);
    border-radius: 24px;
    border: 1px solid var(--line);
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy {
    align-self: center;
}

.detail-copy h1 {
    margin: .45rem 0 .8rem;
    color: var(--section-title);
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: .96;
}

.lead,
.description {
    color: var(--section-text);
    line-height: 1.7;
}

.stock-pill {
    display: inline-flex;
    margin-top: 1rem;
    padding: .45rem .65rem;
    border-radius: 12px;
    font-weight: 900;
}

.stock-pill.ok {
    background: #dff7ea;
    color: #087443;
}

.stock-pill.out {
    background: #ffe9e1;
    color: #a83212;
}

.description {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

/* Busqueda/listado */
.search-box {
    display: flex;
    width: min(440px, 100%);
    padding: .35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: .65rem;
    outline: 0;
}

.search-box button {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    padding: 0 14px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 1.2rem;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--section-text);
    text-align: center;
    font-size: var(--body-text-size);
}

/* Paginas internas */
.page-hero {
    min-height: clamp(360px, 42vw, 620px);
    display: flex;
    align-items: end;
    background-image:
        linear-gradient(90deg, rgba(9, 15, 28, .66), rgba(9, 15, 28, .18)),
        var(--hero-image, linear-gradient(120deg, var(--hero-color-a, var(--brand)), var(--hero-color-b, var(--accent))));
    background-size: cover, var(--hero-fit, cover);
    background-repeat: no-repeat;
    background-position: center;
}

.page-hero-copy {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    padding: clamp(48px, 7vw, 90px) 0;
}

.page-hero-copy h1 {
    max-width: 900px;
    margin: 0;
    color: var(--page-banner-title-color, #ffffff);
    font-size: clamp(38px, 7vw, var(--page-banner-title-size, 72px));
    line-height: 1;
}

.page-hero-copy span {
    display: block;
    max-width: 720px;
    margin-top: 16px;
    color: var(--page-banner-subtitle-color, #ffffff);
    font-size: var(--page-banner-subtitle-size, 22px);
    line-height: 1.55;
}

.page-title-band {
    padding: clamp(54px, 8vw, 96px) 0 clamp(42px, 6vw, 72px);
    background:
        radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 32rem),
        linear-gradient(135deg, color-mix(in srgb, var(--page-bg) 86%, white), #ffffff);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.page-title-band > div {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.page-title-band h1 {
    max-width: 960px;
    margin: 0;
    color: var(--page-title-color, #0f172a);
    font-size: clamp(38px, 7vw, var(--page-title-size, 72px));
    line-height: .98;
}

.page-title-band span {
    display: block;
    max-width: 760px;
    margin-top: 18px;
    color: var(--section-text);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.55;
}

.content-page,
.legal-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 74px) 0;
}

.content-page article,
.legal-page article {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 54px);
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 24px;
    color: var(--section-text);
    line-height: 1.85;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .06);
}

/* Carrito */
.cart-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(36px, 5vw, 72px) 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 150px 140px auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 18px 54px rgba(15, 23, 42, .06);
}

.cart-item-image {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    color: var(--brand);
    font-weight: 950;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info strong,
.cart-summary strong {
    display: block;
    color: var(--section-title);
    font-size: 19px;
}

.cart-item-info span,
.cart-subtotal span,
.cart-summary span {
    color: var(--section-text);
    font-weight: 800;
}

.cart-qty {
    display: grid;
    gap: 8px;
}

.cart-qty input {
    min-height: 42px;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: 12px;
    padding: 0 10px;
}

.cart-qty button,
.cart-remove {
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cart-qty button {
    background: #eef2ff;
    color: #3730a3;
}

.cart-remove {
    background: #fee2e2;
    color: #991b1b;
    padding: 0 14px;
}

.cart-summary,
.cart-empty {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.cart-summary strong {
    margin-top: 8px;
    font-size: 38px;
}

.cart-summary p,
.cart-empty p {
    color: var(--section-text);
    line-height: 1.55;
}

.cart-summary .primary-btn,
.cart-summary .ghost-btn,
.cart-empty .primary-btn {
    width: 100%;
    margin-top: 10px;
}

/* WhatsApp */
.whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 20;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(20, 184, 106, .3);
    font-size: .8rem;
    font-weight: 950;
}

/* Footer */
.footer {
    margin-top: auto;
    background:
        radial-gradient(circle at 8% 0%, rgba(14, 165, 233, .16), transparent 28%),
        #111827;
    color: #fff;
}

.footer-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(220px, .8fr);
    gap: clamp(1.2rem, 4vw, 3rem);
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.footer-brand strong {
    display: block;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.footer-brand p {
    max-width: 520px;
    margin: .35rem 0 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
}

.footer-block {
    display: grid;
    align-content: start;
    gap: .45rem;
}

.footer-block h3 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: .95rem;
}

.footer-block span,
.footer-links a {
    color: rgba(255, 255, 255, .68);
    line-height: 1.55;
}

.footer-links {
    display: grid;
    gap: .42rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 950;
}

.social-icon:hover {
    background: var(--accent);
}

/* Responsive */
@media (max-width: 980px) {
    .cart-layout,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .cart-qty,
    .cart-subtotal,
    .cart-item form:last-child {
        grid-column: 1 / -1;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        min-height: auto;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding-top: .35rem;
    }

    .nav.is-open {
        display: grid;
        gap: .45rem;
    }

    .nav a {
        width: 100%;
        justify-content: center;
        background: var(--soft);
    }

    .cart-nav-link {
        justify-content: center;
    }

    .announcement {
        min-height: 40px;
        font-size: 13px;
    }

    .hero-slide {
        min-height: 460px;
    }

    .hero-copy {
        width: min(100% - 30px, 1180px);
        min-height: 460px;
        padding-bottom: 30px;
    }

    .hero-actions {
        left: 15px;
        right: 15px;
        bottom: 22px;
        width: auto;
        max-width: none;
        display: grid;
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .banner-btn,
    .hero-actions a {
        width: 100%;
    }

    .section,
    .cart-page,
    .content-page,
    .legal-page,
    .product-detail {
        width: min(100% - 28px, 1180px);
    }

    .section-title,
    .listing-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        min-height: 440px;
    }

    .page-hero-copy,
    .page-title-band > div {
        width: min(100% - 30px, 1180px);
    }
}

@media (max-width: 620px) {
    .product-actions {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 430px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-title-band h1,
    .page-hero-copy h1 {
        font-size: clamp(34px, 13vw, 54px);
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }
}

.configurable-store-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(18px, calc((100vw - 1180px) / 2));
    padding-right: max(18px, calc((100vw - 1180px) / 2));
    background: var(--custom-bg);
}

.config-section-head {
    width: min(1180px, 100%);
    margin: 0 auto 22px;
}

.config-section-head h2 {
    margin: 0;
    color: var(--custom-title);
    font-size: clamp(28px, 5vw, var(--custom-title-size));
    line-height: 1;
}

.config-section-head p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--custom-subtitle);
    font-size: var(--custom-subtitle-size);
    line-height: 1.55;
}

.configurable-store-section .product-grid {
    width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* Secciones configurables de inicio */
.configurable-store-section {
    background: var(--custom-bg);
    padding: clamp(36px, 5vw, 78px) max(18px, calc((100vw - 1180px) / 2));
}

.store-section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.config-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    margin-bottom: 26px;
}

.config-section-head h2 {
    margin: 0;
    color: var(--custom-title);
    font-size: clamp(1.7rem, 4vw, var(--custom-title-size));
    line-height: 1.05;
    letter-spacing: 0;
}

.config-section-head p {
    margin: 10px 0 0;
    max-width: 680px;
    color: var(--custom-subtitle);
    font-size: clamp(1rem, 2vw, var(--custom-subtitle-size));
    line-height: 1.55;
}

.curated-grid {
    align-items: stretch;
}

.curated-card {
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.curated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(15,23,42,.14);
}

.empty-store-panel {
    padding: 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: rgba(255,255,255,.75);
    color: var(--section-text);
    text-align: center;
    font-weight: 700;
}

@media (max-width: 640px) {
    .configurable-store-section {
        padding: 34px 18px;
    }

    .config-section-head {
        align-items: flex-start;
    }
}

/* Ajustes limpios para Productos y Paginas */
.clean-listing-head {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(28px, 4vw, 58px) auto 24px;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.78));
    border: 1px solid #e3edf8;
    box-shadow: 0 24px 70px rgba(15,23,42,.08);
}

.clean-listing-head h1 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    line-height: .98;
    letter-spacing: 0;
}

.product-listing-section {
    padding-top: 14px;
}

.refined-page-title {
    padding: clamp(42px, 7vw, 92px) max(18px, calc((100vw - 1180px) / 2));
    background:
        radial-gradient(circle at 12% 10%, rgba(37,99,235,.10), transparent 28%),
        linear-gradient(135deg, #ffffff, var(--page-bg));
    border-bottom: 1px solid #e6edf5;
}

.refined-page-title > div {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.refined-page-title h1 {
    margin: 0;
    color: var(--page-title-color);
    font-size: clamp(2.4rem, 7vw, var(--page-title-size));
    line-height: .98;
    letter-spacing: 0;
}

.refined-page-title span {
    display: block;
    max-width: 760px;
    margin-top: 14px;
    color: var(--section-text);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.refined-content-page {
    padding-top: clamp(28px, 5vw, 56px);
}

@media (max-width: 640px) {
    .clean-listing-head {
        width: calc(100% - 28px);
        border-radius: 22px;
    }

    .clean-listing-head .search-box {
        margin-top: 18px;
    }
}

.product-search-inline {
    width: min(680px, 100%);
    margin: 0 auto 28px;
}

.configurable-store-section + .product-listing-section {
    padding-top: clamp(30px, 5vw, 62px);
}

.variant-choice {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.variant-choice > span {
    color: var(--section-title);
    font-weight: 900;
}

.variant-choice label {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
}

.variant-choice label:has(input:checked) {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.variant-choice label.is-disabled {
    opacity: .48;
    cursor: not-allowed;
}

.variant-choice input {
    accent-color: var(--accent);
}

.variant-choice strong {
    color: var(--section-title);
}

.variant-choice small {
    color: var(--section-text);
}

.feature-table {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
}

.feature-table h2 {
    margin: 0 0 12px;
    color: var(--section-title);
}

.feature-table div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #eef2f7;
}

.feature-table strong {
    color: var(--section-title);
}

.feature-table span {
    color: var(--section-text);
}

@media (max-width: 640px) {
    .feature-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Carrusel de imagenes de productos */
.product-card-gallery,
.product-detail-gallery {
    position: relative;
    overflow: hidden;
}

.product-gallery-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.product-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity .42s ease, transform .42s ease;
}

.product-gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.product-card-gallery .product-placeholder,
.product-detail-gallery .detail-placeholder {
    position: relative;
    z-index: 1;
}

.product-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 8;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .28);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(12px);
}

.product-gallery-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}

.product-gallery-dots button.is-active {
    width: 22px;
    background: #ffffff;
}

.product-card-gallery .badge {
    z-index: 9;
}

.product-card:hover .product-gallery-image.is-active {
    transform: scale(1.045);
}

.product-detail-gallery {
    min-height: 520px;
}

.product-detail-gallery .product-gallery-image {
    position: absolute;
}

.detail-gallery-dots {
    bottom: 18px;
}

@media (max-width: 980px) {
    .product-detail-gallery {
        min-height: 430px;
    }
}

@media (max-width: 640px) {
    .product-gallery-dots {
        bottom: 9px;
        gap: 6px;
        padding: 6px 8px;
    }

    .product-gallery-dots button {
        width: 7px;
        height: 7px;
    }

    .product-gallery-dots button.is-active {
        width: 18px;
    }

    .product-detail-gallery {
        min-height: 340px;
    }
}

/* Evitar zoom automatico en inputs de moviles */
@media (max-width: 760px) {
    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
    }
}

/* Ajuste profesional de tarjetas y carrusel de producto */
.product-card-gallery {
    position: relative;
    overflow: hidden;
    background: #f3f7fb;
}

.product-gallery-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.product-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity .45s ease, transform .65s ease;
}

.product-gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.product-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 4;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(10px);
}

.product-gallery-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    cursor: pointer;
}

.product-gallery-dots button.is-active {
    width: 18px;
    background: #ffffff;
}

.product-empty-media {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
}

.product-empty-media span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    font-weight: 900;
    font-size: 1.4rem;
}

@media (max-width: 700px) {
    .product-grid,
    .products-grid,
    .store-products-grid,
    .section-products-grid,
    .featured-grid,
    .catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .premium-product-card,
    .product-card {
        min-width: 0 !important;
        border-radius: 18px !important;
        overflow: hidden;
    }

    .product-card .product-media,
    .premium-product-card .product-media {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-category-label {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    .product-info h3 {
        margin: 4px 0 6px !important;
        font-size: 13px !important;
        line-height: 1.18 !important;
    }

    .product-info p {
        display: none !important;
    }

    .price-row {
        gap: 4px !important;
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .price-row strong {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        margin-top: 9px !important;
    }

    .product-actions form {
        width: 100% !important;
    }

    .small-action {
        width: 100% !important;
        min-height: 34px !important;
        padding: 8px 9px !important;
        border-radius: 11px !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }

    .product-gallery-dots {
        bottom: 7px;
        gap: 5px;
        padding: 5px 7px;
    }

    .product-gallery-dots button {
        width: 6px;
        height: 6px;
    }

    .product-gallery-dots button.is-active {
        width: 15px;
    }
}

@media (max-width: 360px) {
    .product-grid,
    .products-grid,
    .store-products-grid,
    .section-products-grid,
    .featured-grid,
    .catalog-grid {
        gap: 9px !important;
    }

    .product-info {
        padding: 8px !important;
    }

    .product-info h3 {
        font-size: 12px !important;
    }

    .small-action {
        font-size: 11px !important;
        min-height: 32px !important;
    }
}

/* Tienda: productos v3 */
.shop-products-section {
    padding-top: clamp(28px, 4vw, 52px) !important;
}

.shop-products-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
    gap: 18px !important;
    align-items: end !important;
    margin-bottom: clamp(18px, 3vw, 30px) !important;
}

.shop-eyebrow {
    margin: 0 0 8px !important;
    color: var(--section-eyebrow) !important;
    font-size: var(--section-eyebrow-size) !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.shop-products-toolbar h2 {
    margin: 0 !important;
    color: var(--section-title) !important;
    font-size: clamp(30px, 4vw, var(--section-title-size)) !important;
    line-height: 1 !important;
}

.shop-search-box {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 8px !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06) !important;
}

.shop-search-box input {
    width: 100% !important;
    min-height: 44px !important;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 12px !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    background: transparent !important;
}

.shop-search-box button {
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 0 18px !important;
    background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.shop-product-grid,
.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 24px) !important;
    align-items: stretch !important;
}

.shop-product-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-width: 0 !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, .96) !important;
    box-shadow: 0 18px 52px rgba(15, 23, 42, .075) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.shop-product-card:hover {
    transform: translateY(-4px) !important;
    border-color: color-mix(in srgb, var(--accent) 42%, #e2e8f0) !important;
    box-shadow: 0 26px 76px rgba(15, 23, 42, .13) !important;
}

.shop-product-media {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #f4f7fb !important;
}

.shop-product-cover-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
}

.shop-product-media .product-gallery-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transform: scale(1.02) !important;
    transition: opacity .42s ease, transform .62s ease !important;
}

.shop-product-media .product-gallery-image.is-active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.shop-product-card:hover .product-gallery-image.is-active {
    transform: scale(1.035) !important;
}

.shop-product-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 92%, white), color-mix(in srgb, var(--accent) 88%, white)) !important;
    color: #ffffff !important;
}

.shop-product-placeholder span {
    display: grid !important;
    width: 58px !important;
    height: 58px !important;
    place-items: center !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.18) !important;
    font-size: 1.45rem !important;
    font-weight: 950 !important;
}

.shop-product-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 6 !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    box-shadow: 0 14px 28px rgba(239, 68, 68, .22) !important;
}

.product-gallery-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    z-index: 7 !important;
    display: flex !important;
    gap: 6px !important;
    transform: translateX(-50%) !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, .34) !important;
    backdrop-filter: blur(12px) !important;
}

.product-gallery-dots button {
    width: 7px !important;
    height: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.62) !important;
    cursor: pointer !important;
}

.product-gallery-dots button.is-active {
    width: 18px !important;
    background: #ffffff !important;
}

.shop-product-info {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 15px !important;
}

.shop-product-category {
    width: fit-content !important;
    color: var(--section-eyebrow) !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

.shop-product-info h3 {
    margin: 0 !important;
    color: var(--section-title) !important;
    font-size: clamp(15px, 1.4vw, 18px) !important;
    line-height: 1.16 !important;
}

.shop-product-info h3 a {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.shop-product-info p {
    display: -webkit-box !important;
    overflow: hidden !important;
    min-height: auto !important;
    margin: 0 !important;
    color: var(--section-text) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.shop-product-meta {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: auto !important;
}

.shop-price {
    display: grid !important;
    gap: 2px !important;
}

.shop-price strong {
    color: var(--brand) !important;
    font-size: clamp(17px, 1.8vw, 22px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.shop-price span {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    text-decoration: line-through !important;
}

.shop-product-meta small {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.shop-product-actions {
    display: grid !important;
    grid-template-columns: .82fr 1fr !important;
    gap: 9px !important;
    margin-top: 4px !important;
}

.shop-product-actions form {
    margin: 0 !important;
}

.shop-btn {
    width: 100% !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 13px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    text-align: center !important;
}

.shop-btn.primary {
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, var(--brand))) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 24%, transparent) !important;
}

.shop-btn.secondary {
    background: #f1f5f9 !important;
    color: var(--brand) !important;
}

.shop-btn:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

.pagination-wrap {
    margin-top: 28px !important;
}

@media (max-width: 1100px) {
    .shop-product-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .shop-products-toolbar {
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }

    .shop-search-box {
        grid-template-columns: 1fr !important;
    }

    .shop-search-box button {
        width: 100% !important;
    }

    .shop-product-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .shop-product-card {
        border-radius: 18px !important;
    }

    .shop-product-info {
        padding: 10px !important;
        gap: 7px !important;
    }

    .shop-product-category {
        font-size: 10px !important;
    }

    .shop-product-info h3 {
        font-size: 13px !important;
    }

    .shop-product-info p {
        display: none !important;
    }

    .shop-product-meta {
        display: grid !important;
        gap: 4px !important;
    }

    .shop-price strong {
        font-size: 15px !important;
    }

    .shop-product-meta small {
        font-size: 10px !important;
    }

    .shop-product-actions {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .shop-btn {
        min-height: 34px !important;
        border-radius: 11px !important;
        font-size: 12px !important;
    }

    .product-gallery-dots {
        bottom: 7px !important;
        padding: 5px 7px !important;
    }
}

@media (max-width: 360px) {
    .shop-product-grid,
    .product-grid {
        gap: 9px !important;
    }

    .shop-product-info {
        padding: 8px !important;
    }

    .shop-btn {
        min-height: 32px !important;
        font-size: 11px !important;
    }
}

/* Modal bonito para stock */
.store-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(12px);
}

.store-modal-overlay.is-open {
    display: flex;
}

.store-alert-modal {
    position: relative;
    width: min(430px, 100%);
    padding: clamp(24px, 6vw, 34px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 16rem),
        #ffffff;
    color: #0f172a;
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 34px 110px rgba(15, 23, 42, .34);
    text-align: center;
    animation: storeModalIn .18s ease-out;
}

.store-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.store-alert-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: #fff1f2;
    color: #e11d48;
}

.store-alert-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.store-alert-modal p {
    margin: 0 0 8px;
    color: var(--section-eyebrow);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.store-alert-modal h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    line-height: 1;
}

.store-alert-modal span {
    display: block;
    margin-top: 14px;
    color: #64748b;
    font-weight: 750;
    line-height: 1.55;
}

.store-modal-action {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

@keyframes storeModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 420px) {
    .store-alert-modal {
        border-radius: 22px;
    }

    .store-alert-icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }
}

/* Detalle de producto premium */
.product-show {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
    padding: clamp(30px, 5vw, 72px) 0;
}

.product-show-gallery {
    display: grid;
    gap: 14px;
}

.product-show-main {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 20rem),
        #f4f7fb;
    border: 1px solid rgba(226, 232, 240, .96);
    box-shadow: 0 26px 86px rgba(15, 23, 42, .1);
}

.product-show-main .product-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .42s ease, transform .7s ease;
}

.product-show-main .product-gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.product-show-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.product-show-placeholder span {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 28px;
    background: rgba(255,255,255,.16);
    font-size: 2.4rem;
    font-weight: 950;
}

.product-show-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 6;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(239, 68, 68, .22);
}

.product-show-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 10px;
}

.product-show-thumbs button {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.product-show-thumbs button.is-active {
    border-color: var(--accent);
}

.product-show-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-show-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 32px);
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(226, 232, 240, .96);
    box-shadow: 0 26px 86px rgba(15, 23, 42, .09);
}

.product-show-category {
    width: fit-content;
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--section-eyebrow);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.product-show-heading h1 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: .96;
}

.product-show-heading p {
    margin: 14px 0 0;
    color: var(--section-text);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.62;
}

.product-show-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(226, 232, 240, .9);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.product-show-price strong {
    color: var(--brand);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    font-weight: 950;
}

.product-show-price span {
    color: #94a3b8;
    font-size: 1.05rem;
    font-weight: 850;
    text-decoration: line-through;
}

.product-buy-box {
    display: grid;
    gap: 16px;
}

.product-stock-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 950;
}

.product-stock-line.ok {
    background: #ecfdf5;
    color: #047857;
}

.product-stock-line.out {
    background: #fff1f2;
    color: #be123c;
}

.product-stock-line small {
    font-size: .88rem;
    font-weight: 850;
}

.product-option-group {
    display: grid;
    gap: 12px;
}

.product-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-option-head strong {
    color: var(--section-title);
    font-size: 1rem;
}

.product-option-head span {
    color: var(--section-text);
    font-size: .88rem;
    font-weight: 850;
}

.product-variant-grid {
    display: grid;
    gap: 10px;
}

.product-variant-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, .92);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.product-variant-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-variant-card > span {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    box-shadow: inset 0 0 0 5px #fff;
}

.product-variant-card:has(input:checked) {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, white);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 14%, transparent);
}

.product-variant-card:has(input:checked) > span {
    background: var(--accent);
    border-color: var(--accent);
}

.product-variant-card strong {
    display: block;
    color: var(--section-title);
}

.product-variant-card small {
    display: block;
    margin-top: 4px;
    color: var(--section-text);
    font-weight: 800;
}

.product-variant-card.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.product-buy-actions {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.product-qty {
    display: grid;
    gap: 8px;
    color: var(--section-text);
    font-size: .9rem;
    font-weight: 900;
}

.product-qty div {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    overflow: hidden;
    min-height: 52px;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: 16px;
    background: #fff;
}

.product-qty button {
    height: 52px;
    border: 0;
    background: #f1f5f9;
    color: var(--brand);
    font-size: 1.4rem;
    font-weight: 950;
    cursor: pointer;
}

.product-qty input {
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    text-align: center;
    color: var(--brand);
    font-size: 16px;
    font-weight: 950;
}

.product-cart-button,
.product-whatsapp-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    padding: 0 18px;
    text-align: center;
    font-weight: 950;
    cursor: pointer;
}

.product-cart-button {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 22%, transparent);
}

.product-cart-button:disabled {
    opacity: .58;
    cursor: not-allowed;
}

.product-whatsapp-button {
    background: #ecfdf5;
    color: #047857;
}

.product-feature-box {
    display: grid;
    gap: 12px;
    padding-top: 6px;
}

.product-feature-box h2 {
    margin: 0;
    color: var(--section-title);
    font-size: 1.25rem;
}

.product-feature-box > div {
    display: grid;
    gap: 8px;
}

.product-feature-box article {
    display: grid;
    grid-template-columns: minmax(120px, .42fr) 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.product-feature-box strong {
    color: var(--section-title);
}

.product-feature-box span {
    color: var(--section-text);
    font-weight: 800;
}

.product-description-section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(36px, 5vw, 72px);
}

.product-description-section article {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .06);
}

.product-description-section p,
.product-related-head p {
    margin: 0 0 8px;
    color: var(--section-eyebrow);
    font-size: var(--section-eyebrow-size);
    font-weight: 950;
    text-transform: uppercase;
}

.product-description-section h2,
.product-related-head h2 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(2rem, 4vw, var(--section-title-size));
    line-height: 1;
}

.product-description-section div {
    margin-top: 18px;
    color: var(--section-text);
    font-size: var(--body-text-size);
    line-height: 1.85;
}

.product-related-section {
    padding-top: clamp(30px, 4vw, 54px);
}

.product-related-head {
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .product-show {
        grid-template-columns: 1fr;
    }

    .product-show-panel {
        position: static;
    }

    .product-show-main {
        min-height: 420px;
    }
}

@media (max-width: 620px) {
    .product-show {
        width: min(100% - 24px, 1180px);
        padding-top: 22px;
        gap: 16px;
    }

    .product-show-main {
        min-height: 0;
        border-radius: 22px;
    }

    .product-show-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .product-show-heading h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .product-buy-actions {
        grid-template-columns: 1fr;
    }

    .product-feature-box article {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .product-show-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .product-description-section {
        width: min(100% - 24px, 1180px);
    }
}

/* Caracteristicas en detalle: usar todo el ancho disponible */
.product-feature-box > div {
    grid-template-columns: 1fr !important;
}

.product-feature-box article {
    grid-template-columns: 1fr !important;
    width: 100% !important;
}

.product-feature-box article strong,
.product-feature-box article span {
    width: 100% !important;
    max-width: none !important;
}

/* Carrito visible cuando el menu cambia a hamburguesa */
.mobile-cart-link {
    position: relative;
    display: none;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent) 12%, white);
    border: 1px solid rgba(148, 163, 184, .28);
    color: var(--header-text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.mobile-cart-link svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.mobile-cart-link em {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--header-bg);
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}

@media (max-width: 820px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
    }

    .mobile-cart-link {
        display: inline-flex;
    }

    .nav .desktop-cart-link {
        display: none !important;
    }

    .menu-toggle {
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .brand strong {
        max-width: 36vw;
    }

    .mobile-cart-link,
    .menu-toggle {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

/* Carrito profesional */
.cart-hero {
    padding: clamp(44px, 7vw, 88px) max(18px, calc((100vw - 1180px) / 2)) clamp(26px, 4vw, 44px);
    background:
        radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28rem),
        linear-gradient(135deg, color-mix(in srgb, var(--page-bg) 86%, white), #ffffff);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.cart-hero p {
    margin: 0 0 10px;
    color: var(--section-eyebrow);
    font-size: var(--section-eyebrow-size);
    font-weight: 950;
    text-transform: uppercase;
}

.cart-hero h1 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: .92;
}

.cart-hero span {
    display: block;
    max-width: 680px;
    margin-top: 16px;
    color: var(--section-text);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.55;
}

.cart-pro-page {
    padding-top: clamp(24px, 4vw, 44px) !important;
}

.cart-status-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-weight: 950;
}

.cart-pro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: clamp(18px, 3vw, 28px);
    align-items: start;
}

.cart-pro-list {
    display: grid;
    gap: 16px;
}

.cart-pro-list-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px 4px;
}

.cart-pro-list-head p,
.cart-pro-summary > p {
    margin: 0 0 6px;
    color: var(--section-eyebrow);
    font-size: .9rem;
    font-weight: 950;
    text-transform: uppercase;
}

.cart-pro-list-head h2 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1;
}

.cart-pro-list-head a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--brand);
    border: 1px solid rgba(203, 213, 225, .9);
    font-weight: 950;
}

.cart-pro-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 174px 150px auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, .96);
    box-shadow: 0 20px 64px rgba(15, 23, 42, .075);
}

.cart-pro-image {
    overflow: hidden;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 86%, white), color-mix(in srgb, var(--accent) 78%, white));
    color: #ffffff;
    font-size: 2rem;
    font-weight: 950;
}

.cart-pro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-pro-info {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cart-pro-info small {
    color: var(--section-eyebrow);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.cart-pro-info h3 {
    margin: 0;
    color: var(--section-title);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.12;
}

.cart-pro-info h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-pro-info span {
    color: var(--section-text);
    font-size: .92rem;
    font-weight: 800;
}

.cart-pro-info > strong {
    color: var(--brand);
    font-size: 1.08rem;
    font-weight: 950;
}

.cart-pro-qty {
    display: grid;
    gap: 8px;
}

.cart-pro-qty label {
    display: grid;
    gap: 7px;
    color: var(--section-text);
    font-size: .86rem;
    font-weight: 950;
}

.cart-pro-qty label > div {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    overflow: hidden;
    min-height: 46px;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: 15px;
    background: #fff;
}

.cart-pro-qty input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    text-align: center;
    color: var(--brand);
    font-size: 16px;
    font-weight: 950;
}

.cart-pro-qty label button {
    border: 0;
    background: #f1f5f9;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 950;
    cursor: pointer;
}

.cart-soft-button,
.cart-remove,
.cart-main-button,
.cart-secondary-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 15px;
    padding: 0 16px;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
}

.cart-soft-button {
    background: #eef2ff;
    color: #3730a3;
}

.cart-pro-total {
    display: grid;
    gap: 5px;
    justify-items: end;
}

.cart-pro-total span {
    color: var(--section-text);
    font-size: .82rem;
    font-weight: 900;
}

.cart-pro-total strong {
    color: var(--section-title);
    font-size: 1.24rem;
    font-weight: 950;
}

.cart-pro-remove-form {
    margin: 0;
}

.cart-remove {
    background: #fff1f2;
    color: #be123c;
}

.cart-pro-summary {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 14px;
    padding: clamp(22px, 3vw, 28px);
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, .96);
    box-shadow: 0 28px 90px rgba(15, 23, 42, .11);
}

.cart-summary-line,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.cart-summary-line span,
.cart-summary-total span {
    color: var(--section-text);
    font-weight: 850;
}

.cart-summary-line strong {
    color: var(--section-title);
    font-weight: 950;
}

.cart-summary-total {
    align-items: end;
    border-bottom: 0;
}

.cart-summary-total strong {
    color: var(--brand);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 950;
}

.cart-pro-summary small {
    color: var(--section-text);
    line-height: 1.5;
    font-weight: 750;
}

.cart-main-button {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 22%, transparent);
}

.cart-secondary-button {
    background: #f1f5f9;
    color: var(--brand);
}

.cart-pro-empty {
    width: min(560px, 100%);
    margin: 0 auto;
    text-align: center;
}

.cart-empty-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--accent) 12%, white);
    color: var(--accent);
}

.cart-empty-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

@media (max-width: 1120px) {
    .cart-pro-item {
        grid-template-columns: 94px minmax(0, 1fr) 160px;
    }

    .cart-pro-total,
    .cart-pro-remove-form {
        grid-column: 2 / -1;
        justify-self: stretch;
    }

    .cart-pro-total {
        justify-items: start;
    }

    .cart-remove {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .cart-pro-layout {
        grid-template-columns: 1fr;
    }

    .cart-pro-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 620px) {
    .cart-hero {
        padding-inline: 16px;
    }

    .cart-page {
        width: min(100% - 24px, 1180px) !important;
    }

    .cart-pro-list-head {
        display: grid;
        align-items: start;
    }

    .cart-pro-list-head a {
        width: 100%;
        justify-content: center;
    }

    .cart-pro-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 22px;
    }

    .cart-pro-image {
        width: 82px;
        height: 82px;
        border-radius: 18px;
    }

    .cart-pro-info h3 {
        font-size: 1rem;
    }

    .cart-pro-qty,
    .cart-pro-total,
    .cart-pro-remove-form {
        grid-column: 1 / -1;
    }

    .cart-pro-qty {
        grid-template-columns: 1fr;
    }

    .cart-pro-total {
        padding: 12px;
        border-radius: 16px;
        background: #f8fafc;
    }

    .cart-summary-total {
        display: grid;
    }
}

/* Carrito: actualizacion automatica */
.cart-pro-qty em {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-style: normal;
    font-weight: 850;
}

.cart-pro-qty:has(input:focus) em {
    color: var(--accent);
}

.cart-pro-qty em[hidden] {
    display: none !important;
}

/* Slider lateral de carrito */
body.drawer-open {
    overflow: hidden;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    display: none;
    justify-content: flex-end;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(10px);
}

.cart-drawer-overlay.is-open {
    display: flex;
}

.cart-drawer {
    width: min(430px, 100%);
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 18rem),
        #ffffff;
    box-shadow: -30px 0 90px rgba(15, 23, 42, .26);
    transform: translateX(100%);
    animation: cartDrawerIn .22s ease-out forwards;
}

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.cart-drawer-head p {
    margin: 0 0 5px;
    color: var(--section-eyebrow);
    font-size: .84rem;
    font-weight: 950;
    text-transform: uppercase;
}

.cart-drawer-head h2 {
    margin: 0;
    color: var(--section-title);
    font-size: 2rem;
    line-height: 1;
}

.cart-drawer-head button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--brand);
    font-size: 28px;
    cursor: pointer;
}

.cart-drawer-body {
    overflow: auto;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
}

.cart-drawer-empty {
    display: grid;
    gap: 12px;
    place-items: center;
    padding: 42px 20px;
    text-align: center;
    border-radius: 24px;
    background: #f8fafc;
}

.cart-drawer-empty strong {
    color: var(--section-title);
    font-size: 1.35rem;
}

.cart-drawer-empty span {
    color: var(--section-text);
    line-height: 1.45;
}

.cart-drawer-empty a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-weight: 950;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.cart-drawer-image {
    overflow: hidden;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-weight: 950;
}

.cart-drawer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cart-drawer-copy strong {
    overflow: hidden;
    color: var(--section-title);
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-drawer-copy span,
.cart-drawer-copy small {
    color: var(--section-text);
    font-weight: 800;
}

.cart-drawer-copy small {
    color: var(--brand);
}

.cart-drawer-item form {
    margin: 0;
}

.cart-drawer-item form button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.cart-drawer-foot {
    display: grid;
    gap: 12px;
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(226, 232, 240, .9);
    background: rgba(255,255,255,.92);
}

.cart-drawer-foot > div {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.cart-drawer-foot span {
    color: var(--section-text);
    font-weight: 850;
}

.cart-drawer-foot strong {
    color: var(--brand);
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 950;
}

.cart-drawer-primary,
.cart-drawer-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    font-weight: 950;
    cursor: pointer;
}

.cart-drawer-primary {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 22%, transparent);
}

.cart-drawer-secondary {
    background: #f1f5f9;
    color: var(--brand);
}

@keyframes cartDrawerIn {
    to {
        transform: translateX(0);
    }
}

@media (max-width: 520px) {
    .cart-drawer {
        width: min(94vw, 430px);
    }

    .cart-drawer-head,
    .cart-drawer-foot {
        padding-inline: 16px;
    }

    .cart-drawer-body {
        padding: 14px;
    }

    .cart-drawer-item {
        grid-template-columns: 64px minmax(0, 1fr) auto;
    }

    .cart-drawer-image {
        width: 64px;
        height: 64px;
    }
}

/* Slider carrito: cantidades y envio */
.is-hidden {
    display: none !important;
}

.cart-drawer-list {
    display: grid;
    gap: 12px;
}

.cart-drawer-item {
    grid-template-columns: 74px minmax(0, 1fr) auto !important;
}

.cart-drawer-side {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.cart-drawer-side > strong {
    color: var(--brand);
    font-size: .96rem;
    font-weight: 950;
}

.cart-drawer-qty {
    width: fit-content;
    display: grid;
    grid-template-columns: 30px 34px 30px;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: 12px;
    background: #fff;
}

.cart-drawer-qty button {
    width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f1f5f9 !important;
    color: var(--brand) !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    cursor: pointer;
}

.cart-drawer-qty strong {
    display: grid;
    place-items: center;
    min-width: 34px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 950;
}

.cart-drawer-item.is-updating {
    opacity: .62;
    pointer-events: none;
}

.cart-drawer-shipping {
    display: grid;
    gap: 9px;
    padding: 13px;
    border-radius: 17px;
    background: color-mix(in srgb, var(--accent) 8%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, #dbe5f0);
}

.cart-drawer-shipping span {
    color: var(--section-title);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.35;
}

.cart-drawer-shipping div {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
}

.cart-drawer-shipping i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    transition: width .2s ease;
}

.cart-drawer-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.cart-drawer-line span {
    color: var(--section-text);
    font-weight: 850;
}

.cart-drawer-line strong {
    color: var(--section-title);
    font-weight: 950;
}

.cart-drawer-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(226, 232, 240, .9);
}

.cart-drawer-total span {
    color: var(--section-text);
    font-weight: 850;
}

.cart-drawer-total strong {
    color: var(--brand);
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 950;
}

@media (max-width: 520px) {
    .cart-drawer-item {
        grid-template-columns: 64px minmax(0, 1fr) !important;
    }

    .cart-drawer-side {
        grid-column: 2 / -1;
        grid-template-columns: 1fr auto;
        width: 100%;
        justify-items: start;
        align-items: center;
    }
}

/* WhatsApp flotante real */
.whatsapp-fab {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .32) !important;
}

.whatsapp-fab svg {
    width: 29px !important;
    height: 29px !important;
    fill: currentColor !important;
}

/* Iconos reales de redes sociales */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.16);
    transition: transform .18s ease, background .18s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.14);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af) !important;
}

.social-facebook {
    background: #1877f2 !important;
}

.social-tiktok {
    background: #111827 !important;
}

.social-youtube {
    background: #ff0033 !important;
}

.social-x {
    background: #000000 !important;
}

.social-whatsapp {
    background: #25d366 !important;
}

.social-linkedin {
    background: #0a66c2 !important;
}

.social-web {
    background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
}

/* Promociones */
.promotion-products-section {
    padding-top: clamp(28px, 5vw, 64px);
}

.promotion-products-section .section-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: clamp(14px, 4vw, 34px);
}

.promotions-grid {
    margin-top: clamp(18px, 3vw, 30px);
}

.empty-store-panel {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .86);
    border-radius: 22px;
    padding: clamp(22px, 4vw, 34px);
    color: var(--section-text, #687385);
    font-weight: 800;
    text-align: center;
}

.store-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* Página pública de categorías */
.store-categories-section {
    padding: clamp(28px, 5vw, 72px) clamp(12px, 4vw, 34px);
    background: var(--page-bg, #fbfcfd);
}

.store-categories-shell {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.store-category-card {
    min-width: 0;
    display: grid;
    gap: 16px;
    padding: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 20px 58px rgba(15, 23, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .22);
    box-shadow: 0 26px 70px rgba(37, 99, 235, .13);
}

.store-category-media {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .22), transparent 42%),
        linear-gradient(135deg, #0f172a, #2563eb);
}

.store-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-category-media span {
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 1000;
}

.store-category-copy {
    display: grid;
    gap: 8px;
}

.store-category-copy strong {
    color: var(--section-title, #0f172a);
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1.08;
}

.store-category-copy p {
    margin: 0;
    color: var(--section-text, #687385);
    font-size: var(--body-text-size, 16px);
    font-weight: 650;
    line-height: 1.45;
}

.store-category-copy small {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 980px) {
    .store-categories-shell {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .store-categories-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-category-card {
        border-radius: 20px;
        padding: 10px;
        gap: 12px;
    }

    .store-category-media {
        border-radius: 16px;
    }

    .store-category-copy strong {
        font-size: 17px;
    }

    .store-category-copy p {
        display: none;
    }
}

@media (max-width: 360px) {
    .store-categories-shell {
        gap: 10px;
    }

    .store-category-copy small {
        font-size: 12px;
    }
}

.category-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .45s ease, transform .45s ease;
}

.category-gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.category-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .34);
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.category-gallery-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    cursor: pointer;
}

.category-gallery-dots button.is-active {
    width: 22px;
    background: #ffffff;
}

.category-existing-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.category-existing-images article {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 18px;
    background: #fff;
}

.category-existing-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    object-fit: cover;
}

.category-upload-box {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .category-existing-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .category-existing-images {
        grid-template-columns: 1fr;
    }
}

/* Banners múltiples por página */
.page-hero-slider {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--hero-color-b) 38%, transparent), transparent 42%),
        linear-gradient(135deg, var(--hero-color-a), var(--hero-color-b));
}

.page-hero-images {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--hero-fit, cover);
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .55s ease, transform .55s ease;
}

.page-hero-images img.is-active {
    opacity: 1;
    transform: scale(1);
}

.page-hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15, 23, 42, .62), rgba(15, 23, 42, .18), rgba(15, 23, 42, .35));
    pointer-events: none;
}

.page-hero-slider .page-hero-copy {
    position: relative;
    z-index: 2;
}

.page-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    display: inline-flex;
    gap: 7px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .36);
    backdrop-filter: blur(12px);
    transform: translateX(-50%);
}

.page-hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    cursor: pointer;
}

.page-hero-dots button.is-active {
    width: 28px;
    background: #ffffff;
}

/* Categorías en inicio */
.home-categories-section {
    padding-top: clamp(26px, 5vw, 58px);
}

.home-category-grid {
    max-width: 1240px;
    margin: clamp(18px, 3vw, 30px) auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.home-category-card {
    min-height: 100%;
}

.category-art-placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .36), transparent 25%),
        radial-gradient(circle at 82% 22%, rgba(14, 165, 233, .42), transparent 30%),
        radial-gradient(circle at 40% 90%, rgba(34, 197, 94, .28), transparent 28%),
        linear-gradient(135deg, var(--brand, #0f172a), var(--accent, #2563eb));
}

.category-art-placeholder::before {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 32px;
    transform: rotate(-8deg);
}

.category-art-placeholder::after {
    content: "";
    position: absolute;
    right: -18%;
    bottom: -28%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    box-shadow: -38px -34px 90px rgba(255, 255, 255, .18);
}

.category-art-placeholder i {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.category-art-placeholder i:nth-child(1) {
    width: 34%;
    height: 10px;
    left: 18%;
    top: 32%;
}

.category-art-placeholder i:nth-child(2) {
    width: 48%;
    height: 10px;
    left: 18%;
    top: 45%;
    opacity: .52;
}

.category-art-placeholder i:nth-child(3) {
    width: 26%;
    height: 10px;
    left: 18%;
    top: 58%;
    opacity: .34;
}

@media (max-width: 980px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-category-card .store-category-copy p {
        display: none;
    }
}

@media (max-width: 360px) {
    .home-category-grid {
        gap: 10px;
    }
}

/* Cards visuales de la página Categorías */
.store-categories-section .store-category-visual-card {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: clamp(230px, 28vw, 380px);
    padding: 0;
    border-radius: 28px;
    background: #0f172a;
}

.store-categories-section .store-category-visual-card .store-category-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
}

.store-categories-section .store-category-visual-card .store-category-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .72)),
        linear-gradient(90deg, rgba(15, 23, 42, .58), rgba(15, 23, 42, .08));
    pointer-events: none;
}

.store-categories-section .store-category-visual-card .category-gallery-image {
    z-index: 1;
}

.store-categories-section .store-category-visual-card .category-art-placeholder {
    z-index: 1;
}

.store-categories-section .store-category-visual-card .store-category-copy {
    position: absolute;
    left: clamp(16px, 3vw, 28px);
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 4;
    color: #ffffff;
}

.store-categories-section .store-category-visual-card .store-category-copy strong {
    color: #ffffff;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .34);
}

.store-categories-section .store-category-visual-card .store-category-copy p {
    max-width: 520px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.35;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.store-categories-section .store-category-visual-card .category-gallery-dots {
    z-index: 5;
}

@media (max-width: 720px) {
    .store-categories-section .store-category-visual-card {
        min-height: 190px;
        border-radius: 22px;
    }

    .store-categories-section .store-category-visual-card .store-category-copy strong {
        font-size: 22px;
    }

    .store-categories-section .store-category-visual-card .store-category-copy p {
        display: none;
    }
}

@media (max-width: 420px) {
    .store-categories-section .store-category-visual-card {
        min-height: 165px;
    }
}

/* Cards visuales de categorías en Inicio */
.home-category-grid .store-category-visual-card {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: clamp(220px, 25vw, 340px);
    padding: 0;
    border-radius: 28px;
    background: #0f172a;
}

.home-category-grid .store-category-visual-card .store-category-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
}

.home-category-grid .store-category-visual-card .store-category-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .72)),
        linear-gradient(90deg, rgba(15, 23, 42, .58), rgba(15, 23, 42, .08));
    pointer-events: none;
}

.home-category-grid .store-category-visual-card .category-gallery-image,
.home-category-grid .store-category-visual-card .category-art-placeholder {
    z-index: 1;
}

.home-category-grid .store-category-visual-card .store-category-copy {
    position: absolute;
    left: clamp(14px, 3vw, 24px);
    right: clamp(14px, 3vw, 24px);
    bottom: clamp(14px, 3vw, 24px);
    z-index: 4;
    color: #ffffff;
}

.home-category-grid .store-category-visual-card .store-category-copy strong {
    color: #ffffff;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .34);
}

.home-category-grid .store-category-visual-card .store-category-copy p {
    max-width: 420px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: 1.35;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.home-category-grid .store-category-visual-card .category-gallery-dots {
    z-index: 5;
}

@media (max-width: 720px) {
    .home-category-grid .store-category-visual-card {
        min-height: 170px;
        border-radius: 22px;
    }

    .home-category-grid .store-category-visual-card .store-category-copy strong {
        font-size: 20px;
    }

    .home-category-grid .store-category-visual-card .store-category-copy p {
        display: none;
    }
}

@media (max-width: 420px) {
    .home-category-grid .store-category-visual-card {
        min-height: 150px;
    }
}

/* Checkout */
.checkout-hero {
    padding: clamp(42px, 8vw, 96px) clamp(16px, 5vw, 72px) clamp(20px, 4vw, 46px);
    background:
        radial-gradient(circle at 15% 0%, rgba(14, 165, 233, .18), transparent 34%),
        linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(248, 250, 252, .72));
}

.checkout-hero p,
.checkout-card-head span,
.checkout-summary-card > p,
.checkout-success-card > p {
    margin: 0;
    color: var(--section-eyebrow, #2563eb);
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0;
}

.checkout-hero h1 {
    max-width: 920px;
    margin: 8px 0 0;
    color: var(--section-title, #0f172a);
    font-size: clamp(46px, 8vw, 104px);
    line-height: .95;
}

.checkout-hero span {
    display: block;
    margin-top: 12px;
    color: var(--section-text, #667085);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 750;
}

.checkout-page {
    padding: clamp(18px, 4vw, 48px) clamp(12px, 4vw, 42px) clamp(50px, 8vw, 92px);
    background: var(--page-bg, #fbfcfd);
}

.checkout-layout {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(18px, 3vw, 30px);
    align-items: start;
}

.checkout-main {
    display: grid;
    gap: 18px;
}

.checkout-card,
.checkout-summary-card,
.checkout-success-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 30px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 80px rgba(15, 23, 42, .08);
}

.checkout-card {
    padding: clamp(18px, 3vw, 30px);
}

.checkout-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.checkout-card-head span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    flex: 0 0 auto;
}

.checkout-card-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.checkout-card-head p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 16px;
    font-weight: 750;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.checkout-grid .wide {
    grid-column: 1 / -1;
}

.checkout-card label {
    display: grid;
    gap: 8px;
    color: #667085;
    font-size: 15px;
    font-weight: 950;
}

.checkout-card input,
.checkout-card textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .13);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    outline: none;
}

.checkout-card input {
    min-height: 58px;
    padding: 0 16px;
}

.checkout-card textarea {
    padding: 16px;
    resize: vertical;
}

.checkout-card input:focus,
.checkout-card textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.checkout-card small,
.checkout-error {
    color: #b91c1c;
    font-weight: 850;
}

.checkout-note {
    margin-top: 16px;
    border-radius: 18px;
    padding: 14px 16px;
    background: #eef4ff;
    color: #255bdc;
    font-weight: 900;
}

.payment-options {
    display: grid;
    gap: 12px;
}

.payment-option {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 14px !important;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option > span {
    width: 24px;
    height: 24px;
    border: 2px solid #94a3b8;
    border-radius: 999px;
}

.payment-option input:checked + span {
    border: 7px solid #2563eb;
}

.payment-option strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.payment-option small {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-weight: 750;
}

.checkout-alert {
    border-radius: 22px;
    padding: 16px 18px;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 850;
}

.checkout-alert strong,
.checkout-alert span {
    display: block;
}

.checkout-summary {
    position: sticky;
    top: 18px;
}

.checkout-summary-card {
    padding: clamp(18px, 3vw, 26px);
}

.checkout-items {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    max-height: 380px;
    overflow: auto;
    padding-right: 4px;
}

.checkout-items article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.checkout-items article > div {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef4ff;
    color: #2563eb;
    font-weight: 1000;
}

.checkout-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-items strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.15;
}

.checkout-items small,
.checkout-items em {
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.checkout-items b {
    color: #0f172a;
    font-size: 15px;
}

.checkout-shipping {
    margin: 18px 0;
}

.checkout-line,
.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.checkout-line span,
.checkout-total span {
    color: #667085;
    font-weight: 850;
}

.checkout-line strong {
    color: #0f172a;
}

.checkout-total strong {
    color: #0f172a;
    font-size: 28px;
}

.checkout-submit,
.checkout-back {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    font-size: 17px;
    font-weight: 1000;
    text-decoration: none;
}

.checkout-submit {
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 22px 52px rgba(37, 99, 235, .24);
    cursor: pointer;
}

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

.checkout-back {
    background: #eef4ff;
    color: #255bdc;
}

.checkout-success-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: clamp(28px, 6vw, 80px) clamp(14px, 4vw, 34px);
    background: var(--page-bg, #fbfcfd);
}

.checkout-success-card {
    width: min(760px, 100%);
    padding: clamp(24px, 5vw, 48px);
    text-align: center;
}

.success-mark {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 26px;
    background: #dcfce7;
    color: #047857;
}

.success-mark svg {
    width: 44px;
    height: 44px;
    fill: currentColor;
}

.checkout-success-card h1 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: clamp(38px, 7vw, 78px);
    line-height: .95;
}

.checkout-success-card > span {
    display: block;
    margin: 12px auto 0;
    max-width: 520px;
    color: #667085;
    font-size: 18px;
    font-weight: 750;
}

.success-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.success-summary div,
.bank-box {
    border-radius: 22px;
    background: #f8fafc;
    padding: 18px;
}

.success-summary small,
.bank-box span {
    display: block;
    color: #667085;
    font-weight: 850;
}

.success-summary strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 24px;
}

.bank-box {
    margin-top: 18px;
    text-align: left;
}

.bank-box h2 {
    margin: 0 0 12px;
    color: #0f172a;
}

.bank-box p {
    margin: 12px 0 0;
    color: #667085;
    font-weight: 750;
    line-height: 1.45;
}

.success-actions {
    margin-top: 20px;
}

@media (max-width: 980px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .checkout-items article {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .checkout-items b {
        grid-column: 2;
    }

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

/* Checkout renovado y cuenta */
.checkout-pro,
.account-page,
.account-dashboard,
.order-tracking-page {
    min-height: 70vh;
    padding: clamp(28px, 6vw, 78px) clamp(14px, 4vw, 40px);
    background:
        radial-gradient(circle at 10% 0%, rgba(14,165,233,.16), transparent 30%),
        var(--page-bg, #fbfcfd);
}

.checkout-pro-shell,
.account-dashboard,
.order-tracking-card {
    max-width: 1320px;
    margin: 0 auto;
}

.checkout-pro-head,
.account-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(22px, 4vw, 40px);
}

.checkout-pro-head p,
.account-head p,
.account-card p,
.order-tracking-card > p {
    margin: 0;
    color: var(--section-eyebrow, #2563eb);
    font-weight: 1000;
    text-transform: uppercase;
}

.checkout-pro-head h1,
.account-head h1,
.account-card h1,
.order-tracking-card h1 {
    margin: 8px 0 0;
    color: var(--section-title, #0f172a);
    font-size: clamp(42px, 7vw, 92px);
    line-height: .95;
}

.checkout-pro-head span,
.account-head span,
.account-card > span {
    display: block;
    margin-top: 10px;
    color: var(--section-text, #667085);
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 750;
}

.checkout-pro-head a,
.account-head button {
    min-height: 52px;
    border: 0;
    border-radius: 18px;
    padding: 0 22px;
    background: #eef4ff;
    color: #255bdc;
    font-weight: 1000;
    text-decoration: none;
    cursor: pointer;
}

.checkout-pro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(18px, 3vw, 30px);
    align-items: start;
}

.checkout-flow {
    display: grid;
    gap: 18px;
}

.checkout-step-card,
.checkout-order-card,
.account-card,
.account-order-card,
.order-tracking-card,
.checkout-access-panel,
.checkout-mini-panel {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 80px rgba(15,23,42,.08);
}

.checkout-step-card,
.checkout-order-card,
.account-card,
.order-tracking-card {
    padding: clamp(18px, 3vw, 30px);
}

.checkout-step-title {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.checkout-step-title b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
}

.checkout-step-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1;
}

.checkout-step-title p {
    margin: 6px 0 0;
    color: #667085;
    font-weight: 750;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.checkout-form-grid .wide {
    grid-column: 1 / -1;
}

.checkout-step-card label,
.account-card label {
    display: grid;
    gap: 8px;
    color: #667085;
    font-weight: 950;
}

.checkout-step-card input,
.checkout-step-card textarea,
.account-card input {
    width: 100%;
    border: 1px solid rgba(15,23,42,.13);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    outline: none;
}

.checkout-step-card input,
.account-card input {
    min-height: 56px;
    padding: 0 16px;
}

.checkout-step-card textarea {
    padding: 16px;
}

.checkout-step-card small,
.account-card small {
    color: #b91c1c;
    font-weight: 850;
}

.checkout-create-account {
    margin-top: 18px;
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    cursor: pointer;
}

.checkout-create-account input {
    width: 22px;
    height: 22px;
}

.account-password-fields {
    margin-top: 14px;
}

.checkout-access-panel,
.checkout-mini-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
}

.checkout-access-panel strong,
.checkout-mini-panel strong {
    display: block;
    color: #0f172a;
    font-size: 19px;
}

.checkout-access-panel span,
.checkout-mini-panel span {
    display: block;
    color: #667085;
    font-weight: 750;
}

.checkout-access-panel a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    border-radius: 16px;
    padding: 0 18px;
    background: #0f172a;
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.payment-choice-grid {
    display: grid;
    gap: 12px;
}

.payment-choice-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px !important;
    padding: 16px;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 20px;
    background: #fff;
}

.payment-choice-card input {
    width: 24px;
    height: 24px;
}

.payment-choice-card strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.payment-choice-card small {
    display: block;
    color: #667085;
    margin-top: 4px;
}

.checkout-blue-note {
    margin-top: 16px;
    border-radius: 18px;
    padding: 14px 16px;
    background: #eef4ff;
    color: #255bdc;
    font-weight: 950;
}

.checkout-order-card {
    position: sticky;
    top: 18px;
}

.checkout-order-card h2 {
    margin: 0 0 18px;
    color: #0f172a;
}

.checkout-product-list {
    display: grid;
    gap: 12px;
    max-height: 360px;
    overflow: auto;
    padding-right: 4px;
}

.checkout-product-list article {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.checkout-product-list article > div {
    width: 60px;
    height: 60px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #eef4ff;
    color: #2563eb;
    font-weight: 1000;
}

.checkout-product-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-list strong,
.checkout-product-list small,
.checkout-product-list em {
    display: block;
}

.checkout-product-list strong {
    color: #0f172a;
    line-height: 1.15;
}

.checkout-product-list small,
.checkout-product-list em {
    color: #667085;
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.checkout-money-line,
.checkout-money-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(15,23,42,.08);
}

.checkout-money-total strong {
    color: #0f172a;
    font-size: 28px;
}

.checkout-final-button,
.checkout-soft-button,
.account-card button,
.account-card a {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    font-size: 17px;
    font-weight: 1000;
    text-decoration: none;
}

.checkout-final-button,
.account-card button {
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 22px 52px rgba(37,99,235,.24);
}

.checkout-soft-button,
.account-card a {
    background: #eef4ff;
    color: #255bdc;
}

.account-page {
    display: grid;
    place-items: center;
}

.account-card {
    width: min(560px, 100%);
}

.account-card label {
    margin-top: 16px;
}

.account-orders {
    display: grid;
    gap: 14px;
}

.account-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(120px, .7fr)) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    color: inherit;
    text-decoration: none;
}

.account-order-card strong,
.account-order-card em {
    color: #0f172a;
    font-size: 20px;
    font-style: normal;
    font-weight: 1000;
}

.account-order-card span,
.account-order-card small {
    color: #667085;
    font-weight: 800;
}

.order-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.order-public-grid section,
.order-items-public article {
    border-radius: 20px;
    background: #f8fafc;
    padding: 16px;
}

.order-items-public {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.order-items-public article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.tracking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.tracking-steps div {
    display: grid;
    gap: 8px;
    color: #94a3b8;
    font-weight: 950;
}

.tracking-steps i {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
}

.tracking-steps .is-on {
    color: #2563eb;
}

.tracking-steps .is-on i {
    background: #2563eb;
}

@media (max-width: 980px) {
    .checkout-pro-layout,
    .checkout-form-grid,
    .order-public-grid {
        grid-template-columns: 1fr;
    }

    .checkout-order-card {
        position: static;
    }

    .account-order-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .checkout-pro-head,
    .account-head,
    .checkout-access-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-product-list article {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .checkout-product-list b {
        grid-column: 2;
    }
}

/* Instrucciones de transferencia visibles */
.pro-success-card {
    width: min(980px, 100%);
}

.transfer-instructions-highlight {
    margin-top: clamp(22px, 4vw, 34px);
    border: 2px solid rgba(37, 99, 235, .22);
    border-radius: 30px;
    padding: clamp(18px, 4vw, 34px);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .18), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    text-align: left;
    box-shadow: 0 24px 80px rgba(37, 99, 235, .14);
}

.transfer-alert-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.transfer-alert-head b {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    background: #fef3c7;
    color: #b45309;
    font-size: 14px;
    font-weight: 1000;
    text-transform: uppercase;
}

.transfer-alert-head h2 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.transfer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.transfer-steps article {
    border-radius: 22px;
    padding: 16px;
    background: #eef4ff;
}

.transfer-steps span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 1000;
}

.transfer-steps strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.2;
}

.transfer-steps p {
    margin: 8px 0 0;
    color: #475467;
    font-weight: 850;
}

.bank-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.bank-data-grid div {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    padding: 16px;
    background: #fff;
}

.bank-data-grid span {
    display: block;
    color: #667085;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.bank-data-grid strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: clamp(18px, 2.4vw, 28px);
    line-height: 1.1;
    word-break: break-word;
}

.transfer-extra-note {
    margin-top: 16px;
    border-radius: 20px;
    padding: 16px 18px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .transfer-steps,
    .bank-data-grid {
        grid-template-columns: 1fr;
    }

    .transfer-instructions-highlight {
        border-radius: 24px;
    }
}

/* Iconos Cuenta/Admin */
.nav-icon-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.nav-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.mobile-admin-icon {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #255bdc;
    text-decoration: none;
    border: 1px solid rgba(37, 99, 235, .12);
}

.mobile-admin-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (max-width: 860px) {
    .mobile-admin-icon {
        display: inline-flex;
        order: 2;
    }

    .mobile-cart-link {
        order: 3;
    }

    .menu-toggle {
        order: 4;
    }

    .desktop-admin-link {
        display: none !important;
    }

    .account-nav-link {
        display: inline-flex !important;
    }
}

/* Paginas legales */
.legal-page-head {
    padding: clamp(46px, 8vw, 92px) 0 clamp(24px, 5vw, 46px);
    background:
        radial-gradient(circle at 8% 20%, rgba(37, 99, 235, .10), transparent 28rem),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.80));
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.legal-page-head h1 {
    max-width: 980px;
    margin: 0;
    line-height: .98;
    letter-spacing: 0;
}

.legal-page-wrap {
    padding: clamp(28px, 5vw, 68px) 0 clamp(54px, 8vw, 100px);
    background: var(--page-bg, #fbfcfd);
}

.legal-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(20px, 3vw, 34px);
    align-items: start;
}

.legal-content-card,
.legal-side-card {
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .07);
}

.legal-content-card {
    padding: clamp(24px, 4vw, 46px);
}

.legal-content-card h2 {
    margin: 34px 0 14px;
    color: var(--section-title, #111827);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
}

.legal-content-card h2:first-child {
    margin-top: 0;
}

.legal-content-card h3 {
    margin: 26px 0 10px;
    color: var(--section-title, #111827);
    font-size: clamp(20px, 2vw, 25px);
}

.legal-content-card p,
.legal-content-card li {
    color: var(--section-text, #687385);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 650;
}

.legal-content-card p {
    margin: 0 0 16px;
}

.legal-content-card ul {
    margin: 0 0 22px;
    padding-left: 20px;
}

.legal-content-card strong {
    color: var(--section-title, #111827);
}

.legal-side-card {
    position: sticky;
    top: 104px;
    padding: 24px;
}

.legal-side-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--section-eyebrow, #2563eb);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.legal-side-card strong {
    display: block;
    color: var(--section-title, #111827);
    font-size: 24px;
    line-height: 1.1;
}

.legal-side-card p {
    margin: 14px 0 18px;
    color: var(--section-text, #687385);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.legal-side-card a {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border-radius: 15px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
}

.page-legal-hero {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .legal-page-grid {
        grid-template-columns: 1fr;
    }

    .legal-side-card {
        position: static;
    }
}

@media (max-width: 560px) {
    .legal-page-head h1 {
        font-size: 38px !important;
    }

    .legal-content-card,
    .legal-side-card {
        border-radius: 20px;
    }

    .legal-content-card p,
    .legal-content-card li {
        font-size: 16px;
    }
}

/* Paginas internas legales con el mismo lenguaje visual de tienda */
.legal-clean-head {
    padding-top: clamp(44px, 7vw, 86px);
    padding-bottom: clamp(22px, 4vw, 42px);
    background:
        radial-gradient(circle at 8% 18%, rgba(37, 99, 235, .10), transparent 28rem),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.78));
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.legal-clean-head h1 {
    max-width: 1080px;
    margin: 0;
    line-height: .98;
    letter-spacing: 0;
}

.legal-clean-section {
    padding-top: clamp(26px, 4vw, 48px);
    padding-bottom: clamp(54px, 7vw, 92px);
    background: var(--page-bg, #fbfcfd);
}

.legal-clean-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .07);
}

.legal-clean-card h2 {
    margin: 36px 0 14px;
    color: var(--section-title, #111827);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.08;
}

.legal-clean-card h2:first-child {
    margin-top: 0;
}

.legal-clean-card h3 {
    margin: 26px 0 10px;
    color: var(--section-title, #111827);
    font-size: clamp(20px, 2.1vw, 25px);
    line-height: 1.15;
}

.legal-clean-card p,
.legal-clean-card li {
    color: var(--section-text, #687385);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 650;
}

.legal-clean-card p {
    margin: 0 0 16px;
}

.legal-clean-card ul {
    margin: 0 0 22px;
    padding-left: 22px;
}

.legal-clean-card strong,
.legal-change {
    color: #000 !important;
    font-weight: 950;
}

@media (max-width: 560px) {
    .legal-clean-head h1 {
        font-size: 38px !important;
    }

    .legal-clean-card {
        border-radius: 22px;
        padding: 22px;
    }

    .legal-clean-card p,
    .legal-clean-card li {
        font-size: 16px;
    }
}

/* Ajuste final: titulos de paginas legales centrados como Productos y Categorias */
.legal-clean-head {
    display: flex;
    align-items: center;
    min-height: clamp(170px, 20vw, 240px);
    padding-top: clamp(48px, 7vw, 92px) !important;
    padding-bottom: clamp(48px, 7vw, 92px) !important;
}

.legal-clean-head .store-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.legal-clean-head h1 {
    width: 100%;
    max-width: 1100px;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 560px) {
    .legal-clean-head {
        min-height: 150px;
    }

    .legal-clean-head h1 {
        font-size: 36px !important;
        line-height: 1.05;
    }
}

/* Correccion: paginas legales con el mismo encabezado que Productos, Promociones y Categorias */
.legal-clean-head {
    display: block !important;
    min-height: auto !important;
    padding-top: clamp(64px, 8vw, 96px) !important;
    padding-bottom: clamp(46px, 6vw, 72px) !important;
}

.legal-clean-head .store-container {
    width: min(100% - 32px, 980px) !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.legal-clean-head h1 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: .98 !important;
}

.legal-clean-section .store-container {
    width: min(100% - 32px, 980px) !important;
    max-width: 980px !important;
}

.legal-clean-card {
    max-width: 980px !important;
    margin: 0 !important;
}

@media (max-width: 560px) {
    .legal-clean-head {
        padding-top: 44px !important;
        padding-bottom: 34px !important;
    }

    .legal-clean-head .store-container,
    .legal-clean-section .store-container {
        width: min(100% - 24px, 980px) !important;
    }

    .legal-clean-head h1 {
        font-size: 36px !important;
        line-height: 1.05 !important;
    }
}

/* Correccion final: solo el titulo usa la columna de paginas, el cuerpo conserva su ancho */
.legal-clean-head {
    display: block !important;
    min-height: auto !important;
    padding-top: clamp(64px, 8vw, 96px) !important;
    padding-bottom: clamp(46px, 6vw, 72px) !important;
}

.legal-clean-head .store-container {
    width: min(100% - 32px, 980px) !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.legal-clean-head h1 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: .98 !important;
}

.legal-clean-section .store-container {
    width: min(100% - 32px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.legal-clean-card {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 560px) {
    .legal-clean-head {
        padding-top: 44px !important;
        padding-bottom: 34px !important;
    }

    .legal-clean-head .store-container,
    .legal-clean-section .store-container {
        width: min(100% - 24px, 1180px) !important;
    }

    .legal-clean-head h1 {
        font-size: 36px !important;
        line-height: 1.05 !important;
    }
}

/* Producto sin imagen */
.product-placeholder,
.store-no-image {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 25% 20%, rgba(37, 99, 235, .16), transparent 12rem),
        linear-gradient(135deg, #f8fafc, #eef4ff);
    color: transparent !important;
    text-align: center;
}

.product-placeholder::before,
.store-no-image::before {
    content: "";
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(14, 165, 233, .20));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .16);
}

.product-placeholder::after,
.store-no-image::after {
    content: "Sin imagen";
    color: #334155;
    font-size: 15px;
    font-weight: 950;
}

.store-no-image svg {
    position: absolute;
    width: 30px;
    height: 30px;
    fill: #2563eb;
    opacity: .9;
}

.product-card .store-no-image,
.product-card .product-placeholder {
    min-height: 210px;
}

.product-detail-gallery .store-no-image,
.product-gallery-main .store-no-image,
.product-detail-media .store-no-image {
    min-height: clamp(320px, 48vw, 620px);
    border-radius: 26px;
}

@media (max-width: 560px) {
    .product-card .store-no-image,
    .product-card .product-placeholder {
        min-height: 150px;
    }

    .product-placeholder::before,
    .store-no-image::before {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .product-placeholder::after,
    .store-no-image::after {
        font-size: 13px;
    }
}

/* Placeholder profesional para productos sin imagen */
.no-image-placeholder,
.mini-no-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border-radius: inherit;
    background:
        radial-gradient(circle at 22% 18%, rgba(37, 99, 235, .16), transparent 11rem),
        radial-gradient(circle at 82% 80%, rgba(14, 165, 233, .14), transparent 12rem),
        linear-gradient(135deg, #f8fafc, #eef4ff);
    color: #334155 !important;
    text-align: center;
}

.no-image-placeholder::before,
.mini-no-image::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(37, 99, 235, .22);
    border-radius: 22px;
    pointer-events: none;
}

.no-image-placeholder svg,
.mini-no-image svg {
    width: 42px;
    height: 42px;
    fill: #2563eb;
    opacity: .92;
}

.no-image-placeholder strong,
.mini-no-image strong {
    position: relative;
    z-index: 1;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.shop-product-placeholder.no-image-placeholder {
    min-height: 230px;
}

.product-detail-no-image {
    min-height: clamp(340px, 48vw, 620px);
    border-radius: 28px;
}

.cart-product-image .mini-no-image,
.checkout-item-image .mini-no-image,
.cart-item-image .mini-no-image {
    min-width: 64px;
    min-height: 64px;
    border-radius: 16px;
}

.cart-product-image .mini-no-image::before,
.checkout-item-image .mini-no-image::before,
.cart-item-image .mini-no-image::before {
    inset: 7px;
    border-radius: 12px;
}

.cart-product-image .mini-no-image svg,
.checkout-item-image .mini-no-image svg,
.cart-item-image .mini-no-image svg {
    width: 24px;
    height: 24px;
}

.cart-product-image .mini-no-image strong,
.checkout-item-image .mini-no-image strong,
.cart-item-image .mini-no-image strong {
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 560px) {
    .shop-product-placeholder.no-image-placeholder {
        min-height: 150px;
    }

    .no-image-placeholder svg {
        width: 34px;
        height: 34px;
    }

    .no-image-placeholder strong {
        font-size: 13px;
    }

    .no-image-placeholder::before {
        inset: 9px;
        border-radius: 16px;
    }
}

/* Registro de cliente */
.customer-auth-page {
    padding: clamp(34px, 6vw, 78px) 16px;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, .10), transparent 26rem),
        radial-gradient(circle at 90% 20%, rgba(14, 165, 233, .10), transparent 24rem),
        var(--page-bg, #fbfcfd);
}

.customer-register-card {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 30px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .10);
}

.customer-auth-head {
    margin-bottom: 26px;
}

.customer-auth-head p {
    margin: 0 0 10px;
    color: var(--section-eyebrow, #2563eb);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.customer-auth-head h1 {
    margin: 0;
    color: var(--section-title, #111827);
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1;
}

.customer-auth-head span {
    display: block;
    margin-top: 14px;
    color: var(--section-text, #687385);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.customer-field {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 950;
}

.customer-input-wrap {
    min-height: 58px;
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 18px;
    background: #fff;
    transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}

.customer-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
}

.customer-input-wrap svg {
    width: 23px;
    height: 23px;
    fill: #2563eb;
    opacity: .9;
}

.customer-input-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
}

.customer-input-wrap input::placeholder {
    color: #94a3b8;
}

.customer-field em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.field-error {
    display: block;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 900;
}

.customer-auth-button {
    width: 100%;
    min-height: 58px;
    margin-top: 22px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827, #2563eb);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .24);
}

.customer-auth-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 16px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
}

@media (max-width: 560px) {
    .customer-auth-page {
        padding: 24px 12px 52px;
    }

    .customer-register-card {
        border-radius: 24px;
        padding: 22px;
    }

    .customer-auth-head h1 {
        font-size: 38px;
    }

    .customer-input-wrap {
        min-height: 56px;
        border-radius: 16px;
    }
}

/* Login cliente y checkout validado */
.customer-auth-link.is-soft {
    background: rgba(15, 23, 42, .05);
    color: #111827;
}

.checkout-field {
    display: grid;
    gap: 9px;
    color: #64748b;
    font-size: 14px;
    font-weight: 950;
}

.checkout-input-wrap {
    min-height: 58px;
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 18px;
    background: #fff;
    transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}

.checkout-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
}

.checkout-input-wrap svg {
    width: 23px;
    height: 23px;
    fill: #2563eb;
    opacity: .9;
}

.checkout-input-wrap input,
.checkout-input-wrap textarea {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #0f172a;
    font-size: 16px !important;
    font-weight: 850;
    box-shadow: none !important;
}

.checkout-input-wrap input::placeholder,
.checkout-input-wrap textarea::placeholder {
    color: #94a3b8;
}

.checkout-textarea-wrap {
    min-height: 132px;
    align-items: start;
    padding-top: 16px;
}

.checkout-textarea-wrap textarea {
    resize: vertical;
    min-height: 100px;
}

.checkout-field.wide {
    grid-column: 1 / -1;
}

.checkout-step-card .field-error,
.checkout-validated-form .field-error {
    display: block;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 900;
}

.account-password-fields {
    display: none;
}

.account-password-fields.is-visible {
    display: grid;
}

@media (max-width: 680px) {
    .checkout-input-wrap {
        min-height: 56px;
        border-radius: 16px;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr !important;
    }
}

.delivery-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.delivery-choice-card {
    min-height: 96px;
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 22px;
    background: #fff;
    cursor: pointer;
    transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}

.delivery-choice-card:has(input:checked) {
    border-color: #2563eb;
    box-shadow: 0 16px 38px rgba(37, 99, 235, .14);
    transform: translateY(-1px);
}

.delivery-choice-card input {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
}

.delivery-choice-card strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.delivery-choice-card small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}

.pickup-note:not([hidden]) {
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(34, 197, 94, .24);
    border-radius: 18px;
    background: #ecfdf5;
    color: #047857;
}

.pickup-note strong {
    display: block;
    font-size: 15px;
    font-weight: 950;
}

.pickup-note span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 750;
}

.checkout-form-grid.is-disabled {
    opacity: .45;
    pointer-events: none;
    filter: grayscale(.1);
}

.checkout-input-wrap select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
}

@media (max-width: 680px) {
    .delivery-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* Entrega en checkout: tarjetas compactas */
.delivery-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px 0 18px !important;
}

.delivery-choice-card {
    min-height: 82px !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
}

.delivery-choice-card input {
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
}

.delivery-choice-card div {
    min-width: 0 !important;
}

.delivery-choice-card strong {
    font-size: 16px !important;
    line-height: 1.12 !important;
    white-space: normal !important;
}

.delivery-choice-card small {
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
}

@media (max-width: 680px) {
    .delivery-choice-grid {
        grid-template-columns: 1fr !important;
    }

    .delivery-choice-card {
        min-height: 76px !important;
        padding: 13px 15px !important;
    }
}

/* Entrega compacta: corrige saltos palabra por palabra */
.delivery-choice-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px 0 18px !important;
}

.delivery-choice-card {
    position: relative !important;
    min-height: 88px !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 15px 18px !important;
    border-radius: 18px !important;
}

.delivery-choice-card > input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.delivery-choice-card > span {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    border: 2px solid #94a3b8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 5px #fff !important;
}

.delivery-choice-card:has(input:checked) > span {
    border-color: #2563eb !important;
    background: #2563eb !important;
}

.delivery-choice-card > div {
    min-width: 0 !important;
    width: 100% !important;
}

.delivery-choice-card strong,
.delivery-choice-card small {
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
}

.delivery-choice-card strong {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
}

.delivery-choice-card small {
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

/* Select con buscador tipo Select2 */
.checkout-input-wrap.has-smart-select {
    overflow: visible !important;
}

.checkout-input-wrap.has-smart-select > svg {
    align-self: center;
}

.smart-select {
    position: relative;
    width: 100%;
    min-width: 0;
}

.smart-select select {
    display: none !important;
}

.smart-select-control {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 16px;
    font-weight: 850;
    cursor: pointer;
    text-align: left;
}

.smart-select-control span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smart-select-control svg {
    width: 18px !important;
    height: 18px !important;
    fill: #64748b !important;
    transition: transform .18s ease;
}

.smart-select.is-open .smart-select-control svg {
    transform: rotate(180deg);
}

.smart-select-panel {
    position: absolute;
    z-index: 80;
    top: calc(100% + 10px);
    left: -52px;
    right: -16px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.smart-select.is-open .smart-select-panel {
    display: block;
}

.smart-select-search {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, .30) !important;
    border-radius: 14px;
    background: #f8fafc !important;
    color: #0f172a;
    font-size: 16px !important;
    font-weight: 800;
    outline: 0;
}

.smart-select-search:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.smart-select-list {
    max-height: 230px;
    overflow: auto;
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding-right: 4px;
}

.smart-select-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.smart-select-option:hover,
.smart-select-option.is-active {
    background: rgba(37, 99, 235, .10);
    color: #1d4ed8;
}

.smart-select-empty {
    padding: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 680px) {
    .delivery-choice-grid {
        grid-template-columns: 1fr !important;
    }

    .delivery-choice-card {
        min-height: 78px !important;
        padding: 14px 16px !important;
    }

    .smart-select-panel {
        left: -48px;
        right: -12px;
        max-height: min(320px, 55vh);
    }

    .smart-select-list {
        max-height: min(230px, 42vh);
    }
}

/* Select buscable real para checkout */
.native-smart-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.real-smart-select {
    position: relative;
    width: 100%;
    min-width: 0;
}

.real-smart-button {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.real-smart-button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.real-smart-button svg {
    width: 20px !important;
    height: 20px !important;
    fill: #64748b !important;
    transition: transform .18s ease;
}

.real-smart-select.is-open .real-smart-button svg {
    transform: rotate(180deg);
}

.real-smart-dropdown {
    position: absolute;
    z-index: 200;
    top: calc(100% + 12px);
    left: -52px;
    right: -16px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 22px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
}

.real-smart-select.is-open .real-smart-dropdown {
    display: block;
}

.real-smart-search-wrap {
    min-height: 48px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 16px;
    background: #f8fafc;
}

.real-smart-search-wrap svg {
    width: 22px !important;
    height: 22px !important;
    fill: #2563eb !important;
}

.real-smart-search-wrap input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #0f172a;
    font-size: 16px !important;
    font-weight: 850;
}

.real-smart-list {
    max-height: 250px;
    overflow: auto;
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding-right: 4px;
}

.real-smart-list::-webkit-scrollbar {
    width: 8px;
}

.real-smart-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, .42);
}

.real-smart-option {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 15px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.real-smart-option:hover,
.real-smart-option.is-selected {
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(14, 165, 233, .08));
    color: #1d4ed8;
}

.real-smart-empty {
    padding: 14px 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 680px) {
    .real-smart-dropdown {
        left: -48px;
        right: -12px;
        max-height: min(330px, 56vh);
    }

    .real-smart-list {
        max-height: min(240px, 42vh);
    }
}

/* Dashboard cliente profesional */
.customer-panel-page {
    padding: clamp(28px, 5vw, 72px) 16px clamp(60px, 8vw, 110px);
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .10), transparent 28rem),
        radial-gradient(circle at 88% 18%, rgba(14, 165, 233, .10), transparent 26rem),
        var(--page-bg, #fbfcfd);
}

.customer-panel-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.customer-panel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 24px;
}

.customer-panel-hero p,
.customer-card-head p {
    margin: 0 0 8px;
    color: var(--section-eyebrow, #2563eb);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.customer-panel-hero h1 {
    margin: 0;
    color: var(--section-title, #111827);
    font-size: clamp(42px, 7vw, 76px);
    line-height: .95;
}

.customer-panel-hero span {
    display: block;
    max-width: 720px;
    margin-top: 14px;
    color: var(--section-text, #687385);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
}

.customer-panel-hero button,
.customer-card-head a,
.customer-last-order a,
.customer-empty-state a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
}

.customer-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.customer-stat-card {
    position: relative;
    min-height: 210px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.customer-stat-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
}

.customer-stat-card.is-favorite::after {
    background: rgba(236, 72, 153, .10);
}

.customer-stat-card.is-orders::after {
    background: rgba(37, 99, 235, .10);
}

.customer-stat-card.is-account::after {
    background: rgba(14, 165, 233, .10);
}

.customer-stat-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827, #2563eb);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .22);
}

.customer-stat-card.is-favorite .customer-stat-icon {
    background: linear-gradient(135deg, #be123c, #ec4899);
}

.customer-stat-card.is-account .customer-stat-icon {
    background: linear-gradient(135deg, #0f766e, #06b6d4);
}

.customer-stat-icon svg {
    width: 27px;
    height: 27px;
    fill: #fff;
}

.customer-stat-card span {
    color: #64748b;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.customer-stat-card strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    font-weight: 950;
}

.customer-stat-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.customer-stat-card a {
    width: fit-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 14px;
    background: rgba(37, 99, 235, .10);
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.customer-last-order,
.customer-card {
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.customer-last-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 22px;
}

.customer-last-order p {
    margin: 0 0 6px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.customer-last-order h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.customer-last-order span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-weight: 750;
}

.customer-last-order strong {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 26px;
    text-align: right;
}

.customer-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.customer-card {
    padding: clamp(20px, 3vw, 28px);
}

.customer-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.customer-card-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.customer-card-head a {
    background: rgba(37, 99, 235, .10);
    color: #1d4ed8;
    box-shadow: none;
}

.customer-orders-list {
    display: grid;
    gap: 12px;
}

.customer-order-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 20px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border .18s ease;
}

.customer-order-row:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .24);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.customer-order-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(37, 99, 235, .10);
}

.customer-order-icon svg {
    width: 25px;
    height: 25px;
    fill: #2563eb;
}

.customer-order-row strong {
    display: block;
    font-size: 16px;
    font-weight: 950;
}

.customer-order-row small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}

.customer-order-status {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
}

.customer-order-status.status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.customer-order-status.status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.customer-order-row b {
    font-size: 17px;
    font-weight: 950;
    white-space: nowrap;
}

.customer-data-list {
    display: grid;
    gap: 12px;
}

.customer-data-list article {
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: #fff;
}

.customer-data-list span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.customer-data-list strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
    word-break: break-word;
}

.customer-account-note {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 15px;
    border-radius: 18px;
    background: #eff6ff;
    color: #1e40af;
}

.customer-account-note svg {
    width: 28px;
    height: 28px;
    fill: #2563eb;
}

.customer-account-note span {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.customer-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 38px 18px;
    border: 1px dashed rgba(37, 99, 235, .24);
    border-radius: 22px;
    background: rgba(37, 99, 235, .04);
    text-align: center;
}

.customer-empty-state svg {
    width: 48px;
    height: 48px;
    fill: #2563eb;
}

.customer-empty-state strong {
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.customer-empty-state span {
    max-width: 420px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
}

.customer-empty-state a {
    margin-top: 6px;
    background: #2563eb;
}

.customer-pagination {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .customer-overview-grid,
    .customer-panel-grid {
        grid-template-columns: 1fr;
    }

    .customer-account-card {
        order: -1;
    }
}

@media (max-width: 680px) {
    .customer-panel-page {
        padding: 24px 12px 60px;
    }

    .customer-panel-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .customer-panel-hero h1 {
        font-size: 42px;
    }

    .customer-panel-hero button {
        width: 100%;
    }

    .customer-stat-card {
        min-height: auto;
        grid-template-columns: 58px minmax(0, 1fr);
        grid-template-rows: auto auto;
        padding: 18px;
        border-radius: 22px;
    }

    .customer-stat-card > a {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .customer-last-order {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .customer-last-order strong {
        text-align: left;
    }

    .customer-card {
        border-radius: 22px;
        padding: 18px;
    }

    .customer-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-card-head a {
        width: 100%;
    }

    .customer-order-row {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .customer-order-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .customer-order-status,
    .customer-order-row b {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 380px) {
    .customer-panel-hero h1 {
        font-size: 36px;
    }

    .customer-stat-card {
        grid-template-columns: 1fr;
    }

    .customer-stat-icon {
        width: 52px;
        height: 52px;
        border-radius: 17px;
    }
}

/* Favoritos */
.favorite-heart-form {
    position: absolute;
    z-index: 8;
    top: 12px;
    right: 12px;
    margin: 0;
}

.favorite-heart {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
    backdrop-filter: blur(12px);
    transition: transform .18s ease, color .18s ease, background .18s ease;
}

.favorite-heart:hover {
    transform: translateY(-1px) scale(1.04);
    color: #e11d48;
}

.favorite-heart.is-active {
    color: #fff;
    background: linear-gradient(135deg, #e11d48, #ec4899);
    border-color: transparent;
}

.favorite-heart svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.product-detail-favorite {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.product-detail-favorite .favorite-heart {
    position: static;
    width: 52px;
    height: 52px;
}

.customer-favorites-card {
    margin-bottom: 18px;
}

.customer-favorite-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 420px) {
    .favorite-heart {
        width: 38px;
        height: 38px;
    }

    .favorite-heart svg {
        width: 19px;
        height: 19px;
    }

    .customer-favorite-grid {
        gap: 10px;
    }
}

/* Cuenta cliente: edición de datos y contraseña */
.customer-settings-form {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.customer-settings-form + .customer-settings-form {
    margin-top: 18px;
}

.customer-settings-form h3 {
    margin: 0 0 2px;
    font-size: 22px;
    line-height: 1.1;
    color: #0f172a;
}

.customer-settings-form .customer-field {
    gap: 8px;
}

.customer-save-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #13264f, #2563eb);
    color: #ffffff;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(37, 99, 235, .24);
    transition: transform .18s ease, box-shadow .18s ease;
}

.customer-save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(37, 99, 235, .30);
}

.customer-save-button.is-secondary {
    background: linear-gradient(135deg, #111827, #334155);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .20);
}

.customer-input-wrap input:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, .45);
}

.field-error {
    display: block;
    color: #b91c1c;
    font-weight: 800;
    font-size: 13px;
}

@media (max-width: 760px) {
    .customer-settings-form {
        padding: 14px;
        border-radius: 18px;
    }

    .customer-settings-form h3 {
        font-size: 19px;
    }

    .customer-save-button {
        min-height: 50px;
        border-radius: 16px;
    }
}

/* Dashboard cliente: filtros, búsqueda y paginación */
.customer-filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0 22px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.customer-order-filter {
    grid-template-columns: minmax(0, 1.2fr) 220px auto auto;
}

.customer-filter-bar label {
    display: grid;
    gap: 8px;
    color: #64748b;
    font-weight: 900;
    font-size: 13px;
}

.customer-filter-input {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    background: #ffffff;
}

.customer-filter-input:focus-within {
    border-color: rgba(37, 99, 235, .72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.customer-filter-input svg {
    width: 22px;
    height: 22px;
    fill: #2563eb;
    flex: 0 0 auto;
}

.customer-filter-input input,
.customer-filter-bar select {
    width: 100%;
    min-height: 54px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
}

.customer-filter-bar select {
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    background: #ffffff;
    cursor: pointer;
}

.customer-filter-bar button,
.customer-filter-bar a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
}

.customer-filter-bar button {
    color: #ffffff;
    background: linear-gradient(135deg, #13264f, #2563eb);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .22);
}

.customer-filter-bar a {
    color: #1d4ed8;
    background: #eef4ff;
}

.customer-pagination {
    margin-top: 20px;
}

.customer-pagination nav {
    display: flex;
    justify-content: center;
}

.customer-pagination svg {
    width: 18px;
    height: 18px;
}

.customer-pagination .hidden {
    display: none;
}

@media (max-width: 900px) {
    .customer-filter-bar,
    .customer-order-filter {
        grid-template-columns: 1fr;
    }

    .customer-filter-bar button,
    .customer-filter-bar a {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .customer-filter-bar {
        padding: 10px;
        border-radius: 18px;
    }

    .customer-filter-input,
    .customer-filter-bar select,
    .customer-filter-bar button,
    .customer-filter-bar a {
        min-height: 50px;
        border-radius: 15px;
    }
}

/* Cuenta activa en header */
.account-nav-link.is-logged-in {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    color: #ffffff !important;
    border-color: rgba(34, 197, 94, .65) !important;
    box-shadow: 0 14px 30px rgba(34, 197, 94, .24) !important;
}

.account-nav-link.is-logged-in svg {
    fill: currentColor !important;
}

.account-nav-link.is-logged-in:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(34, 197, 94, .32) !important;
}

.account-nav-link.is-logged-in,
.site-header .account-nav-link.is-logged-in {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    color: #ffffff !important;
    border-color: rgba(34, 197, 94, .65) !important;
    box-shadow: 0 14px 30px rgba(34, 197, 94, .24) !important;
}

.account-nav-link.is-logged-in svg,
.site-header .account-nav-link.is-logged-in svg {
    fill: currentColor !important;
}

.account-nav-link.is-logged-in:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(34, 197, 94, .32) !important;
}

/* Evaluaciones de productos */
.customer-review-section,
.product-reviews-section {
    width: min(1380px, calc(100% - 32px));
    margin: 34px auto;
    padding: clamp(20px, 4vw, 38px);
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.customer-review-head,
.reviews-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.customer-review-head p,
.reviews-head p {
    margin: 0 0 6px;
    color: var(--section-eyebrow, #2563eb);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.customer-review-head h2,
.reviews-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 48px);
    line-height: .98;
}

.customer-review-head span,
.reviews-head span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-weight: 750;
}

.customer-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.customer-review-form-card,
.review-card,
.review-empty {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.customer-review-form-card > div strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.customer-review-form-card > div span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-weight: 750;
}

.customer-review-form-card form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.customer-review-form-card label {
    display: grid;
    gap: 8px;
    color: #64748b;
    font-weight: 900;
}

.customer-review-form-card input,
.customer-review-form-card textarea,
.review-filter-bar select {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    padding: 0 15px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    background: #ffffff;
    outline: 0;
}

.customer-review-form-card textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.customer-review-form-card input:focus,
.customer-review-form-card textarea:focus,
.review-filter-bar select:focus {
    border-color: rgba(37, 99, 235, .72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.customer-review-form-card button,
.review-filter-bar button {
    min-height: 54px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #13264f, #2563eb);
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(37, 99, 235, .22);
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-input label {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #cbd5e1;
    background: #f1f5f9;
    cursor: pointer;
    font-size: 24px;
    transition: .18s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #f59e0b;
    background: #fff7ed;
    transform: translateY(-1px);
}

.review-average-card {
    min-width: 160px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #111827, #2563eb);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 46px rgba(37, 99, 235, .24);
}

.review-average-card strong {
    display: block;
    font-size: 42px;
    line-height: 1;
}

.review-stars {
    display: inline-flex;
    gap: 3px;
    color: #cbd5e1;
    font-size: 20px;
}

.review-stars .is-on {
    color: #f59e0b;
}

.review-filter-bar {
    display: grid;
    grid-template-columns: 220px 220px auto auto;
    gap: 12px;
    align-items: center;
    margin: 18px 0 24px;
}

.review-filter-bar a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 17px;
    background: #eef4ff;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 950;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.review-card h3 {
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: 22px;
}

.review-card p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
    font-weight: 650;
}

.review-author {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .18);
    color: #64748b;
    font-weight: 850;
}

.review-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 6px;
    text-align: center;
    color: #64748b;
}

.review-empty strong {
    color: #0f172a;
    font-size: 20px;
}

@media (max-width: 820px) {
    .customer-review-head,
    .reviews-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-review-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-filter-bar {
        grid-template-columns: 1fr;
    }

    .review-average-card {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .customer-review-section,
    .product-reviews-section {
        width: min(100% - 18px, 1380px);
        padding: 14px;
        border-radius: 20px;
    }

    .rating-input label {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 21px;
    }
}

/* Invitación a calificar después de comprar */
.success-review-callout {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border: 1px solid rgba(245, 158, 11, .24);
    box-shadow: 0 18px 42px rgba(245, 158, 11, .10);
}

.success-review-callout.is-soft {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-color: rgba(148, 163, 184, .24);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.success-review-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(245, 158, 11, .24);
}

.success-review-callout.is-soft .success-review-icon {
    background: linear-gradient(135deg, #13264f, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .18);
}

.success-review-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.success-review-callout strong {
    display: block;
    color: #0f172a;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 950;
    line-height: 1.1;
}

.success-review-callout span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-weight: 750;
}

.success-review-callout a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #13264f, #2563eb);
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .20);
}

@media (max-width: 720px) {
    .success-review-callout {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .success-review-callout a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .success-review-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }
}

/* Detalle de pedido del cliente */
.customer-order-page {
    padding: clamp(30px, 5vw, 72px) 16px;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, .13), transparent 34%),
        linear-gradient(180deg, #f8fbff, #ffffff 55%);
}

.customer-order-shell {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.customer-order-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.customer-order-top p,
.customer-order-section-head p {
    margin: 0 0 8px;
    color: var(--section-eyebrow, #2563eb);
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .02em;
}

.customer-order-top h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(38px, 7vw, 86px);
    line-height: .95;
    overflow-wrap: anywhere;
}

.customer-order-top span {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-weight: 850;
}

.customer-order-top a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
    border: 1px solid rgba(148, 163, 184, .20);
}

.customer-order-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.customer-order-progress div {
    display: grid;
    gap: 10px;
}

.customer-order-progress i {
    height: 10px;
    border-radius: 999px;
    background: #dbe3ee;
}

.customer-order-progress div.is-active i {
    background: linear-gradient(135deg, #13264f, #2563eb);
}

.customer-order-progress strong {
    color: #94a3b8;
    font-size: 15px;
}

.customer-order-progress div.is-active strong {
    color: #2563eb;
}

.customer-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.customer-order-info-card,
.customer-order-products {
    position: relative;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .08);
}

.order-card-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #13264f, #2563eb);
    font-weight: 950;
    margin-bottom: 14px;
}

.customer-order-info-card h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 28px;
}

.customer-order-info-card strong {
    display: block;
    color: #0f172a;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.05;
}

.customer-order-info-card span,
.customer-order-info-card a {
    display: inline-flex;
    margin-top: 10px;
    color: #64748b;
    font-weight: 850;
    text-decoration: none;
}

.customer-order-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.customer-order-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
}

.customer-order-product-list {
    display: grid;
    gap: 12px;
}

.customer-order-product-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 110px 120px 120px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid rgba(148, 163, 184, .16);
}

.customer-order-product-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #13264f, #2563eb);
    font-weight: 950;
    font-size: 20px;
}

.customer-order-product-row strong {
    color: #0f172a;
    font-weight: 950;
}

.customer-order-product-row span,
.customer-order-product-row small {
    display: block;
    color: #64748b;
    font-weight: 800;
}

.customer-order-product-numbers {
    text-align: right;
}

.customer-order-product-numbers span {
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 950;
}

.customer-order-product-numbers strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.customer-order-review-section {
    margin-top: 0;
}

@media (max-width: 980px) {
    .customer-order-top {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .customer-order-product-row {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .customer-order-product-numbers {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .customer-order-page {
        padding-inline: 9px;
    }

    .customer-order-info-card,
    .customer-order-products {
        border-radius: 20px;
        padding: 16px;
    }

    .customer-order-top a {
        width: 100%;
    }
}
/* Evaluaciones en detalle de producto */
.product-reviews-section {
    padding-top: clamp(34px, 5vw, 72px);
    padding-bottom: clamp(42px, 6vw, 86px);
}

.product-reviews-head {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.product-reviews-head p {
    margin: 0 0 8px;
    color: var(--section-eyebrow, #2563eb);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-reviews-head h2 {
    margin: 0;
    color: var(--section-title, #111827);
    font-size: clamp(32px, 5vw, 62px);
    line-height: .98;
}

.product-reviews-head span {
    display: block;
    margin-top: 10px;
    color: var(--section-text, #687385);
    font-weight: 750;
}

.review-summary-card {
    min-width: 170px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 26px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(15, 23, 42, .08);
    text-align: center;
}

.review-summary-card strong {
    display: block;
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
}

.review-stars {
    color: #cbd5e1;
    font-size: 18px;
    letter-spacing: 1px;
}

.review-stars .is-filled {
    color: #f59e0b;
}

.review-summary-card small {
    color: #64748b;
    font-weight: 850;
}

.review-filter-bar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.review-filter-bar label {
    color: #64748b;
    font-weight: 900;
}

.review-filter-bar select {
    width: 100%;
    margin-top: 7px;
    min-height: 48px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 16px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 850;
    color: #0f172a;
    background: #f8fafc;
}

.review-filter-bar button,
.review-filter-bar a {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    text-decoration: none;
}

.review-filter-bar button {
    color: #fff;
    background: linear-gradient(135deg, #12214b, #2563eb);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .22);
}

.review-filter-bar a {
    color: #1d4ed8;
    background: #eef4ff;
}

.review-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.review-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 26px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .07);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.review-card-top strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.review-card-top span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-weight: 750;
}

.review-card h3 {
    margin: 18px 0 8px;
    color: #0f172a;
    font-size: 22px;
}

.review-card p {
    margin: 0;
    color: #475569;
    font-weight: 700;
    line-height: 1.55;
}

.review-empty-state {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    border: 1px dashed rgba(37, 99, 235, .22);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    padding: 32px;
    text-align: center;
}

.review-empty-state strong,
.review-empty-state span {
    display: block;
}

.review-empty-state strong {
    color: #0f172a;
    font-size: 24px;
}

.review-empty-state span {
    margin-top: 8px;
    color: #64748b;
    font-weight: 750;
}

.review-pagination {
    width: min(1180px, calc(100% - 32px));
    margin: 20px auto 0;
}

@media (max-width: 720px) {
    .product-reviews-head {
        align-items: stretch;
        flex-direction: column;
    }

    .review-summary-card {
        text-align: left;
    }

    .review-filter-bar {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}
/* Comprobante por WhatsApp en transferencia */
.transfer-whatsapp-box,
.order-whatsapp-proof {
    margin-top: 22px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(37, 211, 102, .28);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(37, 211, 102, .13), rgba(255, 255, 255, .96)),
        #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.transfer-whatsapp-box strong,
.order-whatsapp-proof h2 {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.04;
    font-weight: 950;
}

.order-whatsapp-proof p {
    margin: 0 0 8px;
    color: #16a34a;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.transfer-whatsapp-box span,
.order-whatsapp-proof span {
    display: block;
    margin-top: 8px;
    color: #475569;
    font-weight: 800;
    line-height: 1.45;
}

.transfer-whatsapp-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 18px;
    padding: 0 22px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .30);
    white-space: nowrap;
}

.transfer-whatsapp-button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.order-whatsapp-proof {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto;
}

@media (max-width: 720px) {
    .transfer-whatsapp-box,
    .order-whatsapp-proof {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .transfer-whatsapp-button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Rastreo de pedido responsivo */
.track-page {
    min-height: 72vh;
    padding: clamp(28px, 6vw, 82px) clamp(14px, 4vw, 44px);
    background:
        radial-gradient(circle at 10% 0%, rgba(14, 165, 233, .16), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(37, 99, 235, .10), transparent 34%),
        var(--page-bg, #fbfcfd);
}

.track-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
    gap: clamp(20px, 4vw, 44px);
    align-items: center;
}

.track-hero {
    min-width: 0;
    display: grid;
    gap: 26px;
}

.track-hero p {
    margin: 0 0 10px;
    color: var(--section-eyebrow, #2563eb);
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.track-hero h1 {
    margin: 0;
    color: var(--section-title, #0f172a);
    font-size: clamp(46px, 8vw, 96px);
    line-height: .95;
    overflow-wrap: anywhere;
}

.track-hero span {
    display: block;
    max-width: 640px;
    margin-top: 14px;
    color: var(--section-text, #667085);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.35;
    font-weight: 800;
}

.track-hero-icon {
    width: min(260px, 54vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(37, 99, 235, .92)),
        #0f172a;
    box-shadow: 0 28px 80px rgba(37, 99, 235, .22);
}

.track-hero-icon svg {
    width: 48%;
    height: 48%;
    fill: #ffffff;
}

.track-card {
    min-width: 0;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 26px 84px rgba(15, 23, 42, .10);
}

.track-card-head {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.track-card-head > span {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #13264f, #2563eb);
    color: #ffffff;
    font-weight: 1000;
}

.track-card-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
}

.track-card-head p {
    margin: 7px 0 0;
    color: #667085;
    font-weight: 800;
    line-height: 1.35;
}

.track-field {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: #667085;
    font-size: 15px;
    font-weight: 950;
}

.track-input-wrap {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, .13);
    border-radius: 18px;
    background: #ffffff;
    transition: border .18s ease, box-shadow .18s ease;
}

.track-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.track-input-wrap svg {
    width: 22px;
    height: 22px;
    fill: #2563eb;
    flex: 0 0 auto;
}

.track-input-wrap input {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.track-field small {
    color: #b91c1c;
    font-weight: 850;
}

.track-card button,
.track-secondary-link {
    width: 100%;
    min-height: 58px;
    margin-top: 18px;
    border: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 1000;
    text-decoration: none;
}

.track-card button {
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    box-shadow: 0 22px 52px rgba(37, 99, 235, .24);
    cursor: pointer;
}

.track-card button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.track-secondary-link {
    background: #eef4ff;
    color: #255bdc;
}

@media (max-width: 900px) {
    .track-shell {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .track-hero {
        gap: 18px;
    }

    .track-hero-icon {
        display: none;
    }

    .track-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .track-page {
        padding: 24px 10px 54px;
    }

    .track-hero h1 {
        font-size: clamp(40px, 14vw, 58px);
    }

    .track-card {
        border-radius: 22px;
        padding: 16px;
    }

    .track-card-head {
        gap: 12px;
    }

    .track-card-head > span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .track-input-wrap {
        min-height: 54px;
        border-radius: 16px;
    }

    .track-input-wrap input,
    .track-card button,
    .track-secondary-link {
        font-size: 16px;
    }
}

/* Resultado de pedido / rastreo */
.order-result-page {
    padding: clamp(34px, 5vw, 74px) 18px;
    background:
        radial-gradient(circle at 8% 8%, rgba(14, 165, 233, .16), transparent 32%),
        linear-gradient(180deg, #f8fbff, #ffffff);
}

.order-result-shell {
    width: min(1420px, 100%);
    margin: 0 auto;
}

.order-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}

.order-result-head p,
.order-items-title p,
.section-heading p {
    margin: 0 0 8px;
    color: var(--section-eyebrow, #2563eb);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .04em;
}

.order-result-head h1 {
    margin: 0;
    color: var(--section-title, #0f172a);
    font-size: clamp(2.2rem, 9vw, 6.6rem);
    line-height: .95;
    overflow-wrap: anywhere;
}

.order-result-head span {
    display: block;
    margin-top: 10px;
    color: var(--section-text, #64748b);
    font-weight: 800;
}

.order-result-head a {
    flex: 0 0 auto;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    padding: 16px 22px;
    font-weight: 900;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.order-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0 30px;
}

.order-progress-step span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #dbe3ef;
    margin-bottom: 12px;
}

.order-progress-step.is-active span {
    background: linear-gradient(90deg, #12264f, #2563eb);
}

.order-progress-step strong {
    color: #94a3b8;
    font-weight: 900;
}

.order-progress-step.is-active strong {
    color: #2563eb;
}

.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.order-summary-grid article,
.order-items-panel,
.customer-review-section {
    background: rgba(255,255,255,.92);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.order-summary-grid b {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #12264f, #2563eb);
    color: #ffffff;
}

.order-summary-grid p {
    margin: 22px 0 8px;
    color: #64748b;
    font-weight: 900;
}

.order-summary-grid h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 4vw, 2.6rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.order-summary-grid span,
.order-summary-grid a {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-weight: 800;
}

.order-items-panel,
.customer-review-section {
    margin-top: 28px;
}

.order-items-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.order-items-title h2,
.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1;
}

.order-items-title > span {
    background: #fff2c7;
    color: #a65f00;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 900;
}

.order-items-list {
    display: grid;
    gap: 14px;
}

.order-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf3;
    border-radius: 22px;
    padding: 16px;
}

.order-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.order-item-mark {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.2rem;
}

.order-item-main strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.order-item-main small {
    color: #64748b;
    font-weight: 800;
}

.order-item-numbers {
    display: flex;
    align-items: center;
    gap: 22px;
    text-align: right;
}

.order-item-numbers span {
    color: #64748b;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 900;
}

.order-item-numbers b {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    text-transform: none;
}

.review-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.review-order-card {
    display: grid;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 18px;
    background: #ffffff;
}

.review-order-card h3 {
    margin: 0;
    color: #0f172a;
}

.rating-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.rating-picker input {
    position: absolute;
    opacity: 0;
}

.rating-picker label {
    cursor: pointer;
    color: #cbd5e1;
    font-size: 2rem;
    line-height: 1;
}

.rating-picker input:checked ~ label,
.rating-picker label:hover,
.rating-picker label:hover ~ label {
    color: #f59e0b;
}

.review-order-card input,
.review-order-card textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 800;
}

.review-order-card button {
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #12264f, #2563eb);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 900px) {
    .order-result-head,
    .order-items-title {
        align-items: stretch;
        flex-direction: column;
    }

    .order-result-head a {
        text-align: center;
    }

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

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

    .order-item-row {
        grid-template-columns: 1fr;
    }

    .order-item-numbers {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .order-result-page {
        padding: 24px 12px;
    }

    .order-summary-grid article,
    .order-items-panel,
    .customer-review-section {
        border-radius: 22px;
        padding: 18px;
    }

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

    .order-item-numbers {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Ajuste responsivo fuerte para resultado de rastreo/pedido
   ========================================================= */

.order-result-page {
    overflow-x: hidden !important;
}

.order-result-shell {
    max-width: 1360px !important;
    width: calc(100% - 32px) !important;
    margin-inline: auto !important;
}

.order-result-head {
    width: 100% !important;
}

.order-result-head h1 {
    max-width: 100% !important;
    font-size: clamp(2.4rem, 7vw, 5.8rem) !important;
    line-height: .95 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.order-summary-grid {
    width: 100% !important;
}

.order-summary-grid article {
    min-width: 0 !important;
}

.order-summary-grid h2 {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.order-items-panel {
    overflow: hidden !important;
}

.order-item-row {
    min-width: 0 !important;
}

.order-item-main,
.order-item-main div {
    min-width: 0 !important;
}

.order-item-main strong,
.order-item-main small {
    overflow-wrap: anywhere !important;
}

@media (max-width: 980px) {
    .order-result-page {
        padding: 28px 12px 46px !important;
    }

    .order-result-shell {
        width: 100% !important;
    }

    .order-result-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 22px !important;
    }

    .order-result-head h1 {
        font-size: clamp(2rem, 12vw, 4.3rem) !important;
        letter-spacing: 0 !important;
    }

    .order-result-head a {
        width: 100% !important;
        max-width: 360px !important;
        justify-self: stretch !important;
        text-align: center !important;
        padding: 14px 18px !important;
    }

    .order-progress {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 18px 0 20px !important;
    }

    .order-progress-step {
        display: grid !important;
        grid-template-columns: 82px 1fr !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .order-progress-step span {
        margin: 0 !important;
        height: 9px !important;
    }

    .order-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .order-summary-grid article {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .order-summary-grid b {
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
    }

    .order-summary-grid p {
        margin-top: 16px !important;
    }

    .order-summary-grid h2 {
        font-size: clamp(1.65rem, 8vw, 2.4rem) !important;
    }

    .order-items-panel,
    .customer-review-section {
        margin-top: 16px !important;
        padding: 18px !important;
        border-radius: 24px !important;
    }

    .order-items-title {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .order-items-title h2 {
        font-size: clamp(1.8rem, 9vw, 3rem) !important;
        line-height: 1.05 !important;
    }

    .order-items-title > span {
        justify-self: start !important;
    }

    .order-item-row {
        grid-template-columns: 1fr !important;
        padding: 14px !important;
        gap: 14px !important;
    }

    .order-item-main {
        align-items: flex-start !important;
    }

    .order-item-mark {
        width: 46px !important;
        height: 46px !important;
        flex-basis: 46px !important;
        border-radius: 15px !important;
    }

    .order-item-numbers {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        text-align: left !important;
        width: 100% !important;
    }

    .order-item-numbers span {
        background: #ffffff !important;
        border: 1px solid #e5eaf3 !important;
        border-radius: 14px !important;
        padding: 10px !important;
    }
}

@media (max-width: 520px) {
    .order-result-page {
        padding-inline: 10px !important;
    }

    .order-result-head h1 {
        font-size: clamp(1.9rem, 13vw, 3.2rem) !important;
    }

    .order-result-head span {
        font-size: .92rem !important;
    }

    .order-progress-step {
        grid-template-columns: 72px 1fr !important;
    }

    .order-summary-grid article {
        padding: 16px !important;
    }

    .order-items-panel,
    .customer-review-section {
        padding: 14px !important;
    }

    .order-items-title h2 {
        font-size: clamp(1.55rem, 9vw, 2.35rem) !important;
    }

    .order-item-numbers {
        grid-template-columns: 1fr !important;
    }

    .review-order-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 380px) {
    .order-result-head h1 {
        font-size: 1.75rem !important;
    }

    .order-summary-grid h2 {
        font-size: 1.5rem !important;
    }
}

/* =========================================================
   Resultado de rastreo / pedido - responsivo aislado
   ========================================================= */

.order-track-page,
.order-track-page * {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.order-track-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    padding: clamp(28px, 5vw, 68px) 16px !important;
    background:
        radial-gradient(circle at 8% 10%, rgba(14, 165, 233, .18), transparent 30%),
        linear-gradient(180deg, #f8fbff, #ffffff) !important;
}

.order-track-wrap {
    width: min(1180px, 100%) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.order-track-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 20px !important;
    align-items: center !important;
    margin-bottom: 24px !important;
}

.order-track-title p,
.order-track-section-head p {
    margin: 0 0 8px !important;
    color: var(--section-eyebrow, #2563eb) !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
}

.order-track-title h1 {
    margin: 0 !important;
    color: var(--section-title, #0f172a) !important;
    font-size: clamp(2.2rem, 6vw, 4.7rem) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.order-track-title span {
    display: block !important;
    margin-top: 10px !important;
    color: var(--section-text, #64748b) !important;
    font-weight: 800 !important;
}

.order-track-back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 14px 22px !important;
    border-radius: 18px !important;
    border: 1px solid #dbe3ef !important;
    background: #ffffff !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important;
    white-space: normal !important;
    text-align: center !important;
}

.order-track-progress {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
}

.order-track-step span {
    display: block !important;
    height: 10px !important;
    border-radius: 999px !important;
    background: #dbe3ef !important;
    margin-bottom: 10px !important;
}

.order-track-step.is-active span {
    background: linear-gradient(90deg, #12264f, #2563eb) !important;
}

.order-track-step strong {
    color: #94a3b8 !important;
    font-weight: 900 !important;
}

.order-track-step.is-active strong {
    color: #2563eb !important;
}

.order-track-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.order-track-card,
.order-track-products,
.order-track-reviews {
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #e2e8f0 !important;
    background: rgba(255, 255, 255, .94) !important;
    border-radius: 28px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}

.order-track-card {
    padding: clamp(20px, 3vw, 30px) !important;
}

.order-track-card b {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #12264f, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

.order-track-card small {
    display: block !important;
    margin-top: 18px !important;
    color: #64748b !important;
    font-weight: 900 !important;
}

.order-track-card h2 {
    margin: 8px 0 0 !important;
    color: #0f172a !important;
    font-size: clamp(1.55rem, 3.8vw, 2.3rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
}

.order-track-card p,
.order-track-card a {
    display: block !important;
    margin: 10px 0 0 !important;
    color: #64748b !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.order-track-products,
.order-track-reviews {
    margin-top: 24px !important;
    padding: clamp(20px, 3vw, 30px) !important;
}

.order-track-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
    margin-bottom: 18px !important;
}

.order-track-section-head h2 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(1.8rem, 5vw, 3rem) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
}

.order-track-section-head > span {
    justify-self: end !important;
    border-radius: 999px !important;
    background: #fff2c7 !important;
    color: #9a5a00 !important;
    padding: 10px 18px !important;
    font-weight: 900 !important;
}

.order-track-section-head em {
    display: block !important;
    margin-top: 8px !important;
    color: #64748b !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

.order-track-product-list {
    display: grid !important;
    gap: 12px !important;
}

.order-track-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
    border: 1px solid #e5eaf3 !important;
    border-radius: 22px !important;
    background: #f8fafc !important;
    padding: 14px !important;
}

.order-track-product-main {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.order-track-product-icon {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 17px !important;
    background: linear-gradient(135deg, #12264f, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

.order-track-product-main strong {
    display: block !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere !important;
}

.order-track-product-main small {
    display: block !important;
    color: #64748b !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.order-track-product-data {
    display: grid !important;
    grid-template-columns: repeat(3, auto) !important;
    gap: 20px !important;
    text-align: right !important;
}

.order-track-product-data span {
    color: #64748b !important;
    font-size: .78rem !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
}

.order-track-product-data b {
    display: block !important;
    margin-top: 3px !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    text-transform: none !important;
}

.order-track-review-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.order-track-review {
    display: grid !important;
    gap: 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    padding: 16px !important;
}

.order-track-review h3 {
    margin: 0 !important;
    color: #0f172a !important;
    overflow-wrap: anywhere !important;
}

.order-track-review input,
.order-track-review textarea {
    width: 100% !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.order-track-review button {
    border: 0 !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #12264f, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

@media (max-width: 980px) {
    .order-track-page {
        padding: 26px 12px 44px !important;
    }

    .order-track-hero {
        grid-template-columns: 1fr !important;
    }

    .order-track-title h1 {
        font-size: clamp(2rem, 11vw, 4rem) !important;
    }

    .order-track-back {
        width: 100% !important;
    }

    .order-track-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .order-track-cards {
        grid-template-columns: 1fr !important;
    }

    .order-track-section-head {
        grid-template-columns: 1fr !important;
    }

    .order-track-section-head > span {
        justify-self: start !important;
    }

    .order-track-product {
        grid-template-columns: 1fr !important;
    }

    .order-track-product-data {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        text-align: left !important;
    }

    .order-track-product-data span {
        border: 1px solid #e5eaf3 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        padding: 10px !important;
    }

    .order-track-review-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .order-track-page {
        padding-inline: 10px !important;
    }

    .order-track-title h1 {
        font-size: clamp(1.75rem, 12vw, 3rem) !important;
    }

    .order-track-progress {
        grid-template-columns: 1fr !important;
    }

    .order-track-step {
        display: grid !important;
        grid-template-columns: 76px 1fr !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .order-track-step span {
        margin: 0 !important;
    }

    .order-track-card,
    .order-track-products,
    .order-track-reviews {
        border-radius: 22px !important;
        padding: 16px !important;
    }

    .order-track-product-main {
        align-items: flex-start !important;
    }

    .order-track-product-data {
        grid-template-columns: 1fr !important;
    }
}

/* Solo en esta pantalla: evita cualquier barra horizontal si un texto largo intenta salirse */
body:has(.order-track-page) {
    overflow-x: hidden !important;
}

.password-reset-entry {
    margin-top: 14px;
    text-align: center;
}

.password-reset-entry a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: #eef4ff;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 900;
    text-decoration: none;
}

/* Modal de tiempo limite para transferencia */
.payment-deadline-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(8px);
}

.payment-deadline-modal.is-hidden {
    display: none;
}

.payment-deadline-card {
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 30px;
    padding: clamp(24px, 5vw, 36px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .28);
    text-align: center;
    border: 1px solid #dbe3ef;
}

.payment-deadline-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
}

.payment-deadline-icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.payment-deadline-card p {
    margin: 0 0 8px;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.payment-deadline-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 5vw, 2.4rem);
    line-height: 1.08;
}

.payment-deadline-card span {
    display: block;
    margin: 16px 0 22px;
    color: #64748b;
    font-weight: 800;
    line-height: 1.5;
}

.payment-deadline-card button {
    width: 100%;
    border: 0;
    min-height: 56px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    font-weight: 900;
    cursor: pointer;
}

/* Boton de comprobante en resultado de rastreo */
.track-whatsapp-proof {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 24px;
    padding: clamp(18px, 4vw, 28px);
    border-radius: 24px;
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    border: 1px solid rgba(37, 211, 102, .32);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .10);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.track-whatsapp-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #15803d;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.track-whatsapp-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.05;
    font-weight: 950;
}

.track-whatsapp-copy p {
    margin: 8px 0 0;
    color: #475569;
    font-weight: 750;
    line-height: 1.5;
}

.track-whatsapp-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 0 24px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .32);
    white-space: nowrap;
}

.payment-deadline-highlight {
    background: linear-gradient(135deg, #16a34a, #25d366) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 48px rgba(37, 211, 102, .40) !important;
    transform: translateY(-1px);
}

.payment-deadline-note {
    border: 1px solid rgba(37, 211, 102, .24);
}

@media (max-width: 720px) {
    .track-whatsapp-proof {
        grid-template-columns: 1fr;
    }

    .track-whatsapp-button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}
/* Mejora visual del aviso de rastreo en modal de transferencia */
.payment-deadline-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-align: left;
    padding: 18px;
}

.payment-deadline-note p {
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

.payment-deadline-pointer {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(37, 211, 102, .16);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.payment-deadline-note-link {
    grid-column: 1 / -1;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 0 18px;
    border-radius: 16px;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 16px 36px rgba(22, 163, 74, .28);
}

.payment-deadline-actions {
    margin-top: 18px;
}

.payment-deadline-actions .payment-deadline-primary {
    display: none;
}

@media (max-width: 560px) {
    .payment-deadline-note {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .payment-deadline-pointer {
        margin: 0 auto;
    }
}

/* Limpieza final modal transferencia */
.payment-deadline-card {
    text-align: center;
}

.payment-deadline-note {
    display: block !important;
    margin-top: 20px;
    padding: 22px !important;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(37, 211, 102, .22);
    text-align: center !important;
}

.payment-deadline-note p {
    margin: 0 0 18px !important;
    color: #334155 !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.payment-deadline-note-link {
    width: 100%;
    min-height: 56px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 18px;
    border-radius: 18px;
    background: #16a34a !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 950 !important;
    line-height: 1.15;
    box-shadow: 0 16px 36px rgba(22, 163, 74, .28);
}

.payment-deadline-actions {
    margin-top: 22px !important;
    display: block !important;
}

.payment-deadline-secondary {
    width: 100%;
}

.payment-deadline-pointer,
.payment-deadline-highlight,
.payment-deadline-actions .payment-deadline-primary {
    display: none !important;
}

@media (max-width: 560px) {
    .payment-deadline-note {
        padding: 18px !important;
    }

    .payment-deadline-note-link {
        white-space: normal;
        text-align: center;
    }
}

/* pickup-locations-checkout */
.pickup-location-picker:not([hidden]) { display: grid; gap: 12px; }
.pickup-location-options { display: grid; gap: 10px; margin-top: 8px; }
.pickup-location-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid rgba(37, 99, 235, .18); border-radius: 16px; background: #fff; cursor: pointer; }
.pickup-location-option:has(input:checked) { border-color: #2563eb; box-shadow: 0 14px 30px rgba(37, 99, 235, .14); }
.pickup-location-option input { margin-top: 4px; }
.pickup-location-option span { display: grid; gap: 4px; }
.pickup-location-option b { color: #0f172a; }
.pickup-location-option em { font-style: normal; color: #334155; }
.pickup-location-option small { color: #64748b; line-height: 1.45; }

/* pickup-hidden-root-fix */
.pickup-note[hidden],
.pickup-location-picker[hidden],
[data-pickup-note][hidden] {
    display: none !important;
}

.pickup-note:not([hidden]).is-visible,
.pickup-location-picker:not([hidden]).is-visible,
[data-pickup-note]:not([hidden]).is-visible {
    display: grid !important;
}
/* pickup-location-alert-final */
.pickup-location-option .pickup-location-alert {
    display: grid !important;
    gap: 5px !important;
    margin-top: 14px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(245, 158, 11, .42) !important;
    border-left: 5px solid #f59e0b !important;
    border-radius: 14px !important;
    background: #fffbeb !important;
    color: #78350f !important;
    box-shadow: 0 12px 24px rgba(245, 158, 11, .14) !important;
}

.pickup-location-option .pickup-location-alert span {
    display: block !important;
    color: #92400e !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.pickup-location-option .pickup-location-alert p {
    margin: 0 !important;
    color: #78350f !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.45 !important;
}