/**
 * Shared Hosting store — premium IT hosting (barabd_cart only)
 * Scoped: #order-standard_cart.bar-cart-shared-hosting
 * Does not affect VPS, VDS, domain, or other store categories.
 */

@keyframes barCartSharedCardEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes barCartSharedMeshDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes barCartSharedBlobFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3%, 5%); }
}

@keyframes barCartSharedBlobFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4%, -3%); }
}

@keyframes barCartSharedScanLine {
    0%, 100% { top: 10%; opacity: 0; }
    15% { opacity: 0.8; }
    50% { top: 85%; opacity: 0.8; }
    90% { opacity: 0; }
}

@keyframes barCartSharedTopShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes barCartSharedPopularGlow {
    0%, 100% { box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(20, 184, 166, 0); }
    50% { box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(20, 184, 166, 0.15); }
}

@keyframes barCartSharedHeroIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hide global green pill — shared uses custom hero only */
#order-standard_cart.bar-cart-shared-hosting .pricing-heading-box {
    display: none !important;
}

/* Dark hosting panel behind hero + cards */
#order-standard_cart.bar-cart-shared-hosting .cart-body {
    position: relative;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-hero,
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products {
    position: relative;
    z-index: 1;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products {
    margin: 0 clamp(8px, 2vw, 16px);
    padding: clamp(16px, 3vw, 28px);
    border-radius: 20px;
    background: linear-gradient(155deg, #030712 0%, #0a1628 30%, #0f2847 58%, #0a1628 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6 0%, #22c55e 50%, #14b8a6 100%);
    background-size: 200% 100%;
    animation: barCartSharedTopShine 6s linear infinite;
    z-index: 2;
    pointer-events: none;
}

/* ---- Hero ---- */
#order-standard_cart.bar-cart-shared-hosting .bar-shared-hero {
    position: relative;
    margin: 0 0 20px;
    padding: clamp(22px, 4vw, 36px) clamp(18px, 3vw, 28px);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(155deg, #030712 0%, #0a1628 35%, #0f2847 100%);
    border: 1px solid rgba(20, 184, 166, 0.22);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    animation: barCartSharedHeroIn 0.55s ease backwards;
}

.bar-shared-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bar-shared-ambient__mesh {
    position: absolute;
    inset: -25%;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at center, rgba(20, 184, 166, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(34, 197, 94, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
    background-size: 22px 22px, 52px 52px, 52px 52px;
    animation: barCartSharedMeshDrift 36s linear infinite;
}

.bar-shared-ambient__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
}

.bar-shared-ambient__blob--1 {
    width: min(45vw, 360px);
    height: min(45vw, 360px);
    top: -20%;
    right: -5%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, transparent 70%);
    animation: barCartSharedBlobFloat1 18s ease-in-out infinite;
}

.bar-shared-ambient__blob--2 {
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    bottom: -25%;
    left: -8%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, transparent 70%);
    animation: barCartSharedBlobFloat2 22s ease-in-out infinite;
}

.bar-shared-ambient__scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.7), rgba(34, 197, 94, 0.5), transparent);
    box-shadow: 0 0 14px rgba(20, 184, 166, 0.35);
    animation: barCartSharedScanLine 8s ease-in-out infinite;
}

.bar-shared-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.bar-shared-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5eead4;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.35);
    margin-bottom: 12px;
}

.bar-shared-hero-badge i {
    color: #34d399;
}

.bar-shared-hero-title {
    margin: 0 0 10px;
    padding: 0.55rem 1.5rem;
    display: inline-block;
    border-radius: 999px;
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(34, 197, 94, 0.18) 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.15);
}

.bar-shared-hero-lead {
    margin: 0 auto 16px;
    max-width: 38rem;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    line-height: 1.6;
    color: #94a3b8 !important;
}

.bar-shared-hero-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
}

.bar-shared-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(20, 184, 166, 0.22);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.bar-shared-hero-points li:hover {
    border-color: rgba(34, 197, 94, 0.45);
    transform: translateY(-2px);
}

.bar-shared-hero-points li i {
    color: #5eead4;
    font-size: 0.78rem;
}

/* ---- Product grid on dark panel ---- */
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
    animation: barCartSharedCardEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards !important;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(1) { animation-delay: 0.1s !important; }
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(2) { animation-delay: 0.22s !important; }
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(3) { animation-delay: 0.34s !important; }

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(20, 184, 166, 0.45) !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.42), 0 0 36px rgba(20, 184, 166, 0.12) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(2) {
    animation: barCartSharedCardEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards,
        barCartSharedPopularGlow 3s ease-in-out infinite !important;
    animation-delay: 0.22s, 0s !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(2) {
    border-color: rgba(20, 184, 166, 0.5) !important;
}

/* Reset plan-card-modern dark theme from global custom.css */
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product.plan-card-modern {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    padding: 0 !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product.plan-card-modern::before {
    display: none !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product header {
    background: linear-gradient(165deg, #f8fafc 0%, #ecfdf5 50%, #d1fae5 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    padding: 1.35rem 1rem 1rem !important;
    text-align: center !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(1) header {
    background: linear-gradient(165deg, #f8fafc 0%, #f0fdfa 45%, #ccfbf1 100%) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(2) header {
    background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 45%, #a7f3d0 100%) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:nth-child(3) header {
    background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product header span {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-shadow: none !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-pricing {
    padding: 0.75rem 1.25rem 0.5rem !important;
    text-align: center !important;
    background: #ffffff !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-pricing span.price {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: #0f766e !important;
    -webkit-text-fill-color: #0f766e !important;
    text-shadow: none !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product .product-pricing .price-cycle {
    color: #64748b !important;
    font-weight: 600 !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-desc {
    padding: 0.5rem 1.25rem 0.75rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-desc ul li {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    padding: 0.42rem 0 0.42rem 1.35rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-desc ul li:last-child {
    border-bottom: none !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product div.product-desc ul li::before {
    width: 8px !important;
    height: 8px !important;
    background: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2) !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product footer {
    padding: 0 1.25rem 1.25rem !important;
    background: #ffffff !important;
    border-top: none !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product footer .btn,
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product footer .btn-order-now {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 0.9rem 1rem !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    background: linear-gradient(135deg, #0d9488 0%, #059669 55%, #047857 100%) !important;
    border: none !important;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.38) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product footer .btn:hover,
#order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product footer .btn-order-now:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 34px rgba(13, 148, 136, 0.48) !important;
    background: linear-gradient(135deg, #0f766e 0%, #059669 100%) !important;
}

@media (max-width: 991.98px) {
    #order-standard_cart.bar-cart-shared-hosting .bar-shared-products.products {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }
}

@media (max-width: 575.98px) {
    .bar-shared-hero-points {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    #order-standard_cart.bar-cart-shared-hosting .bar-shared-ambient *,
    #order-standard_cart.bar-cart-shared-hosting .bar-shared-hero,
    #order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product,
    #order-standard_cart.bar-cart-shared-hosting .bar-shared-products::before {
        animation: none !important;
    }

    #order-standard_cart.bar-cart-shared-hosting .bar-shared-products .product:hover {
        transform: none !important;
    }
}
