:root{
    --sio-primary:#5b5cf0;
    --sio-dark:#121826;
    --sio-soft:#f5f7fb;
    --sio-card:#ffffff;
}
*{font-family:'Inter',sans-serif}
body{background:#fff;color:var(--sio-dark)}
.nav-sio{background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid #eceef5}
.btn-sio{background:linear-gradient(135deg,var(--sio-primary),#8a63ff);border:none;color:#fff;box-shadow:0 10px 30px rgba(91,92,240,.22)}
.btn-sio:hover{color:#fff;opacity:.95}
.hero-sio{background:radial-gradient(circle at top right,#e9e6ff,transparent 35%),linear-gradient(180deg,#fcfcff 0,#f7f9fc 100%)}
.glass-card,.summary-box,.filter-box,.detail-image-wrap{background:rgba(255,255,255,.9);border:1px solid #eceef5;border-radius:24px;box-shadow:0 20px 60px rgba(20,20,43,.08)}
.metric{font-size:1.7rem;font-weight:800}
.section-title h2{font-weight:800}
.section-title p{color:#6b7280}
.category-card{display:block;padding:1.25rem;border-radius:22px;background:#fff;border:1px solid #eceef5;box-shadow:0 12px 40px rgba(20,20,43,.06);height:100%;transition:.2s transform,.2s box-shadow}
.category-card:hover,.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 50px rgba(20,20,43,.12)}
.product-card{background:#fff;border:1px solid #eceef5;border-radius:24px;overflow:hidden;height:100%;display:flex;flex-direction:column;box-shadow:0 12px 40px rgba(20,20,43,.06)}
.product-img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f2f4f9}
.product-name{min-height:48px}
.price,.price-detail{font-weight:800;color:var(--sio-primary)}
.price-detail{font-size:2rem}
.bg-soft{background:var(--sio-soft)}
.list-group-item.active{background:var(--sio-primary);border-color:var(--sio-primary)}
.detail-image{width:100%;max-height:520px;object-fit:contain;padding:1rem}
.characteristics th{width:36%;color:#6b7280}
.cart-row{display:flex;gap:1rem;align-items:center;padding:1rem;background:#fff;border:1px solid #eceef5;border-radius:20px}
.cart-thumb{width:80px;height:80px;object-fit:cover;border-radius:16px;background:#f2f4f9}
.sticky-summary{position:sticky;top:90px}
.footer-sio{border-top:1px solid #eceef5;background:#fafbff}
@media (max-width: 768px){.cart-row{flex-direction:column;align-items:flex-start}.sticky-summary{position:static}}
.hero-image {
    position: relative;
    min-height: 78vh;
    background-image: url('/images/bienvenida.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    min-height: 78vh;
    background: linear-gradient(135deg, rgba(10, 18, 40, 0.75), rgba(15, 23, 42, 0.45));
    display: flex;
    align-items: center;
}

.hero-content-centered {
    max-width: 760px;
    color: #fff;
    padding: 80px 0;
}

    .hero-content-centered h1 {
        font-size: clamp(2.4rem, 6vw, 4.5rem);
        line-height: 1.05;
        margin: 18px 0 20px;
        font-weight: 800;
        color: #fff;
    }

    .hero-content-centered p {
        font-size: 1.15rem;
        line-height: 1.8;
        color: rgba(255,255,255,0.92);
        max-width: 680px;
    }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

    .btn-primary:hover {
        background: #1d4ed8;
    }

.btn-secondary {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,0.22);
    }

.section {
    padding: 70px 0;
}

.section-soft {
    background: #f8fafc;
}

.section-header {
    margin-bottom: 28px;
}

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .section-header p {
        color: #64748b;
    }

.categories-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.category-card,
.product-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .category-card:hover,
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    }

.category-card {
    text-decoration: none;
    color: inherit;
    padding: 24px;
}

.category-card-body h3 {
    margin-bottom: 10px;
}

.category-card-body p {
    color: #64748b;
    margin-bottom: 16px;
}

.category-card-body span {
    color: #2563eb;
    font-weight: 700;
}

.product-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.product-image-wrap {
    height: 230px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 20px;
}

.product-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-body h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-body p {
    color: #64748b;
    min-height: 48px;
}

.product-footer {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .hero-image,
    .hero-overlay {
        min-height: 65vh;
    }

    .hero-content-centered {
        padding: 60px 0;
    }

        .hero-content-centered p {
            font-size: 1rem;
        }
}

.site-footer {
    background: #0f172a;
    color: #fff;
    padding: 50px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 12px;
}

.site-footer p {
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin: 0 0 8px;
}

.brand-sio {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--sio-dark) !important;
}

.nav-links-sio .nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    margin-right: 6px;
}

    .nav-links-sio .nav-link:hover {
        color: var(--sio-primary) !important;
    }

.nav-search-sio {
    min-width: 240px;
}

.search-input-sio {
    border-radius: 14px;
    border: 1px solid #dbe1ea;
    padding: 0.55rem 0.85rem;
}

    .search-input-sio:focus {
        border-color: var(--sio-primary);
        box-shadow: 0 0 0 0.2rem rgba(91, 92, 240, 0.12);
    }

.cart-btn-sio {
    border-radius: 14px;
    padding: 0.7rem 1rem;
    font-weight: 700;
}

.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 56px 0 24px;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    flex: 1 1 340px;
    max-width: 520px;
}

    .footer-brand h3 {
        font-size: 1.7rem;
        margin-bottom: 14px;
        font-weight: 800;
    }

    .footer-brand p {
        color: rgba(255,255,255,0.8);
        line-height: 1.8;
        margin: 0;
    }

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    flex: 1 1 420px;
}

.footer-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
}

    .footer-card h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .footer-card p {
        color: rgba(255,255,255,0.82);
        line-height: 1.7;
        margin: 0 0 6px;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
    .nav-search-sio {
        width: 100%;
        margin: 12px 0 !important;
    }

    .cart-btn-sio {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.product-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(20,20,43,.06);
}

.product-card-body-fixed {
    min-height: 155px;
    display: flex;
    flex-direction: column;
}

.product-name {
    min-height: 58px;
    line-height: 1.35;
}

.promo-block {
    min-height: 56px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.promo-badge-line {
    min-height: 22px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 2px;
}

.promo-empty {
    visibility: hidden;
}

.price-row {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f2f4f9;
}

.product-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(20,20,43,.06);
}

.product-image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f2f4f9;
    display: block;
}

.promo-badge-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.28);
    line-height: 1;
}

.product-card-body-fixed {
    min-height: 130px;
    display: flex;
    flex-direction: column;
}

.product-name {
    min-height: 58px;
    line-height: 1.35;
}

.promo-block {
    min-height: 34px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.price-row {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.price {
    font-weight: 800;
    color: var(--sio-primary);
}

.category-card-with-image {
    padding: 0;
    overflow: hidden;
    display: block;
}

.category-card-image-wrap {
    width: 100%;
    height: 190px;
    background: #f1f5f9;
    overflow: hidden;
}

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

.category-card-with-image:hover .category-card-image {
    transform: scale(1.04);
}

.category-card-with-image .category-card-body {
    padding: 22px;
}

    .category-card-with-image .category-card-body h3 {
        margin-bottom: 10px;
    }

    .category-card-with-image .category-card-body p {
        color: #64748b;
        margin-bottom: 14px;
        min-height: 52px;
    }

    .category-card-with-image .category-card-body span {
        color: #2563eb;
        font-weight: 700;
    }

@media (max-width: 768px) {
    .category-card-image-wrap {
        height: 160px;
    }
}