/* ===============================
   RESET & GLOBAL STYLES
================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===============================
   HEADER STYLES
================================ */
.top-header { background: #000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 15px 0; width: 100%; }
.top-header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo img { height: 50px; }
.header-nav { display: flex; gap: 30px; }
.header-nav a { font-weight: 600; color: #fff; transition: color 0.3s; }
.header-nav a:hover, .header-nav a.active { color: #ccc; }
.header-right { display: flex; align-items: center; gap: 20px; }
.social-links a { color: #fff; font-size: 18px; }
.header-actions { display: flex; gap: 15px; align-items: center; }
.login-btn { font-weight: 600; color: #fff; transition: color 0.3s; }
.login-btn:hover { color: #ccc; }
.cart-btn { position: relative; font-size: 20px; color: #fff; transition: color 0.3s; }
.cart-btn:hover { color: #ccc; }
.cart-count { position: absolute; top: -8px; right: -8px; background: #fff; color: #000; font-size: 10px; padding: 2px 6px; border-radius: 50%; font-weight: bold; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #fff; }
.mobile-signup-link { display: none; }

/* ===============================
   HERO & FEATURES (Index)
================================ */
.hero { position: relative; width: 100%; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; }
.hero-image { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-title { font-size: 48px; margin-bottom: 20px; font-weight: 700; }
.shop-now-btn { display: inline-block; padding: 15px 40px; background: #000; color: #fff; font-weight: 700; border-radius: 30px; transition: transform 0.3s, background 0.3s; }
.shop-now-btn:hover { transform: scale(1.05); background: #333; }

.featured-section { padding: 60px 0; background: #fff; }
.featured-section .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.featured-section .section-title { font-size: 28px; color: #000; font-weight: 700; margin: 0; border-bottom: none; padding-bottom: 0; }
.featured-section .section-link { color: #333; font-weight: 600; transition: color 0.3s; }
.featured-section .section-link:hover { color: #000; }
.featured-section #featuredProducts { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.features { padding: 60px 0; background: #fff; }
.features .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.feature-item { text-align: center; flex: 1; min-width: 250px; padding: 20px; }
.feature-item i { font-size: 40px; color: #000; margin-bottom: 15px; }
.feature-item h3 { font-size: 18px; color: #333; }

/* ===============================
   SHOP STYLES
================================ */
.shop-section { padding: 40px 0; min-height: 80vh; }
.breadcrumb { margin-bottom: 30px; color: #666; font-size: 14px; }
.breadcrumb a { color: #333; font-weight: 500; }
.breadcrumb a:hover { color: #000; }
.breadcrumb span { margin: 0 5px; color: #ccc; }

.shop-layout { display: flex; gap: 40px; }
.shop-sidebar { width: 250px; flex-shrink: 0; }
.shop-main { flex: 1; }
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.sort-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
.shop-title { font-size: 32px; color: #333; margin-bottom: 10px; }

.filter-group { margin-bottom: 30px; }
.filter-title { font-size: 18px; margin-bottom: 15px; border-bottom: 2px solid #000; padding-bottom: 5px; display: inline-block; color: #333; }
.price-range { padding: 10px 0; }
.price-slider { width: 100%; margin-bottom: 10px; accent-color: #000; cursor: pointer; }
.price-display { display: flex; justify-content: space-between; color: #666; font-size: 14px; font-weight: 600; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s; position: relative; }
.product-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.product-image { position: relative; height: 250px; overflow: hidden; background: #f9f9f9; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.1); }
.product-info { padding: 20px; }
.product-name { font-size: 18px; margin-bottom: 10px; color: #333; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-category { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-title { font-size: 18px; margin-bottom: 10px; color: #333; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { font-size: 20px; font-weight: 700; color: #000; margin-bottom: 15px; }
.add-to-cart-btn { width: 100%; padding: 12px; background: #333; color: #fff; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.add-to-cart-btn:hover { background: #000; }

.loading-spinner { text-align: center; padding: 60px; color: #666; grid-column: 1 / -1; }
.loading-spinner i { font-size: 40px; margin-bottom: 15px; color: #000; }
.loading-spinner p { font-size: 16px; }

.mobile-filter-toggle, .close-filters { display: none; }

/* ===============================
   FOOTER STYLES
================================ */
.footer { background: #000; color: #fff; padding: 60px 0 20px; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-section { flex: 1; min-width: 200px; }
.footer-logo img { height: 40px; }
.footer-section h3 { font-size: 18px; margin-bottom: 20px; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-links i { margin-right: 10px; width: 20px; text-align: center; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; color: #666; font-size: 14px; }

/* ===============================
   CART NOTIFICATION
================================ */
.cart-notification { position: fixed; bottom: 30px; right: 30px; background: #333; color: #fff; padding: 15px 25px; border-radius: 50px; display: flex; align-items: center; gap: 10px; transform: translateY(100px); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 9999; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.cart-notification.show { transform: translateY(0); }
.cart-notification i { color: #fff; font-size: 20px; }

/* ===============================
   DASHBOARD STYLES (Restored)
================================ */
.dashboard-section {
    padding: 30px 0 60px;
    min-height: 70vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.welcome-text h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.welcome-text p {
    color: #666;
}

.logout-btn {
    padding: 10px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #c0392b;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Sidebar Navigation */
.dashboard-nav {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.nav-item:hover {
    background: #e0e0e0;
}

.nav-item.active {
    background: #000;
    color: #fff;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

/* Dashboard Content */
.dashboard-content {
    min-height: 500px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orders-table th {
    background: #f8f8f8;
    font-weight: 600;
    color: #666;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-processing { background: #fff3e0; color: #e67e22; }
.status-shipped { background: #e8f5e9; color: #2ecc71; }
.status-delivered { background: #e3f2fd; color: #3498db; }

.view-btn {
    padding: 6px 12px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.3s;
}

.view-btn:hover {
    background: #000;
}

/* Profile Form */
.profile-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #000;
    outline: none;
}

.save-btn {
    padding: 12px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.save-btn:hover {
    background: #333;
}

/* Wishlist */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.wishlist-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.wishlist-item-info {
    padding: 15px;
}

.wishlist-item h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.wishlist-item .price {
    font-size: 18px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 10px;
}

.wishlist-actions {
    display: flex;
    gap: 10px;
}

.wishlist-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-cart-btn {
    background: #4CAF50;
    color: #fff;
}

.remove-wishlist-btn {
    background: #e0e0e0;
    color: #666;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

.empty-state a {
    display: inline-block;
    padding: 12px 25px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-nav {
        position: static;
        margin-bottom: 30px;
        display: flex;
        overflow-x: auto;
        padding: 15px;
        gap: 10px;
    }
    
    .nav-item {
        margin-bottom: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ===============================
   AUTH STYLES (Login & Signup)
================================ */
.login-section,
.signup-section {
    padding: 60px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.login-card,
.signup-card {
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    border: 1px solid #e0e0e0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.signup-card {
    max-width: 600px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.social-btn.google { color: #DB4437; }
.social-btn.apple { color: #000; }

.divider {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Signup Specific */
.signup-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.login-btn-main,
.signup-btn {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn-main:hover,
.signup-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-btn-main:disabled,
.signup-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.login-btn-existing {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.login-btn-existing:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Links & Dividers */
.remember-forgot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #000;
}

.forgot-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.signup-link,
.login-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

.signup-link a,
.login-link a,
.forgot-link:hover {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover,
.login-link a:hover,
.forgot-link:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

.password-requirements {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.password-requirements ul {
    margin: 5px 0 0 20px;
    padding: 0;
}

.password-requirements li {
    margin: 3px 0;
}

.password-requirements li.valid {
    color: #4CAF50;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.terms-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #4CAF50;
}

.terms-checkbox label {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    margin: 0;
}

.terms-checkbox a {
    color: #4CAF50;
    text-decoration: none;
}

/* Messages */
.error-message,
.success-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.error-message {
    background: #ffebee;
    color: #c62828;
}

.success-message {
    background: #f5f5f5;
    color: #2e7d32;
}

/* Responsive Auth */
@media (max-width: 480px) {
    .login-card,
    .signup-card {
        padding: 30px 20px;
    }

    .social-login {
        flex-direction: column;
    }
    
    .signup-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CART PAGE STYLES
================================ */
.cart-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.cart-items-container {
    flex: 2;
}

.cart-items {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.cart-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    gap: 20px;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.cart-item-price {
    color: #666;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.qty-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-item-total {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    min-width: 80px;
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.remove-item-btn:hover {
    color: #ff4444;
}

/* Cart Summary */
.cart-summary {
    flex: 1;
    min-width: 300px;
}

.summary-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    position: sticky;
    top: 100px;
}

.summary-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-weight: 700;
    color: #333;
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: #333;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.continue-shopping:hover {
    color: #4CAF50;
}

.payment-info {
    margin-top: 30px;
    text-align: center;
}

.payment-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.payment-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.crypto-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    color: #666;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.empty-cart i {
    font-size: 64px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.shop-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive Cart */
@media (max-width: 968px) {
    .cart-layout {
        flex-direction: column;
    }
    
    .summary-card {
        position: static;
    }
}

@media (max-width: 480px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        width: 120px;
        height: 120px;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-item-total {
        text-align: center;
    }
}

/* ===============================
   RESPONSIVE GLOBAL
================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .header-nav { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: #fff; flex-direction: column; padding: 80px 20px 20px; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: left 0.3s; z-index: 999; }
    .header-nav.active { left: 0; }
    .header-nav li { width: 100%; border-bottom: 1px solid #eee; }
    .header-nav a { display: block; padding: 15px 0; font-size: 16px; color: #333; }

    .header-actions .login-btn { display: none; }
    .shop-layout { flex-direction: column; }
    .shop-sidebar { width: 100%; position: fixed; top: 0; left: -100%; height: 100vh; background: #fff; z-index: 2000; padding: 60px 20px; overflow-y: auto; transition: left 0.3s; }
    .shop-sidebar.active { left: 0; }
    .mobile-filter-toggle { display: block; width: 100%; padding: 12px; background: #f4f4f4; border: 1px solid #ddd; margin-bottom: 20px; border-radius: 4px; font-weight: 600; cursor: pointer; }
    .close-filters { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 16px; cursor: pointer; color: #666; }
    .hero-title { font-size: 32px; }
    .footer-content { flex-direction: column; gap: 30px; }
}


