@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Luminous Light Blue Theme */
    --bg-main: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --border-glass: rgba(226, 232, 240, 0.8);
    --border-glass-bright: rgba(56, 189, 248, 0.5);
    
    /* Vibrant Electric & Royal Blue Palette */
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-glow: rgba(2, 132, 199, 0.28);
    
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.25);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
}

.max-w {
    max-width: 1300px;
    margin: 0 auto;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(2, 132, 199, 0.2); }
    50% { box-shadow: 0 0 35px rgba(2, 132, 199, 0.5); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ambient Blue Soft Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    animation: float 8s ease-in-out infinite alternate;
}
.glow-1 {
    top: -10%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: rgba(56, 189, 248, 0.22);
}
.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(37, 99, 235, 0.16);
    animation-delay: -4s;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* Animated Top Announcement Ticker Bar */
.top-ticker-wrap {
    background: linear-gradient(90deg, #0284c7, #2563eb, #38bdf8, #0284c7);
    background-size: 300% 100%;
    animation: shimmer 12s infinite linear;
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 102;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}
.top-ticker {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0;
}
.top-ticker:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
}
.ticker-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Secondary Promo Bar */
.promo-bar {
    background: #0f172a;
    color: #fff;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 101;
}
.promo-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.lang-selector {
    position: relative;
}
.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lang-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 200;
    min-width: 140px;
}
.lang-dropdown.active {
    display: block;
    animation: fadeInUp 0.25s ease-out;
}
.lang-dropdown button {
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.lang-dropdown button:hover {
    background: #e0f2fe;
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    transition: var(--transition);
}
.brand-logo:hover {
    transform: scale(1.03);
}
.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
    animation: float 4s ease-in-out infinite;
}
.nav-search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.nav-search-bar i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.nav-search-bar input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1.2rem 0.75rem 2.8rem;
    border-radius: 30px;
    color: #0f172a;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}
.nav-search-bar input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}
.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.btn-icon {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.btn-icon:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: var(--primary);
    transform: translateY(-2px);
}
.cart-badge, .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #0284c7;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
    animation: pulseGlow 2s infinite;
}

/* TOP HERO BANNER SHOWCASE */
.top-hero-banner {
    max-width: 1300px;
    margin: 1.5rem auto 0 auto;
    padding: 0 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-banner-card {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    color: #fff;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.25);
}
.hero-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}
.banner-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}
.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}
.banner-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
.banner-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.banner-feat-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
}

/* Hero Showcase */
.hero {
    position: relative;
    padding: 3rem 2rem 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #0f172a;
}
.text-gradient {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 540px;
}
.btn-primary {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px var(--primary-glow);
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}
.stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0284c7;
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hero-main-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.15);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both, float 6s ease-in-out infinite 1s;
    transition: var(--transition);
}
.hero-main-card:hover {
    box-shadow: 0 25px 60px rgba(2, 132, 199, 0.25);
    border-color: #38bdf8;
}
.hero-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #0284c7;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 2;
}
.hero-product-img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    display: block;
    margin-bottom: 1.2rem;
    padding: 1rem;
    transition: transform 0.5s ease;
}
.hero-main-card:hover .hero-product-img {
    transform: scale(1.05);
}
.hero-card-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #0f172a;
}
.hero-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 1rem;
}
.btn-add-cart-hero {
    width: 100%;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-cart-hero:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

/* Catalog Section */
.catalog-section {
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}
.filter-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-muted);
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
    box-shadow: 0 4px 15px var(--primary-glow);
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    animation: fadeInUp 0.5s ease-out;
}
.product-card:hover {
    border-color: #38bdf8;
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15);
}
.ebay-badge-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    background: #0284c7;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.product-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.2rem;
    position: relative;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.wishlist-btn.active {
    color: #ef4444;
    background: #fee2e2;
    border-color: #fca5a5;
    transform: scale(1.1);
}
.product-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0284c7;
}
.btn-add-cart {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0284c7;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.btn-add-cart:hover {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
    transform: scale(1.05);
}

/* PRODUCT DETAIL POPUP MODAL STYLES */
.product-modal-card {
    max-width: 850px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}
.product-modal-img-wrap {
    width: 100%;
    height: 340px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem;
}
.product-modal-img-wrap img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}
.pmodal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0284c7;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}
.pmodal-cat {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}
.pmodal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}
.pmodal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}
.pmodal-price {
    font-size: 2rem;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 1rem;
}
.pmodal-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1.2rem 0;
}
.pmodal-desc-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}
.pmodal-desc-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.pmodal-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    background: #f8fafc;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}
.pmodal-actions {
    display: flex;
    gap: 1rem;
}
.pmodal-add-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.05rem;
}

/* Features Bar */
.features-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    padding: 0 2rem;
}
.feature-item {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.1);
}
.feature-icon {
    font-size: 2rem;
    color: #0284c7;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    z-index: 201;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-overlay.active + .cart-drawer, .cart-drawer.active {
    right: 0;
}
.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-close-cart {
    background: #f1f5f9;
    border: none;
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.btn-close-cart:hover {
    background: #e2e8f0;
}
.cart-body {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.3s ease-out;
}
.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
}
.cart-item-info {
    flex: 1;
}
.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-item-price {
    font-size: 0.9rem;
    color: #0284c7;
    font-weight: 700;
}
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e2e8f0;
    border: none;
    color: #0f172a;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}
.cart-qty-btn:hover {
    background: #0284c7;
    color: #fff;
}
.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.promo-code-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.promo-code-box input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 0.85rem;
}
.promo-code-box button {
    background: #0284c7;
    border: none;
    color: #fff;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.promo-code-box button:hover {
    background: #0369a1;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.total-row {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    border-top: 1px solid #cbd5e1;
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}
.btn-checkout-full {
    width: 100%;
    margin-top: 1.2rem;
    justify-content: center;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    max-width: 650px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border: none;
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}
.form-group input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    color: #0f172a;
    outline: none;
}
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
}
.payment-option {
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
    transition: var(--transition);
}
.payment-option:hover {
    border-color: #0284c7;
    background: #e0f2fe;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.toast {
    background: #ffffff;
    border: 1px solid #0284c7;
    color: #0f172a;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 0.3s ease-out;
}

/* Footer */
.footer {
    border-top: 1px solid #e2e8f0;
    padding: 4rem 2rem 2rem 2rem;
    background: #ffffff;
    margin-top: 5rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-col h4 {
    margin-bottom: 1.2rem;
    color: #0f172a;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.6rem;
}
.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: #0284c7;
}
.pay-icons {
    font-size: 1.8rem;
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #f1f5f9;
    margin-top: 3rem;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.text-green { color: #0284c7; }
