: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 .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);
    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;
}

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%;
}

.product-card-neon__inner{
    height: 100%;
    border-radius: 1rem;
    border: 1px solid #ff5f1f;
    background: linear-gradient(180deg, #0b0d14 0%, #090b11 100%);
    box-shadow:
        0 0 0 1px rgba(255, 103, 38, 0.34) inset,
        0 0 18px rgba(255, 95, 31, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.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;
    border-radius: .9rem;
    border: 1px solid #162035;
    overflow: hidden;
    background: radial-gradient(circle at 35% 20%, #2c1f72 0%, #111827 65%);
}

.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;
    font-size: .72rem;
    letter-spacing: .03em;
    color: #9ca3af;
    font-weight: 700;
}

.product-card-neon__title{
    margin: 0;
    line-height: 1.28;
    font-size: 1.02rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card-neon__title a{
    color: #ffffff;
}

.product-card-neon__title a:hover{
    color: #bae6fd;
}

.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: #fff;
    background: linear-gradient(135deg, #ff7b22 0%, #ff4b19 100%);
    box-shadow: 0 6px 16px rgba(255, 89, 22, 0.38);
}

.product-card-neon__btn:hover{
    filter: brightness(1.05);
}

.product-card-neon__btn.is-disabled{
    background: #64748b;
    box-shadow: none;
    cursor: not-allowed;
}

.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 .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;
}

/* ====== 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 .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 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);
}

/* ====== 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);
}
