/* VITASSO STOREFRONT CSS - v2.0 */
:root {
    --accent: #00bcd4;
    --accent-dark: #0097a7;
    --accent-light: #b2ebf2;
    --accent-bg: #e0f7fa;
    --accent-50: #e0f7fa;
    --accent-100: #b2ebf2;
    --accent-600: #0097a7;
    --accent-700: #00838f;
    --navy: #111827;
    --white: #ffffff;
    --bg: #f9fafb;
    --bg-warm: #f3f4f6;
    --text: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
    --transition: .2s cubic-bezier(.4,0,.2,1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-family);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* UTILITY */
.desktop-only { display: none !important; }
@media (min-width: 1024px) { .desktop-only { display: flex !important; } }
.mobile-only { display: flex !important; }
@media (min-width: 1024px) { .mobile-only { display: none !important; } }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg, var(--white));
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}
.site-header.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}
.header-inner { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .header-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .header-inner { padding: 0 32px; } }
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
@media (min-width: 640px) { .header-row { height: 72px; } }
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 36px; width: auto; object-fit: contain; }
@media (min-width: 640px) { .header-logo img { height: 40px; } }
.logo-fallback { display: flex; align-items: center; gap: 8px; }
.logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
}
.logo-icon i { color: #fff; font-size: 16px; }
.logo-text {
    font-size: 20px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SEARCH BAR (Legacy) */
.header-search { display: none; flex: 1; max-width: 560px; margin: 0 24px; }
@media (min-width: 1024px) { .header-search { display: flex; } }
.header-search.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-width: none; margin: 0; z-index: 60;
}
.search-form { display: flex; width: 100%; }
.search-category {
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 0 28px 0 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-family);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239ca3af' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.search-input {
    flex: 1; height: 40px; padding: 0 16px;
    border: 1px solid var(--border);
    border-left: none; border-right: none;
    font-size: 14px; font-family: var(--font-family);
    color: var(--text); outline: none;
}
.search-input::placeholder { color: var(--text-light); }
.search-input:focus { border-color: var(--accent); }
.search-btn {
    height: 40px; width: 44px;
    background: var(--accent);
    border: none;
    border-radius: 0 12px 12px 0;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
    font-size: 14px;
}
.search-btn:hover { background: var(--accent-dark); }

/* ===== SEARCH BAR V2 (Modern) ===== */
.search-form-v2 {
    position: relative;
    width: 100%;
    z-index: 100;
}
.search-v2-inner {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 50px;
    height: 46px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    overflow: visible;
    position: relative;
}
.search-form-v2.focused .search-v2-inner,
.search-v2-inner:hover {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0,188,212,.1), 0 4px 12px rgba(0,0,0,.08);
}
.search-form-v2.focused .search-v2-inner {
    box-shadow: 0 0 0 4px rgba(0,188,212,.15), 0 8px 24px rgba(0,0,0,.1);
}

/* Category Toggle */
.search-v2-category {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px 0 18px;
    height: 100%;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 50px 0 0 50px;
    transition: background .2s;
}
.search-v2-category:hover {
    background: rgba(0,188,212,.05);
}
.search-v2-category.open {
    background: rgba(0,188,212,.08);
}
.search-v2-cat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-v2-cat-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform .2s;
}
.search-v2-category.open .search-v2-cat-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}
.search-v2-cat-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0; height: 0;
}
.search-v2-cat-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    max-height: 280px;
    overflow-y: auto;
}
.search-v2-cat-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.search-v2-cat-option {
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s;
    font-weight: 500;
}
.search-v2-cat-option:hover {
    background: var(--accent-bg);
    color: var(--accent);
}
.search-v2-cat-option.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-weight: 600;
}

/* Divider */
.search-v2-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    flex-shrink: 0;
}

/* Input */
.search-v2-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    gap: 8px;
    padding: 0 4px 0 12px;
    min-width: 0;
}
.search-v2-icon {
    font-size: 17px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: color .2s;
}
.search-form-v2.focused .search-v2-icon {
    color: var(--accent);
}
.search-v2-input {
    flex: 1;
    border: none;
    background: transparent;
    height: 100%;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--text);
    outline: none;
    min-width: 0;
}
.search-v2-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}
.search-v2-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: all .15s;
    flex-shrink: 0;
    font-size: 16px;
    padding: 0;
}
.search-v2-clear:hover {
    background: var(--bg-warm);
    color: var(--text-secondary);
}

/* Submit Button */
.search-v2-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 20px;
    margin: 0 5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-v2-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark), #00838f);
    box-shadow: 0 4px 12px rgba(0,188,212,.3);
    transform: scale(1.02);
}
.search-v2-btn.compact {
    width: 36px;
    height: 36px;
    padding: 0;
}
.search-v2-btn.compact span { display: none; }
.search-v2-btn i { font-size: 15px; }

/* Suggestions Panel */
.search-v2-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    z-index: 150;
    overflow: hidden;
}
.search-v2-suggestions.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.search-v2-suggestions-inner {
    padding: 16px;
}
.search-v2-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-v2-section-title i {
    font-size: 15px;
    color: #f59e0b;
}
.search-v2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-v2-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all .2s;
    cursor: pointer;
    text-decoration: none;
}
.search-v2-tag:hover {
    background: var(--accent-bg);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,188,212,.15);
}
.search-v2-typing {
    padding: 10px 4px;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-v2-typing i {
    color: var(--accent);
    font-size: 16px;
}

/* Mobile Search V2 */
.mobile-search-v2 .search-v2-inner {
    height: 42px;
    border-radius: 50px;
}
.mobile-search-v2 .search-v2-btn {
    height: 32px;
    width: 32px;
    padding: 0;
}

/* ===== END SEARCH BAR V2 ===== */

/* HEADER ACTIONS */
.header-actions { display: flex; align-items: center; gap: 4px; }
@media (min-width: 640px) { .header-actions { gap: 8px; } }
.action-icon {
    width: 36px; height: 36px; border-radius: 12px;
    border: none; background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background var(--transition);
    color: var(--text-secondary); font-size: 18px;
}
.action-icon:hover { background: var(--bg); }
.action-user {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 12px;
    transition: background var(--transition);
}
.action-user:hover { background: var(--bg); }
.action-avatar {
    width: 32px; height: 32px; background: var(--bg);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.action-user:hover .action-avatar { background: var(--accent-bg); }
.action-avatar i { color: var(--text-muted); font-size: 14px; }
.action-user:hover .action-avatar i { color: var(--accent); }
.action-labels { display: flex; flex-direction: column; }
.action-sub { font-size: 10px; color: var(--text-light); line-height: 1; }
.action-main { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.action-cart {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; background: var(--accent-bg);
    border-radius: 12px; transition: background var(--transition);
}
.action-cart:hover { background: var(--accent-100); }
.cart-icon-wrap { position: relative; }
.cart-icon-wrap i { color: var(--accent); font-size: 18px; }
.cart-badge {
    position: absolute; top: -8px; right: -8px;
    min-width: 16px; height: 16px;
    background: var(--accent); color: #fff;
    font-size: 10px; font-weight: 700;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}
.action-cart .action-sub { color: var(--accent); }
.action-cart .action-main { color: var(--accent-dark); }

/* DESKTOP NAV */
.header-nav {
    display: flex; align-items: center; gap: 2px;
    padding-bottom: 8px; margin-top: -4px;
    overflow-x: auto;
}
.header-nav::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--transition);
}
.nav-link:hover { color: var(--accent); background: var(--accent-bg); }
.nav-icon { font-size: 12px; }
.dropdown-arrow { font-size: 11px; opacity: .5; }
.nav-dropdown {
    position: absolute; top: 100%; left: 0;
    margin-top: 4px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 8px 0; min-width: 200px;
    opacity: 0; visibility: hidden;
    transform: translateY(-4px);
    transition: all .2s ease; z-index: 50;
}
.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-link {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; font-size: 13px;
    color: var(--text-muted);
    transition: all var(--transition);
}
.dropdown-link:hover { color: var(--accent); background: var(--accent-bg); }
.dropdown-link i { font-size: 12px; }

/* MOBILE MENU */
.mobile-menu {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 45;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
}
.mobile-menu.open { max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-menu-inner { padding: 16px; }
.mobile-search-form { display: flex; margin-bottom: 16px; }
.mobile-search-input {
    flex: 1; height: 40px; padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 12px 0 0 12px;
    font-size: 14px; font-family: var(--font-family);
    outline: none;
}
.mobile-search-input:focus { border-color: var(--accent); }
.mobile-search-btn {
    height: 40px; width: 44px;
    background: var(--accent); border: none;
    border-radius: 0 12px 12px 0;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.mobile-nav { margin-bottom: 16px; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.mobile-nav-link:hover { color: var(--accent); background: var(--accent-bg); }
.mobile-nav-link.child { padding-left: 40px; font-weight: 400; color: var(--text-muted); font-size: 13px; }
.mobile-nav-link i { font-size: 16px; }
.mobile-auth {
    display: flex; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.mobile-auth-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; border-radius: 12px;
    font-size: 13px; font-weight: 500;
    transition: all var(--transition);
    border: none; cursor: pointer;
    font-family: var(--font-family);
}
.mobile-auth-btn.outline { background: var(--bg); color: var(--text-secondary); }
.mobile-auth-btn.outline:hover { background: var(--bg-warm); }
.mobile-auth-btn.primary { background: var(--accent); color: #fff; }
.mobile-auth-btn.primary:hover { background: var(--accent-dark); }

/* Mobile Language Selector */
.mobile-lang-selector { display: flex; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.mobile-lang-item { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-secondary); background: var(--bg); transition: all .2s; border: 1px solid var(--border); cursor: pointer; }
.mobile-lang-item.active { background: var(--accent-bg); color: var(--accent); border-color: var(--accent); font-weight: 600; }
.mobile-lang-item:hover { background: var(--accent-bg); color: var(--accent); }
.mobile-lang-item .lang-item-flag { font-size: 14px; }

/* FLASH MESSAGES */
.flash-container { padding: 12px 0; }
.flash {
    padding: 12px 16px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.flash.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.flash.warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.flash ul { margin: 0; padding-left: 16px; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border: none; border-radius: var(--radius);
    font-family: var(--font-family); font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    background: var(--accent); color: #fff;
    white-space: nowrap; line-height: 1.4;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg); transform: none; box-shadow: none; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* SECTION */
.section { padding: 48px 0; }
.section-header { margin-bottom: 24px; }
.section-header h2 { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.section-header p { font-size: 15px; color: var(--text-muted); margin-top: 6px; }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 16px 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); white-space: nowrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .separator { color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: 600; }
.breadcrumb .sep { flex-shrink: 0; }
@media (max-width: 768px) {
    .breadcrumb { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0; font-size: 12px; gap: 4px; }
    .breadcrumb::-webkit-scrollbar { display: none; }
    .breadcrumb .current { white-space: nowrap; }
}

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: all var(--transition); }
.card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 16px; }

/* FORM ELEMENTS */
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-family: var(--font-family); font-size: 14px;
    color: var(--text); background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
input::placeholder, textarea::placeholder { color: var(--text-light); }

/* PRODUCTS GRID */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

/* PRODUCT CARD – Reference Design */
.product-card {
    background: var(--white); border: 1px solid #f0f1f3;
    border-radius: 16px; overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    position: relative;
}
.product-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 32px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04); transform: translateY(-4px); }

/* Image area */
.pc-img-link { display: block; }
.pc-img { position: relative; aspect-ratio: 4/3.8; background: linear-gradient(145deg, #f8fafb 0%, #f0f4f6 100%); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.product-card:hover .pc-img img { transform: scale(1.06); }

/* Discount circle badge (top-left) */
.pc-disc-badge {
    position: absolute; top: 10px; left: 10px;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #f59e0b, #ef6c00);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
    box-shadow: 0 3px 10px rgba(245,158,11,.35);
    gap: 1px; line-height: 1;
}
.pc-disc-badge i { font-size: 9px; }

/* Tag badge (top-right) */
.pc-tag-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 4px 14px; border-radius: 8px;
    font-size: 11px; font-weight: 700; color: #fff;
    letter-spacing: .3px;
}
.pc-tag-badge.tag-campaign { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.pc-tag-badge.tag-sale { background: linear-gradient(135deg, #ef5350, #d32f2f); }
.pc-tag-badge.tag-new { background: linear-gradient(135deg, #00bcd4, #00838f); }

/* Age group badge (bottom-left of image) */
.pc-age-badge {
    position: absolute; bottom: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-radius: 8px; font-size: 11px; font-weight: 600;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.pc-age-badge i { font-size: 13px; color: var(--accent); }

/* Quick actions (bottom-right of image) */
.pc-quick-actions {
    position: absolute; bottom: 10px; right: 10px;
    display: flex; gap: 6px;
    opacity: 0; transform: translateY(6px);
    transition: all .3s ease;
}
.product-card:hover .pc-quick-actions { opacity: 1; transform: translateY(0); }
.pc-action-form { display: flex; }
.pc-action-btn {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: none; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #374151; font-size: 16px;
    cursor: pointer; transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.pc-action-btn:hover { background: var(--accent); color: #fff; }
.pc-action-btn.favorited { color: #ef4444; }
.pc-action-btn.favorited:hover { background: #ef4444; color: #fff; }

/* Out of stock overlay */
.pc-oos-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
}
.pc-oos-overlay span {
    padding: 6px 20px; background: #374151;
    color: #fff; border-radius: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .5px;
}

/* Info area */
.pc-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }

/* Category + Rating row */
.pc-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.pc-category { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .6px; }
.pc-rating { display: flex; align-items: center; gap: 3px; font-size: 12px; }
.pc-rating i { color: #fbbf24; font-size: 13px; }
.pc-rating-val { font-weight: 700; color: #1f2937; }
.pc-rating-count { color: #9ca3af; font-size: 11px; }

/* Product name */
.pc-name-link { color: inherit; text-decoration: none; }
.pc-name-link:hover .pc-name { color: var(--accent); }
.pc-name {
    font-size: 15px; font-weight: 700; color: #1f2937;
    line-height: 1.35; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    transition: color .2s;
}

/* Subtitle & description */
.pc-subtitle { font-size: 12px; color: #6b7280; margin: 0; line-height: 1.4; }
.pc-desc { font-size: 12px; color: #9ca3af; margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Price + Cart bottom row */
.pc-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.pc-price { display: flex; flex-direction: column; gap: 0; }
.pc-price-old { font-size: 12px; color: #9ca3af; text-decoration: line-through; line-height: 1.2; }
.pc-price-current { font-size: 20px; font-weight: 800; color: #111827; line-height: 1.2; }

/* Cart circle button */
.pc-cart-form { display: flex; }
.pc-cart-btn {
    width: 44px; height: 44px;
    background: var(--accent); color: #fff;
    border: none; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 14px rgba(0,188,212,.3);
    flex-shrink: 0;
}
.pc-cart-btn:hover { background: var(--accent-dark); transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,188,212,.4); }
.pc-cart-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.pc-cart-btn:active { transform: scale(.95); }

/* Legacy compatibility classes */
.product-img { position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff; letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(239,68,68,.3);
}
.product-badge.new { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 2px 8px rgba(0,188,212,.3); }
.product-badge.featured { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 2px 8px rgba(245,158,11,.3); }
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.product-info h3 { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.product-price .current { font-size: 18px; font-weight: 800; color: var(--navy); }
.product-price .old { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; margin-top: 8px; }
.product-actions .btn { flex: 1; justify-content: center; }

/* Responsive product card */
@media (max-width: 768px) {
    .pc-img { aspect-ratio: 1; }
    .pc-disc-badge { width: 36px; height: 36px; font-size: 10px; top: 8px; left: 8px; }
    .pc-tag-badge { font-size: 10px; padding: 3px 10px; top: 8px; right: 8px; }
    .pc-age-badge { font-size: 10px; padding: 4px 10px; bottom: 8px; left: 8px; }
    .pc-age-badge i { font-size: 11px; }
    .pc-info { padding: 10px 12px 12px; }
    .pc-name { font-size: 13px; }
    .pc-subtitle { font-size: 11px; }
    .pc-desc { display: none; }
    .pc-price-current { font-size: 16px; }
    .pc-price-old { font-size: 11px; }
    .pc-cart-btn { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
    .pc-quick-actions { opacity: 1; transform: none; }
    .pc-action-btn { width: 30px; height: 30px; font-size: 14px; }
}

/* FILTER BAR */
.filter-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.filter-bar input[type="text"] { flex: 1; min-width: 200px; }
.filter-bar select { width: auto; min-width: 180px; }
.filter-bar .btn { flex-shrink: 0; }

/* SHOP LAYOUT */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: flex-start; }
@media (max-width: 768px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-sidebar {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    position: sticky; top: 88px;
}
.sidebar-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sidebar-title i { color: var(--accent); }
.category-list { display: flex; flex-direction: column; gap: 2px; }
.category-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border-radius: 8px;
    font-size: 13px; color: var(--text-secondary);
    transition: all var(--transition);
}
.category-link:hover { background: var(--accent-bg); color: var(--accent); }
.category-link.active { background: var(--accent-bg); color: var(--accent); font-weight: 600; }
.category-link .count { background: var(--bg); padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--text-muted); }
.category-link.active .count { background: var(--accent); color: #fff; }

/* TABLE */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); text-align: left; }
th { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); background: var(--bg); }

/* CHECKOUT */
.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: flex-start; }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-title i { color: var(--accent); font-size: 24px; }
.checkout-steps { display: flex; gap: 0; margin-bottom: 28px; }
.checkout-step {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; background: var(--bg);
    position: relative; font-size: 13px; font-weight: 600;
    color: var(--text-muted);
}
.checkout-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.checkout-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.checkout-step.active { background: var(--accent-bg); color: var(--accent-dark); }
.checkout-step.active .step-num { background: var(--accent); color: #fff; }
.step-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--border); color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.address-card {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); cursor: pointer;
    transition: all var(--transition);
    background: var(--white); margin-bottom: 8px;
}
.address-card:hover { border-color: var(--accent-light); }
.address-card.selected { border-color: var(--accent); background: var(--accent-bg); }
.address-card input[type="radio"] { margin-top: 3px; accent-color: var(--accent); }
.address-card strong { font-size: 13px; color: var(--navy); }
.address-card small { color: var(--text-muted); font-size: 12px; }
.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); cursor: pointer;
    transition: all var(--transition); background: var(--white);
}
.payment-option:hover { border-color: var(--accent-light); }
.payment-option.selected { border-color: var(--accent); background: var(--accent-bg); }
.payment-option input[type="radio"] { accent-color: var(--accent); }
.payment-option .payment-icon { font-size: 24px; width: 40px; text-align: center; }
.payment-option .payment-label { font-size: 14px; font-weight: 600; color: var(--text); }
.payment-option .payment-desc { font-size: 12px; color: var(--text-muted); }
.discount-bar { display: flex; gap: 8px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.discount-bar input { flex: 1; border-radius: 8px; }
.discount-bar .btn { flex-shrink: 0; }
.order-summary {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    position: sticky; top: 88px;
}
.order-summary h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.order-summary h3 i { color: var(--accent); }
.summary-list { display: flex; flex-direction: column; gap: 10px; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed var(--border); font-size: 14px; }
.summary-item .item-name { color: var(--text-secondary); }
.summary-item .item-price { font-weight: 600; color: var(--text); }
.summary-divider { height: 1px; background: var(--border); margin: 8px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--navy); }
.summary-total .label { font-size: 15px; font-weight: 700; color: var(--navy); }
.summary-total .price { font-size: 22px; font-weight: 800; color: var(--accent-dark); }

/* CART PAGE */
.cart-item-row {
    display: grid; grid-template-columns: auto 1fr auto auto auto;
    gap: 16px; align-items: center;
    padding: 16px; border-bottom: 1px solid var(--border-light);
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cart-qty-form { display: flex; gap: 6px; align-items: center; }
.cart-qty-form input[type="number"] { width: 60px; padding: 6px 8px; text-align: center; border-radius: 8px; }
.cart-total-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    margin-top: 16px;
}
.cart-total-amount { font-size: 22px; font-weight: 700; }
.cart-total-amount span { color: var(--accent); }

/* AUTH PAGES */
.auth-section { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card {
    width: 100%; max-width: 440px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 36px 32px; box-shadow: var(--shadow-lg);
}
.auth-card h1 {
    font-size: 24px; font-weight: 700; color: var(--navy);
    margin-bottom: 24px; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.auth-card h1 i { color: var(--accent); font-size: 28px; }
.auth-card form { display: grid; gap: 16px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* USER PANEL */
.panel-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px; padding: 24px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.panel-header .avatar {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,188,212,.3);
}
.panel-header h1 { font-size: 22px; font-weight: 700; color: var(--navy); }
.panel-header p { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.panel-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    text-align: center; transition: all var(--transition);
}
.stat-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); }
.stat-card .stat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; background: var(--accent-bg); color: var(--accent);
}
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--navy); }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.panel-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 20px; }
.panel-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    transition: all var(--transition);
}
.panel-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.panel-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.panel-card h3 i { color: var(--accent); }
.panel-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.panel-stat { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.panel-stat .status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 4px; }
.panel-stat .status.pending, .status.pending { background: #fef3c7; color: #92400e; }
.panel-stat .status.processing, .status.processing { background: #dbeafe; color: #1e40af; }
.panel-stat .status.shipped, .status.shipped { background: #e0f2fe; color: #0369a1; }
.panel-stat .status.delivered, .status.delivered { background: #dcfce7; color: #166534; }
.panel-stat .status.cancelled, .status.cancelled { background: #fee2e2; color: #991b1b; }
.status.confirmed { background: #dbeafe; color: #1e40af; }
.status.preparing { background: #ede9fe; color: #7c3aed; }
.status.paid { background: #d1fae5; color: #065f46; }
.status.completed { background: #dcfce7; color: #166534; }

/* ═══════════ OVERVIEW - ORDER CARDS ═══════════ */
.ov-order-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.ov-order-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); position: relative; cursor: pointer;
}
.ov-order-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ov-order-link { position: absolute; inset: 0; z-index: 1; }
.ov-order-card .ov-track-btn { position: relative; z-index: 2; }
.ov-order-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border-light);
}
.ov-order-meta { display: flex; align-items: center; gap: 12px; }
.ov-order-no { font-weight: 700; color: var(--navy); font-size: 14px; }
.ov-order-date { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.ov-order-body {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
}
.ov-order-info { display: flex; align-items: center; gap: 14px; }
.ov-order-items, .ov-order-cargo { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.ov-order-cargo { color: var(--accent); font-weight: 600; }
.ov-order-price { font-size: 16px; font-weight: 700; color: var(--navy); }
.ov-order-track {
    padding: 0 18px 14px;
}
.ov-track-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff; border-radius: 10px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.ov-track-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,233,.3); }
.ov-track-code {
    flex: 1; text-align: center; font-family: monospace; font-size: 12px;
    background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 6px;
}

/* ═══════════ MY ORDERS - FULL LIST ═══════════ */
.my-orders-list { display: flex; flex-direction: column; gap: 14px; }
.mo-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all .2s;
}
.mo-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); }
.mo-card.mo-cancelled { opacity: .65; }

/* Header */
.mo-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: var(--bg); border-bottom: 1px solid var(--border-light);
}
.mo-head-info { display: flex; align-items: center; gap: 12px; }
.mo-num { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }
.mo-num:hover { color: var(--accent); }
.mo-date { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.mo-head-right { display: flex; align-items: center; gap: 10px; }
.mo-go {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--accent-bg); color: var(--accent);
    text-decoration: none; transition: all .2s; font-size: 18px;
}
.mo-go:hover { background: var(--accent); color: #fff; }

/* Product thumbnails */
.mo-items-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; overflow-x: auto; }
.mo-item-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.mo-item-thumb img {
    width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
    border: 1px solid var(--border);
}
.mo-thumb-placeholder {
    width: 56px; height: 56px; border-radius: 10px; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 18px;
}
.mo-item-name {
    font-size: 11px; color: var(--text-muted); max-width: 72px;
    text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mo-item-more {
    width: 56px; height: 56px; border-radius: 10px; background: var(--accent-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}

/* Progress bar */
.mo-progress-wrap { padding: 0 18px 14px; }
.mo-progress-bar-bg { height: 6px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.mo-progress-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), #0097a7);
    transition: width .5s ease;
}
.mo-progress-labels { display: flex; justify-content: space-between; margin-top: 5px; }
.mo-progress-labels span { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.mo-progress-labels span:first-child { font-weight: 600; color: var(--accent); }
.mo-progress-pct { font-family: monospace; font-size: 11px; }

/* Footer */
.mo-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; border-top: 1px solid var(--border-light);
}
.mo-foot-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mo-foot-meta span {
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 4px;
}
.mo-cargo-name { color: var(--accent) !important; font-weight: 600; }
.mo-price { font-size: 17px; font-weight: 700; color: var(--navy); }

/* Track */
.mo-track { padding: 0 18px 14px; }
.mo-track-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff; border-radius: 10px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.mo-track-link:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,233,.3); }
.mo-track-code {
    flex: 1; text-align: center; font-family: monospace; font-size: 12px;
    background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 6px;
}
.mo-cancel-wrap { padding: 0 18px 14px; }
.mo-cancel-btn {
    width: 100%; padding: 10px 16px; border-radius: 10px; border: 1px solid #fecaca;
    background: #fef2f2; color: #dc2626; font-size: 13px; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: all .2s;
}
.mo-cancel-btn:hover { background: #fee2e2; border-color: #f87171; }
@keyframes cancelModalIn { from{opacity:0;transform:scale(.9)translateY(20px)} to{opacity:1;transform:scale(1)translateY(0)} }

@media (max-width: 640px) {
    .mo-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mo-head-right { width: 100%; justify-content: space-between; }
    .mo-items-row { padding: 10px 14px; gap: 8px; }
    .mo-item-thumb img, .mo-thumb-placeholder { width: 48px; height: 48px; }
    .mo-item-more { width: 48px; height: 48px; font-size: 12px; }
    .mo-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mo-price { align-self: flex-end; }
}

/* CMS PAGE */
.page-content {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    line-height: 1.8; font-size: 16px;
}
.page-content h2 { font-size: 22px; font-weight: 700; margin: 24px 0 12px; color: var(--navy); }
.page-content h3 { font-size: 18px; font-weight: 600; margin: 20px 0 10px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content img { border-radius: var(--radius); margin: 16px 0; }
.page-content a { color: var(--accent); font-weight: 500; }
.page-content a:hover { text-decoration: underline; }
.page-content blockquote {
    border-left: 4px solid var(--accent); padding: 16px 20px; margin: 16px 0;
    background: var(--accent-bg); border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 56px; margin-bottom: 16px; opacity: .3; display: block; }
.empty-state h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.empty-state p { font-size: 15px; margin-bottom: 20px; }

/* PAGINATION */
.pagination-wrap { margin-top: 24px; }
nav[aria-label="Pagination Navigation"] { display: flex; justify-content: center; }
nav[aria-label="Pagination Navigation"] span,
nav[aria-label="Pagination Navigation"] a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px; margin: 0 2px;
    border-radius: 10px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border: 1px solid var(--border);
    background: var(--white); transition: all var(--transition);
}
nav[aria-label="Pagination Navigation"] a:hover { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); }
nav[aria-label="Pagination Navigation"] span[aria-current="page"] span { background: var(--accent); color: #fff; border-color: var(--accent); }

/* FOOTER */
.site-footer { background: linear-gradient(135deg, #004d56 0%, #006064 25%, #00838f 50%, #00838f 75%, #006064 100%); color: #b2dfdb; }
.footer-main { padding: 48px 0 40px; }
@media (min-width: 640px) { .footer-main { padding: 64px 0 48px; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 48px; } }
/* .footer-brand-col – reserved */
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, #26c6da, #00bcd4); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-v { font-size: 22px; font-weight: 800; color: #fff; font-style: italic; }
.footer-logo img { height: 40px; width: auto; object-fit: contain; }
.footer-logo-fallback { display: flex; align-items: center; gap: 8px; }
.footer-logo-icon { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo-icon i { color: #fff; font-size: 18px; }
.footer-logo-text { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 2px; }
.footer-desc { font-size: 14px; color: #b2dfdb; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; margin-bottom: 24px; }
.social-icon {
    width: 38px; height: 38px; background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #e0f7fa; font-size: 16px;
    transition: all var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
}
.social-icon:hover { background: #00bcd4; color: #fff; border-color: #00bcd4; transform: translateY(-2px); }
.footer-tags { font-size: 12px; color: rgba(178,223,219,0.7); line-height: 1.8; }
.footer-tags-dot { margin: 0 4px; color: rgba(178,223,219,0.4); }
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 20px; letter-spacing: 0.3px; }
.footer-col a { font-size: 14px; color: #b2dfdb; padding: 6px 0; transition: color var(--transition), padding-left var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-link-all { color: var(--accent) !important; font-weight: 600; margin-top: 4px; }
.footer-link-icon { display: flex; align-items: center; gap: 8px; }
.footer-icon-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.footer-icon-dot.new { background: #ff9800; box-shadow: 0 0 6px rgba(255,152,0,0.5); }
.footer-icon-dot.sale { background: #ef5350; box-shadow: 0 0 6px rgba(239,83,80,0.5); }
/* .footer-col-contact – reserved */
.footer-contact { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: #4dd0e1; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-contact span { flex: 1; }
.footer-secure-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; padding: 10px 22px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(77,208,225,0.4);
    border-radius: 8px; color: #e0f7fa; font-size: 13px; font-weight: 600;
    transition: all var(--transition); cursor: pointer; width: fit-content;
}
.footer-secure-btn i { color: #4dd0e1; font-size: 16px; }
.footer-secure-btn:hover { background: rgba(77,208,225,0.15); border-color: #4dd0e1; color: #fff; }
.footer-trust { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.trust-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #b2dfdb; font-weight: 500;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    transition: all var(--transition);
}
.trust-badge:hover { border-color: #4dd0e1; color: #fff; background: rgba(255,255,255,0.05); }
.trust-badge i { color: #4dd0e1; font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(178,223,219,0.6); margin: 0; }
.footer-powered { font-size: 13px; color: rgba(178,223,219,0.5); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .section { padding: 32px 0; }
    .section-header h2 { font-size: 20px; }
    .auth-card { padding: 28px 20px; }
    .form-card { padding: 20px; }
    .order-summary { position: static; }
    .shop-sidebar { position: static; }
    .cart-item-row { grid-template-columns: auto 1fr; gap: 12px; }
    .trust-badges { gap: 16px; }
    .trust-badge span { display: none; }
}
@media (max-width: 480px) {
    .filter-bar { flex-direction: column; }
    .filter-bar input[type="text"] { min-width: auto; }
}

/* ============================
   TOP BAR
   ============================ */
.top-bar {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    font-size: 13px;
    line-height: 1;
    position: relative;
    z-index: 51;
}
.top-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    gap: 16px;
}
.top-bar-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.top-bar-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.top-bar-center { flex: 1; text-align: center; min-width: 0; }
.top-bar-link {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition);
    white-space: nowrap;
}
.top-bar-link:hover { color: #fff; }
.top-bar-link i { font-size: 14px; }
.top-bar-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: .2px;
    font-size: 12px;
    white-space: nowrap;
}
.top-bar-promo i { font-size: 16px; }
.top-bar-social { display: flex; align-items: center; gap: 8px; }
.top-bar-social a {
    color: rgba(255,255,255,.8);
    font-size: 15px;
    transition: color var(--transition);
}
.top-bar-social a:hover { color: #fff; }
@media (max-width: 768px) {
    .top-bar { display: none; }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .top-bar-inner { padding: 0 16px; font-size: 11px; gap: 10px; }
    .top-bar-left { gap: 10px; }
    .top-bar-right { gap: 10px; }
    .top-bar-social { display: none; }
}

/* ============================
   UPDATED HEADER (two-row)
   ============================ */
.header-main {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 20px;
}
@media (min-width: 1200px) { .header-main { gap: 32px; } }
@media (max-width: 1023px) { .header-main { height: 60px; gap: 17px; } .header-actions { gap: 16px; margin-right: 20px; } .header-action-item i { font-size: 22px; } }
.mobile-menu-btn {
    border: none;
    background: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-search-wrap {
    display: flex;
    flex: 1;
    max-width: 540px;
    position: relative;
}
.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--text-muted);
    transition: color var(--transition);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
.header-action-item i { font-size: 22px; }
.header-action-item:hover { color: var(--accent); }
.desktop-only-text { display: none; }
@media (min-width: 1024px) { .desktop-only-text { display: inline; font-size: 11px; } }
.cart-action .cart-icon-wrap { position: relative; }
.cart-action .cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.mobile-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
}
.mobile-search-bar.open { max-height: 70px; padding: 10px 0; }
.mobile-search-bar .search-form { display: flex; }
.mobile-search-bar .search-input { border-radius: 12px 0 0 12px; flex: 1; }
.mobile-search-bar .search-form-v2 { width: 100%; }
.mobile-search-bar .search-v2-inner { height: 42px; border-radius: 50px; }
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.mobile-menu-footer a { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.mobile-menu-footer a i { color: var(--accent); }

/* ============================
   HERO SLIDER
   ============================ */
.hero-slider {
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    min-height: 420px;
}
@media (min-width: 768px) { .hero-slider { min-height: 480px; } }
@media (min-width: 1024px) { .hero-slider { min-height: 520px; } }
.slider-viewport {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
    display: flex;
    align-items: center;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Background image layer */
.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.slide-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}
.slide-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-bg picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}
@keyframes slideBgZoom {
    from { transform: scale(var(--zoom-scale, 1.06)); }
    to   { transform: scale(1); }
}

/* Overlay for text readability */
.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-inner {
    display: flex;
    align-items: center;
    padding: 48px 0 80px;
    min-height: 420px;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .slide-inner {
        padding: 48px 0 100px;
        min-height: 480px;
    }
}
@media (min-width: 1024px) {
    .slide-inner {
        padding: 60px 0 110px;
        min-height: 520px;
    }
}
.slide-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    max-width: 560px;
    animation: slideContentIn .6s ease both;
}
.slide.active .slide-content { animation-delay: .15s; }
@keyframes slideContentIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 1.5s infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.slide-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -.5px;
}
@media (min-width: 768px) { .slide-title { font-size: 36px; } }
@media (min-width: 1024px) { .slide-title { font-size: 44px; } }
.slide-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.3;
}
@media (min-width: 768px) { .slide-subtitle { font-size: 20px; } }
@media (min-width: 1024px) { .slide-subtitle { font-size: 22px; } }
.slide-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
    max-width: 480px;
}
@media (min-width: 768px) { .slide-desc { font-size: 15px; } }
.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    width: fit-content;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,188,212,.3);
}
.slide-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,188,212,.4);
}
.slide-cta i { font-size: 18px; transition: transform .3s; }
.slide-cta:hover i { transform: translateX(4px); }
/* .slide-image removed — image now used as full background via .slide-bg */

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all .3s ease;
}
.slider-arrow:hover {
    background: rgba(255,255,255,.25);
    transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
@media (min-width: 1024px) {
    .slider-prev { left: 32px; }
    .slider-next { right: 32px; }
}
@media (max-width: 767px) {
    .slider-arrow { width: 36px; height: 36px; font-size: 18px; }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .hero-slider { min-height: 320px; }
    .slide-inner {
        padding: 24px 0 60px;
        min-height: 320px;
    }
    .slide-content {
        gap: 8px;
        max-width: 85% !important;
    }
    .slide-title {
        font-size: 22px;
        line-height: 1.2;
        letter-spacing: -.3px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-subtitle {
        font-size: 14px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-desc {
        font-size: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 100%;
    }
    .slide-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    .slide-cta {
        padding: 10px 20px;
        font-size: 13px;
        gap: 6px;
    }
    .slide-cta i { font-size: 15px; }
}

/* Slider Bottom Tabs */
.slider-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.slider-tabs-inner {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}
.slider-tab {
    flex: 1;
    position: relative;
    padding: 14px 16px;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(8px);
    border: none;
    border-right: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    overflow: hidden;
    text-align: left;
    font-family: var(--font-family);
}
.slider-tab:first-child { border-radius: 0 0 0 0; }
.slider-tab:last-child { border-right: none; }
.slider-tab:hover { background: rgba(0,0,0,.45); color: rgba(255,255,255,.85); }
.slider-tab.active {
    background: rgba(0,188,212,.15);
    color: #fff;
}
.tab-text { position: relative; z-index: 2; }
.tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0;
    transition: width .15s;
}
.slider-tab.active .tab-progress {
    width: 100%;
    transition: width 6s linear;
}
@media (max-width: 767px) {
    .slider-tabs-inner { padding: 0 8px; }
    .slider-tab { padding: 10px 8px; font-size: 11px; }
}

/* Hero Fallback */
.hero-fallback {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero-fallback h1 { font-size: 48px; font-weight: 800; margin-bottom: 12px; }
.hero-fallback p { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-fallback .btn { padding: 16px 36px; font-size: 16px; border-radius: 14px; }

/* ============================
   CATEGORIES GRID (homepage)
   ============================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all .3s ease;
    text-decoration: none;
    color: var(--text);
}
.category-card:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    transition: all .3s ease;
}
.category-card:hover .category-card-icon {
    background: var(--accent);
    color: #fff;
}
.category-card h3 { font-size: 14px; font-weight: 600; color: var(--navy); }
.category-card-count { font-size: 12px; color: var(--text-muted); }

/* ============================
   WHY US SECTION
   ============================ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .why-us-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .why-us-grid { grid-template-columns: 1fr; } }
.why-us-item {
    text-align: center;
    padding: 24px 16px;
}
.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent);
    margin: 0 auto 14px;
    transition: all .3s ease;
}
.why-us-item:hover .why-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08);
}
.why-us-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-us-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================
   ACCOUNT PAGE (tabbed)
   ============================ */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: flex-start;
}
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 120px;
}
.account-user-card {
    padding: 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg);
}
.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 10px;
    box-shadow: 0 4px 12px rgba(0,188,212,.3);
}
.account-user-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.account-user-card p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.account-nav { display: flex; flex-direction: column; padding: 8px 0; }
.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
}
.account-nav-link:hover { color: var(--accent); background: var(--accent-bg); }
.account-nav-link.active {
    color: var(--accent);
    background: var(--accent-bg);
    border-left-color: var(--accent);
    font-weight: 600;
}
.account-nav-link i { font-size: 18px; width: 24px; text-align: center; }
.account-nav-link.danger { color: #ef4444; }
.account-nav-link.danger:hover { background: #fef2f2; }

.account-content {
    min-height: 400px;
}
.account-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-section-title i { color: var(--accent); }

/* Account tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Order list in account */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.order-card-row:hover { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.order-number { font-weight: 700; color: var(--navy); font-size: 14px; }
.order-date { font-size: 13px; color: var(--text-muted); }
.order-amount { font-weight: 700; color: var(--navy); font-size: 15px; }
@media (max-width: 640px) {
    .order-card-row { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* Address cards in account */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.address-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    transition: all var(--transition);
}
.address-item:hover { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.address-item.default { border-color: var(--accent); background: var(--accent-bg); }
.address-item-label { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.address-item-name { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.address-item-detail { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.address-item-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }

/* Profile form */
.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .profile-form-grid { grid-template-columns: 1fr; } }

/* Mobile account sidebar */
@media (max-width: 768px) {
    .account-sidebar { position: static; }
    .account-nav { flex-direction: row; overflow-x: auto; padding: 0; }
    .account-nav-link { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; padding: 12px 16px; font-size: 13px; }
    .account-nav-link.active { border-bottom-color: var(--accent); border-left-color: transparent; }
    .account-user-card { display: none; }
}
