/* --- PÁGINAS GENERALES (TIENDA / BLOG) --- */
/* ========================================= */

.static-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background-color: #080808;
}
.static-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Ligeramente oscurecido para resaltar el cristal */
}

.content-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 20px 80px; /* Espacio para el navbar fijo */
    z-index: 5;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}


/* ========================================= */

/* --- PÁGINA ESPECÍFICA: TIENDA --- */
/* ========================================= */
.store-header {
    text-align: left;
    width: 100%;
    max-width: 1300px;
    margin-bottom: 40px;
    padding: 0 15px;
}
.store-header h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: none;
    filter: none;
}
.store-header p { 
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================= */
/* --- TARJETAS PREMIUM DE TIENDA E-COMMERCE (CRISTAL ESMERILADO) --- */
/* ========================================= */
.store-product-card {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* LISTÓN DIAGONAL 3D DE PROMOCIÓN (SOBRESALE DE LA TARJETA) */
.zk-promo-ribbon-wrap {
    position: absolute;
    top: -9px;
    left: -9px;
    width: 132px;
    height: 132px;
    overflow: hidden;
    pointer-events: none;
    z-index: 25;
}
.zk-promo-ribbon-wrap::before,
.zk-promo-ribbon-wrap::after {
    content: '';
    position: absolute;
    border: 4.5px solid #7f1d1d;
    z-index: 1;
}
.zk-promo-ribbon-wrap::before {
    top: 0;
    right: 6px;
    border-top-color: transparent;
    border-right-color: transparent;
}
.zk-promo-ribbon-wrap::after {
    bottom: 6px;
    left: 0;
    border-bottom-color: transparent;
    border-left-color: transparent;
}
@keyframes zkRibbonSheen {
    0%   { left: -75%; }
    45%  { left: 135%; }
    100% { left: 135%; }
}
.zk-promo-ribbon {
    position: absolute;
    top: 26px;
    left: -38px;
    width: 174px;
    padding: 7px 0;
    background: linear-gradient(125deg, #b91c1c 0%, #ef4444 22%, #f97316 52%, #fbbf24 78%, #ea580c 100%);
    color: #ffffff;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 10px 22px rgba(185, 28, 28, 0.45), 0 3px 6px rgba(0, 0, 0, 0.22), inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -1.5px 0 rgba(127, 29, 29, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(127, 29, 29, 0.35);
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.zk-promo-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-25deg);
    animation: zkRibbonSheen 4.5s ease-in-out infinite;
    pointer-events: none;
}
.zk-promo-ribbon-top {
    font-size: 9px;
    font-weight: 800;
    opacity: 0.95;
}
.zk-promo-ribbon-main {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.28);
}
.zk-promo-ribbon-single {
    font-size: 10.5px;
    font-weight: 900;
    padding: 2px 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.store-product-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.18), inset 0 0 25px rgba(255, 255, 255, 0.6);
}

.product-img {
    width: 100%;
    height: 220px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
}

.product-img img,
.product-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product-card:hover .product-img img,
.store-product-card:hover .product-img video {
    transform: scale(1.07);
}

.card-top-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.badge-soldout {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-card-quick-cart {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: auto;
}

.btn-card-quick-cart:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.12);
}

.card-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 800;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    width: fit-content;
}

.card-product-title {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.card-product-desc {
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.card-meta-row {
    margin-bottom: 10px;
}

.card-stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    width: fit-content;
    backdrop-filter: blur(6px);
}

.card-stock-indicator.in-stock {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-stock-indicator.low-stock {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-stock-indicator.out-stock {
    color: #475569;
    background: rgba(100, 116, 139, 0.12);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.card-price-block {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.card-old-price {
    text-decoration: line-through;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
}

.card-current-price {
    color: #0f172a;
    font-weight: 900;
    font-size: 21px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.card-currency {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
}

.card-action-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-buy-light {
    width: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-buy-light .icon-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.store-product-card:hover .btn-buy-light {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.store-product-card:hover .btn-buy-light .icon-arrow {
    transform: translateX(3px);
}

/* ========================================= */
/* --- MODAL DETALLE DE PRODUCTO (LIMPIO, AMPLIO Y CONTRASTE ALTO) --- */
/* ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-product-box {
    width: 980px;
    max-width: 96%;
    max-height: 92vh;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 34px;
    position: relative;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.btn-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.2s ease;
}

.btn-modal-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.06);
}

.modal-grid-layout {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 34px;
    align-items: start;
}

@media (max-width: 820px) {
    .modal-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-product-box {
        padding: 22px 18px;
    }
    .modal-col-right {
        padding-right: 0 !important;
    }
}

.modal-col-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-media-stage {
    width: 100%;
    height: 300px;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.modal-media-stage img,
.modal-media-stage video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-stage-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.btn-stage-zoom:hover {
    background: #0f172a;
    transform: scale(1.05);
}

.modal-thumbs-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.modal-thumb-item {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #f8fafc;
    padding: 3px;
}

.modal-thumb-item:hover,
.modal-thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
    transform: translateY(-2px);
}

.modal-thumb-item img,
.modal-thumb-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-trust-perks {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 12.5px;
    color: #1e293b;
    font-weight: 600;
}

.modal-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
}
.modal-trust-item span.material-symbols-outlined {
    font-size: 18px;
    color: #0284c7;
}

/* Columna Derecha */
.modal-col-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-right: 34px;
}

.modal-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-badge-cat {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-badge-sku {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.4px;
}

.modal-product-title {
    color: #0f172a;
    font-size: 25px;
    font-weight: 900;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.modal-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.modal-tag-pill {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 4px 11px;
    border-radius: 6px;
    text-transform: uppercase;
}

.modal-desc-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 0;
    max-height: none;
    overflow: visible;
}

.modal-desc-text {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.72;
    margin: 0;
    white-space: pre-wrap;
}

.modal-checkout-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-remote-addon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-remote-addon:hover {
    border-color: #0284c7;
    background: #e0f2fe;
}

.modal-remote-addon-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-remote-addon input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0284c7;
    cursor: pointer;
    flex-shrink: 0;
}

.modal-remote-addon-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.modal-remote-addon-sub {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.modal-remote-addon-price {
    font-size: 13px;
    font-weight: 900;
    color: #0284c7;
    white-space: nowrap;
}

.modal-purchase-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-qty-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-qty-label {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.modal-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 2px;
}

.btn-qty {
    border: none;
    background: transparent;
    width: 34px;
    height: 34px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty:hover {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 50%;
}

.input-qty {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 900;
    font-size: 14px;
    color: #0f172a;
}

.btn-modal-add {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.btn-modal-add:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
}

/* Lightbox Zoom Fullscreen */
.zoom-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    cursor: zoom-out;
}

.btn-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3600;
}

.btn-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-lightbox-stage {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

/* ========================================= */
/* --- BARRA DE CONTROL Y FILTROS PREMIUM --- */
/* ========================================= */
.store-controls-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 35px auto;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.store-toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

/* Buscador Ultra Premium */
.store-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 260px;
    background: #ffffff;
    border-radius: 50px;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-search-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 8px 24px rgba(15, 23, 42, 0.08);
}

.store-search-wrapper .search-icon {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: #64748b;
    pointer-events: none;
    transition: color 0.25s ease;
}

.store-search-wrapper:focus-within .search-icon {
    color: #2563eb;
}

.store-search-wrapper input {
    width: 100%;
    padding: 12px 42px 12px 48px;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
}

.store-search-wrapper input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.search-clear-btn span {
    font-size: 18px;
}

/* Grupo de Utilidades (Ordenar + Contador) */
.store-utils-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Pill Dropdown Ordenar */
.store-sort-pill {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
}

.store-sort-pill:hover {
    border-color: #94a3b8;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.store-sort-pill .sort-icon {
    position: absolute;
    left: 14px;
    font-size: 19px;
    color: #2563eb;
    pointer-events: none;
}

.store-sort-pill .sort-chevron {
    position: absolute;
    right: 14px;
    font-size: 18px;
    color: #64748b;
    pointer-events: none;
}

.store-sort-pill select {
    appearance: none;
    -webkit-appearance: none;
    padding: 11px 40px 11px 42px;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    outline: none;
}

/* Contador de Resultados */
.store-results-counter {
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

/* Fila de Píldoras de Categorías */
.store-pills-bar {
    width: 100%;
    overflow: hidden;
}

.pills-scroll-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 6px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.pills-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Píldora Individual */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.category-pill .pill-icon {
    font-size: 17px;
    color: #64748b;
    transition: color 0.2s ease, transform 0.2s ease;
}

.category-pill:hover {
    color: #0f172a;
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.category-pill:hover .pill-icon {
    color: #2563eb;
    transform: scale(1.1);
}

.category-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    transform: translateY(-2px);
}

.category-pill.active .pill-icon {
    color: #60a5fa;
}

/* Empty State cuando 0 productos coinciden */
.store-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin: 20px 0;
}

.store-empty-state .empty-icon {
    font-size: 54px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.store-empty-state h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.store-empty-state p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
    max-width: 400px;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .content-page {
        padding: 95px 12px 60px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .store-top-hero {
        margin: 5px auto 20px auto !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .store-header {
        padding: 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .store-header h1 {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }
    .store-header p {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }
    .store-top-hero > div[style*="max-width: 650px"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
    .store-top-hero .chat-container {
        width: 100% !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }
    .store-controls-container {
        padding: 12px !important;
        margin-bottom: 20px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .store-toolbar-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .store-search-wrapper {
        min-width: 0 !important;
        width: 100% !important;
    }
    .store-search-wrapper input {
        font-size: 13px !important;
        padding: 10px 36px 10px 42px !important;
    }
    .store-utils-group {
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .store-sort-pill {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .store-sort-pill select {
        font-size: 12px !important;
        padding: 9px 28px 9px 34px !important;
        width: 100% !important;
    }
    .store-results-counter {
        padding: 8px 12px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    .cards-grid,
    #public-store-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .store-product-card {
        padding: 14px !important;
        border-radius: 18px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .product-img {
        height: 190px !important;
        border-radius: 14px !important;
    }
    .modal-overlay {
        padding: 10px !important;
    }
    .modal-product-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 14px !important;
        border-radius: 18px !important;
        max-height: 92vh !important;
        box-sizing: border-box !important;
    }
    .modal-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .modal-media-stage {
        height: 210px !important;
    }
    .modal-product-title {
        font-size: 20px !important;
    }
    .modal-checkout-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
    }
    .btn-modal-add {
        font-size: 13.5px !important;
        padding: 12px 20px !important;
    }
    .store-pills-bar {
        width: 100% !important;
        overflow: hidden !important;
    }
    .pills-scroll-container {
        overflow-x: auto !important;
        padding-bottom: 6px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .category-pill {
        flex-shrink: 0 !important;
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
}
