/* Navigation (reuse from index.css) */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #2563eb;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -20px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Cart Section */
.cart-section {
    padding: 3rem 2rem;
    background: #f9fafb;
    min-height: calc(100vh - 200px);
}

.cart-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cart Items */
.cart-items-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 2fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #f9fafb;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.cart-item-info h3:hover {
    color: #2563eb;
}

.cart-item-info .category {
    color: #6b7280;
    font-size: 0.875rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.cart-item-quantity input {
    width: 50px;
    height: 35px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
}

.cart-item-remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: #dc2626;
    color: white;
}

/* Order Summary */
.order-summary-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

.order-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
}

.summary-item.total {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.summary-item.total span:last-child {
    color: #2563eb;
    font-size: 1.75rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.checkout-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.continue-shopping:hover {
    color: #1d4ed8;
}

/* Footer (reuse from index.css) */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f3f4f6;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

/* Footer Payment Methods */
.payment-methods {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    border-bottom: 1px solid #374151;
}

.payment-methods-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 1.5rem;
}

.payment-methods-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-method-logo {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.payment-method-item.jazzcash .payment-method-logo {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.payment-method-item.easypaisa .payment-method-logo {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.payment-method-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 2rem;
    color: #9ca3af;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .cart-item-image {
        grid-row: span 2;
        width: 80px;
        height: 80px;
    }

    .order-summary-section {
        position: static;
    }

    .cart-item-quantity {
        grid-column: span 2;
    }

    .cart-item-price {
        grid-column: span 2;
    }
}
