﻿:root{
    --ui-ring: 0 0 0 3px rgba(33, 150, 243, 0.22);
}

html, body{
    font-family: "Inter", "Segoe UI", sans-serif;
}

a{
    text-decoration: none;
}

.header-zodiac{
    border-bottom: 1px solid #11d7c4;
    background: rgba(36, 249, 228, 0.95);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.header-zodiac .header-top-row{
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 0.75rem;
}

.header-zodiac .header-brand-text{
    color: #0f172a;
}

.header-zodiac .header-search{
    margin-left: 0.35rem;
}

.header-zodiac .input-ui{
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

.header-zodiac .input-ui::placeholder{
    color: #94a3b8;
}

.header-zodiac .btn-ui-icon{
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

.header-zodiac .btn-ui-icon:hover{
    border-color: #94a3b8;
    background: #f8fafc;
}

.header-zodiac .header-category-row{
    display: none;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0 0.62rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

@media (min-width: 768px){
    .header-zodiac .header-category-row{
        display: flex;
    }
}

.header-zodiac .nav-link-ui{
    color: #334155;
    font-weight: 600;
}

.header-zodiac .nav-link-ui:hover{
    color: #0f172a;
    background: #f1f5f9;
}

.header-zodiac .promo-visit-link{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.02rem;
    min-width: 128px;
    border-radius: 0.86rem;
    border: 1px solid #ec8a00;
    background: linear-gradient(180deg, #ffbf3d 0%, #ff9900 100%);
    color: #111827;
    padding: 0.34rem 0.72rem 0.3rem;
    line-height: 1.05;
    box-shadow: 0 8px 14px rgba(245, 139, 0, 0.28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.header-zodiac .promo-visit-link:hover{
    color: #0b1220;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 12px 18px rgba(245, 139, 0, 0.34);
}

.header-zodiac .promo-visit-link__badge{
    position: absolute;
    top: -0.52rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.12rem 0.42rem;
}

.header-zodiac .promo-visit-link__main{
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0;
}

.header-zodiac .promo-visit-link__sub{
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.86);
}

.promo-visit-link--mobile{
    margin-top: .3rem;
    width: fit-content;
}

.header-zodiac .btn-ui-ghost{
    color: #1e293b;
}

.header-zodiac .btn-ui-ghost:hover{
    border-color: #e2e8f0;
    background: #f8fafc;
}

.header-zodiac .login-entry-btn{
    border-color: #4b5563;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.header-zodiac .login-entry-btn:hover{
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.nav-link-ui{
    display: inline-flex;
    align-items: center;
    border-radius: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    transition: all .2s ease;
}

.nav-link-ui:hover{
    color: #0f172a;
    background: #f1f5f9;
}

.nav-link-ui:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.input-ui{
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.92rem;
    color: #0f172a;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-ui::placeholder{
    color: #94a3b8;
}

.input-ui:focus{
    outline: none;
    border-color: #60a5fa;
    box-shadow: var(--ui-ring);
}

.btn-ui-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    padding: 0.625rem;
    color: #0f172a;
    background: #ffffff;
    transition: all .2s ease;
}

.btn-ui-icon:hover{
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-ui-icon:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.btn-ui-ghost{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    transition: all .2s ease;
}

.btn-ui-ghost:hover{
    background: #f8fafc;
    border-color: #e2e8f0;
}

.btn-ui-ghost:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.btn-pos-corner{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    color: #ffffff;
    padding: 0.5rem 0.72rem;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all .2s ease;
}

.btn-pos-corner:hover{
    color: #ffffff;
    filter: brightness(1.05);
}

.btn-pos-corner:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.login-entry-btn{
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.88);
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
    color: #ffffff;
    padding: 0.48rem 0.78rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.login-entry-btn:hover{
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.36);
}

.login-entry-btn:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.login-entry-btn__text{
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}

.login-entry-btn__line-1{
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
}

.login-entry-btn__line-2{
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.95;
}

.menu-panel{
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: min(21rem, 80vw);
    max-height: calc(100vh - 110px);
    overflow-y: scroll;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.6rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
    z-index: 60;
}

.menu-panel::-webkit-scrollbar{
    width: 10px;
}

.menu-panel::-webkit-scrollbar-track{
    background: #f1f5f9;
    border-radius: 999px;
}

.menu-panel::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
    border-radius: 999px;
    border: 2px solid #f1f5f9;
}

.menu-panel::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

details[open] .menu-panel{
    animation: fadeSlide .16s ease-out;
}

.menu-link{
    display: block;
    border-radius: 0.7rem;
    padding: 0.48rem 0.62rem;
    font-size: 0.88rem;
    color: #334155;
    transition: all .18s ease;
}

.menu-link:hover{
    background: #f8fafc;
    color: #0f172a;
}

.menu-link:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.price-highlight{
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.card-surface{
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.btn-primary-ui{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid #2563eb;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all .2s ease;
}

.btn-primary-ui:hover{
    filter: brightness(1.04);
}

.btn-primary-ui:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.btn-secondary-ui{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    transition: all .2s ease;
}

.btn-secondary-ui:hover{
    background: #f8fafc;
}

.btn-secondary-ui:focus-visible{
    outline: none;
    box-shadow: var(--ui-ring);
}

.payment-options-grid{
    display: grid;
    gap: 0.9rem;
}

.payment-option{
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #d5e0ef;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    transition: all .22s ease;
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.03) inset,
        0 8px 20px rgba(15, 23, 42, 0.06);
}

.payment-option::before{
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: 0;
    height: 3px;
    border-radius: 999px;
    opacity: .92;
    background: linear-gradient(90deg, #9ca3af 0%, #6b7280 100%);
}

.payment-option--yape{
    border-color: #d8c0ff;
    background: linear-gradient(135deg, #fcf8ff 0%, #f4f0ff 100%);
}

.payment-option--yape::before{
    background: linear-gradient(90deg, #9333ea 0%, #6d28d9 55%, #4f46e5 100%);
}

.payment-option--transfer{
    border-color: #c6e8f5;
    background: linear-gradient(135deg, #f5fdff 0%, #eef9ff 100%);
}

.payment-option--transfer::before{
    background: linear-gradient(90deg, #0ea5e9 0%, #0284c7 55%, #0369a1 100%);
}

.payment-option:hover{
    border-color: #7caeff;
    transform: translateY(-1px);
    box-shadow:
        0 12px 26px rgba(37, 99, 235, 0.15),
        0 0 0 1px rgba(37, 99, 235, 0.08) inset;
}

.payment-option.is-active{
    border-color: #2563eb;
    background: linear-gradient(180deg, #eef6ff 0%, #eefcff 100%);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.2) inset,
        0 16px 30px rgba(37, 99, 235, 0.2);
}

.payment-option--yape.is-active{
    border-color: #7c3aed;
    background: linear-gradient(180deg, #f6f0ff 0%, #f3e8ff 100%);
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.24) inset,
        0 16px 30px rgba(124, 58, 237, 0.24);
}

.payment-option--transfer.is-active{
    border-color: #0284c7;
    background: linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
    box-shadow:
        0 0 0 1px rgba(2, 132, 199, 0.24) inset,
        0 16px 30px rgba(2, 132, 199, 0.2);
}

.payment-option__row{
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.payment-option__icon-wrap{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid #d4dde9;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.payment-option.is-active .payment-option__icon-wrap{
    background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
}

.payment-option--yape .payment-option__icon-wrap{
    background: linear-gradient(145deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #d8b4fe;
}

.payment-option--yape.is-active .payment-option__icon-wrap{
    background: linear-gradient(145deg, #e9d5ff 0%, #d8b4fe 100%);
    border-color: #a855f7;
}

.payment-option--transfer .payment-option__icon-wrap{
    background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: #7dd3fc;
}

.payment-option--transfer.is-active .payment-option__icon-wrap{
    background: linear-gradient(145deg, #bae6fd 0%, #7dd3fc 100%);
    border-color: #38bdf8;
}

.payment-option__content{
    flex: 1;
    min-width: 0;
}

.payment-option__title{
    display: block;
    font-size: 0.92rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.payment-option--yape .payment-option__title{
    color: #5b21b6;
}

.payment-option--transfer .payment-option__title{
    color: #075985;
}

.payment-option__hint{
    display: block;
    margin-top: 0.1rem;
    font-size: 0.77rem;
    color: #475569;
}

.payment-option__badge{
    display: inline-flex;
    margin-top: 0.45rem;
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%);
    border: 1px solid #7c3aed;
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.35);
}

.payment-option__radio{
    margin-top: 0.2rem;
}

.payment-panel{
    border-radius: 1rem;
    border: 1px solid #d5e0ef;
    background: #f8fafc;
    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.05) inset,
        0 12px 30px rgba(15, 23, 42, 0.08);
}

.payment-panel--yape{
    border-color: #c084fc;
    background:
        radial-gradient(circle at top right, rgba(147, 51, 234, 0.18), transparent 45%),
        linear-gradient(180deg, #f8f2ff 0%, #f4eaff 100%);
}

.payment-panel--transfer{
    border-color: #7dd3fc;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 45%),
        linear-gradient(180deg, #f2fbff 0%, #ebf8ff 100%);
}

.payment-qr-card{
    border-radius: 1rem;
    border: 1px solid #c4b5fd;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    padding: 0.75rem;
    box-shadow: 0 14px 30px rgba(109, 40, 217, 0.2);
}

.payment-qr-info{
    border-radius: 1rem;
    border: 1px solid #c4b5fd;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    box-shadow: 0 10px 22px rgba(109, 40, 217, 0.14);
}

.payment-help-note{
    border-radius: 0.85rem;
    border: 1px solid #d8b4fe;
    background: linear-gradient(135deg, #fdf4ff 0%, #f5d0fe 100%);
    padding: 0.75rem;
    font-size: 0.76rem;
    color: #581c87;
}

.payment-field{
    border-radius: 1rem;
    border: 1px solid #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    padding: 0.75rem;
    box-shadow:
        0 3px 10px rgba(15, 23, 42, 0.03) inset,
        0 8px 18px rgba(2, 132, 199, 0.08);
}

.payment-field:focus-within{
    border-color: #38bdf8;
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.2),
        0 10px 22px rgba(14, 165, 233, 0.16);
}

.payment-field input,
.payment-field select{
    color: #0f172a;
}

.payment-field input::placeholder{
    color: #64748b;
}

.checkout-delivery-head h2{
    color: #0f172a;
}

.checkout-delivery-panel{
    border-radius: 1rem;
    border: 1px solid #8ce6dc;
    background:
        radial-gradient(circle at top right, rgba(36, 249, 228, 0.22), transparent 42%),
        linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
    padding: 0.85rem;
    display: grid;
    gap: 0.75rem;
    box-shadow:
        0 0 0 1px rgba(20, 184, 166, 0.14) inset,
        0 14px 30px rgba(13, 148, 136, 0.14);
}

.checkout-delivery-grid{
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px){
    .checkout-delivery-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.checkout-delivery-field{
    border-radius: 0.85rem;
    border: 1px solid #9ee9e0;
    background: linear-gradient(180deg, #ffffff 0%, #f8ffff 100%);
    padding: 0.72rem 0.75rem;
    transition: all .2s ease;
}

.checkout-delivery-field:focus-within{
    border-color: #14b8a6;
    box-shadow:
        0 0 0 3px rgba(20, 184, 166, 0.22),
        0 8px 18px rgba(20, 184, 166, 0.2);
}

.checkout-delivery-label{
    display: block;
    margin-bottom: 0.36rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #0f766e;
    text-transform: uppercase;
}

.checkout-delivery-input{
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 0.93rem;
    font-weight: 600;
    color: #0f172a;
}

.checkout-delivery-input::placeholder{
    color: #64748b;
}

.checkout-delivery-input:focus{
    border-color: transparent !important;
    box-shadow: none !important;
}

/* ====== Carrito estilo vibrante ====== */
.cart-hero{
    border-color: #fec89a !important;
    background:
        radial-gradient(circle at 92% 14%, rgba(14, 165, 233, 0.22), transparent 36%),
        radial-gradient(circle at 8% 84%, rgba(255, 125, 26, 0.2), transparent 34%),
        linear-gradient(135deg, #fff7ed 0%, #ecfeff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 116, 27, 0.14) inset,
        0 16px 34px rgba(15, 23, 42, 0.12);
}

.cart-item-card{
    border-color: #ffd5b2 !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 121, 31, 0.14) inset,
        0 14px 28px rgba(255, 121, 31, 0.14);
}

.cart-item-media{
    border-color: #fdba74 !important;
    background: linear-gradient(145deg, #fff 0%, #fff7ed 100%) !important;
}

.cart-item-title{
    color: #0f172a !important;
}

.cart-item-title:hover{
    color: #ea580c !important;
}

.cart-item-meta{
    color: #334155 !important;
}

.cart-price-block .price-highlight{
    color: #ea580c !important;
    text-shadow: 0 2px 8px rgba(234, 88, 12, 0.18);
}

.cart-qty-selector{
    border-color: #7dd3fc !important;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%) !important;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.16);
}

.cart-qty-selector a{
    color: #0369a1 !important;
}

.cart-qty-selector a:hover{
    background: #e0f2fe !important;
}

.cart-qty-selector span{
    border-color: #bae6fd !important;
    color: #0c4a6e !important;
}

.cart-remove-btn{
    border-color: #fda4af !important;
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%) !important;
    color: #e11d48 !important;
}

.cart-remove-btn:hover{
    background: linear-gradient(145deg, #ffe4e6 0%, #fecdd3 100%) !important;
    border-color: #fb7185 !important;
}

.cart-btn-outline-danger{
    border-color: #fb7185 !important;
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%) !important;
    color: #e11d48 !important;
    font-weight: 700;
}

.cart-btn-outline-danger:hover{
    background: linear-gradient(145deg, #ffe4e6 0%, #fecdd3 100%) !important;
}

.cart-btn-outline{
    border-color: #7dd3fc !important;
    background: linear-gradient(145deg, #ffffff 0%, #ecfeff 100%) !important;
    color: #0369a1 !important;
    font-weight: 700;
}

.cart-btn-outline:hover{
    background: linear-gradient(145deg, #f0f9ff 0%, #cffafe 100%) !important;
}

.cart-side-card{
    border-color: #bae6fd !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.12) inset,
        0 14px 30px rgba(14, 165, 233, 0.15);
}

.cart-coupon-card{
    background:
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.2), transparent 40%),
        linear-gradient(165deg, #ffffff 0%, #ecfeff 100%) !important;
}

.cart-summary-card{
    background:
        radial-gradient(circle at 95% 10%, rgba(251, 146, 60, 0.18), transparent 40%),
        linear-gradient(165deg, #ffffff 0%, #fff7ed 100%) !important;
}

.cart-coupon-input{
    border-color: #7dd3fc !important;
    background: #ffffff !important;
}

.cart-coupon-input:focus{
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22) !important;
}

.cart-coupon-btn,
.cart-checkout-btn{
    border-color: #f97316 !important;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 48%, #ea580c 100%) !important;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.34);
}

.cart-coupon-btn:hover,
.cart-checkout-btn:hover{
    filter: brightness(1.06);
    box-shadow: 0 16px 28px rgba(249, 115, 22, 0.4);
}

.cart-empty-state{
    border-color: #fed7aa !important;
    background:
        radial-gradient(circle at 88% 15%, rgba(56, 189, 248, 0.16), transparent 36%),
        linear-gradient(145deg, #ffffff 0%, #fff7ed 100%) !important;
}

/* ====== Producto detalle vibrante ====== */
.product-detail-breadcrumb a{
    color: #ea580c !important;
}

.product-detail-breadcrumb a:hover{
    color: #c2410c !important;
}

.product-main-media-card{
    border-color: #fdba74 !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(251, 146, 60, 0.28), transparent 34%),
        radial-gradient(circle at 86% 86%, rgba(34, 211, 238, 0.24), transparent 35%),
        linear-gradient(145deg, #fff7ed 0%, #ecfeff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.14) inset,
        0 20px 40px rgba(15, 23, 42, 0.18);
}

.product-main-image{
    filter: drop-shadow(0 14px 26px rgba(2, 132, 199, 0.24));
}

.product-thumb-btn{
    border-color: #7dd3fc !important;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%) !important;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.16);
}

.product-thumb-btn:hover{
    border-color: #38bdf8 !important;
    transform: translateY(-1px);
}

.product-thumb-btn.ring-2{
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25), 0 10px 20px rgba(14, 165, 233, 0.25);
}

.product-info-card{
    border-color: #fed7aa !important;
    background:
        radial-gradient(circle at 94% 12%, rgba(251, 146, 60, 0.2), transparent 34%),
        radial-gradient(circle at 10% 88%, rgba(34, 211, 238, 0.2), transparent 35%),
        linear-gradient(155deg, #ffffff 0%, #fff7ed 100%) !important;
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.14) inset,
        0 16px 34px rgba(249, 115, 22, 0.18);
}

.product-detail-price .price-highlight{
    color: #ea580c !important;
    text-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.product-detail-description{
    color: #334155 !important;
}

.product-stock-row .inline-flex{
    border-color: #67e8f9 !important;
    background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%) !important;
    color: #0f766e !important;
    box-shadow: 0 8px 16px rgba(45, 212, 191, 0.2);
}

.product-variant-field{
    border-radius: 1rem;
    border: 1px solid #7dd3fc;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    padding: 0.8rem 0.85rem;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.14);
}

.product-variant-label{
    color: #0c4a6e !important;
    text-transform: uppercase;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em;
}

.product-variant-select{
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #0f172a !important;
    font-weight: 600;
}

.product-variant-select:focus{
    border-color: transparent !important;
    box-shadow: none !important;
}

.product-buy-btn{
    border-color: #f97316 !important;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%) !important;
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.34);
}

.product-buy-btn:hover{
    filter: brightness(1.06);
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.4);
}

.product-reviews-section{
    border-color: #bae6fd !important;
    background:
        radial-gradient(circle at 94% 8%, rgba(56, 189, 248, 0.2), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #ecfeff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 16px 30px rgba(14, 165, 233, 0.12);
}

.product-opinion-form-card{
    border-color: #7dd3fc !important;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%) !important;
}

.product-opinion-item{
    border-color: #c4b5fd !important;
    background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.1);
}

.product-history-section{
    border-color: #fde68a !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(251, 191, 36, 0.2), transparent 35%),
        linear-gradient(165deg, #ffffff 0%, #fffbeb 100%) !important;
}

.product-history-card{
    border-color: #fcd34d !important;
    background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%) !important;
}

.product-history-card:hover{
    border-color: #f59e0b !important;
    box-shadow: 0 12px 22px rgba(245, 158, 11, 0.2) !important;
}

/* ====== Confirmacion de pedido (paleta distinta) ====== */
.order-confirm-hero{
    border-radius: 1.3rem;
    border: 1px solid #86efac;
    padding: 1.2rem 1rem;
    background:
        radial-gradient(circle at 92% 12%, rgba(34, 197, 94, 0.2), transparent 36%),
        radial-gradient(circle at 8% 90%, rgba(14, 165, 233, 0.2), transparent 35%),
        linear-gradient(145deg, #f0fdf4 0%, #ecfeff 100%);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.12) inset,
        0 16px 34px rgba(14, 165, 233, 0.16);
}

.order-confirm-title{
    color: #166534 !important;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}

.order-confirm-subtitle{
    color: #075985;
    font-weight: 600;
}

.order-confirm-card{
    border-radius: 1rem;
    border: 1px solid #67e8f9;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.12) inset,
        0 18px 34px rgba(14, 165, 233, 0.18);
}

.order-confirm-head{
    border: 0 !important;
    color: #ffffff !important;
    font-size: 1.06rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 55%, #0f766e 100%) !important;
}

.order-confirm-body{
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.order-confirm-meta{
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
}

.order-confirm-highlight{
    color: #0284c7;
    text-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
}

.order-confirm-table-title{
    color: #0f766e;
    font-weight: 800;
}

.order-confirm-table{
    border-color: #99f6e4 !important;
    border-radius: 0.8rem;
    overflow: hidden;
}

.order-confirm-table thead th{
    color: #ffffff;
    border-color: #0d9488 !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
}

.order-confirm-table tbody tr{
    background: #ffffff;
}

.order-confirm-table tbody tr:nth-child(even){
    background: #ecfeff;
}

.order-confirm-table td{
    border-color: #bae6fd !important;
    color: #0f172a;
}

.order-confirm-cell-image{
    background: linear-gradient(145deg, #f0fdfa 0%, #ecfeff 100%);
}

.order-confirm-product-image{
    border-radius: 0.7rem;
    border: 1px solid #67e8f9 !important;
    background: #ffffff;
}

.order-confirm-error{
    border-radius: 1rem;
    border-color: #fda4af !important;
    color: #881337 !important;
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%) !important;
}

summary::-webkit-details-marker{
    display: none;
}

@keyframes fadeSlide{
    from{
        opacity: 0;
        transform: translateY(-6px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== Neon catalog cards (inspirado en referencia) ====== */
.catalog-neon-wrap{
    position: relative;
    border-radius: 1.5rem;
    padding: 0.9rem;
    background: radial-gradient(circle at 12% 20%, rgba(255, 93, 16, 0.22), transparent 34%), #0b0b12;
    border: 1px solid #3a200f;
    box-shadow:
        0 0 0 1px rgba(255, 110, 35, 0.24) inset,
        0 0 26px rgba(255, 95, 30, 0.34),
        0 18px 34px rgba(0, 0, 0, 0.48);
}

.product-card-neon{
    height: 100%;
    width: 100%;
    max-width: none;
    justify-self: stretch;
}

.product-card-neon__inner{
    height: 100%;
    width: 100%;
    max-width: none;
    border-radius: 1rem;
    border: var(--card-border-width, 6px) solid var(--card-border, #f54927);
    background: linear-gradient(180deg, #0b0d14 0%, #090b11 100%);
    box-shadow:
        0 0 0 1px var(--card-border, #f54927) inset,
        0 0 var(--card-glow, 22px) var(--card-border, #f54927);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease;
    position: relative;
    isolation: isolate;
}

.product-card-neon__inner::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--card-border-width, 6px);
    background: conic-gradient(
        from var(--neon-angle, 0deg),
        transparent 0deg,
        transparent 250deg,
        var(--card-border, #f54927) 250deg,
        var(--card-border, #f54927) 292deg,
        #ffffff 312deg,
        var(--card-border, #f54927) 332deg,
        var(--card-border, #f54927) 350deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    filter: drop-shadow(0 0 14px var(--card-border, #f54927));
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

.product-card-neon__inner > *{
    position: relative;
    z-index: 1;
}

.product-card-neon__inner.neon-anim--scan::before{
    animation: neon-card-scan 2.6s linear infinite;
}

.product-card-neon__inner.neon-anim--double::before{
    background: conic-gradient(
        from var(--neon-angle, 0deg),
        transparent 0deg,
        transparent 38deg,
        var(--card-border, #f54927) 38deg,
        var(--card-border, #f54927) 86deg,
        transparent 96deg,
        transparent 180deg,
        var(--card-border, #f54927) 180deg,
        var(--card-border, #f54927) 230deg,
        #ffffff 246deg,
        var(--card-border, #f54927) 262deg,
        transparent 276deg,
        transparent 360deg
    );
    animation: neon-card-scan 2s linear infinite;
}

.product-card-neon__inner.neon-anim--pulse::before{
    animation: neon-card-scan 3.4s linear infinite, neon-card-pulse 1.8s ease-in-out infinite;
}

.product-card-neon__inner.neon-anim--orbit::before{
    animation: neon-card-scan 1.35s linear infinite;
    filter: drop-shadow(0 0 18px var(--card-border, #f54927));
}

.product-card-neon__inner.neon-anim--snake::before{
    background: repeating-conic-gradient(
        from var(--neon-angle, 0deg),
        transparent 0deg 14deg,
        var(--card-border, #f54927) 14deg 24deg,
        #ffffff 24deg 27deg,
        var(--card-border, #f54927) 27deg 34deg,
        transparent 34deg 64deg
    );
    animation: neon-card-scan 2.2s linear infinite;
}

.product-card-neon__inner.neon-anim--blink::before{
    animation: neon-card-scan 2.6s linear infinite, neon-card-blink 1.1s ease-in-out infinite;
}

.product-card-neon__inner.neon-anim--off::before{
    opacity: 0;
    animation: none;
}

.product-card-neon:hover .product-card-neon__inner{
    box-shadow:
        0 0 0 1px var(--card-border, #f54927) inset,
        0 0 calc(var(--card-glow, 22px) + 12px) var(--card-border, #f54927),
        0 18px 34px rgba(0, 0, 0, 0.48);
}

@property --neon-angle{
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes neon-card-scan{
    to{ --neon-angle: 360deg; }
}

@keyframes neon-card-pulse{
    0%, 100%{
        opacity: .65;
        filter: drop-shadow(0 0 calc(var(--card-glow, 22px) * 0.6) var(--card-border, #f54927));
    }
    50%{
        opacity: 1;
        filter: drop-shadow(0 0 calc(var(--card-glow, 22px) * 1.15) var(--card-border, #f54927));
    }
}

@keyframes neon-card-blink{
    0%, 100%{ opacity: .55; }
    45%{ opacity: 1; }
    50%{ opacity: .35; }
    55%{ opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
    .product-card-neon__inner::before{
        animation: none;
    }
}

.product-card-neon__head{
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem .7rem 0;
}

.product-chip{
    border-radius: .6rem;
    padding: .24rem .62rem;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.35);
    text-shadow: 0 1px 1px rgba(0,0,0,.35);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 14px rgba(255,255,255,.18);
    backdrop-filter: blur(1px);
}

.product-chip--new{
    background: linear-gradient(135deg, #2ff9ea 0%, #0fcfbf 55%, #0b8f8b 100%);
    color: #f0fdfa;
    box-shadow: 0 0 16px rgba(47,249,234,.55), 0 0 30px rgba(15,207,191,.35);
}

.product-chip--discount{
    background: linear-gradient(135deg, #ff5964 0%, #ef4444 55%, #d62839 100%);
    color: #fff;
    box-shadow: 0 0 16px rgba(239,68,68,.55), 0 0 28px rgba(214,40,57,.35);
}

.product-chip--offer{
    background: linear-gradient(135deg, #ffd56a 0%, #f59e0b 55%, #da7b00 100%);
    color: #151515;
    box-shadow: 0 0 16px rgba(245,158,11,.55), 0 0 28px rgba(245,158,11,.35);
}

.product-chip--limited{
    background: linear-gradient(135deg, #ff4cc6 0%, #C71585 60%, #8c0f5f 100%);
    color: #fff;
    box-shadow: 0 0 16px rgba(199,21,133,.65), 0 0 30px rgba(199,21,133,.38);
}

.product-card-neon__media{
    margin: .15rem .65rem 0;
    aspect-ratio: var(--media-ratio, 1 / 1);
    border-radius: .9rem;
    border: var(--media-border-width, var(--card-border-width, 6px)) solid var(--media-border, #111827);
    overflow: hidden;
    background: radial-gradient(circle at 35% 20%, #2c1f72 0%, #111827 65%);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.product-card-neon__media img{
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover;
  object-position: center top;
}

/* En moviles prioriza ver el producto completo */
@media (max-width: 767.98px){
  .product-card-neon__media img{
    object-fit: contain;
    object-position: center;
    background: #05070f;
  }
}

.product-card-neon:hover .product-card-neon__media{
    box-shadow:
        0 0 0 1px var(--media-border, #111827) inset,
        0 0 calc(var(--media-glow, var(--card-glow, 22px)) + 6px) var(--media-border, #111827);
}

.product-card-neon__body{
    padding: .9rem .85rem 1rem;
    color: #dbeafe;
    display: flex;
    flex-direction: column;
    gap: .28rem;
    flex: 1 1 auto;
}

.product-card-neon__footer{
    padding: 0 .85rem 1rem;
    border-top: 1px solid rgba(51, 65, 85, .35);
    margin-top: auto;
}

.product-card-neon__brand{
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: .72rem;
    letter-spacing: .03em;
    color: #9ca3af;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .95), rgba(30, 41, 59, .95));
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .35), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.product-card-neon__title{
    margin: 0;
    line-height: 1.28;
    font-size: 1.02rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--title-color, #f8fafc);
}

.product-card-neon__title a{
    color: inherit;
}

.product-card-neon__title a:hover{
    color: var(--title-color, #bae6fd);
    filter: brightness(1.08);
}

.product-card-neon__rating{
    display: flex;
    align-items: center;
    gap: .38rem;
    font-size: .86rem;
}

.product-card-neon__rating .stars{
    color: #f3f4f6;
    letter-spacing: .03em;
}

.product-card-neon__rating .review-link{
    color: #00c3ff;
}

.product-card-neon__stock{
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .33rem;
    font-size: .86rem;
    font-weight: 700;
}

.product-card-neon__stock.is-ok{ color: #22c55e; }
.product-card-neon__stock.is-out{ color: #f87171; }

.product-card-neon__prices{
    margin-top: .25rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: .8rem;
}

.product-card-neon__prices .renew{
    margin: 0;
    color: #06d6a0;
    font-size: 1.12rem;
    font-weight: 900;
}

.product-card-neon__prices .now{
    margin: 0;
    color: #f8fafc;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 900;
    text-align: right;
}

.product-card-neon__prices .old{
    display: block;
    color: #9ca3af;
    font-size: .92rem;
    text-decoration: line-through;
    margin-bottom: .15rem;
}

.product-card-neon__btn{
    margin-top: auto;
    width: 100%;
    border-radius: .72rem;
    border: 0;
    padding: .75rem .9rem;
    text-align: center;
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: .02em;
    color: var(--btn-text, #fff);
    background: linear-gradient(135deg, var(--btn-grad-a, #f54927) 0%, var(--btn-grad-b, #f5276c) 100%);
    box-shadow: 0 10px 22px rgba(245, 73, 39, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
    text-transform: uppercase;
}

.product-card-neon__btn:hover{
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(245, 73, 39, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.product-card-neon__btn:active{
    transform: translateY(0);
    filter: brightness(0.98);
}

.product-card-neon__btn:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 176, 39, 0.35), 0 12px 22px rgba(245, 73, 39, 0.35);
}

.product-card-neon__btn.is-disabled{
    background: #64748b;
    box-shadow: none;
    cursor: not-allowed;
    border-color: transparent;
    text-transform: uppercase;
    transform: none;
}

.product-card-neon__wish{
    height: 44px;
    width: 44px;
    flex: 0 0 44px;
    border-radius: .72rem;
    border: 1px solid #2a3650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fda4af;
    background: #111827;
}

.product-card-neon__wish:hover{
    color: #fb7185;
    border-color: #fb7185;
}

/* ====== Gestion de usuarios (mensajeria) ====== */
.user-gestion-page{
    --ug-cyan: #06b6d4;
    --ug-blue: #2563eb;
    --ug-deep: #0f172a;
    --ug-ink: #1e293b;
    --ug-soft: #f0f9ff;
}

.user-gestion-page .user-gestion-header h1{
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ug-deep);
}

.user-gestion-page .user-gestion-create-btn{
    border: 0;
    border-radius: 0.85rem;
    padding: 0.62rem 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 58%, #1d4ed8 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.user-gestion-page .user-gestion-create-btn:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.user-gestion-page .mailing-card{
    border: 1px solid #7dd3fc;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 96% 8%, rgba(34, 211, 238, 0.22), transparent 34%),
        linear-gradient(170deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.14) inset,
        0 18px 36px rgba(2, 132, 199, 0.16);
}

.user-gestion-page .user-followup-card{
    border: 1px solid #bae6fd;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 10%, rgba(34, 211, 238, 0.18), transparent 35%),
        linear-gradient(160deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 14px 30px rgba(14, 165, 233, 0.14);
}

.user-gestion-page .user-followup-filter .form-select{
    min-width: 10rem;
}

.user-gestion-page .user-followup-metric{
    border: 1px solid #dbeafe;
    border-radius: 0.88rem;
    padding: 0.72rem 0.84rem;
    background: #ffffff;
}

.user-gestion-page .user-followup-metric .metric-label{
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 800;
    color: #334155;
}

.user-gestion-page .user-followup-metric .metric-value{
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 900;
    color: #0f172a;
}

.user-gestion-page .user-followup-metric.metric-activo{
    border-color: #86efac;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.user-gestion-page .user-followup-metric.metric-inactivo{
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.user-gestion-page .user-followup-metric.metric-sincompras{
    border-color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.user-gestion-page .user-followup-metric.metric-ltv{
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.user-gestion-page .user-crm-mini-card{
    border: 1px solid #dbeafe;
    border-radius: 0.82rem;
    background: #ffffff;
    padding: 0.72rem 0.82rem;
}

.user-gestion-page .user-crm-mini-card h6{
    font-weight: 800;
    color: #0f172a;
}

.user-gestion-page .mailing-card-header{
    border: 0 !important;
    padding: 0.9rem 1rem;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 60%, #1d4ed8 100%) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.user-gestion-page .mailing-card-body{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.84) 100%);
    padding: 1rem 1rem 0.95rem;
}

.user-gestion-page .mailing-form .form-label{
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0c4a6e;
}

.user-gestion-page .mailing-form .form-select,
.user-gestion-page .mailing-form .form-control{
    border: 1px solid #7dd3fc;
    border-radius: 0.82rem;
    color: var(--ug-ink);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.08);
}

.user-gestion-page .mailing-form textarea.form-control{
    min-height: 9.5rem;
}

.user-gestion-page .mailing-form .form-select:focus,
.user-gestion-page .mailing-form .form-control:focus{
    border-color: #0ea5e9;
    box-shadow: 0 0 0 0.22rem rgba(14, 165, 233, 0.22), 0 10px 20px rgba(37, 99, 235, 0.14);
}

.user-gestion-page .mailing-send-btn{
    border: 0;
    border-radius: 0.82rem;
    min-width: 13rem;
    padding: 0.68rem 1.3rem;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 56%, #1d4ed8 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.user-gestion-page .mailing-send-btn:hover{
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.user-gestion-page .mailing-note{
    border: 1px solid #99f6e4;
    border-radius: 0.75rem;
    padding: 0.7rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f766e;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
}

.user-gestion-page .alert{
    border: 0;
    border-radius: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.user-gestion-page .alert-success{
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.user-gestion-page .alert-warning{
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #ffffff;
}

.user-gestion-page .alert-danger{
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.user-gestion-page .users-table-card{
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08) inset,
        0 14px 30px rgba(37, 99, 235, 0.12);
}

.user-gestion-page .users-table-card thead.table-dark th{
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #1e293b 0%, #1d4ed8 52%, #0ea5e9 100%);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.76rem;
}

.user-gestion-page .users-table-card tbody tr:nth-child(even){
    background: #f8fbff;
}

.user-gestion-page .users-table-card tbody tr:hover{
    background: #ecfeff;
}

.user-gestion-page .users-table-card .badge.bg-danger{
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.user-gestion-page .users-table-card .badge.bg-secondary{
    background: linear-gradient(135deg, #64748b 0%, #334155 100%) !important;
}

.user-gestion-page .users-table-card .user-activity-badge{
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.42rem 0.58rem;
}

.user-gestion-page .users-table-card td{
    font-size: 0.86rem;
}

.user-gestion-page .users-table-card .user-tag-form{
    min-width: 170px;
}

.user-gestion-page .users-table-card .user-tag-form .form-select,
.user-gestion-page .users-table-card .user-tag-form .form-control{
    font-size: 0.76rem;
}

/* ====== Gestion de productos (admin) ====== */
.product-gestion-page{
    --pg-cyan: #22d3ee;
    --pg-blue: #2563eb;
    --pg-indigo: #1d4ed8;
    --pg-ink: #0f172a;
    --pg-soft: #f8fbff;
}

.product-gestion-page .product-gestion-header h1{
    font-size: clamp(1.48rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--pg-ink);
}

.product-gestion-page .product-gestion-report-btn{
    border-color: #93c5fd;
    color: #1d4ed8;
    border-radius: 0.84rem;
    font-weight: 800;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
}

.product-gestion-page .product-gestion-report-btn:hover{
    border-color: #3b82f6;
    color: #1e40af;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

.product-gestion-page .product-gestion-create-btn{
    border: 0;
    border-radius: 0.84rem;
    font-weight: 800;
    background: linear-gradient(135deg, #34d399 0%, #10b981 52%, #059669 100%);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3);
}

.product-gestion-page .product-gestion-create-btn:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.product-gestion-page .product-gestion-days-card,
.product-gestion-page .product-gestion-filter-card{
    border: 1px solid #bae6fd !important;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 10%, rgba(34, 211, 238, 0.2), transparent 35%),
        linear-gradient(160deg, #ffffff 0%, #f0f9ff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 16px 30px rgba(14, 165, 233, 0.14);
}

.product-gestion-page .product-gestion-filter-card{
    border-color: #c4b5fd !important;
    background:
        radial-gradient(circle at 94% 10%, rgba(167, 139, 250, 0.2), transparent 35%),
        linear-gradient(160deg, #ffffff 0%, #f5f3ff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.1) inset,
        0 16px 30px rgba(124, 58, 237, 0.14);
}

.product-gestion-page .product-gestion-days-body,
.product-gestion-page .product-gestion-filter-body{
    padding: 1rem;
}

.product-gestion-page .form-label.small{
    margin-bottom: 0.42rem;
    font-size: 0.76rem !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0c4a6e !important;
}

.product-gestion-page .product-gestion-input,
.product-gestion-page .input-group .product-gestion-input{
    border: 1px solid #93c5fd;
    border-radius: 0.82rem;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.product-gestion-page .product-gestion-input:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2), 0 10px 18px rgba(37, 99, 235, 0.12);
}

.product-gestion-page .product-gestion-input-addon{
    border: 1px solid #93c5fd !important;
    border-right: 0 !important;
    border-radius: 0.82rem 0 0 0.82rem !important;
    color: #1d4ed8;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
}

.product-gestion-page .input-group .product-gestion-input{
    border-left: 0 !important;
    border-radius: 0 0.82rem 0.82rem 0 !important;
}

.product-gestion-page .product-gestion-save-btn{
    border: 0;
    border-radius: 0.82rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

.product-gestion-page .product-gestion-save-btn:hover{
    filter: brightness(1.06);
}

.product-gestion-page .product-gestion-filter-btn{
    border: 0;
    border-radius: 0.82rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.24);
}

.product-gestion-page .product-gestion-filter-btn:hover{
    filter: brightness(1.05);
}

.product-gestion-page .product-gestion-alert{
    border: 0;
    border-radius: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.product-gestion-page .product-gestion-kpi-card{
    border: 1px solid #bfdbfe;
    border-radius: 0.85rem;
    padding: 0.65rem 0.72rem;
    background: linear-gradient(140deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.12);
    display: grid;
    gap: 0.15rem;
}

.product-gestion-page .product-gestion-kpi-card small{
    font-size: 0.7rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-gestion-page .product-gestion-kpi-card strong{
    font-size: 1.18rem;
    line-height: 1.1;
    font-weight: 900;
    color: #0f172a;
}

.product-gestion-page .product-gestion-kpi-card.is-ok{
    border-color: #86efac;
    background: linear-gradient(140deg, #ffffff 0%, #ecfdf5 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-ok small{ color: #15803d; }

.product-gestion-page .product-gestion-kpi-card.is-muted{
    border-color: #cbd5e1;
    background: linear-gradient(140deg, #ffffff 0%, #f8fafc 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-muted small{ color: #475569; }

.product-gestion-page .product-gestion-kpi-card.is-offer{
    border-color: #fda4af;
    background: linear-gradient(140deg, #ffffff 0%, #fff1f2 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-offer small{ color: #be123c; }

.product-gestion-page .product-gestion-kpi-card.is-low{
    border-color: #fdba74;
    background: linear-gradient(140deg, #ffffff 0%, #fff7ed 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-low small{ color: #c2410c; }

.product-gestion-page .product-gestion-kpi-card .product-gestion-kpi-note{
    display: block;
    font-size: 0.68rem;
    color: #475569;
    font-weight: 700;
}

.product-gestion-page .product-gestion-kpi-card.is-stock-critical{
    border-color: #fca5a5;
    background: linear-gradient(140deg, #ffffff 0%, #fff1f2 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-stock-critical small{
    color: #b91c1c;
}

.product-gestion-page .product-gestion-kpi-card.is-stock-medium{
    border-color: #fcd34d;
    background: linear-gradient(140deg, #ffffff 0%, #fefce8 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-stock-medium small{
    color: #a16207;
}

.product-gestion-page .product-gestion-kpi-card.is-stock-good{
    border-color: #86efac;
    background: linear-gradient(140deg, #ffffff 0%, #ecfdf5 100%);
}

.product-gestion-page .product-gestion-kpi-card.is-stock-good small{
    color: #15803d;
}

.product-gestion-page .product-stock-semaforo{
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    border-radius: 999px;
    padding: 0.26rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.product-gestion-page .product-stock-semaforo i{
    font-size: 0.78rem;
}

.product-gestion-page .product-stock-semaforo.is-critico{
    color: #b91c1c;
    border-color: #fca5a5;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.product-gestion-page .product-stock-semaforo.is-medio{
    color: #854d0e;
    border-color: #fcd34d;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.product-gestion-page .product-stock-semaforo.is-ok{
    color: #166534;
    border-color: #86efac;
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
}

.product-gestion-page .alert-success.product-gestion-alert{
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.product-gestion-page .alert-info.product-gestion-alert{
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.product-gestion-page .product-gestion-table-card{
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08) inset,
        0 16px 30px rgba(37, 99, 235, 0.12);
}

.product-gestion-page .product-gestion-table-wrap{
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #93c5fd #eff6ff;
}

.product-gestion-page .product-gestion-table-wrap::-webkit-scrollbar{
    height: 10px;
}

.product-gestion-page .product-gestion-table-wrap::-webkit-scrollbar-track{
    background: #eff6ff;
    border-radius: 999px;
}

.product-gestion-page .product-gestion-table-wrap::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
    border-radius: 999px;
    border: 2px solid #eff6ff;
}

.product-gestion-page .product-gestion-table thead.table-dark th{
    border-color: #1e3a8a;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0ea5e9 100%);
}

.product-gestion-page .product-gestion-table tbody tr:nth-child(even){
    background: #f8fbff;
}

.product-gestion-page .product-gestion-table tbody tr:hover{
    background: #ecfeff;
}

.product-gestion-page .product-gestion-table td{
    border-color: #e2e8f0;
}

.product-gestion-page .product-gestion-table .btn-group .btn{
    border: 0;
    border-radius: 0.62rem !important;
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.14);
}

.product-gestion-page .product-gestion-stock-alert-card,
.product-gestion-page .product-gestion-audit-card{
    border: 1px solid #dbeafe !important;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08) inset,
        0 16px 30px rgba(37, 99, 235, 0.12);
}

.product-gestion-page .product-gestion-stock-alert-card{
    background:
        radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.16), transparent 40%),
        linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

.product-gestion-page .product-gestion-audit-card h5{
    font-weight: 900;
    color: #0f172a;
}

/* ====== Formulario crear/editar producto ====== */
.producto-form-card{
    border-radius: 1rem;
}

.producto-form-card .product-gallery-dropzone{
    border: 1.6px dashed #60a5fa;
    border-radius: 0.9rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.16), transparent 48%),
        linear-gradient(155deg, #f8fbff 0%, #eef6ff 100%);
    padding: 0.9rem 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.producto-form-card .product-gallery-dropzone:hover{
    border-color: #2563eb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
    transform: translateY(-1px);
}

.producto-form-card .product-gallery-dropzone.is-dragover{
    border-color: #1d4ed8;
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.18), 0 14px 24px rgba(37, 99, 235, 0.18);
    background:
        radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.2), transparent 45%),
        linear-gradient(155deg, #eff6ff 0%, #e0f2fe 100%);
}

.producto-form-card .product-gallery-dropzone:focus-visible{
    outline: none;
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.24);
}

.producto-form-card .product-gallery-dropzone-icon{
    font-size: 1.35rem;
    line-height: 1;
    color: #1d4ed8;
    margin-bottom: 0.2rem;
}

.producto-form-card .product-gallery-dropzone-title{
    font-weight: 800;
    font-size: 0.92rem;
    color: #0f172a;
}

.producto-form-card .product-gallery-dropzone-help{
    display: block;
    color: #475569;
    font-size: 0.75rem;
}

.producto-form-card .product-gallery-preview{
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
}

.producto-form-card .product-gallery-preview-item{
    border: 1px solid #bfdbfe;
    border-radius: 0.72rem;
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.11);
}

.producto-form-card .product-gallery-preview-item img{
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
}

.producto-form-card .product-gallery-preview-meta{
    padding: 0.38rem 0.44rem;
    display: grid;
    gap: 0.1rem;
}

.producto-form-card .product-gallery-preview-meta strong{
    font-size: 0.66rem;
    line-height: 1.15;
    color: #0f172a;
    word-break: break-word;
}

.producto-form-card .product-gallery-preview-meta span{
    font-size: 0.64rem;
    color: #475569;
    font-weight: 700;
}

.producto-form-card .product-gallery-preview-empty{
    grid-column: 1 / -1;
    border: 1px dashed #bfdbfe;
    border-radius: 0.65rem;
    background: #f8fbff;
    color: #64748b;
    font-size: 0.76rem;
    padding: 0.52rem 0.72rem;
}

/* ====== Vista previa importacion productos ====== */
.product-import-preview-page h1{
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.product-import-preview-page .import-preview-kpi{
    border: 1px solid #bfdbfe;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.11);
    padding: 0.65rem 0.72rem;
    min-height: 80px;
}

.product-import-preview-page .import-preview-kpi small{
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d4ed8;
    margin-bottom: 0.2rem;
}

.product-import-preview-page .import-preview-kpi strong{
    display: block;
    font-size: 1.08rem;
    line-height: 1.1;
    color: #0f172a;
    font-weight: 900;
}

.product-import-preview-page .import-preview-kpi.is-ok{
    border-color: #86efac;
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
}

.product-import-preview-page .import-preview-kpi.is-bad{
    border-color: #fda4af;
    background: linear-gradient(145deg, #ffffff 0%, #fff1f2 100%);
}

.product-import-preview-page .import-preview-kpi.is-info{
    border-color: #a5b4fc;
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
}

.product-import-preview-page .import-preview-table-wrap{
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-import-preview-page .import-preview-table thead th{
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0ea5e9 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.74rem;
}

.product-import-preview-page .import-preview-table td{
    border-color: #e2e8f0;
    font-size: 0.9rem;
}

/* ====== Rentabilidad de productos ====== */
.product-rentabilidad-page h1{
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.product-rentabilidad-page .rentab-filter-card{
    border: 1px solid #dbeafe !important;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.18), transparent 42%),
        linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

.product-rentabilidad-page .rentab-kpi{
    border: 1px solid #cbd5e1;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.08);
    padding: 0.65rem 0.72rem;
    min-height: 84px;
}

.product-rentabilidad-page .rentab-kpi small{
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 0.24rem;
}

.product-rentabilidad-page .rentab-kpi strong{
    font-weight: 900;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.1;
}

.product-rentabilidad-page .rentab-kpi.is-good{
    border-color: #86efac;
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
}

.product-rentabilidad-page .rentab-kpi.is-warn{
    border-color: #fdba74;
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
}

.product-rentabilidad-page .rentab-kpi.is-info{
    border-color: #a5b4fc;
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
}

.product-rentabilidad-page .rentab-table-wrap{
    overflow-x: auto;
}

.product-rentabilidad-page .rentab-table thead th{
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom-width: 1px;
}

.product-rentabilidad-page .rentab-thumb{
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 0.45rem;
    border: 1px solid #cbd5e1;
}

.product-rentabilidad-page .rentab-series-list{
    display: grid;
    gap: 0.55rem;
    max-height: 640px;
    overflow: auto;
    padding-right: 0.2rem;
}

.product-rentabilidad-page .rentab-series-item{
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    padding: 0.5rem 0.58rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.product-rentabilidad-page .rentab-series-head{
    display: flex;
    justify-content: space-between;
    gap: 0.55rem;
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
    color: #1e293b;
}

.product-rentabilidad-page .rentab-series-bar{
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.product-rentabilidad-page .rentab-series-bar > span{
    display: block;
    height: 100%;
    border-radius: 999px;
}

.product-rentabilidad-page .rentab-series-bar > span.is-positive{
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.product-rentabilidad-page .rentab-series-bar > span.is-negative{
    background: linear-gradient(90deg, #f43f5e 0%, #e11d48 100%);
}

/* ====== Detalle de pedido (estilo profesional) ====== */
.pedido-detalle-page{
    --pd-cyan: #22d3ee;
    --pd-blue: #2563eb;
    --pd-indigo: #1d4ed8;
    --pd-ink: #0f172a;
}

.pedido-detalle-page .pedido-detalle-header h1{
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--pd-ink);
}

.pedido-detalle-page .pedido-detalle-header .btn{
    border-radius: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.pedido-detalle-page .pedido-detalle-header .btn-outline-dark{
    border-color: #93c5fd;
    color: #1d4ed8;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.pedido-detalle-page .pedido-detalle-header .btn-outline-dark:hover{
    border-color: #3b82f6;
    color: #1e40af;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

.pedido-detalle-page .pedido-detalle-header .btn-outline-danger{
    border-color: #fb7185;
    color: #be123c;
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%);
}

.pedido-detalle-page .pedido-detalle-header .btn-outline-danger:hover{
    border-color: #f43f5e;
    color: #9f1239;
    background: linear-gradient(145deg, #ffe4e6 0%, #fecdd3 100%);
}

.pedido-detalle-page .pedido-detalle-track-card{
    border: 1px solid #bae6fd !important;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(34, 211, 238, 0.2), transparent 32%),
        linear-gradient(165deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 16px 30px rgba(14, 165, 233, 0.14);
}

.pedido-detalle-page .pedido-detalle-track-card .card-body{
    padding: 1.2rem 1rem 1.9rem;
}

.pedido-detalle-page .tracking-track{
    height: 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    margin-top: 28px !important;
    margin-bottom: 72px !important;
    overflow: visible !important;
}

.pedido-detalle-page .tracking-bar{
    background: linear-gradient(90deg, #22d3ee 0%, #2563eb 55%, #1d4ed8 100%) !important;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
}

.pedido-detalle-page .tracking-step .icon{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    border-radius: 999px !important;
    background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%) !important;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
}

.pedido-detalle-page .tracking-step.active .icon{
    background: linear-gradient(145deg, #22d3ee 0%, #2563eb 60%, #1d4ed8 100%) !important;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.34);
}

.pedido-detalle-page .tracking-step .text{
    display: block !important;
    position: absolute;
    left: 50%;
    top: 38px;
    transform: translateX(-50%);
    min-width: 98px;
    margin-top: 0 !important;
    font-size: 0.74rem !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    color: #64748b !important;
}

.pedido-detalle-page .tracking-step.active .text{
    color: #0f172a !important;
}

.pedido-detalle-page .tracking-scroll{
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
}

.pedido-detalle-page .tracking-track{
    min-width: 560px;
}

.pedido-detalle-page .pedido-detalle-admin-card{
    border: 1px solid #93c5fd !important;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.1) inset,
        0 14px 28px rgba(37, 99, 235, 0.14);
}

.pedido-detalle-page .pedido-detalle-admin-header{
    border: 0 !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 58%, #1d4ed8 100%) !important;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.pedido-detalle-page .pedido-detalle-admin-card .form-select{
    border: 1px solid #93c5fd;
    border-radius: 0.75rem;
    box-shadow: 0 8px 14px rgba(37, 99, 235, 0.1);
}

.pedido-detalle-page .pedido-detalle-admin-card .form-select:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.pedido-detalle-page .pedido-detalle-admin-card .btn-primary{
    border: 0;
    border-radius: 0.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 56%, #1d4ed8 100%);
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.28);
}

.pedido-detalle-page .pedido-detalle-box-header{
    border: 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 62%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.pedido-detalle-page .pedido-detalle-envio-card,
.pedido-detalle-page .pedido-detalle-comprobante-card,
.pedido-detalle-page .pedido-detalle-resumen-card{
    border: 1px solid #dbeafe !important;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08) inset,
        0 14px 26px rgba(37, 99, 235, 0.12);
    background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
}

.pedido-detalle-page .pedido-detalle-envio-card .card-body p{
    color: #1e293b;
    font-size: 1rem;
}

.pedido-detalle-page .pedido-detalle-envio-card .card-body strong{
    color: #0f172a;
}

.pedido-detalle-page .pedido-detalle-comprobante-item{
    border-color: #c4b5fd !important;
    border-radius: 0.85rem !important;
    background: linear-gradient(155deg, #ffffff 0%, #f5f3ff 100%);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.12);
}

.pedido-detalle-page .pedido-detalle-comprobante-item .btn-outline-primary{
    border-color: #2563eb;
    color: #2563eb;
    font-weight: 700;
    border-radius: 0.65rem;
    background: #ffffff;
}

.pedido-detalle-page .pedido-detalle-comprobante-item .btn-outline-primary:hover{
    color: #ffffff;
    background: #2563eb;
}

.pedido-detalle-page .pedido-detalle-comprobante-item .badge{
    font-weight: 800;
    border-radius: 999px;
    padding: 0.38rem 0.6rem;
}

.pedido-detalle-page .pedido-detalle-comprobante-item .badge.bg-success{
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

.pedido-detalle-page .pedido-detalle-comprobante-item .badge.bg-danger{
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.pedido-detalle-page .pedido-detalle-comprobante-item .badge.bg-warning{
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    color: #ffffff !important;
}

.pedido-detalle-page .pedido-detalle-table thead.table-light th{
    color: #ffffff;
    border-color: #1e3a8a !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 56%, #0ea5e9 100%) !important;
}

.pedido-detalle-page .pedido-detalle-table tbody tr:nth-child(even){
    background: #f8fbff;
}

.pedido-detalle-page .pedido-detalle-table tbody tr:hover{
    background: #ecfeff;
}

.pedido-detalle-page .pedido-detalle-table td{
    border-color: #dbeafe !important;
}

.pedido-detalle-page .pedido-detalle-total-wrap{
    border-top: 1px dashed #93c5fd;
    padding-top: 0.8rem;
}

.pedido-detalle-page .pedido-detalle-total{
    display: inline-block;
    margin: 0;
    border-radius: 0.8rem;
    padding: 0.45rem 0.85rem;
    color: #065f46 !important;
    font-weight: 900;
    background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #86efac;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.18);
}

@media (max-width: 767.98px){
    .header-zodiac .header-top-row{
        min-height: 64px;
        gap: 0.5rem;
    }

    .header-zodiac .header-brand-text{
        font-size: 1rem;
        max-width: 185px;
    }

    .pedido-detalle-page .pedido-detalle-header{
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.6rem;
    }

    .pedido-detalle-page .pedido-detalle-header-actions{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }

    .pedido-detalle-page .pedido-detalle-header-actions .btn{
        margin-right: 0 !important;
        padding: 0.35rem 0.7rem;
        font-size: 0.82rem;
    }

    .pedido-detalle-page .pedido-detalle-track-card .card-body{
        padding: 0.85rem 0.65rem 1rem;
    }

    .pedido-detalle-page .tracking-track{
        height: 6px !important;
        min-width: 520px;
        margin-top: 18px !important;
        margin-bottom: 58px !important;
    }

    .pedido-detalle-page .tracking-step .icon{
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }

    .pedido-detalle-page .tracking-step .text{
        top: 32px;
        min-width: 80px;
        font-size: 0.66rem !important;
    }

    .pedido-detalle-page .pedido-detalle-envio-card .card-body p{
        font-size: 0.95rem;
    }
}

/* ====== Configuracion del sistema ====== */
.config-gestion-page{
    --cg-cyan: #22d3ee;
    --cg-blue: #2563eb;
    --cg-indigo: #1d4ed8;
    --cg-ink: #0f172a;
}

.config-gestion-page .config-gestion-title{
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--cg-ink);
}

.config-gestion-page .config-gestion-alert{
    border: 0;
    border-radius: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 12px 22px rgba(16, 185, 129, 0.22);
}

.config-gestion-page .config-gestion-main-card{
    border: 1px solid #bae6fd;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 8%, rgba(34, 211, 238, 0.2), transparent 34%),
        linear-gradient(165deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 16px 32px rgba(14, 165, 233, 0.14);
}

.config-gestion-page .config-gestion-main-header{
    border: 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.config-gestion-page .config-gestion-main-body{
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.9) 100%);
}

.config-gestion-page .config-gestion-section-title{
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0c4a6e !important;
}

.config-gestion-page .config-gestion-form .form-label{
    margin-bottom: 0.42rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #334155;
}

.config-gestion-page .config-gestion-input{
    border: 1px solid #93c5fd;
    border-radius: 0.82rem;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.config-gestion-page .config-gestion-input:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2), 0 10px 18px rgba(37, 99, 235, 0.12);
}

.config-gestion-page .config-gestion-logo-preview-wrap{
    border: 1px solid #bfdbfe;
    border-radius: 0.9rem;
    padding: 0.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.12);
}

.config-gestion-page .config-gestion-logo-preview{
    width: 100%;
    max-height: 220px;
    height: auto;
    object-fit: contain;
    border-color: #93c5fd !important;
    border-radius: 0.75rem !important;
    background: #ffffff;
}

.config-gestion-page .config-gestion-save-btn{
    border: 0;
    border-radius: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.config-gestion-page .config-gestion-save-btn:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.config-gestion-page .config-gestion-info-card{
    border: 1px solid #a5f3fc !important;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(34, 211, 238, 0.2), transparent 34%),
        linear-gradient(165deg, #ffffff 0%, #ecfeff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.1) inset,
        0 14px 26px rgba(6, 182, 212, 0.14);
}

.config-gestion-page .config-gestion-info-title{
    font-weight: 800;
    color: #0891b2 !important;
}

.config-gestion-page .config-gestion-info-body{
    color: #334155;
}

/* ====== Mis datos ====== */
.mis-datos-page{
    --md-cyan: #22d3ee;
    --md-blue: #2563eb;
    --md-indigo: #1d4ed8;
    --md-ink: #0f172a;
}

.mis-datos-page .mis-datos-title{
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--md-ink);
}

.mis-datos-page .mis-datos-alert{
    border: 0;
    border-radius: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.mis-datos-page .alert-success.mis-datos-alert{
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.mis-datos-page .alert-danger.mis-datos-alert{
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.mis-datos-page .mis-datos-card{
    border: 1px solid #bae6fd;
    border-radius: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 10%, rgba(34, 211, 238, 0.2), transparent 35%),
        linear-gradient(165deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1) inset,
        0 16px 32px rgba(14, 165, 233, 0.14);
}

.mis-datos-page .mis-datos-card-body{
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.9) 100%);
}

.mis-datos-page .mis-datos-form .form-label{
    margin-bottom: 0.42rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #334155;
}

.mis-datos-page .mis-datos-input{
    border: 1px solid #93c5fd;
    border-radius: 0.82rem;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

.mis-datos-page .mis-datos-input:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2), 0 10px 18px rgba(37, 99, 235, 0.12);
}

.mis-datos-page .mis-datos-avatar-wrap{
    border: 1px solid #bfdbfe;
    border-radius: 0.9rem;
    padding: 0.85rem;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.mis-datos-page .mis-datos-avatar{
    border-color: #93c5fd !important;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.mis-datos-page .mis-datos-admin-box{
    border-color: #c4b5fd !important;
    border-radius: 0.95rem !important;
    background:
        radial-gradient(circle at 92% 10%, rgba(167, 139, 250, 0.2), transparent 35%),
        linear-gradient(165deg, #ffffff 0%, #f5f3ff 100%) !important;
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.1) inset,
        0 14px 26px rgba(124, 58, 237, 0.12);
}

.mis-datos-page .mis-datos-qr-preview{
    width: 120px;
    max-width: 120px;
    height: 120px;
    border-color: #a78bfa !important;
    border-radius: 0.75rem !important;
    background: #ffffff;
}

.mis-datos-page .mis-datos-qr-empty{
    border-color: #c4b5fd !important;
    background: linear-gradient(145deg, #ffffff 0%, #ede9fe 100%);
}

.mis-datos-page .mis-datos-save-btn{
    border: 0;
    border-radius: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.mis-datos-page .mis-datos-save-btn:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ====== Contacto ====== */
.contacto-page{
    --ct-cyan: #06b6d4;
    --ct-blue: #1d4ed8;
    --ct-deep: #0b1026;
    --ct-ink: #0f172a;
}

.contacto-page .contacto-title{
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ct-ink);
    text-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.contacto-page .contacto-card{
    border: 1px solid #7dd3fc;
    border-radius: 1.1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(6, 182, 212, 0.28), transparent 38%),
        linear-gradient(145deg, #ffffff 0%, #ecfeff 44%, #e0f2fe 100%);
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.16) inset,
        0 18px 34px rgba(14, 165, 233, 0.2),
        0 34px 70px rgba(15, 23, 42, 0.16);
}

.contacto-page .contacto-card-body{
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,255,0.95) 100%);
}

.contacto-page .contacto-info-panel{
    padding-right: 1rem;
    position: relative;
}

.contacto-page .contacto-info-panel::before{
    content: "";
    position: absolute;
    top: -0.25rem;
    right: 0.9rem;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}

.contacto-page .contacto-info-title{
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
}

.contacto-page .contacto-info-value{
    margin-bottom: 1rem;
    font-size: 1.03rem;
    line-height: 1.45;
    color: #0f172a !important;
    font-weight: 600;
    word-break: break-word;
}

.contacto-page .contacto-whatsapp-btn{
    border: 0;
    border-radius: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.62rem 1.05rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.34);
}

.contacto-page .contacto-whatsapp-btn:hover{
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(22, 163, 74, 0.4);
}

.contacto-page .contacto-form .form-label{
    margin-bottom: 0.42rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #334155;
}

.contacto-page .contacto-input{
    border: 1px solid #60a5fa;
    border-radius: 0.82rem;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.14);
}

.contacto-page .contacto-input:focus{
    border-color: #1d4ed8;
    box-shadow: 0 0 0 0.24rem rgba(37, 99, 235, 0.24), 0 14px 24px rgba(37, 99, 235, 0.2);
}

.contacto-page .contacto-send-btn{
    border: 0;
    border-radius: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--ct-cyan) 0%, var(--ct-blue) 50%, var(--ct-deep) 100%);
    box-shadow: 0 16px 30px rgba(29, 78, 216, 0.36);
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
}

.contacto-page .contacto-send-btn:hover{
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(29, 78, 216, 0.42);
}

/* ====== Anuncio de entrada (dark premium) ====== */
.anuncio-modal{
    --anx-cyan: #29d9ff;
    --anx-blue: #2f79ff;
    --anx-violet: #b553ff;
    --anx-pink: #ff51d4;
}

.anuncio-modal .modal-dialog{
    max-width: min(760px, calc(100vw - 2rem));
    margin: clamp(0.9rem, 3vh, 1.4rem) auto;
}

.anuncio-modal .anuncio-modal-content{
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1.4rem);
    border: 1px solid rgba(70, 163, 255, 0.75);
    border-radius: 1.1rem;
    overflow: hidden;
    background:
        radial-gradient(420px 160px at 8% -12%, rgba(37, 215, 255, 0.24), transparent 70%),
        radial-gradient(470px 180px at 98% 0%, rgba(191, 83, 255, 0.3), transparent 72%),
        linear-gradient(160deg, #07133a 0%, #090f30 58%, #0a0b25 100%);
    box-shadow:
        0 0 0 1px rgba(89, 186, 255, 0.16) inset,
        0 0 42px rgba(49, 125, 255, 0.2),
        0 26px 64px rgba(3, 9, 28, 0.64);
}

.anuncio-modal .anuncio-modal-content::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(41, 217, 255, 0) 0%, rgba(41, 217, 255, 0.95) 22%, rgba(181, 83, 255, 0.95) 74%, rgba(255, 81, 212, 0) 100%);
}

.anuncio-modal .anuncio-modal-close{
    position: absolute;
    right: 0.62rem;
    top: 0.62rem;
    z-index: 8;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(118, 192, 255, 0.78);
    background: radial-gradient(circle at 28% 22%, rgba(64, 190, 255, 0.35), rgba(7, 25, 63, 0.96) 62%);
    box-shadow: 0 0 18px rgba(72, 168, 255, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.09) inset;
    opacity: 1;
}

.anuncio-modal .anuncio-modal-close::before{
    content: "\00D7";
    display: block;
    text-align: center;
    line-height: 1.9rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #eff8ff;
    text-shadow: 0 0 10px rgba(92, 192, 255, 0.75);
}

.anuncio-modal .anuncio-modal-close:hover{
    border-color: rgba(181, 227, 255, 0.96);
    box-shadow: 0 0 24px rgba(99, 188, 255, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    transform: scale(1.03);
}

.anuncio-modal .modal-body{
    padding: 1.1rem 1.1rem 1.05rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.anuncio-modal .anuncio-modal-media{
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(83, 162, 255, 0.58);
    background: #07153d;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 1px rgba(117, 180, 255, 0.14) inset,
        0 14px 30px rgba(7, 24, 64, 0.52);
}

.anuncio-modal .anuncio-modal-media img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(44vh, 420px);
    object-fit: contain;
    display: block;
}

.anuncio-modal .anuncio-modal-badge{
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(69, 204, 255, 0.52);
    padding: 0.24rem 0.62rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #dff7ff;
    background: linear-gradient(135deg, rgba(14, 143, 216, 0.55) 0%, rgba(36, 182, 233, 0.46) 100%);
    box-shadow: 0 0 14px rgba(41, 195, 255, 0.24);
}

.anuncio-modal .anuncio-modal-title{
    margin-top: 0.62rem;
    margin-bottom: 0.45rem;
    font-size: clamp(1.34rem, 2.4vw, 1.84rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #f3f8ff;
    line-height: 1.12;
}

.anuncio-modal .anuncio-modal-text{
    margin: 0 0 0.84rem;
    color: #b8c9e6;
    line-height: 1.42;
    font-size: 1.01rem;
}

.anuncio-modal .anuncio-modal-offers{
    margin: 0 0 0.85rem;
    border: 1px solid rgba(76, 141, 235, 0.36);
    border-radius: 0.86rem;
    padding: 0.58rem;
    background:
        radial-gradient(260px 90px at 100% 0, rgba(166, 87, 255, 0.18), transparent 72%),
        linear-gradient(180deg, rgba(10, 26, 64, 0.9), rgba(6, 20, 52, 0.92));
}

.anuncio-modal .anuncio-modal-offers__title{
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9fc7ff;
    margin-bottom: 0.44rem;
}

.anuncio-modal .anuncio-modal-offers__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.46rem;
}

.anuncio-modal .anuncio-modal-offer{
    display: flex;
    gap: 0.52rem;
    align-items: center;
    text-decoration: none;
    border: 1px solid rgba(73, 130, 217, 0.62);
    border-radius: 0.74rem;
    background: linear-gradient(150deg, #0f2b64 0%, #0a1f52 100%);
    padding: 0.36rem;
    box-shadow: 0 0 12px rgba(38, 106, 209, 0.22);
}

.anuncio-modal .anuncio-modal-offer:hover{
    border-color: rgba(74, 210, 255, 0.92);
    box-shadow: 0 0 16px rgba(56, 180, 255, 0.35);
    transform: translateY(-1px);
}

.anuncio-modal .anuncio-modal-offer img{
    width: 58px;
    height: 58px;
    border-radius: 0.56rem;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(120, 182, 255, 0.38);
}

.anuncio-modal .anuncio-modal-offer__meta{
    min-width: 0;
}

.anuncio-modal .anuncio-modal-offer__name{
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ebf3ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anuncio-modal .anuncio-modal-offer__price{
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    gap: 0.33rem;
    color: #d5e7ff;
}

.anuncio-modal .anuncio-modal-offer__price strong{
    font-size: 0.86rem;
    color: #84e9ff;
    font-weight: 800;
}

.anuncio-modal .anuncio-modal-offer__old{
    font-size: 0.72rem;
    text-decoration: line-through;
    color: #ff8ea9;
}

.anuncio-modal .anuncio-modal-btn{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(108, 184, 255, 0.5);
    border-radius: 0.86rem;
    font-weight: 800;
    color: #f8fcff;
    background: linear-gradient(96deg, #1696ff 0%, #5955ff 48%, #da55ff 100%);
    box-shadow: 0 14px 28px rgba(84, 100, 255, 0.34), 0 0 18px rgba(129, 89, 255, 0.28);
    padding: 0.58rem 1.05rem;
    margin-top: 0.7rem;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.anuncio-modal .anuncio-modal-btn:hover{
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    border-color: rgba(166, 220, 255, 0.82);
}

.modal-backdrop.anuncio-modal-backdrop.show{
    background: radial-gradient(circle at 50% -20%, rgba(44, 117, 255, 0.36), rgba(3, 8, 24, 0.88) 56%);
    opacity: 1;
}

@media (max-width: 767.98px){
    .anuncio-modal .modal-dialog{
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .anuncio-modal .modal-body{
        padding: 0.92rem;
    }

    .anuncio-modal .anuncio-modal-media img{
        max-height: 32vh;
    }

    .anuncio-modal .anuncio-modal-offers__grid{
        grid-template-columns: 1fr;
    }

    .contacto-page .contacto-info-panel{
        border-right: 0 !important;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .contacto-page .contacto-whatsapp-btn{
        width: 100%;
    }
}

/* ====== Ajustes globales mobile / hosting ====== */
html, body{
    max-width: 100%;
}

body{
    overflow-x: hidden;
}

img, video, canvas, iframe, svg{
    max-width: 100%;
}

.table-responsive{
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px){
    main.mx-auto.w-full.max-w-7xl{
        padding-left: .75rem !important;
        padding-right: .75rem !important;
        padding-top: .9rem !important;
    }

    #mobileMenu{
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: .2rem;
    }

    .menu-panel{
        width: min(95vw, 22rem);
        max-height: calc(100vh - 84px);
    }

    .btn,
    .btnx,
    .btn-primary-ui,
    .btn-secondary-ui,
    .btn-ui-ghost,
    .btn-ui-icon,
    .btn-pos-corner{
        min-height: 42px;
    }
}

@media (max-width: 767.98px){
    .form-control,
    .form-select,
    .input-ui,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    select{
        font-size: 16px !important;
    }

    .header-zodiac .header-brand-text{
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .refx__title,
    .tfx__title,
    .gnx__title{
        font-size: clamp(1.5rem, 8.6vw, 2rem) !important;
        line-height: 1.02 !important;
    }

    .refx__main{
        padding: 14px 12px 22px !important;
    }

    .mpro{
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .mpro .table-responsive,
    .refx .table-responsive,
    .tfx .table-responsive,
    .gnx .table-responsive{
        overflow-x: auto !important;
    }

    .mpro .table,
    .refx table,
    .tfx table,
    .gnx table{
        min-width: 640px;
    }
}
