* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --text-light: #e2e8f0;
    --text-gray: #94a3b8;
    --border-color: #1e293b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER - ONE LINE LAYOUT ===== */
.header {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo a {
    text-decoration: none;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 400px;
}

.search-bar form {
    display: flex;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-bar form:focus-within {
    border-color: var(--primary-color);
}

.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-light);
    outline: none;
    font-size: 14px;
}

.search-bar button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--secondary-color);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Cart Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
}

.cart-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.cart-btn i {
    font-size: 18px;
}

.cart-text {
    font-weight: 500;
    font-size: 14px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid var(--dark-bg);
}

/* Login Button */
.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.user-menu-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.user-menu-btn i:first-child {
    font-size: 20px;
}

.user-menu-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-menu:hover .user-menu-btn i:last-child {
    transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: var(--darker-bg);
    color: var(--primary-color);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
}

.logout-link {
    color: var(--danger-color) !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .header-content {
        gap: 15px;
    }
    
    .search-bar {
        max-width: 300px;
    }
    
    .main-nav a {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 968px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
        margin-top: 10px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .cart-text,
    .user-menu-btn span,
    .btn-login span {
        display: none;
    }
    
    .main-nav a {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .cart-btn,
    .user-menu-btn,
    .btn-login {
        padding: 10px 12px;
    }
}


/* Hero */
.hero {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--darker-bg);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-hot {
    background: var(--danger-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-name a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-gray);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.rating {
    color: #fbbf24;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
    font-size: 14px;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
}

/* Category Tabs */
.category-section {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Commitment Section */
.commitment-section {
    background: var(--dark-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.commitment-card {
    text-align: center;
    padding: 30px;
    background: var(--darker-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.commitment-card:hover {
    transform: translateY(-5px);
}

.commitment-card .icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.commitment-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.commitment-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* News Section */
.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: var(--darker-bg);
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content h3 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-col p {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-methods img {
    width: 50px;
    height: 30px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
        max-width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
}
/* ===== HEADER IMPROVEMENTS ===== */
.header {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-text-fill-color: transparent;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 450px;
}

.search-bar form {
    display: flex;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-bar form:focus-within {
    border-color: var(--primary-color);
}

.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-light);
    outline: none;
    font-size: 14px;
}

.search-bar button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--secondary-color);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Cart Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

.cart-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.cart-btn i {
    font-size: 18px;
}

.cart-text {
    font-weight: 500;
    font-size: 14px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid var(--dark-bg);
}

/* Login Button */
.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.user-menu-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.user-menu-btn i:first-child {
    font-size: 20px;
}

.user-menu-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-menu:hover .user-menu-btn i:last-child {
    transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: var(--darker-bg);
    color: var(--primary-color);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
}

.logout-link {
    color: var(--danger-color) !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Cart Actions Improvement */
.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary {
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .main-nav ul {
        gap: 12px;
    }
    
    .main-nav a {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 968px) {
    .header-main {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .header-actions {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .cart-text {
        display: none;
    }
    
    .user-menu-btn span {
        display: none;
    }
    
    .main-nav ul {
        gap: 8px;
    }
    
    .main-nav a {
        font-size: 12px;
        padding: 6px 8px;
    }
}
/* ===== CART PAGE STYLING ===== */
.cart-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
    background: var(--darker-bg);
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--text-light);
    font-weight: bold;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 100px 40px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart i {
    font-size: 100px;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.5;
    display: block;
}

.empty-cart h2 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 28px;
}

.empty-cart p {
    color: var(--text-gray);
    margin-bottom: 35px;
    font-size: 16px;
}

.empty-cart .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.empty-cart .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Cart Content Layout */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

/* Cart Items */
.cart-items {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead th {
    text-align: left;
    padding: 15px 12px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table tbody td {
    padding: 25px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cart Product */
.cart-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-product img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.cart-product-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cart-product-info h3 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.cart-product-info h3 a:hover {
    color: var(--primary-color);
}

.cart-product-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Cart Price */
.cart-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Cart Quantity */
.cart-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2px;
    width: fit-content;
}

.cart-quantity .qty-btn {
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity .qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.cart-quantity input {
    width: 55px;
    height: 35px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

/* Remove input arrows */
.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Cart Subtotal */
.cart-subtotal {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

/* Remove Button */
.btn-remove {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
    transition: all 0.3s;
    border-radius: 8px;
}

.btn-remove:hover {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.cart-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* Cart Summary */
.cart-summary {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-weight: bold;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--text-gray);
    font-size: 15px;
}

.summary-value {
    font-weight: 600;
    color: var(--text-light);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.total-row {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-light);
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.summary-total {
    font-size: 26px;
    color: var(--danger-color);
    font-weight: 800;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 25px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Payment Methods Info */
.payment-methods-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.payment-methods-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 28px;
    color: var(--text-gray);
}

.payment-icons i {
    transition: all 0.3s;
}

.payment-icons i:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        background: var(--darker-bg);
        border-radius: 12px;
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
    }
    
    .cart-table tbody td {
        padding: 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-gray);
        font-size: 13px;
        text-transform: uppercase;
    }
    
    .cart-product {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .empty-cart {
        padding: 60px 20px;
    }
    
    .empty-cart i {
        font-size: 70px;
    }
    
    .empty-cart h2 {
        font-size: 22px;
    }
}

/* Fix Logo */
.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* For browsers that don't support backg
/* ===== NOTIFICATION SYSTEM ===== */
.notification {
    position: fixed;
    top: -100px;
    right: 20px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 24px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.notification.show {
    top: 90px;
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-content i {
    font-size: 24px;
}

.notification-content span {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: all 0.3s;
    border-radius: 4px;
}

.notification-close:hover {
    background: var(--darker-bg);
    color: var(--text-light);
}

/* Notification Types */
.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-success .notification-content i {
    color: var(--success-color);
}

.notification-success .notification-content span {
    color: var(--text-light);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification-error .notification-content i {
    color: var(--danger-color);
}

.notification-error .notification-content span {
    color: var(--text-light);
}

.notification-warning {
    border-left: 4px solid var(--warning-color);
}

.notification-warning .notification-content i {
    color: var(--warning-color);
}

.notification-warning .notification-content span {
    color: var(--text-light);
}

.notification-info {
    border-left: 4px solid var(--info-color);
}

.notification-info .notification-content i {
    color: var(--info-color);
}

.notification-info .notification-content span {
    color: var(--text-light);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    font-size: 18px;
}

.loading i {
    margin-right: 10px;
    color: var(--primary-color);
}

.error-message {
    text-align: center;
    padding: 40px;
    color: var(--danger-color);
    font-size: 16px;
}

/* Button Loading State */
.btn-add-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Cart Count Animation */
.cart-count {
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .notification.show {
        top: 70px;
    }
}
/* No products message */
.no-products {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-products p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
