:root {
    --mst-primary: #2563EB;
    --mst-primary-dark: #1D4ED8;
    --mst-primary-soft: #EFF6FF;
    --mst-success: #10B981;
    --mst-success-dark: #059669;
    --mst-bg: #F8FAFC;
    --mst-surface: #FFFFFF;
    --mst-text: #1E293B;
    --mst-muted: #64748B;
    --mst-border: #E2E8F0;
    --mst-danger: #EF4444;
    --mst-warning: #F59E0B;
    --mst-shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
    --mst-shadow-md: 0 18px 50px rgba(15, 23, 42, .10);
    --mst-radius: 18px;
    --mst-radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--mst-bg) 48%, #f1f5f9 100%);
    color: var(--mst-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.navbar {
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(226, 232, 240, .75) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
}

.navbar-brand {
    letter-spacing: -.03em;
    color: var(--mst-text) !important;
    font-size: 1.32rem;
}

.navbar-brand span {
    color: var(--mst-primary);
}

.nav-link {
    color: #475569 !important;
    font-weight: 600;
    border-radius: 10px;
    padding-left: .85rem !important;
    padding-right: .85rem !important;
}

.nav-link:hover {
    color: var(--mst-primary) !important;
    background: var(--mst-primary-soft);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
    padding: .72rem 1.05rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--mst-primary), #3B82F6);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--mst-primary-dark), var(--mst-primary));
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .25);
}

.btn-success {
    background: linear-gradient(135deg, var(--mst-success), #34D399);
    border-color: transparent;
}

.btn-outline-primary {
    color: var(--mst-primary);
    border-color: rgba(37, 99, 235, .3);
    background: rgba(255,255,255,.7);
}

.btn-outline-primary:hover {
    background: var(--mst-primary);
    border-color: var(--mst-primary);
}

.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-success {
    background: rgba(255,255,255,.76);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .09);
    filter: blur(20px);
    right: -120px;
    top: 20px;
    pointer-events: none;
}

.hero-section h1 {
    letter-spacing: -.045em;
    line-height: 1.05;
}

.hero-panel,
.auth-card,
.card {
    border-radius: var(--mst-radius) !important;
}

.hero-panel {
    position: relative;
    background:
        linear-gradient(145deg, rgba(255,255,255,.95), rgba(239,246,255,.9));
    border: 1px solid rgba(226,232,240,.8);
    box-shadow: var(--mst-shadow-md) !important;
}

.card {
    border: 1px solid rgba(226,232,240,.72) !important;
    box-shadow: var(--mst-shadow-sm) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover,
.admin-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37,99,235,.18) !important;
    box-shadow: var(--mst-shadow-md) !important;
}

.card-header,
.card-footer {
    border-color: var(--mst-border) !important;
}

.bg-light {
    background: rgba(248, 250, 252, .76) !important;
}

.badge {
    border-radius: 999px;
    padding: .48rem .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.text-bg-primary {
    background: var(--mst-primary) !important;
}

.text-bg-success {
    background: var(--mst-success) !important;
}

.form-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: .45rem;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 12px;
    border-color: var(--mst-border);
    background-color: rgba(255,255,255,.92);
    box-shadow: 0 1px 2px rgba(15,23,42,.02);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

textarea.form-control {
    min-height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .10);
    background-color: #fff;
}

.form-check-input:checked {
    background-color: var(--mst-primary);
    border-color: var(--mst-primary);
}

.auth-card {
    max-width: 560px;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(226,232,240,.78);
    box-shadow: var(--mst-shadow-md);
}

.auth-card h1 {
    letter-spacing: -.03em;
}

.table-responsive {
    border-radius: var(--mst-radius);
}

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.table tbody tr {
    transition: background-color .18s ease;
}

.table tbody tr:hover {
    background: rgba(239,246,255,.55);
}

.table td,
.table th {
    padding: 1rem .9rem;
    border-color: #eef2f7;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.page-header {
    padding: 1rem 0 .5rem;
}

.page-header h1 {
    letter-spacing: -.035em;
}

.cart-summary {
    position: sticky;
    top: 96px;
}

.empty-state {
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.empty-state-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--mst-primary-soft);
    color: var(--mst-primary);
    font-size: 1.5rem;
}

.mst-toast-wrap {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 2000;
    width: min(390px, calc(100vw - 36px));
    pointer-events: none;
}

.mst-toast {
    pointer-events: auto;
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: 1rem 1rem;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(226,232,240,.85);
    border-left: 4px solid var(--mst-primary);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(15,23,42,.16);
    transform: translateY(-12px);
    opacity: 0;
    animation: mstToastIn .28s ease forwards;
}

.mst-toast + .mst-toast {
    margin-top: .75rem;
}

.mst-toast.success {
    border-left-color: var(--mst-success);
}

.mst-toast.error {
    border-left-color: var(--mst-danger);
}

.mst-toast.warning {
    border-left-color: var(--mst-warning);
}

.mst-toast-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--mst-primary-soft);
    color: var(--mst-primary);
    font-weight: 900;
}

.mst-toast.success .mst-toast-icon {
    background: #ECFDF5;
    color: var(--mst-success-dark);
}

.mst-toast.error .mst-toast-icon {
    background: #FEF2F2;
    color: var(--mst-danger);
}

.mst-toast-content {
    min-width: 0;
    flex: 1;
}

.mst-toast-title {
    font-weight: 800;
    margin-bottom: .15rem;
}

.mst-toast-message {
    color: var(--mst-muted);
    font-size: .93rem;
    line-height: 1.45;
}

.mst-toast-close {
    border: 0;
    background: transparent;
    color: #94A3B8;
    padding: 0;
    line-height: 1;
    font-size: 1.25rem;
}

.mst-toast.hide {
    animation: mstToastOut .22s ease forwards;
}

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

@keyframes mstToastOut {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-8px) scale(.98); opacity: 0; }
}

.password-toggle {
    border-radius: 0 12px 12px 0 !important;
}

footer {
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(8px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: .8rem 0 .4rem;
    }

    .nav-link {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: .68rem .9rem;
    }

    .hero-section {
        padding-top: 1rem !important;
    }

    .hero-section h1 {
        font-size: 2.35rem;
    }

    .table td,
    .table th {
        padding: .85rem .7rem;
    }

    .mst-toast-wrap {
        top: 74px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}


.auth-security-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .75rem;
    border-radius: 999px;
    background: #ECFDF5;
    color: #047857;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.auth-security-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mst-success);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
}

.auth-security-note {
    padding: .8rem 1rem;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid var(--mst-border);
    color: var(--mst-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.security-challenge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF6FF, #F8FAFC);
    border: 1px solid #DBEAFE;
}

.security-challenge-input {
    width: 105px;
    flex: 0 0 105px;
    text-align: center;
    font-weight: 800;
}

.password-meter-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #E2E8F0;
}

.password-meter-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #EF4444;
    transition: width .25s ease, background-color .25s ease;
}

.password-meter-bar span[data-score="3"],
.password-meter-bar span[data-score="4"] {
    background: #F59E0B;
}

.password-meter-bar span[data-score="5"] {
    background: var(--mst-success);
}

.password-meter-label {
    margin-top: .45rem;
    color: var(--mst-muted);
    font-size: .82rem;
    font-weight: 700;
}

.password-rules {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.password-rules span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .48rem;
    border-radius: 8px;
    background: #F1F5F9;
    color: #64748B;
    font-size: .72rem;
    font-weight: 700;
    transition: all .2s ease;
}

.password-rules span::before {
    content: "×";
    font-weight: 900;
}

.password-rules span.valid {
    background: #ECFDF5;
    color: #047857;
}

.password-rules span.valid::before {
    content: "✓";
}

@media (max-width: 575.98px) {
    .security-challenge {
        align-items: stretch;
        flex-direction: column;
    }

    .security-challenge-input {
        width: 100%;
        flex-basis: auto;
    }
}


.checkout-user,
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.checkout-user {
    padding: 1rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid var(--mst-border);
}

.checkout-item {
    padding: 1rem 0;
    border-bottom: 1px solid #EEF2F7;
}

.checkout-item:first-of-type {
    padding-top: .25rem;
}

.checkout-item:last-child {
    padding-bottom: .25rem;
    border-bottom: 0;
}

.order-next-step {
    padding: 1rem;
    border-radius: 12px;
    background: #EFF6FF;
    color: #1E40AF;
    font-size: .88rem;
    line-height: 1.45;
}


.payment-method-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--mst-radius);
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(226,232,240,.8);
    box-shadow: var(--mst-shadow-sm);
}

.payment-method-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #009EE3, #2563EB);
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(0,158,227,.22);
}

.demo-payment-box {
    padding: 1.2rem;
    border-radius: var(--mst-radius);
    border: 1px dashed rgba(37,99,235,.35);
    background: linear-gradient(135deg, rgba(239,246,255,.8), rgba(248,250,252,.9));
}

.payment-security-list {
    padding-left: 1.1rem;
    color: var(--mst-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.payment-security-list li + li {
    margin-top: .65rem;
}

.order-next-step.success {
    background: #ECFDF5;
    color: #047857;
}


.admin-payment-data > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid #EEF2F7;
}

.admin-payment-data > div:last-child {
    border-bottom: 0;
}

.admin-payment-data dt {
    color: var(--mst-muted);
    font-size: .85rem;
    font-weight: 700;
}

.admin-payment-data dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
    overflow-wrap: anywhere;
}


.product-card-image {
    height: 190px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #EEF2F7;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-card-image-empty {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #EFF6FF, #ECFDF5);
    color: var(--mst-primary);
    font-size: 3rem;
    font-weight: 900;
}

.product-image-admin-preview {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--mst-border);
    background: #F8FAFC;
}

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--mst-muted);
    font-weight: 700;
}

.shipping-product-panel {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid #DBEAFE;
    background: #F8FBFF;
}

.shipping-quote-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
}

.digital-delivery-note {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.checkout-product-thumb {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--mst-border);
}

.shipping-order-summary {
    padding: 1rem;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid var(--mst-border);
}


.product-detail-page {
    background: linear-gradient(180deg, #F8FAFC 0, #FFFFFF 38%);
}

.product-detail-image {
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border: 1px solid var(--mst-border);
    border-radius: 26px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 1rem;
}

.product-detail-image-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 7rem;
    font-weight: 900;
    color: var(--mst-primary);
    background: linear-gradient(135deg, #EFF6FF, #ECFDF5);
}

.product-detail-description {
    font-size: 1.05rem;
    line-height: 1.75;
}

.product-detail-price {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--mst-text);
}

.product-detail-price span {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--mst-muted);
}

.shipping-estimator {
    background: #F8FBFF;
    border: 1px solid #DBEAFE !important;
}

.product-qty {
    width: 90px;
}

.product-long-text {
    color: var(--mst-text);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.warranty-card {
    background: linear-gradient(180deg, #FFFFFF, #F0FDF4);
}

.product-logistics {
    padding-top: 1rem;
    border-top: 1px solid var(--mst-border);
}


/* =========================================================
   Administración de productos - formulario moderno
   ========================================================= */

.admin-product-form-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(37, 99, 235, .10), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(16, 185, 129, .09), transparent 26%),
        linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 38%, #EEF4FA 100%);
    min-height: calc(100vh - 72px);
}

.admin-product-form-page::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    top: -180px;
    right: -120px;
    background: rgba(37, 99, 235, .06);
    filter: blur(4px);
    pointer-events: none;
}

.admin-product-form-page::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    bottom: -160px;
    left: -100px;
    background: rgba(16, 185, 129, .06);
    pointer-events: none;
}

.admin-product-form-page .container {
    position: relative;
    z-index: 1;
}

.admin-product-form-card {
    border: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .09) !important;
}

.admin-product-form-body {
    border-radius: 24px;
}

.admin-product-form-page h1 {
    letter-spacing: -.03em;
}

.admin-form-section-title {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: .4rem 0 1.35rem;
}

.admin-form-section-title > span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2563EB, #10B981);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .18);
}

.admin-form-section-title strong {
    display: block;
    color: #1E293B;
    font-size: 1.05rem;
    line-height: 1.2;
}

.admin-form-section-title small {
    display: block;
    margin-top: .2rem;
    color: #64748B;
    line-height: 1.45;
}

.admin-form-section-divider {
    height: 1px;
    margin: 1.8rem 0;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .18), rgba(16, 185, 129, .16), transparent);
}

.admin-product-form-page .form-label {
    font-size: .88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: .45rem;
}

.admin-product-form-page .form-control,
.admin-product-form-page .form-select {
    min-height: 48px;
    border-radius: 13px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    color: #1E293B;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.admin-product-form-page textarea.form-control {
    min-height: auto;
    line-height: 1.6;
}

.admin-product-form-page .form-control:hover,
.admin-product-form-page .form-select:hover {
    border-color: #94A3B8;
    background: #FFFFFF;
}

.admin-product-form-page .form-control:focus,
.admin-product-form-page .form-select:focus {
    border-color: #2563EB;
    background: #FFFFFF;
    box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .10);
}

.admin-product-form-page .form-text {
    color: #64748B;
    font-size: .8rem;
    margin-top: .42rem;
}

.admin-product-form-page .form-check {
    padding: 1rem 1rem 1rem 2.7rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.admin-product-form-page .form-check-input {
    margin-top: .18rem;
}

.admin-product-form-page .shipping-product-panel {
    border: 1px solid rgba(16, 185, 129, .16);
    border-radius: 18px;
    padding: 1.15rem;
    background: linear-gradient(180deg, #F0FDF4, #F8FAFC);
}

.admin-product-form-page .product-image-admin-preview {
    border-radius: 18px;
    border: 1px dashed #94A3B8;
    background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
    overflow: hidden;
}

.admin-product-form-page .product-image-admin-preview img {
    border-radius: 14px;
}

.admin-product-save-btn {
    min-width: 190px;
    border: 0;
    border-radius: 13px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .20);
    transition: transform .18s ease, box-shadow .18s ease;
}

.admin-product-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .26);
}

@media (max-width: 767.98px) {
    .admin-product-form-card {
        border-radius: 18px;
    }

    .admin-product-form-body {
        padding: 1.25rem !important;
    }

    .admin-form-section-title {
        align-items: flex-start;
    }

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


/* =========================================================
   Administración unificada - dashboard, categorías, pedidos y pagos
   ========================================================= */

.admin-shell-page {
    position: relative;
    min-height: calc(100vh - 72px);
    background:
        radial-gradient(circle at 7% 5%, rgba(37, 99, 235, .09), transparent 26%),
        radial-gradient(circle at 94% 8%, rgba(16, 185, 129, .08), transparent 24%),
        linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 42%, #EEF4FA 100%);
}

.admin-shell-page .container {
    position: relative;
    z-index: 1;
}

.admin-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.admin-page-heading h1 {
    letter-spacing: -.03em;
    margin-bottom: .3rem;
}

.admin-page-heading p {
    margin-bottom: 0;
    color: #64748B;
}

.admin-dashboard-card,
.admin-list-card,
.admin-filter-card {
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .07) !important;
}

.admin-dashboard-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-dashboard-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .20) !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, .10) !important;
}

.admin-dashboard-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2563EB, #10B981);
    box-shadow: 0 9px 22px rgba(37, 99, 235, .18);
    margin-bottom: 1rem;
}

.admin-dashboard-card h2 {
    letter-spacing: -.015em;
}

.admin-dashboard-card .btn {
    border-radius: 11px;
    font-weight: 700;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.admin-toolbar .btn {
    border-radius: 11px;
}

.admin-list-card {
    overflow: hidden;
}

.admin-list-card .table {
    --bs-table-bg: transparent;
}

.admin-list-card .table thead th {
    padding: .95rem 1rem;
    border-bottom-color: #E2E8F0;
    color: #475569;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
    background: #F8FAFC;
}

.admin-list-card .table tbody td {
    padding: 1rem;
    border-bottom-color: #EEF2F7;
    vertical-align: middle;
}

.admin-list-card .table tbody tr {
    transition: background .16s ease;
}

.admin-list-card .table tbody tr:hover {
    background: #F8FBFF;
}

.admin-list-card .badge {
    border-radius: 999px;
    padding: .45rem .7rem;
    font-weight: 700;
}

.admin-list-card code {
    color: #2563EB;
    background: #EFF6FF;
    border-radius: 8px;
    padding: .25rem .45rem;
}

.admin-filter-card .form-control,
.admin-filter-card .form-select {
    min-height: 44px;
    border-radius: 11px;
    border-color: #CBD5E1;
    background: #F8FAFC;
}

.admin-filter-card .form-control:focus,
.admin-filter-card .form-select:focus {
    background: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .10);
}

.admin-detail-card {
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 20px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .07) !important;
}

.admin-detail-card .card-header {
    border: 0;
    background: linear-gradient(90deg, #F8FAFC, #EFF6FF);
    padding: 1rem 1.25rem;
    font-weight: 800;
}

.admin-data-pair {
    padding: .8rem 0;
    border-bottom: 1px solid #EEF2F7;
}

.admin-data-pair:last-child {
    border-bottom: 0;
}

.admin-data-pair .label {
    display: block;
    margin-bottom: .15rem;
    color: #64748B;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.admin-data-pair .value {
    color: #1E293B;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .admin-dashboard-card,
    .admin-list-card,
    .admin-filter-card,
    .admin-detail-card {
        border-radius: 16px;
    }

    .admin-list-card .table thead {
        display: none;
    }

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

    .admin-list-card .table tbody tr {
        padding: .8rem 1rem;
        border-bottom: 1px solid #E2E8F0;
    }

    .admin-list-card .table tbody td {
        padding: .35rem 0;
        border: 0;
    }

    .admin-list-card .table tbody td.text-end {
        text-align: left !important;
        padding-top: .75rem;
    }
}


/* =========================================================
   Home - Contacto, mapa y footer institucional
   ========================================================= */

.home-contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, .10), transparent 27%),
        radial-gradient(circle at 90% 82%, rgba(16, 185, 129, .08), transparent 26%),
        linear-gradient(180deg, #F8FAFC 0%, #EEF4FA 100%);
}

.home-contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.home-contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-info-card,
.contact-map-card {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, .20);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .09);
}

.contact-info-card {
    padding: 1.6rem;
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #E2E8F0;
}

.contact-info-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 16px;
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-success));
    box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
}

.contact-info-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.2rem;
}

.contact-info-item {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: .9rem;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .18);
    background: #FFFFFF;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 12px;
    color: var(--mst-primary);
    background: var(--mst-primary-soft);
    font-weight: 900;
}

.contact-info-item span {
    display: block;
    margin-bottom: .15rem;
    color: #64748B;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.contact-info-item strong,
.contact-info-item small {
    display: block;
    color: #1E293B;
}

.contact-info-item strong {
    font-size: .98rem;
}

.contact-info-item small {
    margin-top: .15rem;
    color: #64748B;
}

.contact-info-item a {
    color: inherit;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--mst-primary);
}

.contact-map-card {
    min-height: 430px;
    overflow: hidden;
    padding: .55rem;
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    min-height: 418px;
    height: 100%;
    border: 0;
    border-radius: 18px;
    filter: saturate(.92) contrast(.98);
}

.site-footer {
    color: #CBD5E1;
    background: #0F172A;
}

.site-footer-main {
    padding: 3.2rem 0 2.7rem;
    background:
        radial-gradient(circle at 85% 0%, rgba(37, 99, 235, .18), transparent 30%),
        linear-gradient(135deg, #111827, #0F172A 62%, #111827);
}

.site-footer-brand {
    display: inline-block;
    margin-bottom: .65rem;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.site-footer-brand span {
    color: #60A5FA;
}

.site-footer-tagline {
    color: #E2E8F0;
    font-weight: 700;
}

.site-footer-copy {
    max-width: 520px;
    color: #94A3B8;
    line-height: 1.7;
}

.site-footer-title {
    margin-bottom: .85rem;
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer-contact {
    display: grid;
    gap: .4rem;
    color: #94A3B8;
}

.site-footer-contact a {
    color: #CBD5E1;
    text-decoration: none;
}

.site-footer-contact a:hover {
    color: #60A5FA;
}

.site-footer-social {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

.site-social-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 900;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.site-social-button:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    background: var(--mst-primary);
    border-color: var(--mst-primary);
}

.site-social-whatsapp {
    background: rgba(16, 185, 129, .18);
    border-color: rgba(16, 185, 129, .28);
}

.site-social-whatsapp:hover {
    background: var(--mst-success);
    border-color: var(--mst-success);
}

.site-footer-social-note {
    display: block;
    max-width: 330px;
    margin-top: .85rem;
    color: #64748B;
    line-height: 1.5;
}

.site-footer-bottom {
    padding: 1rem 0;
    color: #64748B;
    font-size: .82rem;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.site-footer-bottom strong {
    color: #CBD5E1;
}

@media (max-width: 991.98px) {
    .contact-map-card {
        min-height: 360px;
    }

    .contact-map-card iframe {
        min-height: 348px;
    }
}

@media (max-width: 575.98px) {
    .contact-info-card,
    .contact-map-card {
        border-radius: 18px;
    }

    .contact-info-card {
        padding: 1.15rem;
    }

    .contact-map-card {
        min-height: 320px;
        padding: .4rem;
    }

    .contact-map-card iframe {
        min-height: 308px;
        border-radius: 14px;
    }

    .site-footer-main {
        padding: 2.5rem 0 2.2rem;
    }
}


/* =========================================================
   Noticias - portada editorial, artículo y editor
   ========================================================= */

.home-news-section {
    background: #FFFFFF;
}

.home-news-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.home-news-all {
    color: var(--mst-primary);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-news-all span {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-left: .4rem;
    border-radius: 50%;
    color: #FFFFFF;
    background: var(--mst-primary);
}

.home-news-grid {
    display: grid;
    grid-template-columns: 2.05fr 1fr 1fr;
    gap: 1rem;
    min-height: 470px;
}

.home-news-feature {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    border-radius: 4px;
    color: #FFFFFF;
    text-decoration: none;
    background: #0F172A;
}

.home-news-feature > img,
.home-news-feature > .news-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-news-feature:hover > img {
    transform: scale(1.035);
}

.home-news-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, .86) 0%, rgba(2, 6, 23, .30) 55%, rgba(2, 6, 23, .10) 100%);
}

.home-news-feature-main {
    min-height: 470px;
}

.home-news-feature-secondary {
    min-height: 470px;
}

.home-news-side-stack {
    display: grid;
    gap: 1rem;
    grid-template-rows: 1fr 1fr;
}

.home-news-feature-side {
    min-height: 0;
}

.home-news-overlay {
    position: absolute;
    z-index: 2;
    inset: auto 0 0 0;
    padding: 1.5rem;
}

.home-news-feature-main .home-news-overlay {
    padding: 1.7rem;
}

.home-news-label,
.home-news-read {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.home-news-label {
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.home-news-read {
    margin-bottom: .45rem;
    color: #FFFFFF;
}

.home-news-overlay h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.08;
}

.home-news-feature-main h3 {
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    max-width: 90%;
}

.home-news-feature-side h3 {
    font-size: 1rem;
}

.home-news-compact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 1.5rem;
}

.home-news-compact {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: .9rem;
    align-items: center;
    color: #0F172A;
    text-decoration: none;
}

.home-news-compact-image {
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 50%;
    background: #E2E8F0;
}

.home-news-compact-image img,
.home-news-compact-image .news-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-compact .home-news-read {
    margin-bottom: .25rem;
    color: #475569;
    font-size: .63rem;
}

.home-news-compact strong {
    display: block;
    font-size: .9rem;
    line-height: 1.18;
}

.home-news-compact span:last-child {
    display: block;
    margin-top: .35rem;
    color: #64748B;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.news-image-placeholder {
    display: grid;
    place-items: center;
    color: #CBD5E1;
    background:
        radial-gradient(circle at 25% 20%, rgba(37,99,235,.55), transparent 38%),
        linear-gradient(135deg, #0F172A, #1E293B);
    font-weight: 900;
}

.news-index-page {
    min-height: 70vh;
    background:
        radial-gradient(circle at 8% 4%, rgba(37,99,235,.08), transparent 26%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.news-list-card {
    display: block;
    height: 100%;
    overflow: hidden;
    color: #1E293B;
    text-decoration: none;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 14px 36px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-list-card:hover {
    color: #1E293B;
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15,23,42,.10);
}

.news-list-card-image {
    height: 235px;
    overflow: hidden;
    background: #E2E8F0;
}

.news-list-card-image img,
.news-list-card-image .news-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.news-list-card:hover img {
    transform: scale(1.035);
}

.news-list-card-body {
    padding: 1.35rem;
}

.news-kicker {
    color: var(--mst-primary);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.news-list-card h2 {
    margin: .65rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.18;
}

.news-list-card p {
    color: #64748B;
    font-size: .92rem;
    line-height: 1.55;
}

.news-list-card-body > span {
    color: var(--mst-primary);
    font-weight: 800;
    font-size: .86rem;
}

.news-article-hero {
    background:
        radial-gradient(circle at 15% 10%, rgba(37,99,235,.09), transparent 28%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.news-article-header,
.news-cover-image,
.news-article-content {
    max-width: 920px;
}

.news-back-link {
    color: #64748B;
    font-weight: 700;
    text-decoration: none;
}

.news-article-header h1 {
    max-width: 900px;
    margin: .8rem 0 1rem;
    color: #0F172A;
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .98;
}

.news-article-summary {
    max-width: 780px;
    color: #64748B;
    font-size: 1.2rem;
    line-height: 1.6;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    color: #64748B;
    font-size: .86rem;
    font-weight: 700;
}

.news-cover-image {
    margin-top: -1rem;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(15,23,42,.12);
}

.news-cover-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.news-article-content {
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.9;
}

.news-article-content > p {
    margin: 0 0 1.75rem;
}

.news-article-figure {
    margin: 2.4rem -5vw;
}

.news-article-figure img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15,23,42,.09);
}

.news-article-figure figcaption {
    margin-top: .7rem;
    padding: 0 .2rem;
    color: #64748B;
    font-size: .78rem;
    line-height: 1.5;
}

.news-video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 2.4rem 0;
    overflow: hidden;
    border-radius: 20px;
    background: #020617;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
}

.news-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-channel-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.4rem;
    border-radius: 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.news-channel-card strong,
.news-channel-card span {
    display: block;
}

.news-channel-card span {
    margin-top: .2rem;
    color: #64748B;
    font-size: .86rem;
}

.admin-news-editor-page {
    min-height: calc(100vh - 72px);
    background:
        radial-gradient(circle at 6% 5%, rgba(37,99,235,.10), transparent 25%),
        radial-gradient(circle at 94% 12%, rgba(16,185,129,.08), transparent 22%),
        linear-gradient(180deg, #F1F5F9, #F8FAFC 45%, #EEF4FA);
}

.admin-news-editor-card {
    border-radius: 22px;
    border: 1px solid rgba(148,163,184,.20);
    background: rgba(255,255,255,.95);
    box-shadow: 0 20px 50px rgba(15,23,42,.075);
}

.news-publish-panel {
    position: sticky;
    top: 96px;
}

.news-block-toolbar {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
    border: 1px solid #DBEAFE;
}

.news-editor-block {
    position: relative;
    padding: 1.15rem;
    margin-bottom: 1rem;
    border-radius: 17px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    box-shadow: 0 7px 20px rgba(15,23,42,.035);
}

.news-editor-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    margin-bottom: .9rem;
}

.news-editor-block-head > strong {
    color: #1E293B;
}

.news-editor-empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    text-align: center;
    padding: 2rem;
    border: 2px dashed #CBD5E1;
    border-radius: 17px;
    color: #64748B;
}

.news-editor-empty strong,
.news-editor-empty span {
    display: block;
}

.news-editor-empty strong {
    color: #334155;
    margin-bottom: .25rem;
}

.news-cover-preview,
.news-inline-preview {
    overflow: hidden;
    border-radius: 16px;
    background: #E2E8F0;
    border: 1px solid #CBD5E1;
}

.news-cover-preview img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.news-inline-preview {
    max-width: 420px;
}

.news-inline-preview img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.news-editor-tip {
    padding: .9rem;
    border-radius: 14px;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.news-editor-tip strong,
.news-editor-tip span {
    display: block;
}

.news-editor-tip span {
    margin-top: .2rem;
    font-size: .8rem;
    line-height: 1.45;
}

.admin-news-thumb {
    width: 58px;
    height: 46px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 10px;
    background: #E2E8F0;
}

.admin-news-thumb-empty {
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-success));
}

@media (max-width: 1199.98px) {
    .home-news-grid {
        grid-template-columns: 1.4fr 1fr;
    }

    .home-news-side-stack {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .home-news-feature-side {
        min-height: 250px;
    }

    .news-publish-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .home-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-news-grid {
        display: block;
    }

    .home-news-feature,
    .home-news-feature-main,
    .home-news-feature-secondary,
    .home-news-feature-side {
        min-height: 330px;
        margin-bottom: 1rem;
    }

    .home-news-side-stack {
        display: block;
    }

    .home-news-compact-row {
        grid-template-columns: 1fr;
    }

    .news-article-figure {
        margin-left: 0;
        margin-right: 0;
    }

    .news-channel-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-editor-block-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


.news-rich-toolbar {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    padding: .55rem;
    margin-bottom: .5rem;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
    box-shadow: 0 4px 14px rgba(15,23,42,.035);
}

.news-rich-btn {
    min-width: 35px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0 .55rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #334155;
    background: transparent;
    font-size: .8rem;
    font-weight: 800;
}

.news-rich-btn:hover,
.news-rich-btn:focus {
    color: var(--mst-primary);
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.news-rich-separator {
    width: 1px;
    height: 24px;
    margin: 0 .2rem;
    background: #E2E8F0;
}

.news-rich-editor {
    min-height: 190px;
    height: auto;
    padding: 1rem;
    line-height: 1.7;
    overflow-y: auto;
}

.news-rich-editor:empty::before {
    content: attr(data-placeholder);
    color: #94A3B8;
    pointer-events: none;
}

.news-rich-editor h2,
.news-rich-editor h3 {
    color: #1E293B;
    font-weight: 800;
}

.news-rich-editor blockquote {
    margin: 1rem 0;
    padding: .8rem 1rem;
    border-left: 4px solid var(--mst-primary);
    border-radius: 0 10px 10px 0;
    color: #475569;
    background: #EFF6FF;
}

.news-rich-content {
    margin-bottom: 1.75rem;
}

.news-rich-content p {
    margin: 0 0 1.4rem;
}

.news-rich-content h2 {
    margin: 2.4rem 0 1rem;
    color: #0F172A;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 850;
    line-height: 1.15;
}

.news-rich-content h3 {
    margin: 2rem 0 .8rem;
    color: #1E293B;
    font-size: 1.35rem;
    font-weight: 800;
}

.news-rich-content blockquote {
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 5px solid var(--mst-primary);
    border-radius: 0 14px 14px 0;
    color: #334155;
    background: linear-gradient(90deg, #EFF6FF, #F8FAFC);
    font-style: italic;
}

.news-rich-content ul,
.news-rich-content ol {
    margin: 1.2rem 0 1.6rem;
    padding-left: 1.6rem;
}

.news-rich-content li {
    margin-bottom: .5rem;
}


/* =========================================================
   Noticia individual - compartir a la derecha del texto
   ========================================================= */

.news-article-reading-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 920px) 58px;
    justify-content: center;
    align-items: start;
    gap: 1.5rem;
    max-width: 1010px;
}

.news-article-reading-layout .news-article-content {
    grid-column: 1;
    width: 100%;
    max-width: 920px;
    margin: 0;
}

.news-share-rail {
    grid-column: 2;
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: .75rem .45rem;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
}

.news-share-label {
    margin-bottom: .15rem;
    color: #64748B;
    font-size: .58rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.news-share-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    color: #475569;
    background: #FFFFFF;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.news-share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.news-share-btn:hover,
.news-share-btn:focus {
    color: #FFFFFF;
    border-color: var(--mst-primary);
    background: var(--mst-primary);
    transform: translateY(-2px);
}

.news-share-whatsapp:hover,
.news-share-whatsapp:focus {
    border-color: var(--mst-success);
    background: var(--mst-success);
}

@media (max-width: 991.98px) {
    .home-news-rail {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .home-news-rail-label {
        grid-column: 1 / -1;
        min-width: 0;
        padding: 0 0 .55rem;
        border-right: 0;
        border-bottom: 1px solid #E2E8F0;
    }

    .home-news-rail-item {
        width: 320px;
    }

    .news-article-reading-layout {
        display: flex;
        flex-direction: column;
        max-width: 920px;
    }

    .news-share-rail {
        position: static;
        order: -1;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: .6rem;
        overflow-x: auto;
    }

    .news-share-label {
        margin: 0 .35rem 0 0;
        writing-mode: initial;
        transform: none;
        font-size: .66rem;
    }
}

@media (max-width: 575.98px) {
    .home-news-rail-section {
        padding: .6rem 0;
    }

    .home-news-rail {
        display: block;
        min-height: 0;
        padding: .65rem;
        border-radius: 14px;
    }

    .home-news-rail-label {
        margin-bottom: .5rem;
    }

    .home-news-rail-item {
        min-width: 260px;
        width: 82vw;
    }

    .home-news-rail-actions {
        justify-content: flex-end;
        margin-top: .55rem;
        padding: .55rem 0 0;
        border-left: 0;
        border-top: 1px solid #E2E8F0;
    }
}


/* Noticias destacadas ubicadas inmediatamente debajo del menú principal */
.home-news-section {
    position: relative;
    margin-top: 0;
    border-bottom: 1px solid rgba(226, 232, 240, .78);
    background:
        radial-gradient(circle at 8% 8%, rgba(37,99,235,.06), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.home-news-section + .hero-section {
    border-top: 0;
}


/* v0.19.4 - Redes sociales en cabecera de la noticia */
.news-article-header {
    position: relative;
}

.news-article-header-tools {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.news-share-rail.news-share-rail-header {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .45rem;
    width: auto;
    padding: .45rem;
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.news-share-rail-header .news-share-label {
    margin: 0 .35rem 0 .1rem;
    writing-mode: initial;
    transform: none;
    font-size: .62rem;
}

.news-share-rail-header .news-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.news-share-rail-header .news-share-btn svg {
    width: 16px;
    height: 16px;
}

.news-article-header {
    padding-top: .15rem;
}

@media (max-width: 767.98px) {
    .news-article-header-tools {
        position: static;
        display: flex;
        justify-content: flex-start;
        margin: .75rem 0 1rem;
    }

    .news-share-rail.news-share-rail-header {
        max-width: 100%;
        overflow-x: auto;
    }
}


/* v0.19.5 - Corrección de geometría de la noticia */
.news-article-header {
    position: relative;
    max-width: 1120px;
}

.news-article-copy {
    width: 100%;
    max-width: 920px;
}

.news-article-header-tools {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
}

.news-article-header-tools + .news-article-copy {
    padding-top: .15rem;
}

.news-article-content {
    width: 100%;
    max-width: 920px;
}

@media (min-width: 992px) {
    .news-article-header-tools {
        transform: translateX(12px);
    }
}

@media (max-width: 1199.98px) {
    .news-article-header {
        max-width: 920px;
    }

    .news-article-header-tools {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .news-article-header-tools {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .news-article-copy,
    .news-article-content {
        max-width: 100%;
    }
}


/* =========================================================
   Contacto - formulario seguro
   ========================================================= */

.contact-page {
    min-height: 72vh;
    background:
        radial-gradient(circle at 8% 8%, rgba(37,99,235,.09), transparent 28%),
        radial-gradient(circle at 92% 16%, rgba(16,185,129,.08), transparent 24%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC 48%, #EEF4FA);
}

.contact-page-heading {
    max-width: 760px;
}

.contact-form-card,
.contact-company-card {
    padding: 1.5rem;
    border: 1px solid rgba(148,163,184,.20);
    border-radius: 24px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 22px 56px rgba(15,23,42,.08);
}

.contact-form-card-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.contact-form-card-header span {
    display: block;
    color: var(--mst-primary);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.contact-form-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 15px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-success));
    box-shadow: 0 10px 24px rgba(37,99,235,.17);
}

.contact-security-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #BFDBFE;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
}

.contact-security-kicker,
.contact-security-box strong,
.contact-security-box small {
    display: block;
}

.contact-security-kicker {
    margin-bottom: .15rem;
    color: var(--mst-primary);
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.contact-security-box strong {
    color: #1E293B;
    font-size: 1rem;
}

.contact-security-box small {
    margin-top: .18rem;
    color: #64748B;
}

.contact-captcha-input {
    width: 110px;
    min-width: 110px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
}

.contact-protection-note {
    color: #64748B;
    font-size: .78rem;
    font-weight: 650;
}

.contact-company-list {
    display: grid;
    gap: .9rem;
}

.contact-company-list > div {
    padding: .95rem;
    border-radius: 15px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
}

.contact-company-list span,
.contact-company-list strong,
.contact-company-list small {
    display: block;
}

.contact-company-list span {
    margin-bottom: .2rem;
    color: #64748B;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-company-list strong {
    color: #1E293B;
}

.contact-company-list small {
    margin-top: .15rem;
    color: #64748B;
}

.contact-company-list a {
    color: inherit;
    text-decoration: none;
}

.contact-company-list a:hover {
    color: var(--mst-primary);
}

.contact-page-map {
    min-height: 290px;
    overflow: hidden;
    padding: .4rem;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.contact-page-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 14px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 575.98px) {
    .contact-form-card,
    .contact-company-card {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .contact-security-box {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-captcha-input {
        width: 100%;
    }
}


.news-section-empty-alert {
    padding: 1rem;
    border: 1px solid #FCD34D;
    border-radius: 14px;
    background: #FFFBEB;
    color: #92400E;
}

.news-section-empty-alert strong,
.news-section-empty-alert span {
    display: block;
}

.news-section-empty-alert span {
    margin-top: .25rem;
    font-size: .82rem;
    color: #A16207;
}


/* =========================================================
   Noticias - filtros por sección
   ========================================================= */

.news-section-filter {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    padding-bottom: .2rem;
}

.news-section-filter-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .9rem;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    color: #475569;
    background: #FFFFFF;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.news-section-filter-link:hover {
    color: var(--mst-primary);
    border-color: #BFDBFE;
    background: #EFF6FF;
    transform: translateY(-1px);
}

.news-section-filter-link.active {
    color: #FFFFFF;
    border-color: var(--mst-primary);
    background: var(--mst-primary);
    box-shadow: 0 8px 18px rgba(37,99,235,.16);
}

@media (max-width: 575.98px) {
    .news-section-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .55rem;
        scrollbar-width: none;
    }

    .news-section-filter::-webkit-scrollbar {
        display: none;
    }

    .news-section-filter-link {
        flex: 0 0 auto;
    }
}


/* =========================================================
   Noticias - paginación y relacionadas
   ========================================================= */

.news-pagination,
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.news-pagination-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .9rem;
    border: 1px solid #CBD5E1;
    border-radius: 11px;
    color: #334155;
    background: #FFFFFF;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.news-pagination-link:hover {
    color: var(--mst-primary);
    border-color: #93C5FD;
    background: #EFF6FF;
}

.news-pagination-current,
.admin-pagination-status {
    color: #64748B;
    font-size: .78rem;
    font-weight: 750;
}

.news-related-section {
    background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.news-related-inner {
    max-width: 1080px;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.news-related-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    color: #1E293B;
    background: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.news-related-card:hover {
    color: #1E293B;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15,23,42,.09);
}

.news-related-image {
    height: 160px;
    overflow: hidden;
    background: #E2E8F0;
}

.news-related-image img,
.news-related-image .news-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-related-body {
    padding: 1rem;
}

.news-related-body span {
    display: block;
    margin-bottom: .35rem;
    color: var(--mst-primary);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.news-related-body strong {
    display: block;
    font-size: .96rem;
    line-height: 1.25;
}

.admin-pagination {
    justify-content: space-between;
    padding: 1rem 0 .2rem;
}

@media (max-width: 575.98px) {
    .admin-pagination {
        justify-content: center;
    }

    .admin-pagination-status {
        order: -1;
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
   Pedidos - despacho y seguimiento
   ========================================================= */

.shipping-admin-address {
    display: grid;
    gap: .2rem;
    padding: .9rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.shipping-admin-address strong {
    color: #1E293B;
}

.shipping-admin-address span {
    color: #64748B;
    font-size: .82rem;
    line-height: 1.45;
}

.order-shipping-progress {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
    border: 1px solid #DBEAFE;
}

.order-shipping-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F59E0B;
    box-shadow: 0 0 0 5px rgba(245,158,11,.10);
}

.order-shipping-dot-preparando {
    background: #0EA5E9;
    box-shadow: 0 0 0 5px rgba(14,165,233,.10);
}

.order-shipping-dot-enviado {
    background: var(--mst-primary);
    box-shadow: 0 0 0 5px rgba(37,99,235,.10);
}

.order-shipping-dot-entregado {
    background: var(--mst-success);
    box-shadow: 0 0 0 5px rgba(16,185,129,.10);
}

.order-shipping-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .3rem;
}

.order-shipping-step {
    position: relative;
    text-align: center;
    color: #94A3B8;
}

.order-shipping-step::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #CBD5E1;
}

.order-shipping-step:first-child::before {
    display: none;
}

.order-shipping-step > span {
    position: relative;
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto .35rem;
    border-radius: 50%;
    background: #CBD5E1;
}

.order-shipping-step small {
    font-size: .66rem;
    font-weight: 750;
}

.order-shipping-step.active {
    color: #334155;
}

.order-shipping-step.active::before,
.order-shipping-step.active > span {
    background: var(--mst-primary);
}

.order-tracking-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: .8rem;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

.order-tracking-box span {
    color: #64748B;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.order-tracking-box strong {
    margin-top: .15rem;
    color: #1E293B;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .order-shipping-step small {
        font-size: .58rem;
    }
}


/* =========================================================
   Portal cliente - Mis pedidos
   ========================================================= */

.customer-orders-page {
    min-height: 70vh;
    background:
        radial-gradient(circle at 8% 5%, rgba(37,99,235,.08), transparent 27%),
        linear-gradient(180deg, #F8FAFC, #EEF4FA);
}

.customer-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.customer-orders-grid {
    display: grid;
    gap: 1.2rem;
}

.customer-order-card {
    padding: 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(148,163,184,.20);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(15,23,42,.07);
}

.customer-order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.customer-order-number {
    display: block;
    color: #0F172A;
    font-size: 1.05rem;
    font-weight: 850;
}

.customer-order-card-top small {
    display: block;
    margin-top: .2rem;
    color: #64748B;
}

.customer-order-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 1rem;
    align-items: stretch;
    padding: 1.1rem 0;
}

.customer-order-data,
.customer-order-total {
    padding: .85rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
}

.customer-order-data span,
.customer-order-data strong,
.customer-order-total span,
.customer-order-total strong {
    display: block;
}

.customer-order-data span,
.customer-order-total span {
    color: #64748B;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.customer-order-data strong {
    margin-top: .25rem;
    color: #334155;
    font-size: .86rem;
}

.customer-order-total {
    min-width: 150px;
    background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
}

.customer-order-total strong {
    margin-top: .2rem;
    color: #0F172A;
    font-size: 1.2rem;
}

.customer-order-shipping {
    margin-bottom: 1rem;
    padding: .95rem;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.customer-order-shipping-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
    color: #475569;
    font-size: .76rem;
}

.customer-order-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.customer-order-steps > div {
    position: relative;
    text-align: center;
    color: #94A3B8;
}

.customer-order-steps > div::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #CBD5E1;
}

.customer-order-steps > div:first-child::before {
    display: none;
}

.customer-order-steps span {
    position: relative;
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto .3rem;
    border-radius: 50%;
    background: #CBD5E1;
}

.customer-order-steps small {
    font-size: .64rem;
    font-weight: 750;
}

.customer-order-steps > div.active {
    color: #334155;
}

.customer-order-steps > div.active::before,
.customer-order-steps > div.active span {
    background: var(--mst-primary);
}

.customer-order-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    padding-top: .2rem;
}

.customer-orders-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 42px rgba(15,23,42,.06);
}


/* =========================================================
   Administración - guía Correo Argentino
   ========================================================= */

.shipping-guide-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 22px;
    color: #E2E8F0;
    background:
        radial-gradient(circle at 90% 10%, rgba(16,185,129,.20), transparent 35%),
        linear-gradient(135deg, #0F172A, #1E3A8A);
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
}

.shipping-guide-hero h2 {
    margin: .25rem 0 .5rem;
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 850;
}

.shipping-guide-hero p {
    max-width: 720px;
    margin: 0;
    color: #CBD5E1;
    line-height: 1.6;
}

.shipping-guide-kicker {
    color: #93C5FD;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.shipping-guide-step {
    padding: 1.1rem;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
}

.shipping-guide-step > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: .8rem;
    border-radius: 12px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--mst-primary), var(--mst-success));
    font-size: .72rem;
    font-weight: 850;
}

.shipping-guide-step h3 {
    color: #1E293B;
    font-size: 1rem;
    font-weight: 800;
}

.shipping-guide-step p {
    margin-bottom: 0;
    color: #64748B;
    font-size: .82rem;
    line-height: 1.5;
}

.shipping-store-flow {
    display: grid;
    gap: .7rem;
}

.shipping-store-flow > div {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: .65rem;
    align-items: center;
    padding: .75rem;
    border-radius: 12px;
    background: #F8FAFC;
}

.shipping-store-flow strong {
    color: var(--mst-primary);
}

.shipping-store-flow span {
    color: #475569;
    font-size: .86rem;
}

.shipping-guide-note {
    padding: .9rem;
    border-radius: 14px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
}

.shipping-guide-note strong,
.shipping-guide-note span {
    display: block;
}

.shipping-guide-note strong {
    color: #1D4ED8;
}

.shipping-guide-note span {
    margin-top: .25rem;
    color: #475569;
    font-size: .82rem;
    line-height: 1.5;
}

.shipping-checklist {
    display: grid;
    gap: .7rem;
}

.shipping-checklist label {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem;
    border-radius: 12px;
    background: #F8FAFC;
    color: #475569;
    font-size: .84rem;
    cursor: pointer;
}

.shipping-checklist input {
    width: 17px;
    height: 17px;
    accent-color: var(--mst-primary);
}

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

    .shipping-guide-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .customer-order-summary {
        grid-template-columns: 1fr;
    }

    .customer-order-total {
        min-width: 0;
    }

    .customer-order-actions .btn {
        width: 100%;
    }

    .customer-order-steps small {
        font-size: .56rem;
    }
}


.nav-link-orders {
    position: relative;
    font-weight: 750;
}

.nav-link-orders::after {
    content: "";
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mst-primary), var(--mst-success));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.nav-link-orders:hover::after,
.nav-link-orders:focus::after {
    transform: scaleX(1);
}


/* =========================================================
   Catálogo unificado - Productos
   ========================================================= */

.catalog-modern-page {
    min-height: 70vh;
    background:
        radial-gradient(circle at 8% 6%, rgba(37,99,235,.07), transparent 26%),
        linear-gradient(180deg, #F8FAFC, #EEF4FA);
}

.catalog-search-form {
    min-width: min(100%, 430px);
}

.catalog-search-box {
    display: flex;
    gap: .55rem;
    padding: .45rem;
    border-radius: 15px;
    background: rgba(255,255,255,.94);
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

.catalog-search-box .form-control {
    min-width: 240px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-search-box .btn {
    border-radius: 11px;
    padding-inline: 1.1rem;
}

.catalog-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: .8rem;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(226,232,240,.90);
    box-shadow: 0 10px 28px rgba(15,23,42,.045);
}

.catalog-category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .5rem .9rem;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    color: #475569;
    background: #FFFFFF;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.catalog-category-chip:hover {
    color: var(--mst-primary);
    border-color: #BFDBFE;
    background: #EFF6FF;
    transform: translateY(-1px);
}

.catalog-category-chip.active {
    color: #FFFFFF;
    border-color: var(--mst-primary);
    background: linear-gradient(135deg, var(--mst-primary), #3B82F6);
    box-shadow: 0 8px 20px rgba(37,99,235,.16);
}

@media (max-width: 767.98px) {
    .catalog-search-form {
        width: 100%;
    }

    .catalog-search-box .form-control {
        min-width: 0;
    }

    .catalog-category-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .catalog-category-chips::-webkit-scrollbar {
        display: none;
    }

    .catalog-category-chip {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .catalog-search-box {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-search-box .btn {
        width: 100%;
    }
}


/* =========================================================
   Reserva temporal de stock
   ========================================================= */

.order-reservation-expiry,
.admin-order-reservation {
    display: grid;
    gap: .18rem;
    padding: .85rem;
    border-radius: 14px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
}

.order-reservation-expiry span,
.admin-order-reservation span {
    color: #9A3412;
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.order-reservation-expiry strong,
.admin-order-reservation strong {
    color: #7C2D12;
}

.order-reservation-expiry small,
.admin-order-reservation small {
    color: #9A3412;
    line-height: 1.45;
}

.customer-order-reservation {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.customer-order-reservation span,
.customer-order-reservation strong {
    color: #9A3412;
}


/* =========================================================
   Integración MiCorreo
   ========================================================= */

.correo-import-panel {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #F8FAFC, #EFF6FF);
    border: 1px solid #BFDBFE;
}

.correo-import-kicker {
    color: #2563EB;
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em;
}


/* =========================================================
   Auditoría de notificaciones de pedidos
   ========================================================= */

.notification-audit-list {
    display: grid;
    gap: .7rem;
}

.notification-audit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #F8FAFC;
}

.notification-audit-item > div {
    display: grid;
    gap: .15rem;
}

@media (max-width: 575.98px) {
    .notification-audit-item {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   Paq.ar API 2.0
   ========================================================= */

.paqar-data,
.paqar-tracking-state {
    display: grid;
    gap: .18rem;
    padding: .8rem .9rem;
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    background: #EFF6FF;
}

.paqar-data span,
.paqar-tracking-state span {
    color: #1D4ED8;
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.paqar-data strong,
.paqar-tracking-state strong {
    overflow-wrap: anywhere;
    color: #1E3A8A;
}

.paqar-data small,
.paqar-tracking-state small {
    color: #64748B;
}

.paqar-config-code {
    padding: 1rem;
    border-radius: 14px;
    background: #0F172A;
    overflow-x: auto;
}

.paqar-config-code code {
    color: #E2E8F0;
    white-space: nowrap;
}


/* =========================================================
   Checkout Paq.ar - domicilio / sucursal
   ========================================================= */

.checkout-delivery-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    padding: .35rem;
    border-radius: 14px;
    background: #F1F5F9;
}

.checkout-delivery-tab {
    border: 0;
    border-radius: 11px;
    padding: .75rem 1rem;
    background: transparent;
    color: #64748B;
    font-weight: 800;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.checkout-delivery-tab.active {
    background: #FFFFFF;
    color: #2563EB;
    box-shadow: 0 5px 16px rgba(15,23,42,.08);
}

.agency-picker-list {
    display: grid;
    gap: .65rem;
    max-height: 430px;
    overflow-y: auto;
    padding-right: .2rem;
}

.agency-picker-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .9rem;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.agency-picker-item:has(input:checked) {
    border-color: #93C5FD;
    background: #EFF6FF;
}

.agency-picker-item input {
    margin-top: .25rem;
}

.agency-picker-content {
    display: grid;
    gap: .18rem;
    min-width: 0;
}

.agency-picker-content span,
.agency-picker-content small {
    color: #64748B;
    font-size: .8rem;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    .checkout-delivery-tabs {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Historial de tracking Paq.ar
   ========================================================= */

.paqar-event-timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.paqar-event-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: .8rem;
    padding-bottom: 1rem;
}

.paqar-event-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 15px;
    bottom: -1px;
    width: 2px;
    background: #E2E8F0;
}

.paqar-event-dot {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-top: .18rem;
    border: 4px solid #DBEAFE;
    border-radius: 50%;
    background: #60A5FA;
}

.paqar-event-item.is-latest .paqar-event-dot {
    border-color: #BFDBFE;
    background: #2563EB;
}

.paqar-event-card {
    display: grid;
    gap: .18rem;
    padding: .8rem .9rem;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #FFFFFF;
}

.customer-tracking-card {
    overflow: hidden;
}

.customer-paqar-timeline .paqar-event-card {
    background: #F8FAFC;
}

@media (max-width: 575.98px) {
    .paqar-event-item {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: .55rem;
    }
}


/* =========================================================
   Panel operativo de ventas y logística
   ========================================================= */
.admin-operation-metrics,.admin-ops-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.admin-operation-metric,.admin-ops-stat{display:grid;gap:.15rem;padding:1rem;border:1px solid #E2E8F0;border-radius:16px;background:rgba(255,255,255,.92);color:#1E293B;text-decoration:none;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.admin-operation-metric:hover,.admin-ops-stat:hover{border-color:#BFDBFE;transform:translateY(-1px);box-shadow:0 10px 25px rgba(15,23,42,.06)}.admin-operation-metric.active{border-color:#93C5FD;background:#EFF6FF}.admin-operation-metric span,.admin-ops-stat span{color:#64748B;font-size:.73rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.admin-operation-metric strong,.admin-ops-stat strong{font-size:1.65rem;line-height:1.1}.admin-operation-metric small,.admin-ops-stat small{color:#64748B}.admin-ops-dashboard{padding:1rem;border:1px solid #DBEAFE;border-radius:20px;background:linear-gradient(145deg,rgba(239,246,255,.95),rgba(248,250,252,.95))}.admin-ops-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.admin-ops-stat.urgent{border-color:#FED7AA;background:#FFF7ED}.admin-ops-money{font-size:1.2rem!important}.admin-order-needs-action>td{background:rgba(255,247,237,.55)}@media(max-width:991.98px){.admin-operation-metrics,.admin-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.admin-operation-metrics,.admin-ops-grid{grid-template-columns:1fr}.admin-ops-heading{align-items:flex-start;flex-direction:column}}


/* =========================================================
   Centro de alertas administrativas
   ========================================================= */

.admin-alert-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15,23,42,.045);
}

.admin-alert-total {
    display: grid;
    place-items: center;
    min-width: 48px;
    height: 48px;
    padding: 0 .65rem;
    border-radius: 14px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 1.25rem;
    font-weight: 900;
}

.admin-alert-total.is-danger {
    background: #FEF2F2;
    color: #DC2626;
}

.admin-alert-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.admin-alert-summary-card {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    background: #FFFFFF;
}

.admin-alert-summary-card span {
    color: #64748B;
    font-size: .75rem;
    font-weight: 750;
}

.admin-alert-summary-card strong {
    font-size: 1.5rem;
}

.admin-alert-list {
    display: grid;
    gap: .75rem;
}

.admin-alert-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    background: #FFFFFF;
}

.admin-alert-indicator {
    width: 8px;
    height: 34px;
    border-radius: 999px;
    background: #94A3B8;
}

.alert-tone-danger .admin-alert-indicator { background: #DC2626; }
.alert-tone-warning .admin-alert-indicator { background: #F59E0B; }
.alert-tone-info .admin-alert-indicator { background: #2563EB; }

.admin-alert-copy {
    min-width: 0;
}

.admin-alert-copy p {
    margin: .18rem 0;
    color: #64748B;
    font-size: .84rem;
}

.admin-alert-copy small {
    color: #94A3B8;
}

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

@media (max-width: 575.98px) {
    .admin-alert-overview { align-items: flex-start; flex-direction: column; }
    .admin-alert-summary { grid-template-columns: 1fr; }
    .admin-alert-item { grid-template-columns: 8px minmax(0, 1fr); }
    .admin-alert-item .btn { grid-column: 2; justify-self: start; }
}


/* =========================================================
   Favoritos / lista de deseos
   ========================================================= */
.wishlist-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.wishlist-button span { font-size: 1.1rem; line-height: 1; }
.wishlist-card .wishlist-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wishlist-empty-icon { font-size: 3rem; line-height: 1; color: #2563EB; margin-bottom: 1rem; }
.account-favorites-card { border-left: 4px solid #2563EB !important; }

/* =========================================================
   v0.45 - Identidad visual, encabezado y banners
   ========================================================= */
.store-header { z-index: 1030; box-shadow: 0 4px 18px rgba(15,23,42,.04); }
.store-header-top { min-height: 112px; display: grid; grid-template-columns: 300px minmax(0,1fr); align-items: center; gap: 2.25rem; padding-top: .7rem; padding-bottom: .7rem; }
.store-logo { display: flex; align-items: center; max-width: 285px; }
.store-logo img { display:block; width:100%; height:88px; object-fit:contain; object-position:left center; }
.store-header-banner { min-width:0; }
.store-header-banner .carousel, .store-header-banner .carousel-inner, .store-header-banner .carousel-item { border-radius: 14px; overflow:hidden; }
.store-header-banner img { width:100%; height:92px; object-fit:cover; }
.store-banner-placeholder { height:92px; border:1px dashed #CBD5E1; border-radius:14px; background:linear-gradient(135deg,#F8FAFC,#EFF6FF); display:flex; align-items:center; justify-content:center; color:#94A3B8; font-size:.88rem; }
.store-main-nav { background:#fff; min-height:62px; }
.store-main-nav .nav-link { color:#0F172A; font-weight:500; padding:.75rem .7rem !important; white-space:nowrap; }
.store-main-nav .nav-link:hover { color:#2563EB; }
@media (max-width:1199.98px){ .store-header{position:relative!important}.store-main-nav .navbar-collapse{padding:1rem 0}.store-main-nav .nav-item form{padding:.5rem 0} }
@media (max-width:767.98px){ .store-header-top{grid-template-columns:1fr;gap:.6rem;min-height:auto}.store-logo{max-width:230px;margin:auto}.store-logo img{height:72px}.store-header-banner img,.store-banner-placeholder{height:76px}.store-banner-placeholder span{font-size:.75rem} }

/* v0.46 - Home comercial administrable */
.home-commerce-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#F8FAFC 0%,#EFF6FF 56%,#ECFDF5 100%);border-bottom:1px solid #E2E8F0}
.home-commerce-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-160px;top:-220px;background:rgba(37,99,235,.08);pointer-events:none}
.home-commerce-eyebrow{display:inline-flex;padding:.42rem .8rem;border-radius:999px;background:#fff;border:1px solid #DBEAFE;color:#2563EB;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.home-commerce-hero h1{max-width:760px;font-size:clamp(2.3rem,4.6vw,4.8rem);line-height:1.02;letter-spacing:-.045em;font-weight:800;color:#0F172A;margin-bottom:1.25rem}
.home-commerce-hero .lead{max-width:720px;color:#475569;font-size:1.15rem}
.home-commerce-panel{position:relative;display:flex;gap:1.2rem;padding:2rem;border-radius:24px;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.22);box-shadow:0 22px 60px rgba(15,23,42,.12);z-index:1}
.home-commerce-panel-mark{width:58px;height:58px;flex:0 0 58px;border-radius:18px;background:linear-gradient(135deg,#2563EB,#10B981);display:grid;place-items:center;color:#fff;font-size:1.6rem;font-weight:900}
.home-commerce-panel h2{font-size:1.5rem;font-weight:800;margin:.3rem 0 .7rem;color:#0F172A}.home-commerce-panel p{color:#64748B;margin-bottom:1rem}.home-commerce-arrow{font-weight:700;text-decoration:none}.home-commerce-arrow span{display:inline-block;transition:transform .2s}.home-commerce-arrow:hover span{transform:translateX(4px)}
.home-benefit-strip{background:#fff;border-bottom:1px solid #E2E8F0;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.home-benefit-item{height:100%;display:flex;align-items:center;gap:.85rem;padding:1.35rem 1.1rem;border-right:1px solid #E2E8F0}.home-benefit-strip [class*=col-]:last-child .home-benefit-item{border-right:0}.home-benefit-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#EFF6FF;color:#2563EB;display:grid;place-items:center;font-weight:900}.home-benefit-item strong,.home-benefit-item small{display:block}.home-benefit-item strong{color:#0F172A;font-size:.94rem}.home-benefit-item small{color:#64748B;font-size:.78rem;line-height:1.25;margin-top:.15rem}
.home-featured-products{background:#F8FAFC}.home-product-card{border-radius:18px!important;overflow:hidden}.home-product-category{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#2563EB}
.home-news-commerce-card{display:block;height:100%;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.08);text-decoration:none;color:#0F172A;transition:transform .2s,box-shadow .2s}.home-news-commerce-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,23,42,.12)}.home-news-commerce-image{height:220px;background:#E2E8F0;overflow:hidden}.home-news-commerce-image img{width:100%;height:100%;object-fit:cover}.home-news-commerce-card span{font-size:.72rem;font-weight:800;color:#2563EB;letter-spacing:.04em}.home-news-commerce-card h3{font-size:1.05rem;font-weight:800;line-height:1.35;margin:.55rem 0 0}
@media(max-width:991.98px){.home-commerce-hero h1{font-size:clamp(2.3rem,8vw,4rem)}.home-benefit-item{border-bottom:1px solid #E2E8F0}.home-benefit-strip .col-sm-6:nth-child(2) .home-benefit-item{border-right:0}}
@media(max-width:575.98px){.home-commerce-panel{padding:1.35rem}.home-benefit-item{border-right:0}.home-commerce-hero .btn-lg{width:100%}}

/* =========================================================
   v0.47 - Catálogo y ficha de producto comerciales
   ========================================================= */
.catalog-commerce-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#F8FAFC 0%,#EFF6FF 52%,#ECFDF5 100%);border-bottom:1px solid #E2E8F0}.catalog-commerce-hero:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;left:-160px;bottom:-260px;background:rgba(16,185,129,.08)}.catalog-commerce-eyebrow,.product-commerce-section-kicker{display:inline-flex;color:#2563EB;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.catalog-commerce-hero h1{max-width:820px;letter-spacing:-.035em;color:#0F172A}.catalog-commerce-search{padding:1.2rem;border-radius:20px;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.25);box-shadow:0 18px 45px rgba(15,23,42,.08)}.catalog-commerce-search .form-control{border-right:0}.catalog-commerce-page{background:#F8FAFC;min-height:55vh}.catalog-category-chips-commerce{padding-bottom:.2rem}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;background:#fff;border:1px solid #E2E8F0;border-radius:16px;box-shadow:0 8px 26px rgba(15,23,42,.035)}.catalog-toolbar .form-select{min-width:190px}.catalog-product-card{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #E2E8F0;border-radius:20px;box-shadow:0 12px 30px rgba(15,23,42,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.catalog-product-card:hover{transform:translateY(-4px);border-color:#BFDBFE;box-shadow:0 20px 44px rgba(15,23,42,.1)}.catalog-product-media{position:relative;display:grid;place-items:center;height:260px;padding:1.1rem;background:linear-gradient(180deg,#fff,#F8FAFC);text-decoration:none;overflow:hidden}.catalog-product-media img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s ease}.catalog-product-card:hover .catalog-product-media img{transform:scale(1.035)}.catalog-product-placeholder{display:grid;place-items:center;width:110px;height:110px;border-radius:28px;background:#EFF6FF;color:#2563EB;font-size:3rem;font-weight:900}.catalog-product-badges{position:absolute;top:14px;left:14px;right:14px;display:flex;flex-wrap:wrap;gap:.45rem;justify-content:space-between}.catalog-product-body{display:flex;flex-direction:column;flex:1;padding:1.25rem 1.25rem .9rem}.catalog-product-meta{display:flex;justify-content:space-between;gap:.75rem;margin-bottom:.75rem;color:#64748B;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.035em}.catalog-product-body h2{font-size:1.12rem;line-height:1.35;font-weight:850;margin:0 0 .65rem}.catalog-product-body h2 a{color:#0F172A;text-decoration:none}.catalog-product-body h2 a:hover{color:#2563EB}.catalog-product-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.9rem;color:#64748B;font-size:.9rem;line-height:1.45;margin-bottom:1rem}.catalog-product-price{display:flex;align-items:baseline;gap:.4rem;margin-top:auto}.catalog-product-price strong{color:#0F172A;font-size:1.45rem}.catalog-product-price span{color:#94A3B8;font-size:.72rem;font-weight:800}.catalog-product-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.55rem;align-items:center;padding:.9rem 1.25rem 1.25rem}.catalog-product-actions form{margin:0}.catalog-product-actions .btn{white-space:nowrap}.catalog-favorite-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid #DBEAFE;border-radius:12px;background:#EFF6FF;color:#2563EB;font-size:1.15rem;transition:.15s ease}.catalog-favorite-button:hover{background:#DBEAFE}.catalog-empty-commerce{padding:4rem 1rem;text-align:center;background:#fff;border:1px solid #E2E8F0;border-radius:20px}.catalog-empty-icon{font-size:3rem;color:#2563EB;line-height:1;margin-bottom:1rem}
.product-commerce-page{background:#F8FAFC}.product-commerce-breadcrumb{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;color:#94A3B8;font-size:.82rem}.product-commerce-breadcrumb a{color:#64748B;text-decoration:none}.product-commerce-breadcrumb a:hover{color:#2563EB}.product-commerce-breadcrumb strong{color:#334155}.product-commerce-shell{overflow:hidden;background:#fff;border:1px solid #E2E8F0;border-radius:26px;box-shadow:0 18px 52px rgba(15,23,42,.08)}.product-commerce-gallery{position:relative;display:grid;place-items:center;min-height:600px;padding:3rem;background:linear-gradient(145deg,#fff,#F8FAFC);border-right:1px solid #E2E8F0}.product-commerce-gallery>img{width:100%;max-height:510px;object-fit:contain}.product-commerce-gallery-tags{position:absolute;top:22px;left:22px;right:22px;display:flex;justify-content:space-between;gap:.5rem}.product-commerce-placeholder{display:grid;place-items:center;width:190px;height:190px;border-radius:42px;background:#EFF6FF;color:#2563EB;font-size:5rem;font-weight:900}.product-commerce-summary{padding:3rem}.product-commerce-category{margin-bottom:.7rem;color:#2563EB;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.product-commerce-summary h1{font-size:clamp(2rem,3.2vw,3.2rem);font-weight:850;line-height:1.08;letter-spacing:-.035em;color:#0F172A;margin-bottom:1rem}.product-commerce-lead{color:#64748B;font-size:1rem;line-height:1.65}.product-commerce-price-row{display:flex;justify-content:space-between;align-items:end;gap:1rem;padding:1rem 0 1.35rem;border-bottom:1px solid #E2E8F0}.product-commerce-price{color:#0F172A;font-size:2rem;font-weight:900}.product-commerce-price span{margin-left:.4rem;color:#94A3B8;font-size:.75rem}.product-commerce-sku{color:#94A3B8;font-size:.76rem}.product-commerce-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;padding:1.35rem 0}.product-commerce-benefits>div{padding:.9rem;border:1px solid #E2E8F0;border-radius:14px;background:#F8FAFC}.product-commerce-benefits span{color:#10B981;font-weight:900}.product-commerce-benefits strong,.product-commerce-benefits small{display:block}.product-commerce-benefits strong{margin:.35rem 0 .15rem;color:#0F172A;font-size:.82rem}.product-commerce-benefits small{color:#64748B;font-size:.7rem;line-height:1.3}.product-commerce-buybox{padding:1.25rem;border:1px solid #DBEAFE;border-radius:18px;background:#F8FAFF}.product-commerce-add-form{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.8rem;align-items:end}.product-commerce-add-form .btn{min-height:48px}.product-commerce-shipping,.product-commerce-info-card{padding:2rem;background:#fff;border:1px solid #E2E8F0;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.045)}.product-commerce-shipping{border-left:4px solid #2563EB}.product-commerce-quote{display:flex;justify-content:space-between;gap:1rem;padding:1rem;border-radius:14px;background:#EFF6FF}.product-commerce-quote>div{display:grid}.product-commerce-quote small{color:#64748B}.product-commerce-quote>div:last-child{text-align:right}.product-commerce-info-card h2{margin:.45rem 0 1rem;color:#0F172A}.product-commerce-longtext{color:#475569;line-height:1.75}.product-commerce-warranty{border-top:4px solid #10B981}.product-commerce-specs{display:flex;gap:.8rem;flex-wrap:wrap}.product-commerce-specs span{display:flex;gap:.4rem;padding:.7rem .85rem;border-radius:12px;background:#F8FAFC;color:#64748B;font-size:.8rem}.product-commerce-specs strong{color:#0F172A}.product-related-section{border-top:1px solid #E2E8F0}.product-related-card{display:block;height:100%;overflow:hidden;background:#fff;border:1px solid #E2E8F0;border-radius:18px;color:#0F172A;text-decoration:none;box-shadow:0 8px 24px rgba(15,23,42,.045);transition:.2s ease}.product-related-card:hover{transform:translateY(-3px);border-color:#BFDBFE;box-shadow:0 16px 34px rgba(15,23,42,.08)}.product-related-media{height:180px;display:grid;place-items:center;padding:1rem;background:#F8FAFC}.product-related-media img{width:100%;height:100%;object-fit:contain}.product-related-media span{display:grid;place-items:center;width:70px;height:70px;border-radius:20px;background:#EFF6FF;color:#2563EB;font-size:2rem;font-weight:900}.product-related-card small{color:#2563EB;font-size:.7rem;font-weight:800;text-transform:uppercase}.product-related-card h3{min-height:2.6rem;margin:.35rem 0 .65rem;font-size:.95rem;font-weight:800;line-height:1.35}.product-related-card strong{font-size:1.05rem}
@media(max-width:991.98px){.catalog-toolbar{align-items:flex-start;flex-direction:column}.catalog-toolbar form{width:100%}.catalog-toolbar .form-select{width:100%}.product-commerce-gallery{min-height:430px;border-right:0;border-bottom:1px solid #E2E8F0}.product-commerce-summary{padding:2rem}.product-commerce-benefits{grid-template-columns:1fr}.product-commerce-gallery{padding:2rem}.product-commerce-shell{border-radius:20px}}@media(max-width:575.98px){.catalog-commerce-search{padding:1rem}.catalog-commerce-search .input-group{display:grid;grid-template-columns:1fr}.catalog-commerce-search .form-control,.catalog-commerce-search .btn{width:100%;border-radius:10px!important}.catalog-product-actions{grid-template-columns:1fr 1fr auto}.catalog-product-actions>a{grid-column:1/-1}.catalog-product-actions form:nth-of-type(1) .btn{width:100%}.catalog-product-media{height:225px}.product-commerce-summary{padding:1.35rem}.product-commerce-gallery{min-height:320px;padding:1.4rem}.product-commerce-gallery-tags{top:12px;left:12px;right:12px}.product-commerce-price-row{align-items:flex-start;flex-direction:column}.product-commerce-add-form{grid-template-columns:1fr}.product-commerce-shipping,.product-commerce-info-card{padding:1.35rem}.product-commerce-quote{flex-direction:column}.product-commerce-quote>div:last-child{text-align:left}.product-related-section .d-flex{align-items:flex-start!important;flex-direction:column}.product-related-section .btn{width:100%}}

/* =========================================================
   v0.48 - Carrito y checkout comerciales
   ========================================================= */
.commerce-flow-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#F8FAFC 0%,#EFF6FF 58%,#ECFDF5 100%);border-bottom:1px solid #E2E8F0}.commerce-flow-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-130px;top:-220px;background:rgba(37,99,235,.07)}.commerce-flow-head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:end;gap:1.5rem}.commerce-flow-head h1{color:#0F172A;letter-spacing:-.035em}.commerce-flow-eyebrow{display:inline-flex;color:#2563EB;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.commerce-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px}.commerce-step{position:relative;display:flex;align-items:center;gap:.6rem;color:#94A3B8;font-size:.8rem}.commerce-step:not(:last-child):after{content:"";height:1px;flex:1;margin:0 .75rem;background:#CBD5E1}.commerce-step span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #CBD5E1;border-radius:50%;background:#fff;font-weight:900}.commerce-step.active{color:#0F172A}.commerce-step.active span,.commerce-step.done span{border-color:#2563EB;background:#2563EB;color:#fff}.commerce-step.done{color:#2563EB}.commerce-cart-page,.commerce-checkout-page{background:#F8FAFC;min-height:58vh}.commerce-empty-cart{padding:5rem 1.5rem;text-align:center;background:#fff;border:1px solid #E2E8F0;border-radius:26px;box-shadow:0 18px 50px rgba(15,23,42,.055)}.commerce-empty-cart-icon{font-size:3.6rem;margin-bottom:1rem}.commerce-cart-items{display:grid;gap:1rem}.commerce-cart-item{display:grid;grid-template-columns:150px minmax(0,1fr) 150px;gap:1.25rem;align-items:stretch;padding:1rem;background:#fff;border:1px solid #E2E8F0;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.04)}.commerce-cart-media{display:grid;place-items:center;min-height:140px;padding:.65rem;overflow:hidden;border-radius:15px;background:linear-gradient(145deg,#fff,#F8FAFC)}.commerce-cart-media img{width:100%;height:100%;max-height:135px;object-fit:contain}.commerce-cart-media span{display:grid;place-items:center;width:75px;height:75px;border-radius:20px;background:#EFF6FF;color:#2563EB;font-size:2rem;font-weight:900}.commerce-cart-info{padding:.35rem 0}.commerce-cart-meta{display:flex;gap:.8rem;flex-wrap:wrap;color:#64748B;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.commerce-cart-info h3{margin:.45rem 0 .55rem;font-size:1.08rem;font-weight:850;line-height:1.35}.commerce-cart-info h3 a{color:#0F172A;text-decoration:none}.commerce-cart-info h3 a:hover{color:#2563EB}.commerce-cart-detail{display:flex;gap:.8rem;flex-wrap:wrap;color:#64748B;font-size:.78rem}.commerce-cart-controls{display:flex;align-items:end;gap:1.2rem;margin-top:1rem}.commerce-cart-qty{width:92px}.commerce-cart-price-mobile{display:none}.commerce-cart-amount{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right}.commerce-cart-amount small{color:#94A3B8;font-size:.7rem}.commerce-cart-amount span{color:#475569;font-weight:700}.commerce-cart-amount strong{color:#0F172A;font-size:1.2rem}.commerce-cart-actions{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.commerce-order-summary{top:1rem;overflow:hidden;padding:1.35rem;background:#fff;border:1px solid #DBEAFE;border-radius:22px;box-shadow:0 20px 50px rgba(15,23,42,.085)}.commerce-order-summary-head{padding-bottom:1rem;border-bottom:1px solid #E2E8F0}.commerce-summary-row{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid #F1F5F9;color:#64748B}.commerce-summary-row strong{color:inherit}.commerce-coupon-box{margin:1rem 0;padding:1rem;border-radius:15px;background:#F8FAFC;border:1px dashed #CBD5E1}.commerce-coupon-box small,.commerce-coupon-box strong{display:block}.commerce-coupon-box small{color:#64748B}.commerce-summary-total{display:flex;justify-content:space-between;align-items:end;gap:1rem;padding:1.2rem 0}.commerce-summary-total>div{display:grid}.commerce-summary-total span{font-weight:800;color:#0F172A}.commerce-summary-total small{color:#94A3B8;font-size:.7rem}.commerce-summary-total>strong{font-size:1.55rem;color:#0F172A}.commerce-trust-list{display:grid;gap:.8rem;margin-top:1.25rem;padding-top:1.1rem;border-top:1px solid #E2E8F0}.commerce-trust-list>div{display:flex;gap:.65rem}.commerce-trust-list>div>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#ECFDF5;color:#10B981;font-size:.75rem;font-weight:900}.commerce-trust-list p{display:grid;margin:0}.commerce-trust-list strong{color:#334155;font-size:.76rem}.commerce-trust-list small{color:#94A3B8;font-size:.68rem}.checkout-commerce-card{overflow:hidden;background:#fff;border:1px solid #E2E8F0;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.04)}.checkout-commerce-card .card-body{padding:1.4rem}.checkout-commerce-title{display:flex;align-items:center;gap:.8rem}.checkout-commerce-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#EFF6FF;color:#2563EB;font-weight:900}.checkout-commerce-products .checkout-item{padding:1rem 0}.checkout-commerce-products .checkout-product-thumb{width:64px;height:64px;border-radius:12px;background:#F8FAFC;object-fit:contain}.checkout-secure-note{display:flex;gap:.65rem;align-items:flex-start;margin-top:1rem;padding:1rem;border-radius:14px;background:#ECFDF5;color:#065F46;font-size:.78rem}.checkout-secure-note span{font-weight:900}.checkout-summary-status{display:flex;gap:.55rem;align-items:center;padding:.8rem 0;color:#64748B;font-size:.76rem}.checkout-summary-status span{width:8px;height:8px;border-radius:50%;background:#10B981}.commerce-checkout-page .agency-picker-item{border-radius:14px}.commerce-checkout-page .shipping-quote-result{border-radius:15px}
@media(max-width:991.98px){.commerce-flow-head{align-items:flex-start;flex-direction:column}.commerce-order-summary{position:static!important}.commerce-cart-item{grid-template-columns:120px minmax(0,1fr) 125px}.commerce-steps{max-width:none}.commerce-step strong{font-size:.75rem}}@media(max-width:767.98px){.commerce-cart-item{grid-template-columns:92px minmax(0,1fr)}.commerce-cart-media{min-height:100px}.commerce-cart-amount{display:none}.commerce-cart-price-mobile{display:grid}.commerce-cart-price-mobile small{color:#94A3B8;font-size:.68rem}.commerce-cart-controls{align-items:center;flex-wrap:wrap}.commerce-cart-actions .btn{flex:1}.commerce-step:not(:last-child):after{margin:0 .35rem}.commerce-step{gap:.35rem}.commerce-step strong{display:none}}@media(max-width:575.98px){.commerce-flow-head .btn{width:100%}.commerce-cart-item{grid-template-columns:1fr}.commerce-cart-media{min-height:180px}.commerce-cart-media img{max-height:165px}.commerce-cart-controls{justify-content:space-between}.commerce-cart-actions{display:grid;grid-template-columns:1fr}.commerce-summary-total{align-items:flex-start;flex-direction:column}.commerce-summary-total>strong{font-size:1.8rem}}

/* ==========================================================
   v0.49 - Centro de cliente comercial
   ========================================================== */
.customer-hub-hero,.customer-section-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#F8FAFC 0%,#EFF6FF 58%,#ECFDF5 100%);border-bottom:1px solid #E2E8F0}.customer-hub-hero:after,.customer-section-hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-160px;top:-255px;background:rgba(37,99,235,.075)}.customer-hub-head,.customer-section-head,.customer-order-detail-hero{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem}.customer-hub-head h1,.customer-section-head h1{color:#0F172A;letter-spacing:-.035em}.customer-hub-page{background:#F8FAFC;min-height:55vh}.customer-hub-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.customer-hub-stat{display:grid;gap:.2rem;padding:1.1rem 1.2rem;border:1px solid rgba(191,219,254,.9);border-radius:18px;background:rgba(255,255,255,.82);color:#0F172A;text-decoration:none;box-shadow:0 10px 28px rgba(15,23,42,.045);backdrop-filter:blur(6px);transition:.2s ease}.customer-hub-stat:hover{transform:translateY(-2px);border-color:#93C5FD;box-shadow:0 16px 34px rgba(15,23,42,.075)}.customer-hub-stat span{color:#64748B;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.customer-hub-stat strong{font-size:1.65rem;line-height:1.1}.customer-hub-stat small{color:#94A3B8}.customer-hub-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.customer-action-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.9rem;padding:1rem 1.1rem;border:1px solid #E2E8F0;border-radius:18px;background:#fff;color:#0F172A;text-decoration:none;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.2s ease}.customer-action-card:hover{transform:translateY(-2px);border-color:#BFDBFE;box-shadow:0 14px 32px rgba(15,23,42,.07)}.customer-action-card div{display:grid}.customer-action-card strong{font-size:.93rem}.customer-action-card small{color:#64748B;font-size:.74rem}.customer-action-card b{color:#2563EB;font-size:1.2rem}.customer-action-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#EFF6FF;color:#2563EB;font-size:.72rem;font-weight:900}.customer-panel-card{padding:1.5rem;border:1px solid #E2E8F0;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.045)}.customer-panel-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.customer-panel-chip{padding:.4rem .65rem;border-radius:999px;background:#F1F5F9;color:#64748B;font-size:.68rem;font-weight:800}.customer-inline-empty{display:grid;gap:.2rem;padding:1rem;border:1px dashed #CBD5E1;border-radius:14px;background:#F8FAFC}.customer-inline-empty span{color:#64748B;font-size:.82rem}.customer-address-grid{display:grid;gap:.85rem}.customer-address-card{padding:1rem;border:1px solid #E2E8F0;border-radius:16px;background:#fff}.customer-address-card.is-default{border-color:#A7F3D0;background:#F0FDF4}.customer-address-card p{margin:.6rem 0 1rem;color:#64748B;font-size:.82rem;line-height:1.55}.customer-address-pin{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#EFF6FF;color:#2563EB;font-weight:900}.customer-order-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.customer-order-stats>div{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;border:1px solid rgba(191,219,254,.9);border-radius:14px;background:rgba(255,255,255,.82)}.customer-order-stats span{color:#64748B;font-size:.76rem;font-weight:700}.customer-order-stats strong{font-size:1.15rem}.customer-order-card-premium{border:1px solid #E2E8F0!important;border-radius:22px!important;box-shadow:0 12px 34px rgba(15,23,42,.05)!important;transition:.2s ease}.customer-order-card-premium:hover{transform:translateY(-2px);border-color:#BFDBFE!important;box-shadow:0 18px 42px rgba(15,23,42,.075)!important}.customer-premium-empty{display:grid;justify-items:center;text-align:center;padding:5rem 1.5rem;border:1px solid #E2E8F0;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(15,23,42,.05)}.customer-premium-empty-icon{display:grid;place-items:center;width:76px;height:76px;margin-bottom:1rem;border-radius:24px;background:#EFF6FF;color:#2563EB;font-size:2.4rem}.customer-premium-empty p{max-width:520px}.customer-wishlist-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #E2E8F0;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.045);transition:.2s ease}.customer-wishlist-card:hover{transform:translateY(-3px);border-color:#BFDBFE;box-shadow:0 18px 40px rgba(15,23,42,.08)}.customer-wishlist-media{display:grid;place-items:center;height:220px;padding:1.2rem;background:linear-gradient(145deg,#fff,#F8FAFC);text-decoration:none}.customer-wishlist-media img{width:100%;height:100%;object-fit:contain}.customer-wishlist-media>span{display:grid;place-items:center;width:80px;height:80px;border-radius:24px;background:#EFF6FF;color:#2563EB;font-size:2.2rem;font-weight:900}.customer-wishlist-body{flex:1;padding:1.2rem}.customer-wishlist-body small{color:#2563EB;font-size:.68rem;font-weight:900;text-transform:uppercase}.customer-wishlist-body h2{margin:.55rem 0;font-size:1rem;font-weight:850;line-height:1.35}.customer-wishlist-body h2 a{color:#0F172A;text-decoration:none}.customer-wishlist-body p{min-height:3.8rem;margin:0 0 1rem;color:#64748B;font-size:.78rem;line-height:1.55}.customer-wishlist-price{font-size:1.2rem;color:#0F172A}.customer-wishlist-actions{display:grid;grid-template-columns:1fr .7fr;gap:.6rem;padding:0 1.2rem 1.2rem}.customer-wishlist-actions form{display:flex}.customer-detail-card{border-radius:20px!important;box-shadow:0 12px 34px rgba(15,23,42,.045)!important}.customer-order-detail-page{background:#F8FAFC;min-height:55vh}
@media(max-width:991.98px){.customer-hub-stats,.customer-order-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-hub-actions{grid-template-columns:1fr}.customer-hub-head,.customer-section-head,.customer-order-detail-hero{align-items:flex-start;flex-direction:column}}@media(max-width:575.98px){.customer-hub-stats,.customer-order-stats{grid-template-columns:1fr 1fr}.customer-hub-head .btn,.customer-section-head>.d-flex{width:100%}.customer-section-head>.d-flex .btn{flex:1}.customer-wishlist-actions{grid-template-columns:1fr}.customer-panel-card{padding:1.15rem}.customer-hub-stat{padding:.9rem}.customer-hub-stat strong{font-size:1.35rem}}

/* v0.51.0 - Cloudflare Turnstile */
.turnstile-security{display:flex;justify-content:center;min-height:68px;padding:.65rem;border:1px solid #E2E8F0;border-radius:14px;background:#F8FAFC}.contact-security-box .cf-turnstile{flex:0 0 auto}@media(max-width:575.98px){.turnstile-security{justify-content:flex-start;overflow-x:auto}.contact-security-box{align-items:flex-start!important;flex-direction:column}}

/* MisionST News Editor 2.0 - v0.62.0 */
.mst-editor-v2 .container-fluid { max-width: 1680px; }
.mst-editor-heading { padding: 1.15rem 1.35rem; border: 1px solid rgba(148,163,184,.22); border-radius: 20px; background: rgba(255,255,255,.75); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(15,23,42,.055); }
.mst-editor-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.mst-editor-counter { color: #64748b; font-variant-numeric: tabular-nums; }
.mst-editor-live-stats { display: flex; gap: .45rem; flex-wrap: wrap; }
.mst-editor-live-stats span { display: inline-flex; align-items: center; gap: .3rem; padding: .42rem .65rem; border-radius: 999px; background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; font-size: .76rem; }
.mst-editor-live-stats strong { color: #0f172a; }
.mst-block-palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .75rem; gap: .65rem; background: #f8fafc; border-color: #e2e8f0; }
.mst-block-palette-btn { display: flex; align-items: center; gap: .7rem; min-height: 68px; padding: .7rem .8rem; text-align: left; border: 1px solid #dbe3ee; border-radius: 14px; background: #fff; color: #0f172a; transition: .18s ease; }
.mst-block-palette-btn:hover { transform: translateY(-2px); border-color: #93c5fd; box-shadow: 0 8px 22px rgba(37,99,235,.10); }
.mst-block-palette-btn span:last-child { min-width: 0; }
.mst-block-palette-btn strong, .mst-block-palette-btn small { display: block; }
.mst-block-palette-btn small { margin-top: .08rem; color: #64748b; font-size: .72rem; }
.mst-palette-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 10px; color: #2563eb; background: #eff6ff; font-size: .78rem; font-weight: 900; }
.mst-editor-help { padding: .75rem 1rem; border-left: 3px solid #38bdf8; border-radius: 0 12px 12px 0; background: #f0f9ff; color: #475569; font-size: .82rem; }
.mst-editor-help span { color: #0369a1; font-weight: 800; }
.mst-editor-v2 .news-editor-block { padding: 1.25rem; background: #fff; border-color: #dbe3ee; box-shadow: 0 10px 28px rgba(15,23,42,.045); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease; }
.mst-editor-v2 .news-editor-block:focus-within { border-color: #93c5fd; box-shadow: 0 14px 34px rgba(37,99,235,.08); }
.mst-editor-v2 .news-editor-block.is-dragging { opacity: .48; transform: scale(.99); border-style: dashed; }
.mst-block-drag { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: #f1f5f9; color: #64748b; cursor: grab; font-weight: 900; letter-spacing: -2px; }
.mst-block-drag:active { cursor: grabbing; }
.mst-news-dropzone { position: relative; display: grid; place-items: center; gap: .22rem; min-height: 160px; padding: 1.5rem; text-align: center; cursor: pointer; border: 2px dashed #cbd5e1; border-radius: 18px; background: linear-gradient(180deg,#fbfdff,#f8fafc); transition: .18s ease; }
.mst-news-dropzone:hover, .mst-news-dropzone.is-dragover { border-color: #60a5fa; background: #eff6ff; box-shadow: inset 0 0 0 1px rgba(37,99,235,.08); }
.mst-news-dropzone strong { color: #334155; }
.mst-news-dropzone small { color: #64748b; }
.mst-news-dropzone-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .25rem; border-radius: 14px; color: #2563eb; background: #dbeafe; font-size: 1.35rem; }
.mst-news-dropzone-inline { min-height: 122px; }
.mst-editor-v2 .news-rich-toolbar { position: sticky; top: 82px; z-index: 3; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.mst-editor-v2 .news-rich-editor { min-height: 220px; padding: 1.2rem 1.3rem; border-radius: 12px; color: #1e293b; font-size: 1rem; line-height: 1.78; background: #fff; }
.mst-editor-v2 .news-rich-editor h2 { margin: .8rem 0 .45rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.mst-editor-v2 .news-rich-editor h3 { margin: .7rem 0 .4rem; font-size: 1.25rem; font-weight: 750; }
.mst-editor-v2 .news-rich-editor blockquote { margin: 1rem 0; padding: .9rem 1rem; border-left: 4px solid #38bdf8; border-radius: 0 10px 10px 0; background: #f0f9ff; color: #334155; }
.mst-editor-v2 .news-rich-editor hr { margin: 1.5rem 0; border: 0; border-top: 2px solid #e2e8f0; opacity: 1; }
.mst-editor-v2 .news-rich-editor a { color: #2563eb; text-decoration: underline; text-underline-offset: 3px; }
.mst-publish-state { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid #e2e8f0; background: #f8fafc; }
.mst-publish-state strong, .mst-publish-state small { display: block; }
.mst-publish-state small { margin-top: .08rem; color: #64748b; font-size: .73rem; }
.mst-state-dot { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 5px rgba(148,163,184,.13); }
.mst-publish-state.is-published { border-color: #bbf7d0; background: #f0fdf4; }
.mst-publish-state.is-published .mst-state-dot { background: #16a34a; box-shadow: 0 0 0 5px rgba(22,163,74,.12); }
.mst-switch-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem .9rem; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.mst-switch-card strong, .mst-switch-card small { display: block; }
.mst-switch-card strong { font-size: .88rem; }
.mst-switch-card small { margin-top: .15rem; color: #64748b; font-size: .72rem; line-height: 1.35; }
.mst-editor-v2 .form-switch .form-check-input { width: 2.55em; height: 1.35em; cursor: pointer; }
.mst-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .55rem; border-radius: 16px; background: #eff6ff; color: #2563eb; font-size: 1.6rem; }
.mst-youtube-preview { overflow: hidden; max-width: 640px; border-radius: 16px; background: #020617; }
.mst-youtube-preview iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.mst-news-preview-modal { border: 0; border-radius: 22px; overflow: hidden; }
.mst-news-preview-stage { min-height: 60vh; background: #f8fafc; }
.mst-preview-article { background: #fff; }
.mst-preview-header { max-width: 850px; margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem; text-align: center; }
.mst-preview-header > span { color: #2563eb; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mst-preview-header h1 { margin: .7rem 0 1rem; font-size: clamp(2rem,5vw,3.5rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.05; }
.mst-preview-header p { color: #64748b; font-size: 1.1rem; line-height: 1.7; }
.mst-preview-header small { color: #94a3b8; }
.mst-preview-cover { display: block; width: min(1080px,92%); max-height: 580px; margin: 0 auto; object-fit: cover; border-radius: 24px; }
.mst-preview-body { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.mst-preview-placeholder { padding: 2rem; margin: 2rem 0; border: 2px dashed #cbd5e1; border-radius: 16px; text-align: center; color: #94a3b8; }
.news-rich-content hr { margin: 2.5rem auto; width: min(160px,45%); border: 0; border-top: 3px solid #dbeafe; opacity: 1; }
.news-rich-content a { color: #2563eb; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.news-rich-content a:hover { color: #1d4ed8; }
@media (max-width: 1399.98px) { .mst-block-palette { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 991.98px) { .mst-block-palette { grid-template-columns: repeat(2,minmax(0,1fr)); } .mst-editor-v2 .news-rich-toolbar { position: static; } }
@media (max-width: 575.98px) { .mst-block-palette { grid-template-columns: 1fr; } .mst-editor-heading { padding: 1rem; } .mst-editor-live-stats { width: 100%; } .mst-editor-v2 .news-editor-block { padding: .9rem; } }


/* v0.62.1 - contenido editorial WYSIWYG */
.news-article-content img, .news-block-content img, .news-content img {max-width:100%;height:auto;border-radius:16px;display:block;margin:1.5rem auto;}
.news-article-content figure, .news-block-content figure, .news-content figure {margin:1.75rem 0;text-align:center;}
.news-article-content figcaption, .news-block-content figcaption, .news-content figcaption {margin-top:.6rem;color:#6c757d;font-size:.92rem;}
.news-article-content iframe, .news-block-content iframe, .news-content iframe {width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:16px;}
.news-article-content table, .news-block-content table, .news-content table {width:100%;border-collapse:collapse;margin:1.5rem 0;}
.news-article-content th,.news-article-content td,.news-block-content th,.news-block-content td,.news-content th,.news-content td {border:1px solid #dee2e6;padding:.7rem;}
.jodit-container {border-radius:14px!important;overflow:hidden;border-color:#d7e0ea!important;box-shadow:0 8px 24px rgba(15,23,42,.06);}
.jodit-workplace {background:#fff!important;}

/* =========================================================
   v0.62.5 - Hotfix footer logo
   Restaura el limite de dimensiones agregado en v0.57.0.
   ========================================================= */
.site-footer-brand .site-footer-logo{
    display:block;
    width:auto;
    max-width:min(100%,320px);
    height:auto;
    max-height:92px;
    object-fit:contain;
    object-position:left center;
}
@media(max-width:575.98px){
    .site-footer-brand .site-footer-logo{
        max-width:260px;
        max-height:78px;
    }
}

/* v0.71.34 - Encabezado: logo mayor + banner autoajustable */
@media (min-width:768px){
 .store-header-top{grid-template-columns:360px minmax(0,1fr);gap:1.75rem;min-height:126px}
 .store-logo{max-width:345px}
 .store-logo img{height:106px}
}
.store-header-banner{width:100%;min-width:0}
.store-header-banner .carousel,.store-header-banner .carousel-inner,.store-header-banner .carousel-item,.store-header-banner .carousel-item>a{width:100%}
.store-header-banner .carousel-item>a{display:block}
.store-header-banner img{display:block;width:100%;height:clamp(76px,7.2vw,108px);object-fit:cover;object-position:center}
@media(max-width:767.98px){
 .store-logo{max-width:270px}
 .store-logo img{height:84px}
 .store-header-banner img,.store-banner-placeholder{height:clamp(72px,20vw,96px)}
}


/* =========================================================
   v0.71.35 - Institucional + Newsletter seguro
   ========================================================= */
.mst-institutional-section{
    background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);
    border-top:1px solid #e8eef5;
}
.mst-institutional-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border:1px solid #e2e8f0;
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 18px 48px rgba(15,23,42,.055);
}
.mst-institutional-card{
    min-width:0;
    padding:2.2rem 2rem;
    text-align:center;
    position:relative;
}
.mst-institutional-card + .mst-institutional-card{border-left:1px solid #e2e8f0}
.mst-institutional-icon{
    width:58px;height:58px;margin:0 auto 1.1rem;
    display:grid;place-items:center;border-radius:18px;
    background:#eff6ff;color:#2563eb;
}
.mst-institutional-icon svg{
    width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;
}
.mst-institutional-card h2{
    margin:0 0 .7rem;color:#0f172a;font-size:1.05rem;font-weight:800;
}
.mst-institutional-card p{
    margin:0 auto 1rem;color:#64748b;line-height:1.65;font-size:.92rem;max-width:360px;
}
.mst-institutional-card a{
    color:#2563eb;text-decoration:none;font-weight:800;font-size:.9rem;
}
.mst-institutional-card a:hover{text-decoration:underline;text-underline-offset:4px}

.mst-newsletter-panel{
    display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);
    gap:2rem;align-items:center;padding:2rem 2.2rem;
    border-radius:24px;background:#0f2745;color:#fff;
    box-shadow:0 20px 48px rgba(15,39,69,.16);
}
.mst-newsletter-copy .section-eyebrow{color:#8ec5ff}
.mst-newsletter-copy h2{margin:.45rem 0 .55rem;font-size:clamp(1.45rem,2.5vw,2rem);font-weight:850}
.mst-newsletter-copy p{margin:0;color:#d6e4f4;line-height:1.6}
.mst-newsletter-copy small{display:block;margin-top:.65rem;color:#9fb4cc}
.mst-newsletter-form{position:relative}
.mst-newsletter-input-row{display:flex;gap:.7rem;align-items:stretch}
.mst-newsletter-input-row .form-control{
    min-height:52px;border:1px solid rgba(255,255,255,.2);background:#fff;
    border-radius:12px;padding:.8rem 1rem;
}
.mst-newsletter-input-row .btn{min-height:52px;border-radius:12px;padding-inline:1.3rem;font-weight:800}
.mst-newsletter-turnstile{margin-top:.85rem}
.mst-newsletter-security{
    display:flex;gap:.6rem 1rem;flex-wrap:wrap;margin-top:.8rem;
    color:#a9bdd3;font-size:.72rem;line-height:1.4;
}
.mst-newsletter-security span::before{content:"✓";margin-right:.35rem;color:#7dd3a7;font-weight:900}
.mst-newsletter-honeypot{
    position:absolute!important;left:-10000px!important;top:auto!important;
    width:1px!important;height:1px!important;overflow:hidden!important;
}

/* Nosotros */
.mst-about-hero{background:linear-gradient(135deg,#f5f9ff 0%,#eef5ff 50%,#f9fbfd 100%);border-bottom:1px solid #e2e8f0}
.mst-about-hero-inner{max-width:880px;margin:0 auto;text-align:center}
.mst-about-hero h1{margin:.65rem 0 1rem;color:#0f172a;font-size:clamp(2rem,4vw,3.6rem);font-weight:880;letter-spacing:-.045em;line-height:1.04}
.mst-about-hero p{margin:0 auto;max-width:780px;color:#52657c;font-size:1.08rem;line-height:1.75}
.mst-about-section{background:#fff}
.mst-about-card{padding:2rem;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.045)}
.mst-about-index{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#eff6ff;color:#2563eb;font-size:.78rem;font-weight:900}
.mst-about-card h2{margin:1rem 0 .7rem;font-size:1.4rem;font-weight:850;color:#0f172a}
.mst-about-card p{color:#64748b;line-height:1.75}
.mst-values-panel{padding:2.2rem;border:1px solid #e2e8f0;border-radius:24px;background:#f8fafc}
.mst-values-heading{max-width:700px;margin-bottom:1.5rem}
.mst-values-heading h2{margin:.45rem 0 .4rem;font-weight:850;color:#0f172a}
.mst-values-heading p{margin:0;color:#64748b}
.mst-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.mst-values-grid>div{padding:1.15rem;background:#fff;border:1px solid #e2e8f0;border-radius:16px}
.mst-values-grid strong,.mst-values-grid span{display:block}
.mst-values-grid strong{color:#0f172a;margin-bottom:.35rem}
.mst-values-grid span{color:#64748b;font-size:.88rem;line-height:1.55}
.mst-about-cta{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding:1.6rem 1.8rem;border-radius:20px;background:#eef6ff}
.mst-about-cta h2{margin:.35rem 0 0;font-size:1.35rem;font-weight:850;color:#0f172a}

/* Estado de newsletter */
.mst-newsletter-status{background:#f8fafc;min-height:58vh;display:flex;align-items:center}
.mst-newsletter-status-card{max-width:680px;margin:0 auto;padding:2.5rem;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 18px 48px rgba(15,23,42,.07)}
.mst-newsletter-status-icon{width:64px;height:64px;margin:0 auto 1.1rem;display:grid;place-items:center;border-radius:50%;font-size:1.65rem;font-weight:900}
.mst-newsletter-status-card.is-success .mst-newsletter-status-icon{background:#ecfdf3;color:#15803d}
.mst-newsletter-status-card.is-error .mst-newsletter-status-icon{background:#fef2f2;color:#b91c1c}
.mst-newsletter-status-card h1{margin:.55rem 0 .75rem;font-size:clamp(1.7rem,3vw,2.35rem);font-weight:850;color:#0f172a}
.mst-newsletter-status-card p{margin:0 auto 1.5rem;max-width:540px;color:#64748b;line-height:1.7}

@media(max-width:991.98px){
    .mst-institutional-grid{grid-template-columns:1fr}
    .mst-institutional-card + .mst-institutional-card{border-left:0;border-top:1px solid #e2e8f0}
    .mst-newsletter-panel{grid-template-columns:1fr}
    .mst-values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-about-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:575.98px){
    .mst-institutional-card{padding:1.6rem 1.2rem}
    .mst-newsletter-panel{padding:1.5rem}
    .mst-newsletter-input-row{flex-direction:column}
    .mst-newsletter-input-row .btn{width:100%}
    .mst-values-panel{padding:1.35rem}
    .mst-values-grid{grid-template-columns:1fr}
    .mst-about-card{padding:1.45rem}
}


/* =========================================================
   v0.71.37 - Cotización BNA y precios USD / ARS
   Hotfix: conserva íntegramente el CSS institucional v0.71.35.
   ========================================================= */
.mst-fx-admin-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1rem;
}
.mst-fx-admin-grid>div{
    border:1px solid rgba(15,23,42,.10);
    border-radius:1rem;
    padding:1rem;
    background:#fff;
}
.mst-fx-admin-grid small{
    display:block;
    color:#64748b;
    margin-bottom:.35rem;
}
.mst-fx-admin-grid strong{
    display:block;
    font-size:1.25rem;
}
.mst-fx-admin-grid .is-primary{
    border-color:rgba(13,110,253,.25);
    background:rgba(13,110,253,.04);
}
.catalog-product-price span{
    display:block;
    font-size:.82rem;
    font-weight:500;
    color:#64748b;
    margin-top:.15rem;
}
@media(max-width:991.98px){
    .mst-fx-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575.98px){
    .mst-fx-admin-grid{grid-template-columns:1fr}
}


/* =========================================================
   v0.71.38 - Ficha de producto: título 40% menor
   Regla anterior: clamp(2rem, 3.2vw, 3.2rem)
   Nueva regla:    clamp(1.2rem, 1.92vw, 1.92rem)
   ========================================================= */
.product-commerce-summary h1{
    font-size:clamp(1.2rem,1.92vw,1.92rem);
}
