/* ============================================================
   BENGALI E-COMMERCE - MAIN STYLESHEET
   Color: Navy Blue #1A2A4F | Gold #D4AF37
   Font: Hind Siliguri (Bengali-optimized)
   ============================================================ */

:root {
    --navy: #1A2A4F;
    --navy-light: #243560;
    --navy-dark: #111d37;
    --gold: #D4AF37;
    --gold-light: #e8c84e;
    --gold-dark: #b8932a;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-100: #f3f2ef;
    --gray-200: #e8e6e1;
    --gray-400: #a09d96;
    --gray-600: #6b6860;
    --gray-800: #3a3835;
    --danger: #e53e3e;
    --success: #38a169;
    --warning: #d69e2e;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(26,42,79,0.10);
    --shadow-md: 0 4px 24px rgba(26,42,79,0.15);
    --shadow-lg: 0 8px 40px rgba(26,42,79,0.18);
    --transition: all 0.25s ease;
    --font: 'Hind Siliguri', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.65;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    gap: 24px;
    align-items: center;
}
.top-bar span i { margin-right: 6px; color: var(--gold); }

/* ===== MAIN HEADER ===== */
.main-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.5px;
}
.main-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: rgba(212,175,55,0.12);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}
.user-btn, .cart-btn {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}
.user-btn:hover, .cart-btn:hover {
    background: var(--gold);
    color: var(--navy);
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logout-btn:hover { background: var(--danger); color: white; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    overflow: hidden;
    max-height: 520px;
    background: var(--navy);
}
.hero-banner img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    opacity: 0.9;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,42,79,0.7) 0%, transparent 60%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}
.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-text p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.btn-hero {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
.btn-hero:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== SECTION TITLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 36px;
}
.section-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 2px;
}
.section-header p { color: var(--gray-600); margin-top: 10px; }

/* ===== FLASH SALE ===== */
.flash-sale-section { padding: 60px 0; background: var(--white); }
.flash-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    animation: flashPulse 1.5s infinite;
}
@keyframes flashPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(229,62,62,0); }
}

/* ===== CAROUSEL ===== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ===== PRODUCT CARD ===== */
.product-card {
    flex: 0 0 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.product-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gray-100);
}
.card-img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 3rem;
}
.card-body {
    padding: 14px;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.card-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}
.var-option {
    padding: 3px 8px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}
.var-option.selected, .var-option:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
}
.var-label {
    font-size: 0.78rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 4px;
}
.btn-buy {
    display: block;
    width: 100%;
    background: var(--navy);
    color: var(--gold);
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}
.btn-buy:hover {
    background: var(--gold);
    color: var(--navy);
    transform: scale(1.02);
}
.flash-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53e3e;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.out-of-stock-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ===== CATEGORY SECTIONS ===== */
.categories-section { padding: 60px 0; }
.category-section { margin-bottom: 56px; }
.cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}
.cat-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
}
.cat-header h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--gold);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}
.see-all {
    color: var(--gold-dark);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.see-all:hover { color: var(--navy); }

/* ===== GRID VIEW (Category Page) ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.products-grid .product-card { flex: none; }

/* ===== INFO SECTION ===== */
.info-section { background: var(--navy); color: white; padding: 48px 0; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.info-item i { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.info-item h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.info-item p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

/* ===== CHECKOUT PAGE ===== */
.checkout-page { padding: 48px 0; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}
.checkout-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}
.checkout-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-200);
}
.order-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
}
.order-item:last-child { border-bottom: none; }
.order-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--gray-100);
    flex-shrink: 0;
}
.order-item-info { flex: 1; }
.order-item-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.order-item-var { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 8px; }
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--navy);
    font-weight: 700;
}
.qty-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.qty-display {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    color: var(--navy);
}
.item-total { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.remove-item {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: var(--transition);
}
.remove-item:hover { transform: scale(1.2); }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: white;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.form-control::placeholder { color: var(--gray-400); }

.dhaka-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
    cursor: pointer;
    margin-bottom: 18px;
    border: 1.5px solid transparent;
    transition: var(--transition);
}
.dhaka-checkbox:hover { border-color: var(--gold); }
.dhaka-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
.dhaka-checkbox label { cursor: pointer; font-weight: 500; }

/* Order Summary */
.order-summary { padding-top: 16px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-600);
}
.summary-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    border-top: 2px solid var(--gray-200);
    padding-top: 14px;
    margin-top: 6px;
}
.btn-order {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--gold);
    border: none;
    padding: 16px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin-top: 20px;
    letter-spacing: 0.3px;
}
.btn-order:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}
.empty-cart i { font-size: 3.5rem; margin-bottom: 16px; }
.empty-cart p { font-size: 1.1rem; margin-bottom: 20px; }

/* ===== PRODUCT PAGE ===== */
.product-page { padding: 48px 0; }
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}
.product-images { position: sticky; top: 80px; }
.product-main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.product-main-img img { width: 100%; height: 400px; object-fit: cover; }
.product-info h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 16px;
}
.product-desc {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.97rem;
}
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.stock-badge.in-stock { background: rgba(56,161,105,0.1); color: var(--success); }
.stock-badge.out-stock { background: rgba(229,62,62,0.1); color: var(--danger); }

.variation-group { margin-bottom: 16px; }
.variation-group .var-label { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.variation-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-btn {
    padding: 8px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    background: white;
    font-family: var(--font);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-800);
}
.var-btn.active, .var-btn:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
}

/* ===== REVIEWS ===== */
.reviews-section { padding: 48px 0; }
.review-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.review-stars { color: var(--gold); font-size: 0.9rem; }
.review-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.review-date { font-size: 0.8rem; color: var(--gray-400); }
.review-text { color: var(--gray-600); font-size: 0.93rem; }
.star-rating { display: flex; gap: 4px; margin-bottom: 8px; }
.star-btn { font-size: 1.5rem; cursor: pointer; color: var(--gray-200); transition: var(--transition); }
.star-btn.active, .star-btn:hover { color: var(--gold); }

/* ===== CATEGORY PAGE ===== */
.category-page { padding: 48px 0; }
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}
.filter-bar label { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.filter-select {
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    color: var(--gray-800);
}
.filter-select:focus { border-color: var(--gold); }

/* ===== LOGIN/REGISTER PAGE ===== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.auth-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}
.auth-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 8px;
}
.auth-box .subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 28px;
}
.btn-primary {
    display: block;
    width: 100%;
    background: var(--navy);
    color: var(--gold);
    border: none;
    padding: 13px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}
.btn-primary:hover { background: var(--gold); color: var(--navy); }
.auth-switch { text-align: center; margin-top: 20px; color: var(--gray-600); font-size: 0.9rem; }
.auth-switch a { color: var(--gold-dark); font-weight: 700; }

/* ===== USER DASHBOARD ===== */
.dashboard-page { padding: 48px 0; }
.dashboard-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.dashboard-sidebar {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 24px 0;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.sidebar-user { padding: 0 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 8px; }
.sidebar-user .avatar {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px;
}
.sidebar-user .uname { color: white; font-weight: 700; font-size: 0.97rem; }
.sidebar-user .urole { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    color: var(--gold);
    background: rgba(212,175,55,0.08);
    border-left-color: var(--gold);
}
.sidebar-nav a i { width: 18px; text-align: center; }
.dashboard-content { }
.content-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.content-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th { background: var(--navy); color: white; padding: 12px 14px; text-align: left; font-weight: 600; }
th:first-child { border-radius: 8px 0 0 0; }
th:last-child { border-radius: 0 8px 0 0; }
td { padding: 12px 14px; border-bottom: 1px solid var(--gray-100); }
tr:hover td { background: rgba(26,42,79,0.03); }
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}
.status-pending { background: rgba(214,158,46,0.15); color: var(--warning); }
.status-processing { background: rgba(49,130,206,0.15); color: #3182ce; }
.status-shipped { background: rgba(56,161,105,0.12); color: var(--success); }
.status-delivered { background: rgba(56,161,105,0.2); color: #276749; }
.status-cancelled { background: rgba(229,62,62,0.12); color: var(--danger); }

/* ===== THANK YOU PAGE ===== */
.thankyou-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.thankyou-box {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
}
.thankyou-box .check-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--success), #68d391);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 28px;
    animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.thankyou-box h1 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.thankyou-box p { color: var(--gray-600); margin-bottom: 8px; }
.thankyou-box .order-id { font-size: 1rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 28px; }

/* ===== ALERTS ===== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.93rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(56,161,105,0.12); color: #276749; border: 1px solid rgba(56,161,105,0.25); }
.alert-error { background: rgba(229,62,62,0.1); color: #c53030; border: 1px solid rgba(229,62,62,0.2); }
.alert-warning { background: rgba(214,158,46,0.12); color: #975a16; border: 1px solid rgba(214,158,46,0.25); }
.alert-info { background: rgba(49,130,206,0.1); color: #2c5282; border: 1px solid rgba(49,130,206,0.2); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.87rem;
    color: var(--gray-600);
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 8px; }

/* ===== INVESTOR DASHBOARD ===== */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
}
.stat-card .stat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.stat-card .stat-value { font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }

/* ===== FOOTER ===== */
.main-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-col h4 { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col p, .footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
    display: block;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col i { margin-right: 8px; color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ===== MISC ===== */
.page-loader {
    position: fixed; inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}
.spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(212,175,55,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-sm-navy { background: var(--navy); color: var(--gold); }
.btn-sm-navy:hover { background: var(--navy-light); }
.btn-sm-gold { background: var(--gold); color: var(--navy); }
.btn-sm-gold:hover { background: var(--gold-light); }
.btn-sm-red { background: var(--danger); color: white; }
.btn-sm-red:hover { background: #c53030; }
.btn-sm-green { background: var(--success); color: white; }
.btn-sm-green:hover { background: #276749; }

.section-gap { padding: 60px 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.page-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.page-subtitle { color: var(--gray-600); margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .product-main-grid { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 4px; z-index: 999; }
    .main-nav.open { display: flex; }
    .hamburger { display: flex; }
    .header-inner { position: relative; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-overlay { padding: 0 24px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .stat-cards { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .auth-box { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .product-card { flex: 0 0 175px; }
    .product-card .card-img { height: 160px; }
    .products-grid { grid-template-columns: 1fr; }
    .hero-banner img { height: 300px; }
}
