﻿:root {
    --store-bg: #f6f7fb;
    --store-surface: #ffffff;
    --store-text: #191b24;
    --store-muted: #6f7280;
    --store-line: #e7e8ee;
    --store-brand: #75458a;
    --store-brand-dark: #553067;
    --store-brand-soft: #f1eaf5;
    --store-dark: #171923;
    --store-success: #177245;
    --store-success-soft: #e7f6ee;
    --store-warning: #9a6510;
    --store-warning-soft: #fff3d9;
    --store-danger: #ad2e2e;
    --store-danger-soft: #fdeaea;
    --store-radius: 20px;
    --store-shadow: 0 18px 45px rgba(26, 29, 41, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--store-bg);
    color: var(--store-text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.store-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.store-main {
    min-height: calc(100vh - 180px);
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(231, 232, 238, 0.92);
    backdrop-filter: blur(14px);
}

.store-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--store-text);
    text-decoration: none;
}

.store-brand:hover {
    color: var(--store-text);
}

.store-brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--store-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(117, 69, 138, 0.22);
}

.store-brand-mark svg,
.store-empty-icon svg,
.store-hero-card-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.store-brand-kicker {
    color: var(--store-muted);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.store-brand-name {
    max-width: 440px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

.store-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-nav-link {
    padding: 10px 14px;
    border-radius: 10px;
    color: #4d5060;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease;
}

.store-nav-link:hover {
    color: var(--store-brand-dark);
    background: var(--store-brand-soft);
}

.store-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .16), transparent 29%),
        linear-gradient(135deg, #211927 0%, #553067 55%, #86509b 100%);
    color: #fff;
}

.store-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    bottom: -190px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .06);
}

.store-hero-grid {
    position: relative;
    z-index: 1;
    min-height: 430px;
    padding-top: 68px;
    padding-bottom: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 64px;
    align-items: center;
}

.store-eyebrow,
.store-section-kicker {
    display: inline-block;
    margin-bottom: 13px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .17em;
}

.store-eyebrow {
    color: #e9c9f2;
}

.store-hero-title {
    display: block;
    max-width: 760px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -0.045em;
    font-weight: 850;
}

.store-hero-description {
    display: block;
    max-width: 680px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.store-hero-actions {
    margin-top: 31px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-store-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 13px;
    background: #fff;
    color: var(--store-brand-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-store-primary:hover {
    color: var(--store-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}

.store-hero-note {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
}

.store-hero-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
    backdrop-filter: blur(9px);
}

.store-hero-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(255, 255, 255, .14);
}

.store-hero-card-label {
    margin-top: 33px;
    color: #edcff6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.store-hero-card-title {
    margin-top: 8px;
    font-size: 27px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
}

.store-hero-card-line {
    width: 48px;
    height: 3px;
    margin: 20px 0 17px;
    border-radius: 999px;
    background: #e8c5f2;
}

.store-hero-card-small {
    color: rgba(255, 255, 255, .73);
    font-size: 13px;
    line-height: 1.5;
}

.store-products-section {
    padding: 66px 0 82px;
}

.store-section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.store-section-kicker {
    margin-bottom: 9px;
    color: var(--store-brand);
}

.store-section-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 850;
}

.store-section-subtitle {
    margin: 9px 0 0;
    color: var(--store-muted);
    font-size: 15px;
}

.store-search-wrap {
    position: relative;
    width: min(360px, 100%);
    flex: 0 0 min(360px, 100%);
}

.store-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #8a8d9a;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.store-search {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--store-line);
    border-radius: 14px;
    outline: none;
    background: #fff;
    color: var(--store-text);
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(26, 29, 41, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.store-search:focus {
    border-color: rgba(117, 69, 138, .52);
    box-shadow: 0 0 0 4px rgba(117, 69, 138, .08);
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.store-product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--store-line);
    border-radius: var(--store-radius);
    background: var(--store-surface);
    box-shadow: 0 10px 30px rgba(26, 29, 41, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
    border-color: #ddd5e2;
    box-shadow: var(--store-shadow);
}

.store-product-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #f0f1f5;
}

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

.store-product-card:hover .store-product-image {
    transform: scale(1.025);
}

.store-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
}

.store-stock-ok {
    background: var(--store-success-soft);
    color: var(--store-success);
}

.store-stock-low {
    background: var(--store-warning-soft);
    color: var(--store-warning);
}

.store-stock-out {
    background: var(--store-danger-soft);
    color: var(--store-danger);
}

.store-product-body {
    flex: 1;
    padding: 19px;
    display: flex;
    flex-direction: column;
}

.store-product-code {
    color: #9496a2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-product-name {
    margin: 7px 0 0;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.02em;
}

.store-product-description {
    display: -webkit-box;
    min-height: 57px;
    margin: 9px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.48;
}

.store-product-meta {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #f0f0f4;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #777a87;
    font-size: 11px;
    font-weight: 650;
}

.store-product-measure {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.store-product-stock {
    flex: 0 0 auto;
}

.store-product-footer {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.store-product-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.store-product-price-label {
    color: #9a9ca8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.store-product-price-value {
    margin-top: 2px;
    color: var(--store-text);
    font-size: 21px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.03em;
}

.btn-product-detail {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-product-detail:hover {
    background: var(--store-brand);
    color: #fff;
    transform: translateY(-1px);
}

.store-message,
.store-empty {
    margin-bottom: 26px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--store-line);
}

.store-message-error {
    color: #8d2929;
    background: #fff6f6;
    border-color: #f2d5d5;
}

.store-empty {
    text-align: center;
    color: var(--store-muted);
}

.store-empty h2 {
    margin: 6px 0;
    color: var(--store-text);
    font-size: 20px;
    font-weight: 800;
}

.store-empty p {
    margin: 0;
}

.store-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--store-brand-soft);
    color: var(--store-brand);
}

.store-empty-search {
    margin-top: 0;
}

.store-product-modal {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(20, 21, 29, .26);
}

.store-modal-close {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    padding: 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .9);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

.store-modal-image-column {
    min-height: 470px;
    background: #eff0f4;
}

.store-modal-gallery {
    min-height: 470px;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-modal-main-image-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 365px;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.store-modal-image {
    width: 100%;
    height: 100%;
    min-height: 365px;
    max-height: 390px;
    object-fit: contain;
}

.store-modal-no-image {
    min-height: 365px;
    width: 100%;
    align-items: center;
    justify-content: center;
    color: #858896;
    font-size: 13px;
    font-weight: 700;
}

.store-modal-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 56px;
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .18) 0%, rgba(15, 23, 42, .58) 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    font-family: Arial, sans-serif;
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: .92;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.store-modal-gallery-arrow:hover {
    transform: translateY(-50%) scale(1.04);
    background: linear-gradient(180deg, rgba(15, 23, 42, .30) 0%, rgba(15, 23, 42, .74) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
    opacity: 1;
}

.store-modal-gallery-arrow:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .45);
    outline-offset: 2px;
}

.store-modal-gallery-arrow-prev {
    left: 12px;
}

.store-modal-gallery-arrow-next {
    right: 12px;
}

.store-modal-body {
    height: 100%;
    padding: 54px 38px 38px;
    display: flex;
    flex-direction: column;
}

.store-modal-title {
    margin: 9px 0 0;
    font-size: 31px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.04em;
}

.store-modal-description {
    margin: 17px 0 0;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.6;
}

.store-modal-measure,
.store-modal-stock {
    margin-top: 14px;
    color: #5d606e;
    font-size: 13px;
    font-weight: 700;
}

.store-modal-stock {
    margin-top: 7px;
}

.store-modal-price-wrap {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--store-line);
    display: flex;
    flex-direction: column;
}

.store-modal-price {
    margin-top: 3px;
    font-size: 34px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.04em;
}

.store-modal-next-step {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 13px;
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.store-footer {
    background: var(--store-dark);
    color: #fff;
}

.store-footer-inner {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.store-footer-brand {
    font-size: 15px;
    font-weight: 800;
}

.store-footer-text,
.store-footer-copy {
    margin-top: 3px;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
}

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

    .store-hero-grid {
        grid-template-columns: 1.2fr .8fr;
        gap: 38px;
    }
}

@media (max-width: 820px) {
    .store-container {
        width: min(100% - 28px, 1180px);
    }

    .store-header-inner {
        min-height: 68px;
    }

    .store-nav-link:first-child {
        display: none;
    }

    .store-hero-grid {
        min-height: auto;
        padding-top: 52px;
        padding-bottom: 52px;
        grid-template-columns: 1fr;
    }

    .store-hero-card {
        display: none;
    }

    .store-section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .store-search-wrap {
        width: 100%;
        flex-basis: auto;
    }

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

@media (max-width: 560px) {
    .store-brand-kicker {
        display: none;
    }

    .store-brand-name {
        max-width: 185px;
        font-size: 15px;
    }

    .store-nav-link {
        padding: 9px 10px;
        font-size: 13px;
    }

    .store-hero-title {
        font-size: 39px;
    }

    .store-hero-description {
        font-size: 16px;
    }

    .store-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-products-section {
        padding: 48px 0 62px;
    }

    .store-products-grid {
        grid-template-columns: 1fr;
    }

    .store-product-image-wrap {
        aspect-ratio: 16 / 11;
    }

    .store-modal-image-column {
        min-height: 370px;
        max-height: none;
    }

    .store-modal-gallery {
        min-height: 370px;
        padding: 14px;
    }

    .store-modal-main-image-wrap,
    .store-modal-image,
    .store-modal-no-image {
        min-height: 280px;
        max-height: 280px;
    }
    .store-modal-gallery-arrow {
        width: 44px;
        height: 84px;
        font-size: 42px;
        border-radius: 14px;
    }

    .store-modal-gallery-arrow-prev {
        left: 8px;
    }

    .store-modal-gallery-arrow-next {
        right: 8px;
    }
.store-modal-body {
        padding: 32px 24px 24px;
    }

    .store-modal-next-step {
        margin-top: 28px;
    }

    .store-footer-inner {
        min-height: 130px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
}

/* =========================================================
   ETAPA 2 - CARRITO DE COMPRAS
   ========================================================= */

.store-cart-button {
    position: relative;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--store-brand);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(117, 69, 138, .18);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.store-cart-button:hover {
    background: var(--store-brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(85, 48, 103, .24);
}

.store-cart-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-cart-badge {
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--store-brand-dark);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.store-message-success {
    color: #12613b;
    background: #eefaf3;
    border-color: #caead8;
}

.store-modal-purchase {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--store-line);
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
}

.store-modal-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.store-modal-field label,
.store-modal-field > span {
    color: #5d606e;
    font-size: 12px;
    font-weight: 800;
}

.store-modal-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--store-line);
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: var(--store-text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.store-modal-input:focus {
    border-color: rgba(117, 69, 138, .55);
    box-shadow: 0 0 0 4px rgba(117, 69, 138, .08);
}

.btn-add-cart {
    width: 100%;
    min-height: 48px;
    margin-top: 15px;
    border: 0;
    border-radius: 13px;
    background: var(--store-brand);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(117, 69, 138, .18);
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--store-brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(85, 48, 103, .23);
}

.btn-add-cart:disabled {
    background: #c7c8cf;
    cursor: not-allowed;
    box-shadow: none;
}

.store-modal-out-of-stock {
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 11px;
    background: var(--store-danger-soft);
    color: var(--store-danger);
    font-size: 12px;
    font-weight: 750;
}

.store-cart-offcanvas {
    width: min(470px, 100vw) !important;
    border-left: 1px solid var(--store-line);
    background: #fff;
}

.store-cart-header {
    padding: 25px 25px 17px;
    border-bottom: 1px solid var(--store-line);
}

.store-cart-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--store-brand);
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .16em;
}

.store-cart-title {
    margin: 0;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -.035em;
}

.store-cart-body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.store-cart-empty {
    min-height: calc(100vh - 110px);
    padding: 50px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.store-cart-empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--store-brand-soft);
    color: var(--store-brand);
}

.store-cart-empty-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-cart-empty h3 {
    margin: 0;
    color: var(--store-text);
    font-size: 21px;
    font-weight: 850;
}

.store-cart-empty p {
    max-width: 290px;
    margin: 10px 0 22px;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.55;
}

.store-cart-item {
    padding: 19px 21px;
    border-bottom: 1px solid var(--store-line);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
}

.store-cart-item-image-wrap {
    width: 88px;
    height: 100px;
    overflow: hidden;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f1f2f5;
}

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

.store-cart-item-content {
    min-width: 0;
}

.store-cart-item-code {
    color: #999ba6;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-cart-item-name {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
}

.store-cart-item-measure {
    margin-top: 4px;
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 650;
}

.store-cart-item-bottom {
    margin-top: 13px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.store-cart-item-price {
    font-size: 15px;
    font-weight: 850;
}

.store-cart-item-subtotal {
    margin-top: 2px;
    color: var(--store-muted);
    font-size: 10px;
}

.store-cart-qty {
    height: 34px;
    padding: 0 3px;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    background: #fff;
}

.store-cart-qty-btn {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--store-brand-dark);
    text-decoration: none;
    font-size: 17px;
    line-height: 1;
    font-weight: 850;
}

.store-cart-qty-btn:hover {
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
}

.store-cart-qty-value {
    min-width: 27px;
    text-align: center;
    color: var(--store-text);
    font-size: 12px;
    font-weight: 850;
}

.store-cart-remove {
    display: inline-block;
    margin-top: 9px;
    color: #9a4c4c;
    text-decoration: none;
    font-size: 10px;
    font-weight: 750;
}

.store-cart-remove:hover {
    color: var(--store-danger);
    text-decoration: underline;
}

.store-cart-alert {
    margin: 16px 20px 0;
    padding: 11px 13px;
    border-radius: 11px;
    background: var(--store-danger-soft);
    color: var(--store-danger);
    font-size: 11px;
    font-weight: 750;
}

.store-cart-summary {
    margin: 20px;
    padding: 18px;
    border-radius: 15px;
    background: #f7f5f9;
}

.store-cart-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    color: var(--store-text);
    font-size: 14px;
    font-weight: 800;
}

.store-cart-total {
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.store-cart-summary-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e7e1eb;
    color: var(--store-muted);
    font-size: 10px;
    line-height: 1.5;
}

.store-cart-actions {
    padding: 0 20px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cart-empty,
.btn-cart-continue {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.btn-cart-empty {
    border: 1px solid var(--store-line);
    background: #fff;
    color: #777a87;
}

.btn-cart-empty:hover {
    border-color: #ddcaca;
    color: var(--store-danger);
}

.btn-cart-continue {
    flex: 1;
    border: 0;
    background: var(--store-brand);
    color: #fff;
}

.btn-cart-continue:hover {
    background: var(--store-brand-dark);
    color: #fff;
}

@media (max-width: 700px) {
    .store-cart-text {
        display: none;
    }

    .store-cart-button {
        min-width: 42px;
        padding: 0 10px;
    }

    .store-modal-purchase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .store-nav {
        gap: 3px;
    }

    .store-nav-link {
        display: none;
    }

    .store-brand-name {
        max-width: 205px;
    }

    .store-cart-offcanvas {
        width: 100vw !important;
    }

    .store-cart-header {
        padding: 21px 18px 15px;
    }

    .store-cart-item {
        padding-left: 16px;
        padding-right: 16px;
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .store-cart-item-image-wrap {
        width: 76px;
        height: 90px;
    }

    .store-cart-summary {
        margin-left: 16px;
        margin-right: 16px;
    }

    .store-cart-actions {
        padding-left: 16px;
        padding-right: 16px;
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .btn-cart-empty,
    .btn-cart-continue {
        width: 100%;
    }
}

/* =========================================================
   ETAPA 3 - CUENTA / INGRESO / REGISTRO
   ========================================================= */

.store-account-link {
    min-height: 42px;
    padding: 0 13px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4d5060;
    background: #f5f1f7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.store-account-link:hover {
    color: var(--store-brand-dark);
    background: #eee4f2;
    transform: translateY(-1px);
}

.store-account-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-cart-account-action {
    padding: 0 22px 4px;
}

.btn-cart-account {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--store-brand);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background-color .18s ease, transform .18s ease;
}

.btn-cart-account:hover {
    background: var(--store-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.store-account-hero {
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, .13), transparent 30%),
        linear-gradient(135deg, #211927 0%, #553067 58%, #86509b 100%);
    color: #fff;
}

.store-account-hero-copy {
    max-width: 760px;
    padding: 54px 0 58px;
}

.store-account-hero .store-section-kicker {
    color: #eadcef;
}

.store-account-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -.035em;
}

.store-account-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.65;
}

.store-account-section {
    padding: 46px 0 72px;
    background: #f7f8fb;
}

.store-account-message {
    margin-bottom: 24px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.store-account-message-success {
    color: #12613b;
    background: #eefaf3;
    border-color: #caead8;
}

.store-account-message-error {
    color: #8f2430;
    background: #fff1f2;
    border-color: #f2cfd4;
}

.store-account-login-grid {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.store-account-card,
.store-account-profile-card {
    border: 1px solid #e5e7ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(26, 29, 42, .055);
}

.store-account-card {
    padding: 28px;
}

.store-account-card-highlight {
    background:
        linear-gradient(145deg, rgba(117, 69, 138, .075), rgba(255, 255, 255, 0) 70%),
        #fff;
}

.store-account-card-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--store-brand);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: .15em;
}

.store-account-card h2,
.store-account-profile-card h2 {
    margin: 0;
    color: var(--store-text);
    font-size: 28px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.025em;
}

.store-account-card-text,
.store-account-profile-heading p {
    margin: 9px 0 22px;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.65;
}

.store-account-benefits {
    margin: 22px 0 27px;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.store-account-benefits li {
    position: relative;
    padding-left: 28px;
    color: #555968;
    font-size: 14px;
    line-height: 1.55;
}

.store-account-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef8f2;
    color: #28754d;
    font-size: 12px;
    font-weight: 900;
}

.store-account-profile-card {
    padding: 30px;
    scroll-margin-top: 92px;
}

.store-account-profile-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.store-account-profile-heading p {
    margin-bottom: 0;
}

.store-account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.store-form-field {
    min-width: 0;
}

.store-form-field-span-2 {
    grid-column: span 2;
}

.store-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #454957;
    font-size: 13px;
    font-weight: 800;
}

.store-form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #dfe1e8;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: var(--store-text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.store-form-control:focus {
    border-color: rgba(117, 69, 138, .68);
    box-shadow: 0 0 0 4px rgba(117, 69, 138, .09);
}

.store-form-textarea {
    min-height: 112px;
    resize: vertical;
}

.store-form-help {
    display: block;
    margin-top: 6px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}

.store-form-divider {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #eceef3;
}

.store-form-divider span {
    color: var(--store-brand-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-account-form-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
}

.btn-account-primary,
.btn-account-secondary,
.btn-account-logout {
    min-height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-account-primary {
    min-width: 150px;
    padding: 0 21px;
    border: 0;
    background: var(--store-brand);
    color: #fff;
}

.btn-account-primary:hover {
    background: var(--store-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-account-secondary {
    padding: 0 20px;
    border: 1px solid rgba(117, 69, 138, .24);
    background: #fff;
    color: var(--store-brand-dark);
}

.btn-account-secondary:hover {
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
}

.btn-account-logout {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #e2dce5;
    background: #fff;
    color: #66566d;
}

.btn-account-logout:hover {
    background: #f8f4f9;
    color: var(--store-brand-dark);
}

@media (max-width: 820px) {
    .store-account-text {
        display: none;
    }

    .store-account-link {
        min-width: 42px;
        padding: 0 10px;
        justify-content: center;
    }

    .store-account-login-grid {
        grid-template-columns: 1fr;
    }

    .store-account-hero-copy {
        padding-top: 44px;
        padding-bottom: 47px;
    }
}

@media (max-width: 620px) {
    .store-account-section {
        padding-top: 28px;
        padding-bottom: 52px;
    }

    .store-account-card,
    .store-account-profile-card {
        border-radius: 16px;
    }

    .store-account-card,
    .store-account-profile-card {
        padding: 20px;
    }

    .store-account-profile-heading {
        flex-direction: column;
    }

    .store-account-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .store-form-field-span-2 {
        grid-column: span 1;
    }

    .store-account-form-actions {
        justify-content: stretch;
    }

    .btn-account-primary {
        width: 100%;
    }

    .btn-account-logout {
        width: 100%;
    }

    .store-cart-account-action {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 430px) {
    .store-brand-name {
        max-width: 150px;
    }

    .store-account-link,
    .store-cart-button {
        min-width: 40px;
        min-height: 40px;
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* =========================================================
   ETAPA 4 - FINALIZAR COMPRA / PEDIDO
   ========================================================= */

.store-cart-checkout-action {
    padding: 18px 20px 0;
}

.btn-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 13px;
    background: var(--store-brand);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease;
}

.btn-cart-checkout:hover {
    background: var(--store-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.store-checkout-hero {
    background: linear-gradient(135deg, #201629 0%, #5d326b 58%, #8b54a0 100%);
    color: #fff;
}

.store-checkout-hero-copy {
    max-width: 720px;
    padding: 58px 0 62px;
}

.store-checkout-hero-copy h1 {
    margin: 8px 0 9px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.store-checkout-hero-copy p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.03rem;
}

.store-checkout-section {
    padding: 42px 0 72px;
    background: #f6f7fb;
}

.store-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .75fr);
    gap: 26px;
    align-items: start;
}

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

.store-checkout-card,
.store-checkout-summary-card,
.store-checkout-empty,
.store-order-confirmation {
    border: 1px solid rgba(28, 24, 34, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(31, 24, 38, .055);
}

.store-checkout-card {
    padding: 26px;
}

.store-checkout-card-heading {
    margin-bottom: 18px;
}

.store-checkout-card-heading h2,
.store-checkout-summary-card h2 {
    margin: 4px 0 0;
    color: #171923;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.store-checkout-product {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 17px 0;
    border-top: 1px solid #ececf1;
}

.store-checkout-product:first-child {
    border-top: 0;
    padding-top: 4px;
}

.store-checkout-product-code {
    margin-bottom: 3px;
    color: #8a8190;
    font-size: .75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.store-checkout-product h3 {
    margin: 0 0 6px;
    color: #24202a;
    font-size: 1rem;
    font-weight: 800;
}

.store-checkout-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: #746c79;
    font-size: .86rem;
}

.store-checkout-product-values {
    min-width: 130px;
    text-align: right;
}

.store-checkout-product-values strong,
.store-checkout-product-unit {
    display: block;
}

.store-checkout-product-values strong {
    margin-top: 4px;
    color: var(--store-brand-dark);
    font-size: 1rem;
}

.store-checkout-product-unit {
    color: #8a8190;
    font-size: .79rem;
}

.store-delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.store-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 105px;
    padding: 18px;
    border: 1px solid #ddd9e2;
    border-radius: 15px;
    background: #fff;
}

.store-delivery-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--store-brand);
}

.store-delivery-option > span:first-child {
    display: flex;
    align-items: flex-start;
}

.store-delivery-option-copy {
    display: grid;
    gap: 4px;
    flex: 1;
    cursor: pointer;
}

.store-delivery-option-copy strong {
    color: #28222c;
    font-size: .98rem;
}

.store-delivery-option-copy span {
    color: #77707c;
    font-size: .85rem;
    line-height: 1.45;
}

.store-checkout-address {
    margin-top: 18px;
    padding: 18px;
    border-radius: 15px;
    background: #f8f5f9;
}

.store-checkout-address-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.store-checkout-address-heading > div {
    display: grid;
    gap: 3px;
}

.store-checkout-address-label {
    color: #8c7c92;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.store-checkout-address-heading strong {
    color: #322a36;
    font-size: .92rem;
}

.store-checkout-edit {
    color: var(--store-brand-dark);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.store-checkout-address-line {
    display: block;
    margin-top: 3px;
    color: #736a77;
    font-size: .85rem;
    line-height: 1.5;
}

.store-checkout-summary-card {
    position: sticky;
    top: 96px;
    padding: 25px;
}

.store-checkout-summary-row,
.store-checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.store-checkout-summary-row {
    margin-top: 24px;
    padding: 14px 0;
    border-top: 1px solid #ececf1;
    color: #706876;
    font-size: .9rem;
}

.store-checkout-summary-total {
    align-items: end;
    padding: 18px 0 21px;
    border-top: 1px solid #ececf1;
    color: #29232d;
    font-weight: 800;
}

.store-checkout-summary-total span:first-child {
    font-size: 1rem;
}

.store-checkout-summary-total span:last-child {
    color: var(--store-brand-dark);
    font-size: 1.45rem;
}

.btn-checkout-confirm,
.btn-checkout-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
}

.btn-checkout-confirm {
    border: 0;
    background: var(--store-brand);
    color: #fff;
}

.btn-checkout-confirm:hover {
    background: var(--store-brand-dark);
}

.btn-checkout-back {
    margin-top: 9px;
    border: 1px solid #ded9e2;
    background: #fff;
    color: #65596b;
}

.btn-checkout-back:hover {
    background: #f8f5f9;
    color: var(--store-brand-dark);
}

.store-checkout-note {
    margin: 17px 0 0;
    color: #8c8490;
    font-size: .77rem;
    line-height: 1.5;
}

.store-checkout-message {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 13px;
    font-weight: 700;
}

.store-checkout-message-error {
    border: 1px solid #f0c9c9;
    background: #fff3f3;
    color: #9a3434;
}

.store-checkout-message-success {
    border: 1px solid #c7e3d1;
    background: #f1faf4;
    color: #27623d;
}

.store-checkout-empty {
    max-width: 650px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
}

.store-checkout-empty h2 {
    margin: 14px 0 7px;
    font-size: 1.55rem;
}

.store-checkout-empty p {
    margin: 0 0 22px;
    color: #79717d;
}

.store-checkout-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.store-order-confirmation {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 42px;
    text-align: center;
}

.store-order-confirmation-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eaf7ee;
    color: #2c7c47;
    font-size: 1.9rem;
    font-weight: 900;
}

.store-order-confirmation h1 {
    margin: 8px 0 8px;
    color: #1d1920;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 850;
    letter-spacing: -.035em;
}

.store-order-confirmation > p {
    color: #756c79;
}

.store-order-number {
    display: grid;
    gap: 4px;
    max-width: 320px;
    margin: 27px auto 22px;
    padding: 17px;
    border-radius: 14px;
    background: var(--store-brand-soft);
}

.store-order-number span,
.store-order-confirmation-grid span {
    color: #87788c;
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.store-order-number strong {
    color: var(--store-brand-dark);
    font-size: 1.55rem;
}

.store-order-confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 22px;
}

.store-order-confirmation-grid > div {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid #ebe8ed;
    border-radius: 13px;
}

.store-order-confirmation-grid strong {
    color: #332c36;
}

.store-order-confirmation-note {
    max-width: 520px;
    margin: 0 auto 23px !important;
    font-size: .88rem;
}

.store-order-confirmation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

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

    .store-checkout-summary-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .store-checkout-hero-copy {
        padding: 42px 0 46px;
    }

    .store-checkout-section {
        padding: 28px 0 52px;
    }

    .store-checkout-card,
    .store-checkout-summary-card {
        padding: 20px;
        border-radius: 16px;
    }

    .store-delivery-options {
        grid-template-columns: 1fr;
    }

    .store-checkout-product {
        flex-direction: column;
        gap: 8px;
    }

    .store-checkout-product-values {
        text-align: left;
    }

    .store-order-confirmation {
        padding: 36px 20px;
        border-radius: 16px;
    }

    .store-order-confirmation-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Administración
   ========================================================= */
.store-footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.store-footer-admin-link {
    color: inherit;
    text-decoration: none;
    opacity: .68;
    font-size: 12px;
    font-weight: 700;
    transition: opacity .18s ease;
}

.store-footer-admin-link:hover {
    color: inherit;
    opacity: 1;
}

.store-admin-section {
    min-height: calc(100vh - 190px);
    padding: 58px 0 84px;
    background: #f6f7fa;
}

.store-admin-container {
    max-width: 1180px;
}

.store-admin-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.store-admin-heading-orders {
    align-items: center;
}

.store-admin-title {
    margin: 0;
    color: var(--store-text);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 850;
}

.store-admin-subtitle {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--store-muted);
    font-size: 15px;
    line-height: 1.6;
}

.store-admin-back,
.store-admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    background: #fff;
    color: var(--store-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.store-admin-back:hover,
.store-admin-logout:hover {
    border-color: #cec4d4;
    color: var(--store-brand-dark);
    background: #fcfafd;
}

.store-admin-login-card {
    width: min(520px, 100%);
    margin: 44px auto 0;
    padding: 34px;
    border: 1px solid var(--store-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(27, 31, 45, .08);
}

.store-admin-login-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(117, 69, 138, .1);
}

.store-admin-login-icon svg,
.store-admin-module-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--store-brand);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-admin-login-card h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.025em;
    font-weight: 820;
}

.store-admin-login-card > p {
    margin: 8px 0 24px;
    color: var(--store-muted);
}

.store-admin-login-form {
    display: grid;
    gap: 17px;
}

.store-admin-sessionbar,
.store-admin-orders-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: #fff;
}

.store-admin-session-label,
.store-admin-summary-label {
    display: block;
    margin-bottom: 3px;
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-admin-session-user {
    display: block;
    font-size: 17px;
    font-weight: 800;
}

.store-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.store-admin-module {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 22px;
    background: #fff;
    color: var(--store-text);
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(27, 31, 45, .045);
}

.store-admin-module-active {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.store-admin-module-active:hover {
    transform: translateY(-3px);
    border-color: #d8cddd;
    color: var(--store-text);
    box-shadow: 0 18px 40px rgba(27, 31, 45, .09);
}

.store-admin-module-disabled {
    opacity: .62;
}

.store-admin-module-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(117, 69, 138, .08);
}

.store-admin-module-copy h2 {
    margin: 5px 0 8px;
    font-size: 24px;
    font-weight: 820;
}

.store-admin-module-copy p {
    margin: 0;
    color: var(--store-muted);
    line-height: 1.55;
}

.store-admin-module-kicker {
    color: var(--store-brand);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
}

.store-admin-module-arrow {
    position: absolute;
    right: 25px;
    bottom: 22px;
    font-size: 28px;
    font-weight: 300;
    color: var(--store-brand);
}

.store-admin-heading-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-admin-summary-number {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 850;
    color: var(--store-brand-dark);
}

.store-admin-session-inline {
    color: var(--store-muted);
    font-size: 13px;
}

.store-admin-session-inline span {
    color: var(--store-text);
    font-weight: 800;
}

.store-admin-empty {
    padding: 50px 24px;
    border: 1px dashed #d5d7df;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.store-admin-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #ecf8f0;
    color: #277545;
    font-size: 25px;
    font-weight: 900;
}

.store-admin-empty h2 {
    margin: 0 0 7px;
    font-size: 23px;
}

.store-admin-empty p {
    margin: 0;
    color: var(--store-muted);
}

.store-admin-order-card {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 31, 45, .045);
}

.store-admin-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--store-line);
    background: #fcfcfd;
}

.store-admin-order-number {
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.store-admin-order-date {
    margin-top: 3px;
    color: var(--store-muted);
    font-size: 13px;
}

.store-admin-order-head-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-admin-delivery-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.store-admin-delivery-send {
    background: #eaf2ff;
    color: #315d9a;
}

.store-admin-delivery-pickup {
    background: #f0ebf4;
    color: #6c447d;
}

.store-admin-order-total {
    min-width: 118px;
    text-align: right;
    font-size: 22px;
    font-weight: 850;
}

.store-admin-customer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.2fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--store-line);
}

.store-admin-customer-block {
    min-width: 0;
    padding: 20px 24px;
    border-right: 1px solid var(--store-line);
}

.store-admin-customer-block:last-child {
    border-right: 0;
}

.store-admin-data-label {
    display: block;
    margin-bottom: 7px;
    color: var(--store-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.store-admin-customer-block strong,
.store-admin-customer-block span:not(.store-admin-data-label) {
    display: block;
    overflow-wrap: anywhere;
}

.store-admin-customer-block strong {
    font-size: 14px;
}

.store-admin-customer-block span:not(.store-admin-data-label) {
    margin-top: 4px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}

.store-admin-order-table-wrap {
    overflow-x: auto;
}

.store-admin-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.store-admin-order-table th,
.store-admin-order-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #eceef2;
    text-align: left;
    vertical-align: middle;
}

.store-admin-order-table th {
    color: #767985;
    background: #fafbfc;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.store-admin-order-table tbody tr:last-child td {
    border-bottom: 0;
}

.store-admin-order-table .store-admin-number {
    text-align: right;
    white-space: nowrap;
}

.store-admin-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid var(--store-line);
    background: #fcfcfd;
}

.store-admin-order-footer > span {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}

.btn-admin-finish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 12px;
    border: 0;
    background: var(--store-brand-dark);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.btn-admin-finish:hover {
    color: #fff;
    filter: brightness(1.08);
}

@media (max-width: 820px) {
    .store-admin-heading,
    .store-admin-sessionbar,
    .store-admin-orders-summary,
    .store-admin-order-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-admin-grid {
        grid-template-columns: 1fr;
    }

    .store-admin-customer-grid {
        grid-template-columns: 1fr;
    }

    .store-admin-customer-block {
        border-right: 0;
        border-bottom: 1px solid var(--store-line);
    }

    .store-admin-customer-block:last-child {
        border-bottom: 0;
    }

    .store-admin-order-head-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 620px) {
    .store-admin-section {
        padding: 35px 0 60px;
    }

    .store-admin-login-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .store-admin-order-card {
        border-radius: 18px;
    }

    .store-admin-order-table,
    .store-admin-order-table tbody,
    .store-admin-order-table tr,
    .store-admin-order-table td {
        display: block;
        width: 100%;
    }

    .store-admin-order-table thead {
        display: none;
    }

    .store-admin-order-table tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--store-line);
    }

    .store-admin-order-table tr:last-child {
        border-bottom: 0;
    }

    .store-admin-order-table td,
    .store-admin-order-table .store-admin-number {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 7px 18px;
        border: 0;
        text-align: right;
    }

    .store-admin-order-table td::before {
        content: attr(data-label);
        flex: 0 0 40%;
        color: var(--store-muted);
        text-align: left;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .store-admin-order-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-admin-finish {
        width: 100%;
    }

    .store-footer-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}

/* =========================================================
   Administración de productos
   ========================================================= */
.store-admin-products-summary {
    margin: 24px 0 20px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--store-surface);
    border: 1px solid var(--store-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(26, 29, 41, 0.04);
}

.store-admin-products-toolbar {
    margin: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-admin-products-search {
    min-width: 0;
    flex: 1 1 560px;
    max-width: 720px;
    position: relative;
}

.store-admin-products-search svg {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: none;
    stroke: #8a8e9c;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.store-admin-products-search input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    border: 1px solid var(--store-line);
    border-radius: 14px;
    outline: none;
    background: #fff;
    color: var(--store-text);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.store-admin-products-search input:focus {
    border-color: rgba(117, 69, 138, .58);
    box-shadow: 0 0 0 4px rgba(117, 69, 138, .09);
}

.btn-admin-new-product,
.btn-admin-save-product,
.btn-admin-edit-product {
    border: 0;
    text-decoration: none;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn-admin-new-product,
.btn-admin-save-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--store-brand);
    color: #fff;
    box-shadow: 0 9px 22px rgba(117, 69, 138, .18);
}

.btn-admin-new-product:hover,
.btn-admin-save-product:hover {
    color: #fff;
    background: var(--store-brand-dark);
    transform: translateY(-1px);
}

.store-admin-product-editor {
    margin: 0 0 28px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--store-line);
    border-radius: 22px;
    box-shadow: var(--store-shadow);
}

.store-admin-product-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--store-line);
}

.store-admin-product-editor-head h2 {
    margin: 5px 0 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.1;
    font-weight: 850;
}

.store-admin-product-codebox {
    min-width: 150px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-radius: 14px;
    background: var(--store-brand-soft);
}

.store-admin-product-codebox span {
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.store-admin-product-codebox span + span,
.store-admin-product-codebox > span:last-child {
    margin-top: 2px;
    color: var(--store-brand-dark);
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
}

.store-admin-product-fields {
    padding: 24px 0 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.store-admin-product-field-wide {
    grid-column: 1 / -1;
}

.store-admin-product-textarea {
    min-height: 92px;
    resize: vertical;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.store-admin-price-input {
    position: relative;
}

.store-admin-price-input > span {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--store-muted);
    font-weight: 800;
    z-index: 2;
}

.store-admin-price-input .store-form-control {
    padding-left: 30px;
}

.store-admin-images-heading {
    margin-top: 18px;
    padding-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--store-line);
}

.store-admin-images-heading h3 {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 850;
}

.store-admin-images-heading p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.55;
}

.store-admin-images-heading > span {
    flex: 0 0 auto;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}

.store-admin-images-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.store-admin-image-slot {
    min-width: 0;
    position: relative;
    padding: 12px;
    background: #fafafd;
    border: 1px solid var(--store-line);
    border-radius: 17px;
}

.store-admin-image-number {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(25, 27, 36, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.store-admin-image-box {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #f0f1f5;
    border-radius: 12px;
}

.store-admin-image-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.store-admin-image-empty {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: grid;
    place-items: center;
    color: #9a9daa;
    font-size: 13px;
    font-weight: 750;
}

.store-admin-file-input {
    width: 100%;
    margin-top: 10px;
    color: var(--store-muted);
    font-size: 12px;
}

.store-admin-file-input::file-selector-button {
    margin-right: 8px;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
    font-weight: 800;
    cursor: pointer;
}

.store-admin-product-editor-actions {
    margin-top: 24px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--store-line);
}

.store-admin-products-list {
    display: grid;
    gap: 12px;
}

.store-admin-product-row {
    min-width: 0;
    padding: 14px;
    display: grid;
    grid-template-columns: 92px minmax(260px, 1fr) 120px 130px 105px 82px;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--store-line);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(26, 29, 41, .035);
}

.store-admin-product-thumb {
    width: 92px;
    height: 78px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f2f3f7;
    color: #9a9daa;
    font-size: 11px;
    font-weight: 750;
}

.store-admin-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-admin-product-main {
    min-width: 0;
}

.store-admin-product-code {
    margin-bottom: 4px;
    color: var(--store-brand);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-admin-product-main h2 {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 850;
}

.store-admin-product-main p {
    margin: 5px 0 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}

.store-admin-product-data {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-admin-product-data strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
}

.store-admin-product-data-number {
    text-align: right;
    align-items: flex-end;
}

.store-admin-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.store-admin-stock-ok {
    background: var(--store-success-soft);
    color: var(--store-success);
}

.store-admin-stock-low {
    background: var(--store-warning-soft);
    color: var(--store-warning);
}

.store-admin-stock-out {
    background: var(--store-danger-soft);
    color: var(--store-danger);
}

.btn-admin-edit-product {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
    font-size: 12px;
}

.btn-admin-edit-product:hover {
    color: #fff;
    background: var(--store-brand);
}

.store-admin-product-meta-mobile {
    display: none;
}

@media (max-width: 1050px) {
    .store-admin-product-row {
        grid-template-columns: 82px minmax(220px, 1fr) 105px 115px 90px 76px;
        gap: 12px;
    }

    .store-admin-product-thumb {
        width: 82px;
        height: 72px;
    }
}

@media (max-width: 860px) {
    .store-admin-products-summary,
    .store-admin-products-toolbar,
    .store-admin-product-editor-head,
    .store-admin-images-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .store-admin-products-search {
        max-width: none;
        flex-basis: auto;
    }

    .btn-admin-new-product {
        width: 100%;
    }

    .store-admin-product-fields {
        grid-template-columns: 1fr 1fr;
    }

    .store-admin-product-field-wide {
        grid-column: 1 / -1;
    }

    .store-admin-images-grid {
        grid-template-columns: 1fr 1fr;
    }

    .store-admin-product-row {
        grid-template-columns: 82px minmax(0, 1fr) 105px 82px;
    }

    .store-admin-product-data:nth-of-type(2),
    .store-admin-product-data:nth-of-type(3) {
        display: none;
    }

    .store-admin-product-meta-mobile {
        margin-top: 7px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px 12px;
        color: var(--store-muted);
        font-size: 11px;
    }
}

@media (max-width: 620px) {
    .store-admin-product-editor {
        padding: 18px;
    }

    .store-admin-product-fields,
    .store-admin-images-grid {
        grid-template-columns: 1fr;
    }

    .store-admin-product-codebox {
        align-items: flex-start;
    }

    .store-admin-product-row {
        grid-template-columns: 72px minmax(0, 1fr) 70px;
        gap: 10px;
        padding: 10px;
    }

    .store-admin-product-thumb {
        width: 72px;
        height: 68px;
    }

    .store-admin-product-data {
        display: none;
    }

    .btn-admin-edit-product {
        min-height: 36px;
        padding: 0 10px;
    }

    .store-admin-product-editor-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .store-admin-product-editor-actions .store-admin-back,
    .btn-admin-save-product {
        width: 100%;
    }
}



/* =========================================================
   ADMINISTRACIÓN - CONFIGURACIÓN
   ========================================================= */
.store-admin-config-card {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid var(--store-line);
    border-radius: var(--store-radius);
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
}

.store-admin-config-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--store-line);
}

.store-admin-config-head h2 {
    margin: 5px 0 4px;
    font-size: 25px;
    font-weight: 900;
}

.store-admin-config-head p {
    margin: 0;
    color: var(--store-muted);
}

.store-admin-config-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.store-admin-config-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.store-admin-config-switch {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: #fafafd;
    cursor: pointer;
}

.store-admin-config-switch input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    accent-color: var(--store-brand);
}

.store-admin-config-switch span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.store-admin-config-switch strong {
    color: var(--store-text);
    font-size: 14px;
}

.store-admin-config-switch small {
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.45;
}

.store-admin-config-note {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--store-brand-soft);
    color: var(--store-brand-dark);
    font-size: 13px;
    line-height: 1.5;
}

.store-admin-config-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.store-admin-config-actions .btn-account-primary {
    width: auto;
    min-width: 220px;
}

@media (max-width: 760px) {
    .store-admin-config-card {
        padding: 22px 18px;
    }

    .store-admin-config-grid,
    .store-admin-config-options {
        grid-template-columns: 1fr;
    }

    .store-admin-config-actions {
        justify-content: stretch;
    }

    .store-admin-config-actions .btn-account-primary {
        width: 100%;
    }
}
