:root {
    --navy: #1a2332;
    --navy-light: #243447;
    --red: #c0392b;
    --red-dark: #a93226;
    --red-light: #e74c3c;
    --gold: #f39c12;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border: #e9ecef;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { font-family: 'Inter', sans-serif; }

body { color: var(--text-dark); background: var(--light-bg); }

/* Top Bar */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 6px 0;
}
@media (max-width: 991px) {
    .top-bar { display: none; }
}
.top-bar span { font-size: 0.8rem; }

/* Navbar */
.bg-navy { background: var(--navy) !important; }
.navbar { padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.navbar-brand { font-size: 1.4rem; letter-spacing: -0.5px; }
.navbar-brand i { color: var(--red); }
.nav-link { font-weight: 500; font-size: 0.95rem; padding: 8px 16px !important; transition: var(--transition); }
.nav-link:hover { color: var(--red-light) !important; }

.search-bar { max-width: 420px; width: 100%; }
.search-bar .form-control {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
}
.search-bar .btn-search {
    background: var(--red);
    color: white;
    border-radius: 0 25px 25px 0;
    padding: 8px 20px;
    border: none;
}
.search-bar .btn-search:hover { background: var(--red-dark); }

.cart-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    font-size: 0.65rem;
    background: var(--red) !important;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-red { background: var(--red); color: white; border: none; padding: 10px 28px; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }
.btn-red:hover { background: var(--red-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: white; border: none; padding: 10px 28px; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }
.btn-navy:hover { background: var(--navy-light); color: white; transform: translateY(-2px); }
.btn-outline-red { border: 2px solid var(--red); color: var(--red); border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }
.btn-outline-red:hover { background: var(--red); color: white; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(192, 57, 43, 0.05);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: var(--red-light); }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; max-width: 500px; }
.hero-stats { margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat h3 { font-size: 2rem; font-weight: 800; color: var(--red-light); }
.hero-stat p { font-size: 0.85rem; opacity: 0.8; margin: 0; }

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.section-title p { color: var(--text-muted); font-size: 1rem; }
.section-title .title-line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--red);
    border-color: var(--red);
}
.category-card i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 15px;
    display: block;
}
.category-card h6 { font-weight: 600; margin: 0; font-size: 0.95rem; }

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.product-card .product-img {
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}
.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    color: var(--text-muted);
}
.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active { color: var(--red); }
.product-card .product-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .product-category {
    font-size: 0.75rem;
    color: #27ae60;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-card .product-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--red);
    margin-top: auto;
}
.product-card .product-price small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 8px;
}
.product-card .product-actions {
    padding: 0 18px 18px;
    display: flex;
    gap: 8px;
}
.product-card .btn-add-cart {
    flex: 1;
    background: var(--navy);
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.product-card .btn-add-cart:hover { background: var(--navy-light); }

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 30px 20px;
}
.feature-box i { font-size: 2.5rem; color: var(--red); margin-bottom: 15px; }
.feature-box h6 { font-weight: 600; color: var(--navy); }
.feature-box p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Special Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius);
    padding: 50px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}
.offer-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.offer-banner h2 { font-weight: 800; font-size: 2.5rem; }
.offer-banner p { font-size: 1.1rem; opacity: 0.9; }
.offer-banner .timer { display: flex; gap: 15px; margin: 20px 0; }
.offer-banner .timer div {
    background: rgba(255,255,255,0.2);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 70px;
}
.offer-banner .timer div span { display: block; font-size: 1.5rem; font-weight: 700; }
.offer-banner .timer div small { font-size: 0.75rem; opacity: 0.8; }

/* Newsletter */
.newsletter-section {
    background: var(--navy);
    padding: 60px 0;
    color: white;
}
.newsletter-section .input-group {
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-section .form-control {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.newsletter-section .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Auth Forms */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.auth-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.auth-card h3 { font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.auth-card .subtitle { color: var(--text-muted); margin-bottom: 30px; }

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.15);
}

/* Dashboard */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 60px);
    background: var(--light-bg);
}
.sidebar {
    width: 260px;
    background: var(--navy);
    color: white;
    padding-top: 30px;
    flex-shrink: 0;
}
.sidebar .sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar .sidebar-link:hover,
.sidebar .sidebar-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--red);
}
.sidebar .sidebar-link i { width: 24px; margin-right: 12px; }
.dashboard-content {
    flex: 1;
    padding: 30px;
    background: var(--light-bg);
    overflow-y: auto;
}
.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat-card .stat-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.stat-card h3 { font-size: 1.8rem; font-weight: 700; margin: 10px 0 5px; }
.stat-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* Order Status */
.status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}
.status-pending { background: #fef5e7; color: #e67e22; }
.status-confirmed { background: #e8f4fd; color: #2471a3; }
.status-processing { background: #e8f4fd; color: #2471a3; }
.status-shipped { background: #f0e8fd; color: #8e44ad; }
.status-in_transit { background: #f0e8fd; color: #8e44ad; }
.status-out_for_delivery { background: #e8f8f0; color: #27ae60; }
.status-delivered { background: #e8f8f0; color: #1e8449; }
.status-cancelled { background: #fdedec; color: #e74c3c; }
.status-paid { background: #e8f8f0; color: #1e8449; }
.status-failed { background: #fdedec; color: #e74c3c; }

/* Order Tracking */
.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
}
.tracking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--border);
}
.tracking-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}
.tracking-step .step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}
.tracking-step.completed .step-icon { background: var(--red); }
.tracking-step.current .step-icon { background: var(--red); animation: pulse 2s infinite; }
.tracking-step p { font-size: 0.8rem; color: var(--text-muted); margin: 0; font-weight: 500; }
.tracking-step.completed p,
.tracking-step.current p { color: var(--text-dark); font-weight: 600; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(192, 57, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

/* Table Styling */
.table-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.table-container .table {
    margin: 0;
}
.table-container .table th {
    background: var(--navy);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 14px 16px;
    border: none;
    white-space: nowrap;
}
.table-container .table td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 0.9rem;
    border-color: var(--border);
}

/* Product Detail */
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
}
.product-detail-img img { width: 100%; max-height: 500px; object-fit: contain; }
.detail-info h1 { font-weight: 700; color: var(--navy); font-size: 1.8rem; }
.detail-info .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
}
.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
}
.quantity-input button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.quantity-input button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.quantity-input button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quantity-input button:hover { background: var(--navy); color: white; }
.quantity-input input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    font-weight: 600;
}

/* Cart */
.cart-item {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border);
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item .item-name { font-weight: 600; }
.cart-item .item-price { color: var(--red); font-weight: 700; }
.cart-summary {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

/* Footer */
.footer { padding-top: 50px; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links li a:hover { color: var(--red-light); padding-left: 5px; }

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}
.page-hero h1 { font-weight: 700; font-size: 2.2rem; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--red-light); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-state i { font-size: 4rem; color: var(--border); margin-bottom: 20px; }
.empty-state h4 { color: var(--text-muted); font-weight: 600; }
.empty-state p { color: var(--text-muted); }

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 6px 0 4px;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    transition: var(--transition);
    min-width: 55px;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.15rem;
    margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item.active {
    color: var(--red);
}
.mobile-bottom-nav .nav-item:hover {
    color: var(--red);
}
.cart-icon-wrap {
    position: relative;
}
.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--red);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Star Rating */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating .fa-star { color: #ddd; font-size: 0.85rem; }
.star-rating .fa-star.active { color: #f39c12; }
.rating-count { font-size: 0.8rem; color: var(--text-muted); margin-left: 4px; }

/* Quick View Overlay */
.product-card .quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,50,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}
.product-card:hover .quick-view-overlay { opacity: 1; }
.product-card .quick-view-overlay .btn {
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Brand Badge */
.product-brand {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    display: none;
    animation: fadeSlide 0.8s ease;
}
.hero-slide.active { display: block; }
@keyframes fadeSlide {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}
.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}
.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots .dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.2);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 30px;
    display: none;
    z-index: 1050;
    border-top: 3px solid var(--red);
}
.nav-item.mega-wrap:hover .mega-menu { display: block; }
.mega-menu .mega-col h6 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.mega-menu .mega-col a {
    display: block;
    padding: 6px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.mega-menu .mega-col a:hover { color: var(--red); padding-left: 5px; }

/* User Dropdown */
.user-dropdown .dropdown-toggle::after { display: none; }
.user-dropdown .dropdown-menu {
    min-width: 200px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    padding: 10px 0;
}
.user-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.user-dropdown .dropdown-item:hover { background: var(--light-bg); color: var(--red); }
.user-dropdown .dropdown-item i { width: 20px; margin-right: 8px; color: var(--text-muted); }
.user-dropdown .dropdown-divider { margin: 5px 0; }

/* Wishlist Nav Icon */
.wishlist-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.wishlist-nav .wishlist-count {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 0.6rem;
    background: var(--red);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Brand Logos Section */
.brand-logos { padding: 40px 0; overflow: hidden; }
.brand-logos .brand-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scrollBrands 20s linear infinite;
}
.brand-logos .brand-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    white-space: nowrap;
    transition: var(--transition);
}
.brand-logos .brand-item:hover { opacity: 1; color: var(--navy); }
@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Why Choose Us */
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}
.feature-card h6 { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Customer Reviews */
.review-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.review-card:hover { box-shadow: var(--shadow-hover); }
.review-card .reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--red);
}
.review-card .reviewer-name { font-weight: 600; color: var(--navy); margin-bottom: 0; }
.review-card .reviewer-title { font-size: 0.8rem; color: var(--text-muted); }
.review-card blockquote {
    font-style: italic;
    color: var(--text-dark);
    border-left: 3px solid var(--red);
    padding-left: 15px;
    margin: 15px 0;
    font-size: 0.95rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1040;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
    color: white;
}
@media (min-width: 992px) {
    .whatsapp-float { bottom: 30px; }
}

/* Quick View Modal */
.quickview-modal .modal-content {
    border-radius: var(--radius);
    border: none;
    overflow: hidden;
}
.quickview-modal .modal-body { padding: 0; }
.quickview-modal .qv-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: var(--light-bg);
}

/* Sticky Search (Mobile) */
@media (max-width: 991px) {
    .sticky-search {
        position: sticky;
        top: 0;
        z-index: 1040;
        background: var(--navy);
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-logo { height: 40px !important; }
    .navbar-brand-text { font-size: 1rem !important; }
    .hero-content h1 { font-size: 2.2rem; }
    .sidebar { display: none !important; }
    .hero-section { padding: 60px 0; }
    .dashboard-content { padding: 20px 15px; }
    .search-bar { max-width: 100% !important; margin: 10px 0; }
    .tracking-steps { flex-wrap: wrap; gap: 15px; }
    main { padding-bottom: 80px; }
    .mega-menu { display: none !important; }
    .hero-dots { justify-content: center; margin-top: 20px; }
    .page-hero { padding: 30px 0; }
    .page-hero h1 { font-size: 1.6rem; }
    .detail-info h1 { font-size: 1.4rem; }
    .detail-info .price-tag { font-size: 1.5rem; }
    .product-detail-img img { max-height: 300px; }
    .quick-view-overlay { display: none !important; }
    .newsletter-section .input-group { max-width: 100%; padding: 0 15px; }
    .offer-banner .timer { gap: 8px; }
    .offer-banner .timer div { min-width: 55px; padding: 10px 12px; }
    .offer-banner .timer div span { font-size: 1.2rem; }
    .stat-card h3 { font-size: 1.4rem; }
}
@media (max-width: 767px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .product-card .product-img { height: 200px; }
    .product-card .product-name { font-size: 0.9rem; }
    .product-card .product-price { font-size: 1.1rem; }
    .product-card .btn-add-cart { font-size: 0.8rem; padding: 8px; }
    .category-card { padding: 20px 15px; }
    .category-card i { font-size: 2rem; margin-bottom: 10px; }
    .category-card h6 { font-size: 0.85rem; }
    .offer-banner { padding: 25px 15px; }
    .offer-banner h2 { font-size: 1.5rem; }
    .offer-banner p { font-size: 0.9rem; }
    .cart-item { flex-direction: column; text-align: center; gap: 12px; padding: 15px; }
    .cart-item img { width: 100px; height: 100px; }
    .cart-item .d-flex.justify-content-between { flex-direction: column; gap: 10px; align-items: center !important; }
    .auth-card { padding: 20px; }
    .section-title h2 { font-size: 1.5rem; }
    .section-title { margin-bottom: 30px; }
    .feature-card { padding: 25px 15px; }
    .feature-card .feature-icon { width: 55px; height: 55px; font-size: 1.3rem; }
    .review-card { padding: 20px; }
    .review-card blockquote { font-size: 0.85rem; }
    .footer-links li a { font-size: 0.85rem; }
    .brand-logos .brand-item { font-size: 1.2rem; }
    .brand-logos .brand-track { gap: 30px; }
    .empty-state { padding: 40px 15px; }
    .empty-state i { font-size: 3rem; }
    .page-hero h1 { font-size: 1.4rem; }
    .contact-info-item { flex-direction: column; text-align: center; gap: 10px !important; }
    .status-badge { padding: 4px 12px; font-size: 0.72rem; }
}
@media (max-width: 575px) {
    .product-card .product-img { height: 180px; }
    .product-card .product-body { padding: 12px; }
    .product-card .product-actions { padding: 0 12px 12px; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content .btn-lg { padding: 10px 20px; font-size: 0.9rem; }
    .hero-stat h3 { font-size: 1.5rem; }
    .feature-box { padding: 15px 10px; }
    .feature-box i { font-size: 2rem; }
    .feature-box h6 { font-size: 0.85rem; }
    .feature-box p { font-size: 0.75rem; }
    .tracking-steps { flex-direction: column; align-items: center; gap: 20px; margin: 20px 0; }
    .tracking-steps::before { display: none; }
    .tracking-step { flex: none; width: 100%; display: flex; align-items: center; gap: 15px; text-align: left; }
    .tracking-step .step-icon { margin: 0; flex-shrink: 0; }
    .pagination { flex-wrap: wrap; gap: 5px; }
    .pagination .page-link { padding: 6px 10px; font-size: 0.85rem; }
    .status-badge { padding: 3px 10px; font-size: 0.68rem; }
    .user-dropdown .dropdown-menu { right: 0; left: auto; min-width: 180px; }
    .navbar-brand-text { font-size: 0.85rem !important; }
    .navbar-slogan { display: none !important; }
    .navbar-logo { height: 35px !important; }
    main { padding-bottom: 60px; }
}

/* ===================== ADMIN PANEL ===================== */
.admin-layout { display: flex; min-height: 100vh; }

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f1923 0%, #1a2332 100%);
    color: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1060;
    overflow-y: auto;
    transition: var(--transition);
}
.admin-sidebar .sidebar-brand {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-sidebar .sidebar-brand img { border-radius: 8px; }
.admin-sidebar .sidebar-brand small { color: rgba(255,255,255,0.5); font-size: 0.7rem; display: block; margin-top: 2px; }
.admin-sidebar .sidebar-nav { padding: 15px 12px; flex: 1; }
.admin-sidebar .sidebar-section { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); padding: 12px 12px 6px; font-weight: 600; }
.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 2px;
}
.admin-sidebar .sidebar-link:hover { background: rgba(255,255,255,0.08); color: white; }
.admin-sidebar .sidebar-link.active { background: var(--red); color: white; font-weight: 600; }
.admin-sidebar .sidebar-link i { width: 22px; margin-right: 10px; font-size: 0.95rem; text-align: center; }
.admin-sidebar .sidebar-footer { padding: 15px 12px; border-top: 1px solid rgba(255,255,255,0.08); }

/* Admin Main */
.admin-main { flex: 1; margin-left: 260px; background: #f0f2f5; min-height: 100vh; display: flex; flex-direction: column; }

/* Admin Topbar */
.admin-topbar {
    background: white;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
}
.admin-topbar .page-title { font-weight: 700; font-size: 1.1rem; color: var(--navy); margin: 0; }
.admin-topbar .topbar-right { display: flex; align-items: center; gap: 15px; }
.admin-topbar .admin-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.admin-topbar .topbar-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.admin-topbar .topbar-link:hover { color: var(--red); }

/* Admin Content */
.admin-content { padding: 25px 30px; flex: 1; }

/* Admin Stat Cards */
.admin-stat {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 18px;
}
.admin-stat:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.admin-stat .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.admin-stat .stat-info h3 { font-size: 1.5rem; font-weight: 800; margin: 0; color: var(--navy); line-height: 1.2; }
.admin-stat .stat-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; font-weight: 500; }

/* Admin Card */
.admin-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    overflow: hidden;
}
.admin-card .card-header-custom {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-card .card-header-custom h6 { margin: 0; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.admin-card .card-body-custom { padding: 22px; }

/* Admin Table */
.admin-table { margin: 0; }
.admin-table th {
    background: #f8f9fa;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.admin-table td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 0.88rem;
    border-color: #f0f2f5;
}
.admin-table tbody tr { transition: var(--transition); }
.admin-table tbody tr:hover { background: #f8f9fa; }

/* Admin Filter Tabs */
.admin-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}
.admin-filters .filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.admin-filters .filter-btn:hover { border-color: var(--red); color: var(--red); }
.admin-filters .filter-btn.active { background: var(--red); color: white; border-color: var(--red); }

/* Bulk Action Bar */
.admin-bulk-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #1a2332, #2c3e50);
    color: white;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    flex-wrap: wrap;
}
.admin-bulk-bar .selected-count { font-size: 0.9rem; margin-right: 8px; }
.admin-bulk-bar .form-select { border-radius: 6px; font-size: 0.85rem; }
.admin-bulk-bar .btn { font-size: 0.85rem; padding: 6px 14px; }
.admin-table input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }

/* Admin Form Card */
.admin-form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    padding: 25px;
    max-width: 700px;
}
.admin-form-card .form-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

/* Admin Message Card */
.admin-message-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px 20px;
    margin-bottom: 10px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}
.admin-message-card:hover { border-color: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.admin-message-card.unread { border-left: 3px solid var(--red); background: #fef8f7; }
.admin-message-card .msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.admin-message-card .msg-body { flex: 1; min-width: 0; }
.admin-message-card .msg-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.admin-message-card .msg-subject { font-size: 0.85rem; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-message-card .msg-preview { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-message-card .msg-meta { text-align: right; flex-shrink: 0; }
.admin-message-card .msg-date { font-size: 0.75rem; color: var(--text-muted); }
.admin-message-card .msg-actions { margin-top: 6px; display: flex; gap: 4px; justify-content: flex-end; }

/* Admin Empty State */
.admin-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.admin-empty i { font-size: 3rem; color: var(--border); margin-bottom: 15px; display: block; }
.admin-empty h5 { font-weight: 600; color: var(--text-muted); }
.admin-empty p { font-size: 0.9rem; }

/* Admin Order Detail */
.admin-order-info {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 15px;
}
.admin-order-info h6 { font-weight: 700; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }

/* ============= DASHBOARD SPECIFIC ============= */
.dash-hero {
    background: linear-gradient(135deg, #0f1923 0%, #1e3a5f 50%, var(--red) 100%);
    border-radius: 16px;
    padding: 30px 35px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}
.dash-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.dash-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 60px;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.dash-hero h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; position: relative; z-index: 1; }
.dash-hero p { opacity: 0.7; font-size: 0.9rem; margin: 0; position: relative; z-index: 1; }
.dash-hero .hero-date { background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; position: relative; z-index: 1; backdrop-filter: blur(4px); }

/* Dashboard Gradient Stat Cards (admin dashboard only) */
.admin-content .dash-stat-card {
    border-radius: 14px;
    padding: 22px 20px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}
.admin-content .dash-stat-card:hover { transform: translateY(-3px); }
.admin-content .dash-stat-card .dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 14px;
}
.admin-content .dash-stat-card .dash-stat-value { font-size: 1.7rem; font-weight: 800; line-height: 1.1; margin-bottom: 3px; }
.admin-content .dash-stat-card .dash-stat-label { font-size: 0.78rem; opacity: 0.8; font-weight: 500; }
.admin-content .dash-stat-card .dash-stat-deco {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.admin-content .dash-stat-card.card-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.admin-content .dash-stat-card.card-green { background: linear-gradient(135deg, #27ae60, #1e8449); }
.admin-content .dash-stat-card.card-blue { background: linear-gradient(135deg, #3498db, #2471a3); }
.admin-content .dash-stat-card.card-purple { background: linear-gradient(135deg, #9b59b6, #7d3c98); }

/* Dashboard Mini Metric Row */
.dash-mini-metric {
    background: white;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.dash-mini-metric:hover { border-color: #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.dash-mini-metric .mini-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dash-mini-metric .mini-value { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.dash-mini-metric .mini-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* Dashboard Pipeline Bar */
.dash-pipeline {
    display: flex;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f2f5;
    margin-bottom: 18px;
}
.dash-pipeline .pipe-seg { transition: width 0.5s ease; }

/* Dashboard Activity List */
.dash-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}
.dash-activity-item:last-child { border-bottom: none; }
.dash-activity-item .act-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.dash-activity-item .act-text { font-size: 0.85rem; color: var(--text-dark); line-height: 1.4; }
.dash-activity-item .act-text strong { color: var(--navy); }
.dash-activity-item .act-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Dashboard Responsive */
@media (max-width: 991px) {
    .dash-hero { padding: 22px 25px; }
    .dash-hero h2 { font-size: 1.3rem; }
}
@media (max-width: 767px) {
    .dash-hero { padding: 18px 20px; }
    .dash-hero h2 { font-size: 1.15rem; }
    .dash-stat-card { min-height: auto; padding: 18px 16px; }
    .dash-stat-card .dash-stat-value { font-size: 1.4rem; }
}

/* Admin Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-topbar { padding: 12px 15px; }
    .admin-content { padding: 15px; }
    .admin-stat .stat-info h3 { font-size: 1.2rem; }
    .admin-form-card { padding: 15px; }
}
@media (max-width: 767px) {
    .admin-content { padding: 12px; }
    .admin-stat { padding: 15px; gap: 12px; }
    .admin-stat .stat-icon { width: 42px; height: 42px; font-size: 1rem; }
    .admin-stat .stat-info h3 { font-size: 1.1rem; }
    .admin-message-card .msg-body { display: none; }
    .admin-message-card { padding: 12px; }
}

/* ============= USER DASHBOARD - MOBILE FIRST ============= */

/* Mobile Dashboard Header */
.dash-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--navy);
    z-index: 1050;
    padding: 0 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.dash-hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
}
.dash-hamburger:hover { background: rgba(255,255,255,0.1); }
.dash-mobile-brand img {
    height: 32px;
    border-radius: 6px;
}
.dash-mobile-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dash-mobile-icon {
    color: white;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
}
.dash-mobile-icon:hover { background: rgba(255,255,255,0.1); color: white; }

/* Slide-Out Overlay */
.dash-slide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.dash-slide-overlay.open { opacity: 1; visibility: visible; }

/* Slide-Out Panel */
.dash-slide-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: white;
    z-index: 1060;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.dash-slide-panel.open { transform: translateX(0); }

.dash-slide-header {
    background: linear-gradient(135deg, var(--navy), #2c3e50);
    padding: 32px 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.dash-slide-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}
.dash-slide-user strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    line-height: 1.3;
}
.dash-slide-user small {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
}

.dash-slide-nav {
    padding: 10px 0;
    flex: 1;
}
.dash-slide-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s;
    min-height: 48px;
}
.dash-slide-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
}
.dash-slide-link:hover { background: #f5f6f8; color: var(--red); }
.dash-slide-link:hover i { color: var(--red); }
.dash-slide-link.active {
    background: linear-gradient(90deg, rgba(231,76,60,0.08), transparent);
    color: var(--red);
    border-right: 3px solid var(--red);
    font-weight: 600;
}
.dash-slide-link.active i { color: var(--red); }
.dash-slide-link.dash-slide-logout {
    color: #e74c3c;
}
.dash-slide-link.dash-slide-logout i { color: #e74c3c; }
.dash-slide-divider {
    height: 1px;
    background: #eef0f2;
    margin: 8px 20px;
}

/* Dashboard Layout Adjustments */
body.dash-body { padding-top: 56px; }
.dashboard-content { flex: 1; padding: 30px; background: var(--light-bg); overflow-y: auto; overflow-x: hidden; max-width: 100%; }

/* Welcome Banner */
.dash-welcome {
    margin-bottom: 24px;
}
.dash-welcome h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.dash-welcome p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Stat Cards Grid */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.dash-stat-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.dash-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.dash-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.dash-stat-blue { background: #e8f4fd; color: #2471a3; }
.dash-stat-amber { background: #fef5e7; color: #e67e22; }
.dash-stat-red { background: #fdedec; color: #e74c3c; }
.dash-stat-green { background: #e8f8f0; color: #27ae60; }
.dash-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}
.dash-stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Dashboard Cards */
.dash-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    margin-bottom: 18px;
    overflow: hidden;
}
.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f2f5;
}
.dash-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.dash-card-link {
    font-size: 0.85rem;
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}
.dash-card-link:hover { text-decoration: underline; }
.dash-card-body { padding: 18px 20px; }
.dash-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f2f5;
    background: #fafbfc;
}

/* Order Row */
.dash-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.15s;
}
.dash-order-row:last-child { border-bottom: none; }
.dash-order-row:hover { background: #fafbfc; }
.dash-order-left { display: flex; align-items: center; gap: 14px; }
.dash-order-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 0.9rem;
}
.dash-order-num { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.dash-order-date { font-size: 0.78rem; color: var(--text-muted); }
.dash-order-right { text-align: right; }
.dash-order-price { font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-top: 2px; }

/* Order Card (for orders tab) */
.dash-order-card .dash-card-header { flex-wrap: wrap; gap: 10px; }
.dash-order-card .dash-card-footer .btn-full { width: 100%; }

/* Empty State */
.dash-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}
.dash-empty i { font-size: 2.5rem; color: #ddd; margin-bottom: 14px; display: block; }
.dash-empty p { font-size: 0.95rem; margin-bottom: 16px; }

/* Wishlist Grid */
.dash-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.dash-wish-card {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.dash-wish-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.dash-wish-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}
.dash-wish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.dash-wish-card:hover .dash-wish-img img { transform: scale(1.05); }
.dash-wish-info { padding: 14px; }
.dash-wish-name {
    display: block;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-wish-name:hover { color: var(--red); }
.dash-wish-price {
    font-weight: 700;
    color: var(--red);
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Form Styles */
.dash-form-group { margin-bottom: 18px; }
.dash-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.dash-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    min-height: 48px;
    box-sizing: border-box;
}
.dash-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.dash-input-disabled {
    background: #f5f6f8;
    color: var(--text-muted);
    cursor: not-allowed;
}
textarea.dash-input { min-height: 80px; resize: vertical; }

/* Full-width button utility */
.btn-full { width: 100%; text-align: center; }

/* ============= DASHBOARD RESPONSIVE ============= */

/* Tablet */
@media (max-width: 991px) {
    body.dash-body { padding-top: 56px; }
    .dashboard-layout { flex-direction: column; }
    .dashboard-layout .sidebar { display: none !important; }
    .dashboard-content { padding: 20px; padding-top: 16px; }
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .dash-stat-card { padding: 18px 16px; }
    .dash-stat-icon { width: 46px; height: 46px; font-size: 1.1rem; }
    .dash-stat-num { font-size: 1.3rem; }
}

/* Mobile */
@media (max-width: 575px) {
    body.dash-body { padding-top: 56px; }
    .dashboard-content { padding: 16px; padding-top: 14px; overflow-x: hidden; }
    .dash-welcome h4 { font-size: 1.2rem; }
    .dash-welcome { margin-bottom: 18px; }

    .dash-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    .dash-stat-card {
        padding: 14px 12px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .dash-stat-icon { width: 40px; height: 40px; font-size: 0.95rem; border-radius: 10px; }
    .dash-stat-num { font-size: 1.15rem; }
    .dash-stat-label { font-size: 0.72rem; }

    .dash-card { border-radius: 12px; margin-bottom: 14px; }
    .dash-card-header { padding: 14px 16px; flex-wrap: wrap; gap: 8px; }
    .dash-card-header h5 { font-size: 0.92rem; }
    .dash-card-body { padding: 14px 16px; }
    .dash-card-footer { padding: 12px 16px; }

    .dash-order-row { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
    .dash-order-icon { width: 36px; height: 36px; font-size: 0.8rem; }
    .dash-order-num { font-size: 0.85rem; }
    .dash-order-date { font-size: 0.72rem; }
    .dash-order-price { font-size: 0.85rem; }

    .dash-empty { padding: 36px 16px; }
    .dash-empty i { font-size: 2rem; }

    .dash-wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dash-wish-info { padding: 10px; }
    .dash-wish-name { font-size: 0.8rem; margin-bottom: 4px; }
    .dash-wish-price { font-size: 0.88rem; margin-bottom: 8px; }
    .dash-wish-info .btn { font-size: 0.78rem; padding: 7px 10px; }

    .dash-form-group { margin-bottom: 14px; }
    .dash-label { font-size: 0.82rem; }
    .dash-input { padding: 11px 12px; font-size: 0.88rem; min-height: 46px; }
}

/* Shop Live Search Dropdown */
.shop-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 1050;
    max-height: 480px;
    overflow-y: auto;
}
.sdd-section {
    padding: 10px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
}
.sdd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #222;
    transition: background 0.15s;
}
.sdd-item:hover {
    background: #f8f9fa;
    color: #222;
}
.sdd-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.sdd-info {
    flex: 1;
    min-width: 0;
}
.sdd-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sdd-meta {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}
.sdd-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #c0392b;
    margin-top: 2px;
}
.sdd-price s {
    font-size: 0.78rem;
    font-weight: 400;
}
.sdd-empty {
    padding: 24px 16px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}
.sdd-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    color: #c0392b;
    border-top: 1px solid #eee;
    text-decoration: none;
    transition: background 0.15s;
}
.sdd-all:hover {
    background: #fdf0ee;
    color: #a93226;
}
@media (max-width: 575.98px) {
    .shop-search-dropdown { max-height: 360px; }
    .sdd-img { width: 40px; height: 40px; }
    .sdd-name { font-size: 0.85rem; }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: white;
    z-index: 9999;
    padding: 16px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}
.cookie-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}
.cookie-text strong { font-size: 1rem; display: block; margin-bottom: 2px; }
.cookie-text p { font-size: 0.82rem; opacity: 0.8; margin: 0; line-height: 1.4; }
.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-actions .btn { white-space: nowrap; }
@media (max-width: 767px) {
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-text { flex-direction: column; align-items: center; }
    .cookie-actions { width: 100%; justify-content: center; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--red);
    transform: translateY(-3px);
}
@media (min-width: 992px) {
    .back-to-top { bottom: 100px; right: 30px; }
}
@media (max-width: 991px) {
    .back-to-top { bottom: 80px; right: 20px; }
}

/* Mobile Menu Slide Animation */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        z-index: 1055;
        padding: 70px 20px 30px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        width: 100%;
        max-width: 100%;
    }
    .navbar-collapse.show {
        transform: translateX(0);
    }
    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 4px;
    }
    .navbar-collapse .nav-link {
        padding: 14px 16px !important;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
        transition: background 0.2s;
    }
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: rgba(255,255,255,0.08);
        color: var(--red-light) !important;
    }
    .navbar-collapse .search-bar {
        max-width: 100% !important;
        margin: 10px 0 16px;
    }
    .navbar-collapse .mega-menu {
        display: none !important;
    }
    .mobile-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    .mobile-close-btn:hover { background: rgba(255,255,255,0.1); }
}

/* Reviews Section */
.reviews-section .review-item {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.reviews-section .review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.reviews-section .review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.reviews-section .review-meta .reviewer-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}
.reviews-section .review-meta .review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.reviews-section .review-text {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}
.review-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.star-rating-input {
    display: inline-flex;
    gap: 4px;
    direction: rtl;
}
.star-rating-input input { display: none; }
.star-rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.15s;
}
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #f39c12;
}
