/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 18px rgba(209, 0, 36, 0.18); }
    50% { box-shadow: 0 0 32px rgba(209, 0, 36, 0.35); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: #f0f1f5;
    color: #333;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== TOP HEADER BAR ===== */
.top-bar {
    background: linear-gradient(135deg, #1e1f29, #252636);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(209, 0, 36, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b9babc;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: #b9babc;
    font-size: 12px;
    transition: color 0.2s;
}

.top-bar-right a:hover {
    color: #D10024;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-dropdown-toggle .fa-caret-down {
    font-size: 10px;
    transition: transform 0.2s;
}

.user-dropdown.open .fa-caret-down {
    transform: rotate(180deg);
}

/* Small avatar in toggle */
.td-avatar-sm {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 11px; font-weight: 700;
    flex-shrink: 0;
}

/* Topbar Links (My Products) */
.topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(209, 0, 36, 0.1);
    border-radius: 6px;
    color: #D10024 !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.topbar-link:hover {
    background: rgba(209, 0, 36, 0.2);
    color: #fff !important;
}

/* Wide dropdown - Tokopedia style */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: slideDown 0.25s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.user-dropdown.open .user-dropdown-menu {
    display: block;
}

/* Two-column wide dropdown */
.td-dropdown-wide {
    min-width: 360px;
    display: none;
    flex-direction: row;
}
.user-dropdown.open .td-dropdown-wide {
    display: flex;
}

.td-drop-left {
    width: 180px;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.td-drop-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}
.td-avatar-lg {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: 800;
    flex-shrink: 0;
}
.td-drop-username {
    font-size: 14px; font-weight: 700; color: #1e1f29;
    text-align: center;
    word-break: break-word;
}
.td-role-badge {
    background: #fff0f0;
    color: #D10024;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}
.td-drop-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    padding: 6px 0;
}
.td-drop-stat .fa { width: 14px; text-align: center; }

/* Right column */
.td-drop-right {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}
.td-drop-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 13px;
    color: #333 !important;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.td-drop-link .fa { width: 16px; text-align: center; color: #888; }
.td-drop-link:hover { background: #f6f6f6; color: #D10024 !important; }
.td-drop-link:hover .fa { color: #D10024; }
.td-drop-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }
.td-drop-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 18px;
    font-size: 13px;
    color: #D10024;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background .15s;
}
.td-drop-logout .fa { width: 16px; text-align: center; }
.td-drop-logout:hover { background: #fff0f0; }

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #333 !important;
    transition: background 0.2s;
}

.user-dropdown-menu a:hover {
    background: #f6f6f6;
    color: #D10024 !important;
}

.user-dropdown-menu .fa {
    width: 16px;
    text-align: center;
    color: #8d8d8d;
}

.user-dropdown-menu a:hover .fa {
    color: #D10024;
}

.dropdown-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 4px 0;
}

.dropdown-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    color: #D10024;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.dropdown-logout-btn:hover {
    background: #fff5f5;
}

.dropdown-logout-btn .fa {
    width: 16px;
    text-align: center;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background: linear-gradient(135deg, #15161d, #1a1b2e, #15161d);
    padding: 20px 0;
    position: relative;
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(209, 0, 36, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-section {
    flex-shrink: 0;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    animation: pulse-glow 3s ease-in-out infinite;
    transition: transform 0.3s;
}

.logo-icon:hover {
    transform: scale(1.08);
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.logo-text span {
    color: #D10024;
}

/* Search Bar */
.search-bar {
    flex: 1;
    display: flex;
    max-width: 560px;
    margin: 0 auto;
}

.search-bar select {
    padding: 0 16px;
    border: 2px solid #D10024;
    border-right: none;
    border-radius: 30px 0 0 30px;
    background: #fff;
    font-size: 13px;
    color: #555;
    outline: none;
    cursor: pointer;
    min-width: 140px;
    transition: box-shadow 0.3s;
}

/* Custom category dropdown */
.sb-cat-wrap {
    position: relative;
    flex-shrink: 0;
}
.sb-cat-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    height: 46px;
    border: 2px solid #D10024;
    border-right: none;
    border-radius: 30px 0 0 30px;
    background: #fff;
    font-size: 13px;
    color: #444;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    min-width: 150px;
    max-width: 175px;
    outline: none;
    transition: background .2s, color .2s;
    font-family: inherit;
}
.sb-cat-btn:hover, .sb-cat-wrap.open .sb-cat-btn {
    background: #fff6f7;
    color: #D10024;
}
.sb-cat-icon { color: #D10024; font-size: 13px; }
.sb-cat-arrow { font-size: 10px; margin-left: auto; color: #aaa; transition: transform .25s; }
.sb-cat-label-text { overflow: hidden; text-overflow: ellipsis; flex: 1; text-align: left; }

.sb-cat-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #f0e0e3;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(209,0,36,.12), 0 2px 8px rgba(0,0,0,.07);
    z-index: 9999;
    padding: 6px 0;
    animation: sbCatFadeIn .18s ease;
    overflow: hidden;
}
.sb-cat-menu.open { display: block; }
@keyframes sbCatFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sb-cat-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.sb-cat-item i { color: #D10024; font-size: 12px; width: 14px; text-align: center; }
.sb-cat-item:hover { background: #fff0f2; color: #D10024; }
.sb-cat-item.active { background: #fff0f2; color: #D10024; font-weight: 700; }
.sb-cat-item.active i { color: #D10024; }
.sb-cat-more {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    border-top: 1px solid #f5e6e8;
    margin-top: 4px;
    transition: color .15s, background .15s;
}
.sb-cat-more i { color: #ccc; font-size: 13px; }
.sb-cat-more:hover { color: #D10024; background: #fff0f2; }
.sb-cat-more:hover i { color: #D10024; }

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #D10024;
    border-left: none;
    border-right: none;
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.3s;
}

.search-bar input:focus {
    box-shadow: 0 0 0 3px rgba(209, 0, 36, 0.15);
}

.search-bar button[type="submit"] {
    padding: 0 24px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    border: 2px solid #D10024;
    border-radius: 0 30px 30px 0;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-bar button[type="submit"]:hover {
    background: linear-gradient(135deg, #a8001d, #D10024);
    box-shadow: 0 4px 15px rgba(209, 0, 36, 0.35);
}

/* Header Right Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-icon {
    position: relative;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    text-align: center;
    text-decoration: none;
}

.header-icon:hover {
    color: #D10024;
}

.header-icon .count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #D10024;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon .icon-label {
    font-size: 13px;
    display: block;
    text-align: center;
    margin-top: 4px;
    color: #fff;
    white-space: nowrap;
}

.cart-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.cart-summary .cart-total {
    font-size: 14px;
    font-weight: 600;
    color: #D10024;
}

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    width: 320px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
    border-radius: 12px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: slideDown 0.25s ease;
}

.cart-summary.open .cart-dropdown {
    display: block;
}

.cart-dropdown-items {
    max-height: 240px;
    overflow-y: auto;
    padding: 0;
}

.cart-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #e4e7ed;
}

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

.cart-item-img {
    width: 50px;
    height: 50px;
    background: #f7f7f7;
    border: 1px solid #e4e7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #D10024;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-qty {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.cart-item-price {
    color: #D10024;
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #D10024;
}

.cart-dropdown-summary {
    padding: 12px 15px;
    border-top: 1px solid #e4e7ed;
}

.cart-dropdown-count {
    font-size: 12px;
    color: #D10024;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-dropdown-subtotal {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.cart-dropdown-subtotal span {
    color: #333;
}

.cart-dropdown-actions {
    display: flex;
    border-top: 1px solid #e4e7ed;
}

.cart-dropdown-actions a {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.cart-btn-view {
    background: #1e1f29;
    color: #fff;
}

.cart-btn-view:hover {
    background: #333;
}

.cart-btn-checkout {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
}

.cart-btn-checkout:hover {
    background: linear-gradient(135deg, #a8001d, #D10024);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: linear-gradient(135deg, #1e1f29, #252636);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.main-nav .container {
    display: flex;
    align-items: center;
}

.nav-categories-btn {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s;
}

.nav-categories-btn:hover {
    background: linear-gradient(135deg, #a8001d, #D10024);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-menu a {
    color: #fff;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #D10024;
}

/* Hide nav user dropdown on desktop — it lives in topbar there */
.nav-user-dropdown { display: none !important; }

/* ===== NAVBAR CATEGORY DROPDOWN ===== */
.nav-categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: none;
    min-width: 240px;
    z-index: 1000;
    overflow: hidden;
}
.nav-categories-dropdown.active { display: block; }

.nav-dropdown-header {
    padding: 12px 16px;
    background: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-dropdown-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow-y: auto;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.nav-dropdown-item:hover {
    background: #f9f9f9;
    border-left-color: #D10024;
}
.nav-dropdown-item.active {
    background: rgba(209,0,36,0.08);
    border-left-color: #D10024;
    color: #D10024;
    font-weight: 600;
}
.nav-dropdown-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}

/* ===== NAVBAR PENGATURAN DROPDOWN ===== */
.nav-pengaturan { position: relative; }
.nav-pengaturan-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-pengaturan-btn:hover, .nav-pengaturan-btn.active {
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #fff;
}
.nav-pengaturan-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: none;
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 4px;
}
.nav-pengaturan-dropdown.active { display: block; }
.nav-pengaturan-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.nav-pengaturan-dropdown a:hover {
    background: #f9f9f9;
    border-left-color: #D10024;
    color: #D10024;
}
.nav-pengaturan-dropdown a i { color: #D10024; width: 16px; text-align: center; }

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-right .user-greeting {
    color: #b9babc;
    font-size: 13px;
    padding: 14px 0;
}

.nav-right .user-greeting strong {
    color: #fff;
}



/* ===== HERO SECTION ===== */
.hero-section {
    padding: 24px 0;
    animation: fadeInUp 0.6s ease;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.hero-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hero-card-1 {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.hero-card-2 {
    background: linear-gradient(135deg, #D10024, #ff4757);
}

.hero-card-3 {
    background: linear-gradient(135deg, #0d7377, #14ffec);
}

.hero-card .hero-content {
    color: #fff;
    z-index: 1;
}

.hero-card .hero-content h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 6px;
    opacity: 0.9;
}

.hero-card .hero-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-card .shop-now-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-card .shop-now-btn:hover {
    background: #fff;
    color: #333;
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.hero-card .hero-emoji {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.3;
}

/* ===== SECTION TITLES ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #D10024;
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1e1f29;
}

.section-tabs {
    display: flex;
    gap: 4px;
}

.section-tabs a {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #8d8d8d;
    border-radius: 8px;
    transition: all 0.3s;
}

.section-tabs a:hover,
.section-tabs a.active {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    box-shadow: 0 3px 10px rgba(209, 0, 36, 0.25);
}

/* ===== PRODUCT CARDS ===== */
.products-section {
    padding: 24px 0;
    animation: fadeInUp 0.7s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(209,0,36,0.12);
    border-color: #D10024;
    transform: translateY(-4px);
}

.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
}

.badge-new {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
}

.badge-sale {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b35, #ffa751);
    color: #fff;
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    font-size: 64px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.product-img > .fa {
    color: #D10024;
    opacity: 0.15;
}

.product-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .overlay {
    opacity: 1;
}

.overlay-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    transform: translateY(10px);
    opacity: 0;
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
    opacity: 1;
}

.overlay-btn:hover {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    box-shadow: 0 4px 15px rgba(209,0,36,0.4);
}

.product-body {
    padding: 16px;
    text-align: center;
}

.product-category {
    font-size: 11px;
    color: #8d8d8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name:hover {
    color: #D10024;
}

.product-rating {
    margin-bottom: 8px;
    font-size: 12px;
    color: #f5c518;
    letter-spacing: 2px;
}

.product-rating .fa-star-o {
    color: #ccc;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #D10024;
}

.product-price .old-price {
    font-size: 14px;
    color: #8d8d8d;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 6px;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1e1f29, #2a2b38);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #D10024, #ff4757);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

/* ===== HOT DEAL BANNER ===== */
.hot-deal-section {
    padding: 20px 0;
}

.hot-deal-banner {
    background: linear-gradient(135deg, #1e1f29, #2a2b38, #1e1f29);
    border-radius: 14px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.hot-deal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(209, 0, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hot-deal-content h3 {
    color: #D10024;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hot-deal-content h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hot-deal-content p {
    color: #b9babc;
    font-size: 14px;
    margin-bottom: 20px;
}

.hot-deal-content .deal-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hot-deal-content .deal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.hot-deal-content .deal-btn:hover {
    box-shadow: 0 6px 25px rgba(209, 0, 36, 0.45);
    transform: translateY(-2px);
}

.hot-deal-content .deal-btn:hover::before {
    left: 100%;
}

.countdown {
    display: flex;
    gap: 12px;
}

.countdown-item {
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(209, 0, 36, 0.3);
    transition: transform 0.3s;
}

.countdown-item:hover {
    transform: scale(1.1);
}

.countdown-item .num {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.countdown-item .unit {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hot-deal-emoji {
    font-size: 80px;
}

/* ===== TOP SELLING / SIDE LIST ===== */
.two-col-section {
    padding: 24px 0;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

.side-products .side-product-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #ebebeb;
    align-items: center;
}

.side-products .side-product-item:last-child {
    border-bottom: none;
}

.side-product-img {
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.side-product-info .product-category {
    text-align: left;
    margin-bottom: 3px;
}

.side-product-info .product-name {
    font-size: 13px;
    text-align: left;
    margin-bottom: 4px;
}

.side-product-info .product-price {
    font-size: 14px;
    text-align: left;
}

/* ===== STATS ROW (Seller) ===== */
.seller-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 24px 0;
}

.stat-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    border-top: 3px solid #D10024;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    box-shadow: 0 8px 30px rgba(209,0,36,0.12);
    transform: translateY(-4px);
}

.stat-card .stat-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: #D10024;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e1f29;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #8d8d8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-change {
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.stat-change.up { color: #27ae60; }
.stat-change.down { color: #D10024; }

/* ===== ORDERS TABLE ===== */
.orders-section {
    padding: 24px 0;
}

.orders-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.orders-card .card-header {
    padding: 16px 20px;
    border-bottom: 2px solid #D10024;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orders-card .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.orders-card .view-all {
    color: #D10024;
    font-size: 13px;
    font-weight: 600;
}

.orders-card .view-all:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #1e1f29;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f6f6f6;
    border-bottom: 1px solid #e8e8e8;
}

table td {
    padding: 14px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

table tr:last-child td { border-bottom: none; }
table tr:hover td { background: #fafafa; }

.order-id {
    font-weight: 700;
    color: #D10024;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
}

.status-success { background: #e8f5e9; color: #27ae60; }
.status-pending { background: #fff8e1; color: #f39c12; }
.status-process { background: #e3f2fd; color: #2196f3; }
.status-cancel { background: #fce4ec; color: #D10024; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, #1e1f29, #252636, #1e1f29);
    padding: 30px 0;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(209, 0, 36, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-text p {
    color: #b9babc;
    font-size: 13px;
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    border: none;
    border-radius: 0 30px 30px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    box-shadow: 0 4px 20px rgba(209, 0, 36, 0.4);
}

.newsletter-socials {
    display: flex;
    gap: 8px;
}

.newsletter-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.newsletter-socials a:hover {
    background: linear-gradient(135deg, #D10024, #ff4757);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(209, 0, 36, 0.35);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #15161d, #1a1b28, #15161d);
    padding: 40px 0 20px;
    color: #b9babc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #b9babc;
    font-size: 13px;
    transition: all 0.2s;
    position: relative;
}

.footer-col ul li a:hover {
    color: #D10024;
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-contact .fa {
    color: #D10024;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #8d8d8d;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icons span {
    background: rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #b9babc;
    font-weight: 600;
    transition: all 0.3s;
}

.payment-icons span:hover {
    background: rgba(209, 0, 36, 0.15);
    color: #fff;
}

/* ===== PROFILE CARD ===== */
.profile-section {
    padding: 24px 0;
    animation: fadeInUp 0.6s ease;
}

.profile-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.profile-card .card-header {
    padding: 16px 20px;
    border-bottom: 2px solid #D10024;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-card .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-card .view-all {
    color: #D10024;
    font-size: 13px;
    font-weight: 600;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.profile-label {
    font-size: 12px;
    color: #8d8d8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e1f29;
}

/* ===== ACTIVITY ===== */
.activity-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.activity-card .card-header {
    padding: 16px 20px;
    border-bottom: 2px solid #D10024;
}

.activity-card .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.activity-list li {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.activity-list li:last-child { border-bottom: none; }

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.dot-red { background: #D10024; }
.dot-green { background: #27ae60; }
.dot-orange { background: #f39c12; }
.dot-blue { background: #2196f3; }

.activity-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.activity-text .time {
    display: block;
    font-size: 11px;
    color: #b9babc;
    margin-top: 2px;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.quick-action-btn:hover {
    border-color: #D10024;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(209,0,36,0.1);
}

.qa-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.qa-text {
    font-size: 13px;
    font-weight: 700;
    color: #1e1f29;
}

.qa-desc {
    font-size: 11px;
    color: #8d8d8d;
}

/* ===== ROLE BAR ===== */
.role-bar {
    height: 10px;
    border-radius: 5px;
    background: #f0f2f5;
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
}

.role-bar-segment {
    height: 100%;
    min-width: 4px;
    transition: width 0.5s;
}

.bar-admin { background: #D10024; }
.bar-seller { background: #2196f3; }
.bar-buyer { background: #27ae60; }

.role-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #8d8d8d;
}

.role-legend .fa {
    font-size: 8px;
    margin-right: 4px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb li a {
    color: #8d8d8d;
    transition: color 0.2s;
}

.breadcrumb li a:hover {
    color: #D10024;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: #ccc;
}

.breadcrumb li.active {
    color: #333;
    font-weight: 600;
}

.breadcrumb li.active::after {
    display: none;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: fadeInUp 0.4s ease;
}

.alert ul {
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e9, #f1f8f1);
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background: linear-gradient(135deg, #fce4ec, #fdf0f3);
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* ===== PROFILE PAGE ===== */
.profile-page-section {
    padding: 24px 0;
    animation: fadeInUp 0.6s ease;
}

.profile-page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

/* Profile Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-avatar-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e1f29, #2a2b38);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: #fff;
    animation: pulse-glow 3s ease-in-out infinite;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.profile-avatar-wrapper .profile-avatar {
    margin-bottom: 0;
}

.photo-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.photo-upload-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(209, 0, 36, 0.35);
}

.photo-delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    border: 2px solid #fff;
    transition: background 0.2s;
}

.photo-delete-btn:hover {
    background: #D10024;
}

.photo-delete-form {
    position: absolute;
    top: 0;
    right: 0;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e1f29;
    margin-bottom: 8px;
}

.profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(209, 0, 36, 0.25);
}

.profile-joined {
    font-size: 12px;
    color: #8d8d8d;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Profile Nav */
.profile-nav {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.profile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.profile-nav a:last-child {
    border-bottom: none;
}

.profile-nav a:hover {
    background: #fafafa;
    color: #D10024;
}

.profile-nav a.active {
    color: #D10024;
    background: #fff5f5;
    border-left: 3px solid #D10024;
}

.profile-nav a .fa {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

/* Profile Main Content */
.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-info-card,
.profile-orders-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.profile-info-card .card-header,
.profile-orders-card .card-header {
    padding: 16px 20px;
    border-bottom: 2px solid #D10024;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info-card .card-header h3,
.profile-orders-card .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-orders-card .view-all {
    color: #D10024;
    font-size: 13px;
    font-weight: 600;
}

.profile-orders-card .view-all:hover {
    text-decoration: underline;
}

/* Profile Form */
.profile-form {
    padding: 24px 20px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1e1f29;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-group label .fa {
    color: #D10024;
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #D10024;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(209, 0, 36, 0.1);
    transform: translateY(-1px);
}

.form-group select:disabled {
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-actions {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-save::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-save:hover {
    box-shadow: 0 6px 25px rgba(209, 0, 36, 0.4);
    transform: translateY(-2px);
}

.btn-save:hover::before {
    left: 100%;
}

/* Profile Summary Cards */
.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #D10024;
}

.summary-card:hover {
    box-shadow: 0 8px 30px rgba(209,0,36,0.12);
    transform: translateY(-4px);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D10024, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e1f29;
}

.summary-label {
    font-size: 11px;
    color: #8d8d8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ===== MOBILE ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    padding: 14px 18px;
}

/* ===== INFO PAGES ===== */
.info-page-section {
    padding: 30px 0 50px;
    animation: fadeInUp 0.6s ease;
}

.info-page-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-page-header {
    background: linear-gradient(135deg, #1e1f29, #2a2b38, #1e1f29);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(209, 0, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.info-page-icon {
    width: 70px;
    height: 70px;
    background: rgba(209, 0, 36, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.info-page-icon i {
    font-size: 28px;
    color: #D10024;
}

.info-page-header h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-page-header p {
    color: #8d8d8d;
    font-size: 14px;
}

.info-page-content {
    padding: 40px;
}

.info-page-content h2 {
    color: #1e1f29;
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-page-content h2:first-child {
    margin-top: 0;
}

.info-page-content h2 i {
    color: #D10024;
    font-size: 18px;
}

.info-page-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.info-page-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.info-page-content ul li {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 4px;
}

.info-page-content a {
    color: #D10024;
    font-weight: 600;
    transition: color 0.2s;
}

.info-page-content a:hover {
    color: #a30020;
}

/* Info Features Grid */
.info-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.info-feature-item {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-feature-item:hover {
    box-shadow: 0 8px 30px rgba(209, 0, 36, 0.1);
    transform: translateY(-4px);
    border-color: rgba(209, 0, 36, 0.2);
}

.info-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(209, 0, 36, 0.1), rgba(209, 0, 36, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: transform 0.3s;
}

.info-feature-item:hover .info-feature-icon {
    transform: scale(1.1);
}

.info-feature-icon i {
    font-size: 20px;
    color: #D10024;
}

.info-feature-item h3 {
    color: #1e1f29;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-feature-item p {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    box-shadow: 0 8px 30px rgba(209, 0, 36, 0.1);
    transform: translateY(-4px);
    border-color: rgba(209, 0, 36, 0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(209, 0, 36, 0.1), rgba(209, 0, 36, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: transform 0.3s;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-icon i {
    font-size: 20px;
    color: #D10024;
}

.contact-card h3 {
    color: #1e1f29;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 14px;
}

.info-table th,
.info-table td {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.info-table th {
    background: #1e1f29;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.info-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* FAQ Items */
.faq-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(209, 0, 36, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1e1f29;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Info Steps */
.info-steps {
    margin: 16px 0 24px;
}

.info-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-step:last-child {
    border-bottom: none;
}

.info-step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #D10024, #ff4757);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(209, 0, 36, 0.25);
}

.info-step-content h3 {
    color: #1e1f29;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-step-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Info Highlight Box */
.info-highlight-box {
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1px solid rgba(209, 0, 36, 0.2);
    border-left: 4px solid #D10024;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0 20px;
    font-size: 14px;
    color: #721c24;
    line-height: 1.7;
}

.info-highlight-box i {
    color: #D10024;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid .hero-card:last-child { display: none; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .seller-stats { grid-template-columns: repeat(2, 1fr); }
    .two-col-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .top-bar { display: none; }
    .search-bar { display: none; }
    .nav-menu { display: none; }
    .main-nav.open .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .main-nav.open .container { flex-wrap: wrap; }
    .main-nav.open .nav-menu a { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.07); }
    .nav-user-dropdown { display: block !important; position: relative; border-top: 1px solid rgba(255,255,255,0.07); }
    .nav-user-dropdown .user-dropdown-toggle { color: #fff; padding: 12px 20px; display: flex; }
    .nav-user-dropdown .user-dropdown-menu { position: absolute; left: 10px; right: 10px; top: 100%; z-index: 1000; }
    .nav-user-dropdown.open .user-dropdown-menu { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-grid .hero-card:last-child { display: block; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .seller-stats { grid-template-columns: 1fr 1fr; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .hot-deal-banner { flex-direction: column; text-align: center; }
    .countdown { justify-content: center; }
    .profile-page-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .profile-summary-grid { grid-template-columns: 1fr 1fr; }
    .info-features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .info-page-header { padding: 30px 20px; }
    .info-page-content { padding: 25px 20px; }
    .info-page-header h1 { font-size: 22px; }

    /* Table responsive */
    .orders-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table th, table td { padding: 10px 12px; font-size: 12px; white-space: nowrap; }
    .orders-card .card-header h3 { font-size: 14px; }
    .orders-card .card-header { padding: 12px 16px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .seller-stats { grid-template-columns: 1fr; }
    .quick-actions-grid { grid-template-columns: 1fr; }
    .main-header .container { flex-wrap: wrap; }
    .profile-summary-grid { grid-template-columns: 1fr; }
}

