/* =========================================
   TIENDA VIRTUAL VIALSA
   Inicio / Productos / Ofertas / Servicios / Contacto
   Responsive: PC, laptop, tablet y celular
========================================= */

:root {
    --vialsa-primary-dark: #061936;
    --vialsa-primary-soft: #eff6ff;
    --vialsa-success: #16a34a;
    --vialsa-danger: #dc2626;
    --vialsa-warning: #f59e0b;
    --vialsa-muted: #64748b;
    --vialsa-border: #dbeafe;
    --vialsa-card: #ffffff;
}

/* =========================================
   BASE
========================================= */

html,
body {
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--vialsa-bg, #f4f7fb) 78%, #ffffff), transparent 32%),
        linear-gradient(180deg, var(--vialsa-bg, #f4f7fb) 0%, color-mix(in srgb, var(--vialsa-bg, #f4f7fb) 82%, #ffffff) 100%);
    color: var(--vialsa-text, #0f172a);
}

.btn-primary {
    --bs-btn-bg: var(--vialsa-primary, #0d6efd);
    --bs-btn-border-color: var(--vialsa-primary, #0d6efd);
    --bs-btn-hover-bg: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 86%, #000000);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 86%, #000000);
    --bs-btn-active-bg: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 78%, #000000);
    --bs-btn-active-border-color: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 78%, #000000);
}

.store-modern-page {
    min-height: calc(100vh - 80px);
    padding: 18px 0 54px;
}

.store-container {
    max-width: 1480px;
    margin: 0 auto;
    padding-left: clamp(12px, 2vw, 26px);
    padding-right: clamp(12px, 2vw, 26px);
}

.section-label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* =========================================
   INICIO - HERO LIMPIO
========================================= */

.store-hero-clean {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    margin-bottom: 26px;
}

.hero-clean-main {
    position: relative;
    min-height: 285px;
    overflow: hidden;
    border-radius: 30px;
    background:
        linear-gradient(110deg, rgba(6, 25, 54, .95), rgba(7, 87, 216, .55)),
        url("/img/tienda/tienda_vialsa.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(147, 197, 253, .55);
    box-shadow: 0 22px 55px rgba(6, 25, 54, .16);
}

.hero-clean-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 20%, rgba(103, 232, 249, .28), transparent 24%),
        linear-gradient(90deg, rgba(6, 25, 54, .78), rgba(6, 25, 54, .1));
}

.hero-clean-content {
    position: relative;
    z-index: 2;
    max-width: 670px;
    padding: 36px 42px;
    color: #fff;
}

.hero-clean-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.hero-clean-content h1 {
    max-width: 620px;
    margin: 16px 0 12px;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 950;
}

.hero-clean-content h1 strong {
    display: block;
    color: #67e8f9;
}

.hero-clean-content p {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: .98rem;
    line-height: 1.65;
}

.hero-clean-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-clean-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.hero-clean-aside {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 14px;
}

.quote-focus-card {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    padding: 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, .18), transparent 34%),
        linear-gradient(135deg, #ffffff, #eaf5ff);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 18px 40px rgba(7, 87, 216, .09);
}

.quote-focus-card span {
    display: block;
    color: var(--vialsa-primary);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 9px;
}

.quote-focus-card h4 {
    max-width: 240px;
    margin-bottom: 10px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
    line-height: 1.12;
}

.quote-focus-card p {
    max-width: 245px;
    margin-bottom: 16px;
    color: var(--vialsa-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--vialsa-primary), var(--vialsa-cyan));
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 12px 25px rgba(7, 87, 216, .22);
}

.hero-mini-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.hero-mini-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: 1.05rem;
}

.hero-mini-card strong {
    display: block;
    color: var(--vialsa-primary-dark);
    font-size: .84rem;
    font-weight: 950;
}

.hero-mini-card small {
    color: var(--vialsa-muted);
    font-size: .74rem;
}

/* Oculta estructuras antiguas si quedaron en alguna vista */
.store-hero-grid,
.category-tabs-store {
    display: none !important;
}

/* =========================================
   FILTROS
========================================= */

.store-filter-panel {
    position: sticky;
    top: 170px;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
    backdrop-filter: blur(14px);
}

.store-filter-panel::-webkit-scrollbar {
    width: 6px;
}

.store-filter-panel::-webkit-scrollbar-thumb {
    background: #bfdbfe;
    border-radius: 999px;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eaf2ff;
}

.filter-header span {
    display: block;
    color: var(--vialsa-primary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.filter-header h5 {
    margin: 0;
    color: var(--vialsa-primary-dark);
    font-weight: 900;
    font-size: .95rem;
}

.filter-header i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--vialsa-primary), #0ea5e9);
    color: #fff;
    font-size: 1.05rem;
}

.filter-block {
    padding: 10px 0;
    border-bottom: 1px solid #eef5ff;
}

.filter-block:last-of-type {
    border-bottom: none;
}

.filter-title {
    display: block;
    margin-bottom: 8px;
    color: var(--vialsa-primary-dark);
    font-size: .78rem;
    font-weight: 900;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    color: #334155;
    font-size: .82rem;
    cursor: pointer;
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--vialsa-primary);
}

.filtro-select {
    min-height: 38px;
    border-radius: 14px;
    border-color: var(--vialsa-border);
    color: #334155;
}

/* =========================================
   CABECERA DE SECCIÓN
========================================= */

.store-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 8px !important;
    margin-bottom: 16px;
}

.store-section-header h2 {
    margin: 8px 0 4px;
    color: var(--vialsa-primary-dark);
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    font-weight: 950;
    letter-spacing: -1px;
}

.store-section-header p {
    margin: 0;
    color: var(--vialsa-muted);
    font-size: .92rem;
}

.store-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-tools .form-select {
    min-width: 190px;
    height: 38px;
    border-radius: 999px;
    border-color: var(--vialsa-border);
    font-weight: 700;
    color: #334155;
}

.compare-pill {
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--vialsa-border);
    color: var(--vialsa-primary-dark);
    font-size: .86rem;
    font-weight: 850;
}

.compare-pill span {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--vialsa-primary);
    color: #fff;
    font-size: .75rem;
}

/* =========================================
   PRODUCT CARDS
========================================= */

.store-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: var(--vialsa-card);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.store-product-card[data-product-url] {
    cursor: pointer;
}

.store-product-card:hover {
    transform: translateY(-7px);
    border-color: #93c5fd;
    box-shadow: 0 22px 48px rgba(7, 87, 216, .15);
}

.product-card-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-tag {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(7, 87, 216, .92);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.product-tag.bg-danger {
    background: var(--vialsa-danger) !important;
}

.btn-favorite {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, .92);
    color: #64748b;
    transition: all .2s ease;
}

.btn-favorite:hover {
    color: var(--vialsa-danger);
    transform: scale(1.05);
}

.btn-favorite.active {
    border-color: rgba(220, 38, 38, .25);
    background: rgba(220, 38, 38, .1);
    color: var(--vialsa-danger);
}

.store-product-image {
    height: 178px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, #ffffff, #f1f7ff);
}

.store-product-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .22s ease;
}

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

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

.store-product-body h6 {
    min-height: 42px;
    margin-bottom: 6px;
    color: var(--vialsa-primary-dark);
    font-weight: 900;
    line-height: 1.35;
    font-size: .92rem;
}

.product-brand {
    margin-bottom: 8px;
    color: var(--vialsa-muted);
    font-size: .78rem;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 9px;
}

.product-price-box small {
    color: var(--vialsa-muted);
    font-weight: 700;
}

.product-price-box strong {
    color: #0f172a;
    font-size: 1.16rem;
    font-weight: 950;
}

.offer-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
}

.price-normal-strike {
    color: var(--vialsa-muted);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: line-through;
}

.product-price-box .price-offer {
    color: var(--vialsa-danger);
    font-size: 1.24rem;
    font-weight: 950;
}

.store-empty-state {
    border: 1px solid var(--vialsa-border);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    background: #fff;
    color: #475569;
}

.store-empty-state i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: rgba(220, 38, 38, .08);
    color: #dc2626;
    font-size: 1.7rem;
}

.store-empty-state h3 {
    color: #0f172a;
    font-weight: 900;
    margin-bottom: .4rem;
}

.store-empty-state p {
    margin: 0;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.offer-note {
    color: var(--vialsa-danger);
    font-weight: 800;
}

.pickup-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 16px;
    background: #f0fdf4;
    color: #166534;
    font-size: .78rem;
    font-weight: 750;
}

.pickup-info.d-none {
    display: none !important;
}

.pickup-info i {
    color: var(--vialsa-success);
}

.pickup-info strong {
    color: #14532d;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.product-actions .btn-outline-primary {
    flex: 1;
    min-height: 36px;
    border-color: var(--vialsa-primary);
    color: var(--vialsa-primary);
    font-weight: 850;
}

.product-actions .btn-outline-primary:hover {
    background: var(--vialsa-primary);
    color: #fff;
}

.form-agregar-carrito label {
    color: var(--vialsa-primary-dark);
}

.select-presentacion-tienda {
    min-height: 36px;
    border-radius: 14px;
    border-color: var(--vialsa-border);
    font-size: .82rem;
}

.form-agregar-carrito .btn-primary {
    min-height: 41px;
    border: none;
    font-weight: 900;
    background: linear-gradient(135deg, var(--vialsa-primary), #0ea5e9);
    box-shadow: 0 12px 26px rgba(7, 87, 216, .18);
}

.form-agregar-carrito .btn-primary:hover {
    background: linear-gradient(135deg, #0647b7, #0284c7);
}

.product-selected-presentation,
.presentation-single-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    padding: 9px 11px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid var(--vialsa-border);
    color: var(--vialsa-primary-dark);
    font-size: .8rem;
    font-weight: 850;
}

.product-selected-presentation i {
    color: var(--vialsa-primary);
}

.product-selected-presentation span {
    display: block;
    font-weight: 950;
}

.product-selected-presentation small {
    display: block;
    color: var(--vialsa-muted);
    font-weight: 750;
}

.select-presentacion-tienda {
    background-color: #fff;
    font-weight: 800;
}

/* =========================================
   DETALLE DE PRODUCTO
========================================= */

.product-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--vialsa-muted);
    font-size: .86rem;
    font-weight: 800;
}

.product-detail-breadcrumb a {
    color: var(--vialsa-primary);
    text-decoration: none;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 24px;
    align-items: start;
}

.product-detail-gallery,
.product-detail-info,
.product-detail-specs {
    border: 1px solid var(--vialsa-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.product-detail-gallery {
    padding: 18px;
    position: sticky;
    top: 110px;
}

.product-main-image {
    position: relative;
    height: clamp(320px, 38vw, 520px);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at center, #ffffff, #edf6ff);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #0f172a;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
    transform: translateY(-50%);
}

.product-gallery-nav.prev {
    left: 14px;
}

.product-gallery-nav.next {
    right: 14px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb {
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #f8fbff;
    padding: 6px;
}

.product-thumb.active {
    border-color: var(--vialsa-primary);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-info {
    padding: clamp(20px, 3vw, 32px);
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.product-detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.product-detail-info h1 {
    margin: 0;
    color: var(--vialsa-primary-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.06;
    font-weight: 950;
}

.product-detail-brand,
.product-detail-description {
    color: var(--vialsa-muted);
}

.product-detail-brand {
    margin: 9px 0 14px;
    font-weight: 900;
}

.product-detail-description {
    line-height: 1.65;
}

.product-detail-price {
    margin: 20px 0;
    padding: 18px;
    border-radius: 22px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.product-detail-price > span {
    display: block;
    color: #0f172a;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.product-detail-price div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.product-detail-price strong {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 950;
}

.product-detail-price del {
    color: var(--vialsa-muted);
    font-weight: 850;
}

.product-detail-price small {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(220, 38, 38, .1);
    color: #b91c1c;
    font-weight: 950;
}

.product-detail-price .price-offer {
    color: #dc2626;
}

.product-detail-price em {
    display: block;
    margin-top: 5px;
    color: #991b1b;
    font-style: normal;
    font-weight: 800;
}

.detail-block-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--vialsa-muted);
    font-size: .86rem;
}

.detail-block-title strong {
    color: var(--vialsa-primary-dark);
}

.presentation-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-sede-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.detail-sede-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 13px;
    border: 1px solid var(--vialsa-border);
    border-radius: 18px;
    background: #f8fbff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.detail-sede-card.active,
.detail-sede-card:hover {
    border-color: var(--vialsa-primary);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(7, 87, 216, .12);
}

.detail-sede-card input {
    accent-color: var(--vialsa-primary);
}

.detail-sede-card span {
    display: grid;
    gap: 2px;
}

.detail-sede-card strong {
    color: #0f172a;
}

.detail-sede-card small {
    color: var(--vialsa-muted);
    font-weight: 700;
}

.presentation-option-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 82px;
    padding: 13px;
    border: 1px solid var(--vialsa-border);
    border-radius: 18px;
    background: #f8fbff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.presentation-option-card.active,
.presentation-option-card:hover {
    border-color: var(--vialsa-primary);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(7, 87, 216, .12);
}

.presentation-option-card input {
    accent-color: var(--vialsa-primary);
}

.presentation-option-card strong,
.presentation-option-card small {
    display: block;
}

.presentation-option-card strong {
    color: var(--vialsa-primary-dark);
    font-size: .9rem;
    font-weight: 950;
}

.presentation-option-card small {
    color: var(--vialsa-muted);
    font-size: .76rem;
}

.presentation-option-card em {
    color: var(--vialsa-danger);
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

.product-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.product-detail-meta div,
.spec-grid article {
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid var(--vialsa-border);
}

.product-detail-meta i {
    color: var(--vialsa-primary);
}

.product-detail-meta span,
.spec-grid span {
    display: block;
    color: var(--vialsa-muted);
    font-size: .75rem;
    font-weight: 850;
}

.product-detail-meta strong,
.spec-grid strong {
    color: var(--vialsa-primary-dark);
    font-size: .9rem;
    font-weight: 950;
}

.presentation-description {
    margin: 0 0 16px;
    color: var(--vialsa-muted);
}

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

.product-detail-actions label {
    color: var(--vialsa-primary-dark);
    font-size: .82rem;
    font-weight: 900;
}

.product-detail-actions .btn {
    min-height: 48px;
    font-weight: 950;
}

.product-detail-specs {
    margin-top: 24px;
    padding: 24px;
}

.product-detail-specs h2 {
    margin: 10px 0 16px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
}

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

/* =========================================
   EMPTY
========================================= */

.empty-products-box {
    padding: 50px 20px;
    border-radius: 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.empty-products-box i {
    font-size: 3rem;
    color: #94a3b8;
}

.empty-products-box h5 {
    margin-top: 14px;
    font-weight: 900;
    color: var(--vialsa-primary-dark);
}

.empty-products-box p {
    margin: 0;
    color: var(--vialsa-muted);
}

/* =========================================
   PRODUCTOS - CATÁLOGO
========================================= */

.catalog-hero {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    padding: 32px 36px;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .86)),
        url("/img/tienda/tienda_vialsa.png");
    background-size: cover;
    background-position: center right;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.catalog-hero h1 {
    color: var(--vialsa-primary-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 950;
    letter-spacing: -1.5px;
}

.catalog-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--vialsa-muted);
    font-size: .98rem;
    line-height: 1.65;
}

.catalog-category-row {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
    scrollbar-width: none;
}

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

.catalog-category-chip {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    color: #334155;
    text-decoration: none;
    font-weight: 900;
    font-size: .88rem;
    transition: all .18s ease;
}

.catalog-category-chip i {
    color: var(--vialsa-primary);
}

.catalog-category-chip:hover,
.catalog-category-chip.active {
    background: linear-gradient(135deg, var(--vialsa-primary), #0ea5e9);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(7, 87, 216, .18);
}

.catalog-category-chip:hover i,
.catalog-category-chip.active i {
    color: #ffffff;
}

/* =========================================
   OFERTAS
========================================= */

.offers-hero {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 24px;
    padding: 36px 42px;
    border-radius: 32px;
    background:
        linear-gradient(110deg, rgba(6, 25, 54, .96), rgba(7, 87, 216, .62)),
        url("/img/tienda/tienda_vialsa.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(147, 197, 253, .55);
    box-shadow: 0 24px 58px rgba(6, 25, 54, .18);
}

.offers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, .25), transparent 26%),
        linear-gradient(90deg, rgba(6, 25, 54, .74), rgba(6, 25, 54, .16));
}

.offers-hero > div {
    position: relative;
    z-index: 2;
}

.offers-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .18);
    color: #fde68a;
    border: 1px solid rgba(253, 230, 138, .28);
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .6px;
}

.offers-hero h1 {
    max-width: 700px;
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -2px;
}

.offers-hero p {
    max-width: 580px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.65;
}

.offers-discount {
    justify-self: center;
    width: 230px;
    height: 230px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(12px);
    color: #ffffff;
    box-shadow: 0 20px 38px rgba(0, 0, 0, .16);
}

.offers-discount span {
    font-weight: 900;
    text-transform: uppercase;
    color: #fde68a;
}

.offers-discount strong {
    display: block;
    color: #facc15;
    font-size: 4.4rem;
    font-weight: 950;
    line-height: .9;
}

.offers-discount small {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
}

/* =========================================
   SERVICIOS
========================================= */

.services-coming {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
    align-items: center;
    gap: 28px;
    padding: 44px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .18), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.services-coming-content h1 {
    margin: 18px 0 16px;
    color: var(--vialsa-primary-dark);
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    font-weight: 950;
    letter-spacing: -2px;
    line-height: 1;
}

.services-coming-content h1 strong {
    display: block;
    color: var(--vialsa-primary);
}

.services-coming-content > p {
    max-width: 680px;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.75;
}

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

.services-list div {
    min-height: 170px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.services-list i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: 1.3rem;
}

.services-list strong {
    display: block;
    color: var(--vialsa-primary-dark);
    font-size: .92rem;
    font-weight: 950;
    margin-bottom: 6px;
}

.services-list span {
    display: block;
    color: var(--vialsa-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.services-coming-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid #cfe3ff;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(7, 87, 216, .12);
}

.services-coming-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
}

/* =========================================
   CONTACTO
========================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    align-items: center;
    padding: 34px 38px;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(239, 246, 255, .84)),
        url("/img/tienda/tienda_vialsa.png");
    background-size: cover;
    background-position: center right;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.contact-hero h1 {
    color: var(--vialsa-primary-dark);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 950;
    letter-spacing: -1.5px;
}

.contact-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--vialsa-muted);
    font-size: .98rem;
    line-height: 1.65;
}

.contact-card {
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.contact-card h5 {
    margin-bottom: 18px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #eef5ff;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list i,
.contact-action i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 15px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: 1.15rem;
}

.contact-list strong,
.contact-action strong {
    display: block;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
    font-size: .92rem;
}

.contact-list span,
.contact-action span {
    display: block;
    color: var(--vialsa-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.contact-action {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid #eaf2ff;
}

.contact-card .form-control {
    min-height: 44px;
    border-radius: 14px;
    border-color: var(--vialsa-border);
}

.contact-card textarea.form-control {
    min-height: 122px;
}

.contact-card .form-label {
    color: var(--vialsa-primary-dark);
    font-weight: 800;
    font-size: .84rem;
}

.contact-map-card {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
    gap: 24px;
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.map-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
}

.map-info h3 {
    margin: 16px 0 10px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.map-info p {
    color: var(--vialsa-muted);
    line-height: 1.65;
}

.map-frame {
    min-height: 300px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--vialsa-border);
    background: var(--vialsa-primary-soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: none;
}

/* =========================================
   MODAL PERFIL
========================================= */

#modalCompletarPerfil .modal-content {
    border-radius: 28px;
}

#modalCompletarPerfil .form-control {
    border-radius: 16px;
    padding: 12px 14px;
}

#modalCompletarPerfil .btn {
    border-radius: 999px;
    min-height: 48px;
    font-weight: 700;
}

/* =========================================
   MODAL CARRITO DRAWER
========================================= */

#modalCarrito .modal-dialog {
    --cart-drawer-top: clamp(76px, 10vh, 112px);
    --cart-drawer-bottom: 18px;
    margin: var(--cart-drawer-top) 16px var(--cart-drawer-bottom) auto;
    max-width: 650px;
    height: calc(100dvh - var(--cart-drawer-top) - var(--cart-drawer-bottom));
    display: flex;
}

#modalCarrito .modal-content {
    height: 100%;
    min-height: 0;
    max-height: 100%;
}

.cart-drawer {
    border-radius: 32px 0 0 32px;
    overflow: hidden;
    background: #ffffff;
    border: none;
    box-shadow: -18px 0 45px rgba(15, 23, 42, .14);
    display: flex;
    flex-direction: column;
}

.cart-header {
    background: linear-gradient(135deg, var(--vialsa-primary-dark), var(--vialsa-primary)) !important;
    padding: 20px 24px;
    border-bottom: none;
}

.cart-header small {
    opacity: .85;
}

.cart-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--vialsa-primary-soft);
    color: #0b2e59;
    border: 1px solid var(--vialsa-border);
}

.cart-info i {
    color: var(--vialsa-primary);
    font-size: 1.1rem;
}

.cart-table thead th {
    background: #f8fbff;
    color: #0b2e59;
    border-bottom: none;
}

.cart-table td {
    vertical-align: middle;
}

.cart-table tbody tr {
    border-bottom: 1px solid #eef2ff;
}

.cart-table tbody tr:last-child {
    border-bottom: none;
}

.cart-table .btn-outline-danger {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total-box {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    border: 1px solid var(--vialsa-border);
}

.cart-total-box h4,
[data-cart-total],
.cart-page-total {
    color: #0f172a !important;
}

.cart-footer {
    padding: 18px 22px;
    background: #ffffff;
    border-top: 1px solid #eef2ff;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .store-hero-clean,
    .offers-hero,
    .services-coming {
        grid-template-columns: 1fr;
    }

    .hero-clean-aside {
        grid-template-columns: 1.2fr .8fr;
        grid-template-rows: auto;
    }

    .hero-mini-row {
        grid-template-columns: 1fr;
    }

    .offers-discount {
        justify-self: flex-start;
        width: 190px;
        height: 190px;
    }

    .offers-discount strong {
        font-size: 3.4rem;
    }

    .services-coming-image,
    .services-coming-image img {
        min-height: 320px;
    }
}

@media (max-width: 991px) {

    .store-modern-page {
        padding-top: 14px;
    }

    .store-filter-panel {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        max-height: none;
        margin-bottom: 16px;
    }

    .filter-header {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .filter-block {
        padding: 0;
        border-bottom: none;
    }

    .store-filter-panel > .btn {
        align-self: end;
    }

    .hero-clean-main {
        min-height: 270px;
    }

    .hero-clean-content {
        padding: 32px;
    }

    .hero-clean-aside {
        grid-template-columns: 1fr;
    }

    .hero-mini-row {
        grid-template-columns: 1fr 1fr;
    }

    .store-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-tools {
        width: 100%;
        justify-content: space-between;
    }

    .catalog-hero,
    .contact-hero {
        min-height: 160px;
        padding: 28px;
    }

    .services-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .map-frame,
    .map-frame iframe {
        min-height: 260px;
    }
}

@media (max-width: 767px) {

    .store-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .store-modern-page {
        padding-top: 10px;
        padding-bottom: 34px;
    }

    .store-filter-panel {
        display: block;
        padding: 14px;
        border-radius: 20px;
    }

    .filter-block {
        padding: 10px 0;
        border-bottom: 1px solid #eef5ff;
    }

    .hero-clean-main {
        min-height: 355px;
        border-radius: 24px;
    }

    .hero-clean-content {
        padding: 26px 22px 32px;
    }

    .hero-clean-content h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-clean-content p {
        font-size: .92rem;
    }

    .hero-clean-actions {
        flex-direction: column;
    }

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

    .quote-focus-card {
        min-height: auto;
        padding: 20px;
        border-radius: 24px;
    }

    .quote-icon {
        position: static;
        margin-bottom: 14px;
    }

    .hero-mini-row {
        grid-template-columns: 1fr;
    }

    .store-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .compare-pill,
    .store-tools .form-select {
        width: 100%;
        max-width: none;
    }

    .store-product-image {
        height: 165px;
    }

    .catalog-hero,
    .contact-hero {
        border-radius: 24px;
        padding: 24px;
    }

    .catalog-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }

    .catalog-category-row {
        border-radius: 20px;
        padding: 10px;
    }

    .catalog-category-chip {
        padding: 10px 14px;
        font-size: .8rem;
    }

    .offers-hero {
        min-height: auto;
        padding: 28px 24px;
        border-radius: 24px;
    }

    .offers-hero h1 {
        font-size: 2.2rem;
    }

    .offers-discount {
        width: 160px;
        height: 160px;
    }

    .offers-discount strong {
        font-size: 2.8rem;
    }

    .services-coming {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .services-coming-content h1 {
        font-size: 2.2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-list div {
        min-height: auto;
    }

    .contact-card {
        padding: 20px;
        border-radius: 22px;
    }

    .contact-map-card {
        padding: 20px;
        border-radius: 24px;
    }

    #modalCarrito .modal-dialog {
        --cart-drawer-top: 64px;
        --cart-drawer-bottom: 10px;
        margin: var(--cart-drawer-top) 8px var(--cart-drawer-bottom);
        max-width: 100%;
        height: calc(100dvh - var(--cart-drawer-top) - var(--cart-drawer-bottom));
    }

    .cart-drawer {
        border-radius: 0;
    }

    .cart-footer {
        align-items: stretch !important;
    }

    .cart-footer .d-flex {
        width: 100%;
        flex-direction: column;
    }

    .cart-footer .btn,
    .cart-footer form {
        width: 100%;
    }
}

@media (max-width: 575px) {

    .hero-clean-main {
        min-height: 380px;
    }

    .hero-clean-kicker {
        font-size: .64rem;
        padding: 6px 10px;
    }

    .hero-clean-content h1,
    .services-coming-content h1,
    .offers-hero h1 {
        font-size: 1.85rem;
    }

    .hero-clean-content p,
    .catalog-hero p,
    .contact-hero p,
    .offers-hero p,
    .services-coming-content > p {
        font-size: .9rem;
        line-height: 1.55;
    }

    .section-label {
        font-size: .66rem;
    }

    .store-section-header h2 {
        font-size: 1.35rem;
    }

    .store-section-header p {
        font-size: .9rem;
    }

    .store-product-image {
        height: 155px;
    }

    .product-tag {
        max-width: 66%;
        font-size: .62rem;
    }

    .btn-favorite {
        width: 34px;
        height: 34px;
    }

    .pickup-info {
        font-size: .72rem;
    }

    .select-presentacion-tienda {
        font-size: .78rem;
    }

    .form-agregar-carrito .btn-primary {
        min-height: 42px;
        font-size: .88rem;
    }

    .cart-table {
        font-size: .82rem;
    }

    .contact-list li,
    .contact-action {
        gap: 10px;
    }

    .contact-list i,
    .contact-action i {
        width: 38px;
        height: 38px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 220px;
    }
}
/* =========================================
   INICIO - ATAJOS
========================================= */

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

.home-shortcut-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-shortcut-card:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
    box-shadow: 0 20px 42px rgba(7, 87, 216, .13);
}

.home-shortcut-card i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: 1.35rem;
}

.home-shortcut-card strong {
    display: block;
    color: var(--vialsa-primary-dark);
    font-size: .98rem;
    font-weight: 950;
}

.home-shortcut-card span {
    display: block;
    margin-top: 3px;
    color: var(--vialsa-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.shortcut-offer {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 36%),
        linear-gradient(135deg, #ffffff, #fff7ed);
    border-color: #fed7aa;
}

.shortcut-offer i {
    background: #fff7ed;
    color: var(--vialsa-danger);
}

/* =========================================
   INICIO - CÓMO COMPRAR
========================================= */

.home-steps {
    padding: 26px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .05);
}

.home-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-step-card {
    position: relative;
    min-height: 220px;
    padding: 24px 20px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #eaf2ff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.home-step-card span {
    position: absolute;
    top: 16px;
    right: 18px;
    color: rgba(7, 87, 216, .12);
    font-size: 3.4rem;
    font-weight: 950;
    line-height: 1;
}

.home-step-card i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--vialsa-primary), var(--vialsa-cyan));
    color: #ffffff;
    font-size: 1.45rem;
    box-shadow: 0 12px 24px rgba(7, 87, 216, .18);
}

.home-step-card h5 {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
    font-size: 1rem;
}

.home-step-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--vialsa-muted);
    font-size: .88rem;
    line-height: 1.55;
}

/* =========================================
   INICIO - MINI UBICACIÓN
========================================= */

.home-location {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
    gap: 24px;
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--vialsa-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.home-location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
}

.home-location-info h2 {
    margin: 16px 0 10px;
    color: var(--vialsa-primary-dark);
    font-weight: 950;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    letter-spacing: -.8px;
}

.home-location-info p {
    max-width: 520px;
    color: var(--vialsa-muted);
    line-height: 1.65;
}

.home-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.home-location-map {
    min-height: 300px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--vialsa-border);
    background: var(--vialsa-primary-soft);
}

.home-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: none;
}

/* =========================================
   RESPONSIVE INICIO NUEVO
========================================= */

@media (max-width: 1199px) {

    .home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-location {
        grid-template-columns: 1fr;
    }

    .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .product-detail-gallery {
        position: static;
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .home-shortcuts {
        grid-template-columns: 1fr;
    }

    .home-shortcut-card {
        min-height: auto;
        padding: 16px;
        border-radius: 22px;
    }

    .home-steps {
        padding: 18px;
        border-radius: 24px;
    }

    .home-steps-grid {
        grid-template-columns: 1fr;
    }

    .home-step-card {
        min-height: auto;
        padding: 20px;
        border-radius: 22px;
    }

    .home-location {
        padding: 20px;
        border-radius: 24px;
    }

    .home-location-map,
    .home-location-map iframe {
        min-height: 240px;
    }

    .home-location-actions .btn {
        width: 100%;
    }

    .detail-sede-grid,
    .presentation-option-grid,
    .product-detail-meta,
    .product-detail-actions,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        height: 310px;
    }

    .product-detail-info,
    .product-detail-gallery,
    .product-detail-specs {
        border-radius: 22px;
    }
}

/* ==============================
   STORE HERO CAROUSEL
============================== */

.store-hero-carousel-main {
    min-width: 0;
}

.store-hero-carousel {
    position: relative;
    min-height: 420px;
    height: clamp(380px, 42vw, 520px);
    overflow: hidden;
    border-radius: 28px;
    background: #0f172a;
    box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
}

.store-hero-carousel .carousel-inner,
.store-hero-carousel .carousel-item,
.store-hero-slide {
    height: 100%;
}

.store-hero-slide {
    position: relative;
    margin: 0;
}

.store-hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 22, 50, .82), rgba(3, 22, 50, .36) 54%, rgba(3, 22, 50, .1));
    pointer-events: none;
}

.store-hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(30px, 5vw, 70px);
    color: #fff;
}

.store-hero-slide-overlay h1 {
    max-width: 680px;
    margin: 12px 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.02;
    font-weight: 950;
}

.store-hero-slide-overlay p {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.55;
}

.store-hero-fallback {
    background-size: cover;
    background-position: center;
}

.store-hero-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 22, 50, .82), rgba(3, 22, 50, .22));
}

.store-hero-fallback .fallback-text {
    z-index: 1;
}

.store-hero-carousel .carousel-control-prev,
.store-hero-carousel .carousel-control-next {
    width: 54px;
    height: 54px;
    top: 50%;
    margin: 0 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    opacity: 1;
}

.store-hero-carousel .carousel-indicators {
    margin-bottom: 18px;
}

.store-hero-carousel .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .62);
}

.store-hero-carousel .carousel-indicators .active {
    background-color: #fff;
}

@media (max-width: 992px) {
    .store-hero-carousel {
        min-height: 360px;
        height: auto;
    }

    .store-hero-slide,
    .store-hero-carousel .carousel-inner,
    .store-hero-carousel .carousel-item {
        min-height: 360px;
    }
}

@media (max-width: 576px) {
    .store-hero-slide-overlay {
        padding: 28px 22px;
    }

    .store-hero-carousel .carousel-control-prev,
    .store-hero-carousel .carousel-control-next {
        display: none;
    }
}


/* ==============================
   STORE HERO IMAGE FIT POLISH
============================== */

.store-hero-clean {
    align-items: stretch;
}

.store-hero-carousel {
    width: 100%;
    max-height: 520px;
    isolation: isolate;
}

.store-hero-slide img {
    object-fit: cover;
    object-position: center;
    max-width: none;
    image-rendering: auto;
}

.store-hero-slide::after {
    background: linear-gradient(90deg, rgba(3, 22, 50, .84), rgba(3, 22, 50, .42) 54%, rgba(3, 22, 50, .14));
}

.store-hero-fallback {
    max-height: 520px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 992px) {
    .store-hero-carousel {
        height: 380px;
        max-height: 380px;
    }
}

@media (max-width: 576px) {
    .store-hero-carousel {
        height: 340px;
        min-height: 340px;
        max-height: 340px;
        border-radius: 22px;
    }

    .store-hero-slide,
    .store-hero-carousel .carousel-inner,
    .store-hero-carousel .carousel-item {
        min-height: 340px;
        height: 340px;
    }
}


/* ==============================
   STORE HERO CLEAN FALLBACK
============================== */

.store-hero-fallback-clean {
    min-height: 420px;
    height: clamp(360px, 38vw, 500px);
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, .85);
    border-radius: 28px;
    background:
        radial-gradient(circle at 84% 16%, rgba(14, 165, 233, .16), transparent 32%),
        radial-gradient(circle at 12% 88%, rgba(37, 99, 235, .13), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #eff6ff 56%, #e0f2fe 100%);
    box-shadow: 0 20px 46px rgba(15, 23, 42, .1);
}

.store-hero-fallback-content {
    max-width: 760px;
    padding: clamp(30px, 5vw, 70px);
}

.store-hero-fallback-content .hero-clean-kicker {
    color: #0755d9;
    background: rgba(7, 85, 217, .08);
    border-color: rgba(7, 85, 217, .18);
}

.store-hero-fallback-content h1 {
    max-width: 700px;
    margin: 12px 0 14px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.03;
    font-weight: 950;
}

.store-hero-fallback-content p {
    max-width: 620px;
    margin: 0 0 24px;
    color: #475569;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .store-hero-fallback-clean {
        min-height: 360px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .store-hero-fallback-clean {
        min-height: 340px;
        border-radius: 22px;
    }

    .store-hero-fallback-content {
        padding: 28px 22px;
    }
}


/* ==============================
   STORE PAGE HERO CAROUSEL
============================== */

.store-page-hero {
    margin-bottom: 26px;
}

.store-page-hero .store-hero-carousel,
.store-page-hero .store-hero-fallback-clean {
    min-height: 320px;
    height: clamp(300px, 34vw, 430px);
}

.store-page-hero .store-hero-slide,
.store-page-hero .store-hero-carousel .carousel-inner,
.store-page-hero .store-hero-carousel .carousel-item {
    height: 100%;
}

.store-page-hero .store-hero-slide-overlay h1,
.store-page-hero .store-hero-fallback-content h1 {
    max-width: 760px;
}

@media (max-width: 576px) {
    .store-page-hero .store-hero-carousel,
    .store-page-hero .store-hero-fallback-clean {
        min-height: 310px;
        height: 310px;
    }
}
/* =========================================
   CONTACTO - SEDES ACTIVAS
========================================= */

.contact-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-card-title-row h5 {
    margin-bottom: 0;
}

.contact-sedes-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
}

.sedes-mini-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.sede-mini-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid #eaf2ff;
}

.sede-mini-photo {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--vialsa-primary-soft);
    border: 1px solid var(--vialsa-border);
}

.sede-mini-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.sede-mini-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--vialsa-primary);
    font-size: 2rem;
}

.sede-mini-body {
    min-width: 0;
}

.sede-mini-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.sede-mini-head strong {
    color: var(--vialsa-primary-dark);
    font-size: .95rem;
    font-weight: 950;
}

.sede-mini-head span {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: .68rem;
    font-weight: 950;
}

.sede-mini-type,
.sede-mini-line {
    margin: 0 0 5px;
    color: var(--vialsa-muted);
    font-size: .8rem;
    line-height: 1.35;
}

.sede-mini-type {
    font-weight: 800;
    text-transform: capitalize;
}

.sede-mini-line {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.sede-mini-line i {
    color: var(--vialsa-primary);
    font-size: .92rem;
    margin-top: 1px;
}

.sede-mini-map {
    margin-top: 6px;
    font-size: .78rem;
    font-weight: 850;
}

.sede-mini-no-map {
    display: inline-flex;
    margin-top: 6px;
    color: var(--vialsa-muted);
    font-size: .76rem;
    font-weight: 750;
}

.sedes-empty-state {
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px;
    border-radius: 22px;
    background: #f8fbff;
    border: 1px dashed var(--vialsa-border);
    color: var(--vialsa-muted);
}

.sedes-empty-state i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--vialsa-primary-soft);
    color: var(--vialsa-primary);
    font-size: 1.8rem;
}

.sedes-empty-state strong {
    color: var(--vialsa-primary-dark);
    font-weight: 950;
}

@media (max-width: 575px) {
    .sede-mini-card {
        grid-template-columns: 1fr;
    }

    .sede-mini-photo {
        width: 100%;
        height: 170px;
    }
}

/* Aplicacion fuerte de colores configurables */
html,
body {
    background: var(--vialsa-bg, #f4f7fb) !important;
    color: var(--vialsa-text, #0f172a);
}

.store-modern-page,
.store-page,
.tienda-page,
.page-store,
.main-store,
.store-content {
    background: var(--vialsa-bg, #f4f7fb) !important;
}

.btn-primary,
.store-btn-primary,
.btn-store-primary,
.form-agregar-carrito .btn-primary {
    background-color: var(--vialsa-primary, #0d6efd) !important;
    border-color: var(--vialsa-primary, #0d6efd) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.store-btn-primary:hover,
.btn-store-primary:hover,
.form-agregar-carrito .btn-primary:hover {
    background-color: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 86%, #000000) !important;
    border-color: color-mix(in srgb, var(--vialsa-primary, #0d6efd) 86%, #000000) !important;
}

.text-accent,
.link-accent,
.store-badge {
    --local-accent: var(--vialsa-accent, #00a6d6);
}

.store-hero-fallback-clean {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--vialsa-accent, #00a6d6) 18%, transparent), transparent 35%),
        linear-gradient(135deg, color-mix(in srgb, var(--vialsa-bg, #f4f7fb) 82%, #ffffff) 0%, var(--vialsa-bg, #f4f7fb) 100%) !important;
}

.store-hero-fallback-content h1 {
    color: var(--vialsa-text, #0f172a) !important;
}

/* Carrito dinamico */
.cart-message {
    margin-bottom: 1rem;
}

#modalCarrito .modal-body {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#modalCarrito .cart-content {
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.cart-items-list {
    display: grid;
    gap: 0.9rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.cart-line-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    padding: 0.85rem;
    background: #fff;
}

.cart-line-card img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f4f6;
}

.cart-line-main {
    min-width: 0;
}

.cart-line-main strong,
.cart-line-main span,
.cart-line-main small {
    display: block;
}

.cart-line-main strong {
    color: #111827;
    line-height: 1.2;
}

.cart-line-main span,
.cart-line-main small {
    color: #6b7280;
    font-size: 0.86rem;
}

.cart-line-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    padding: 0.18rem;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 700;
}

.cart-line-controls input {
    width: 52px;
    border: 0;
    text-align: center;
    font-weight: 700;
    color: #111827;
}

.cart-line-total {
    display: grid;
    justify-items: end;
    gap: 0.25rem;
    min-width: 92px;
}

.cart-line-total span {
    color: #6b7280;
    font-size: 0.82rem;
}

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

.store-toast-message {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1090;
    max-width: min(360px, calc(100vw - 32px));
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.store-toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

.store-toast-message.success {
    background: #166534;
}

.store-toast-message.danger {
    background: #b91c1c;
}

/* Checkout online */
.checkout-pickup-summary {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 16px;
    padding: 1rem;
    background: #eff6ff;
}

.checkout-pickup-summary i {
    color: #2563eb;
    font-size: 1.45rem;
}

.checkout-pickup-summary span,
.checkout-pickup-summary small {
    display: block;
    color: #64748b;
}

.checkout-pickup-summary strong {
    display: block;
    color: #0f172a;
}

.checkout-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
}

.checkout-slot-card {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    padding: 0.85rem;
    cursor: pointer;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-slot-card:hover,
.checkout-slot-card.active {
    border-color: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.checkout-slot-card.active {
    background: #eff6ff;
    padding-right: 2.4rem;
}

.checkout-slot-card.active::after {
    content: "\F26A";
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-family: "bootstrap-icons";
    font-size: 0.78rem;
    line-height: 1;
}

.checkout-slot-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-slot-card strong,
.checkout-slot-card small {
    display: block;
}

.checkout-slot-card strong {
    color: #111827;
}

.checkout-slot-card small,
.checkout-slot-card em {
    color: #64748b;
    font-size: 0.84rem;
    font-style: normal;
}

.checkout-slot-card.active em {
    color: #1d4ed8;
    font-weight: 700;
}

.checkout-inline-message {
    font-size: 0.92rem;
}

@media (max-width: 575.98px) {
    .cart-line-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-line-card img {
        width: 64px;
        height: 64px;
    }

    .cart-line-total {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.payment-method-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    padding: 0.95rem 0.7rem;
    background: #fff;
    cursor: pointer;
    color: #334155;
    font-weight: 700;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.payment-method-card:hover,
.payment-method-card.active,
.payment-method-card:has(input:checked) {
    border-color: #16a34a;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.12);
    transform: translateY(-1px);
}

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

.payment-method-card i {
    color: #16a34a;
    font-size: 1.45rem;
}

@media (max-width: 575.98px) {
    .payment-method-grid {
        grid-template-columns: 1fr;
    }
}

/* Sede global en detalle */
.detail-store-summary {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.detail-store-summary > i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0369a1;
    flex: 0 0 auto;
}

.detail-store-summary div {
    display: grid;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.detail-store-summary span {
    color: #64748b;
    font-size: .82rem;
}

.detail-store-summary strong {
    color: #0f172a;
}

.detail-store-summary small {
    color: #64748b;
}

@media (max-width: 575.98px) {
    .detail-store-summary {
        flex-direction: column;
    }

    .detail-store-summary .btn {
        width: 100%;
    }
}
