/*
 * UCUZA GETİR - Premium Marketplace Stylesheet
 * Version: 1.0.0
 * Author: Ucuza Getir Dev Team
 * URL: https://ucuzagetir.com.tr
 * ============================================= */

/* ============================================
   0. GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

/* ============================================
   1. CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #FF6000;
    --primary-dark: #e55500;
    --primary-light: #ff8533;
    --primary-rgb: 255, 96, 0;
    --primary-gradient: linear-gradient(135deg, #FF6000 0%, #ff8533 100%);
    --primary-gradient-hover: linear-gradient(135deg, #e55500 0%, #FF6000 100%);

    /* Secondary / Dark */
    --secondary: #1a1a2e;
    --secondary-rgb: 26, 26, 46;
    --accent: #16213e;
    --accent-rgb: 22, 33, 62;

    /* Backgrounds */
    --bg-body: #f5f6fa;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0f0f23;
    --bg-card: #ffffff;
    --bg-input: #f1f3f5;

    /* Text Colors */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --text-muted: #95a5a6;
    --text-white: #ffffff;
    --text-heading: #1a1a2e;

    /* Status Colors */
    --success: #00b894;
    --success-light: #e6f9f4;
    --danger: #ff6b6b;
    --danger-light: #ffe0e0;
    --warning: #feca57;
    --warning-light: #fff9e6;
    --info: #54a0ff;
    --info-light: #e8f2ff;

    /* Borders & Shadows */
    --border: #e9ecef;
    --border-light: #f1f3f5;
    --border-focus: #FF6000;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 15px rgba(255, 96, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 60px;
    --container-padding: 15px;

    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
}

/* ============================================
   1b. DARK MODE VARIABLES
   ============================================ */
[data-theme="dark"],
.dark-mode {
    --bg-body: #0f0f23;
    --bg-light: #1a1a2e;
    --bg-white: #1e1e3a;
    --bg-card: #1e1e3a;
    --bg-input: #2a2a4a;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-light: #6b7280;
    --text-heading: #f0f0f5;
    --border: #2d2d4a;
    --border-light: #252545;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg-body: #0f0f23;
        --bg-light: #1a1a2e;
        --bg-white: #1e1e3a;
        --bg-card: #1e1e3a;
        --bg-input: #2a2a4a;
        --text-primary: #e4e6eb;
        --text-secondary: #b0b3b8;
        --text-light: #6b7280;
        --text-heading: #f0f0f5;
        --border: #2d2d4a;
        --border-light: #252545;
    }
}

/* ============================================
   2. CSS RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-moz-selection {
    background: var(--primary);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--text-light) var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15) !important;
}

/* ============================================
   3. TYPOGRAPHY SYSTEM
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-primary-color { color: var(--primary) !important; }
.text-success-color { color: var(--success) !important; }
.text-danger-color { color: var(--danger) !important; }
.text-warning-color { color: var(--warning) !important; }

.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

.font-heading { font-family: var(--font-heading) !important; }

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.bg-primary-gradient {
    background: var(--primary-gradient) !important;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%) !important;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.section-padding-sm {
    padding: 40px 0;
}

.rounded-custom { border-radius: var(--radius) !important; }
.rounded-custom-sm { border-radius: var(--radius-sm) !important; }
.rounded-custom-lg { border-radius: var(--radius-lg) !important; }

.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-hover:hover { box-shadow: var(--shadow-hover) !important; }

.transition-all { transition: var(--transition); }

.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: var(--transition);
}
.hover-scale:hover {
    transform: scale(1.02);
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    color: #fff;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: var(--secondary);
    border: none;
    color: #fff;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-light {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-light:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

/* ============================================
   6. FORM ELEMENTS
   ============================================ */
.form-control,
.form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: var(--transition);
    height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12) !important;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15) !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

.input-group-custom {
    position: relative;
}

.input-group-custom .form-control {
    padding-left: 44px;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 4;
}

/* ============================================
   7. TOP BAR
   ============================================ */
.top-bar {
    background: var(--secondary);
    color: var(--text-light);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: var(--z-sticky);
}

.top-bar a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.top-bar a:hover {
    color: var(--primary);
}

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

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

.top-bar-left .item i {
    color: var(--primary);
    font-size: 11px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.top-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.top-bar-auth a {
    font-weight: 500;
}

.top-bar-auth a + a::before {
    content: '|';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

/* Mobile hide top bar */
@media (max-width: 767.98px) {
    .top-bar {
        display: none;
    }
}

/* ============================================
   8. MAIN HEADER
   ============================================ */
.main-header {
    background: var(--bg-white);
    padding: 16px 0;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.logo a span {
    color: var(--primary);
}

.logo a:hover {
    color: var(--secondary);
}

.logo .logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin-left: 2px;
    animation: pulse 2s infinite;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 640px;
}

.search-form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-white);
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.search-category-select {
    border: none;
    border-right: 1.5px solid var(--border);
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-light);
    min-width: 160px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636e72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.search-category-select:focus {
    box-shadow: none !important;
    border-color: var(--border) !important;
}

.search-input {
    border: none;
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    background: transparent;
}

.search-input:focus {
    box-shadow: none !important;
    border: none !important;
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Search Autocomplete Dropdown */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: var(--z-dropdown);
    max-height: 400px;
    overflow-y: auto;
}

.search-autocomplete.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.search-autocomplete .autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-autocomplete .autocomplete-item:hover {
    background: var(--bg-light);
}

.search-autocomplete .autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-autocomplete .autocomplete-item .item-info {
    flex: 1;
}

.search-autocomplete .autocomplete-item .item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.search-autocomplete .autocomplete-item .item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.search-autocomplete .recent-searches {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.search-autocomplete .recent-searches h6 {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.search-autocomplete .recent-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 2px 4px 2px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-autocomplete .recent-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

/* Header Action Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.header-action-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.header-action-item .action-icon {
    position: relative;
    font-size: 22px;
    line-height: 1;
}

.header-action-item .action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--bg-white);
}

.header-action-item .action-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.header-action-item:hover .action-label {
    color: var(--primary);
}

/* Cart Action Special Styling */
.header-action-cart {
    background: rgba(var(--primary-rgb), 0.06);
    padding: 8px 16px;
    border-radius: var(--radius);
}

.header-action-cart:hover {
    background: rgba(var(--primary-rgb), 0.12);
}

.cart-total-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

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

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    display: none;
    z-index: var(--z-dropdown);
    animation: fadeInDown 0.2s ease;
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown-menu.show {
    display: block;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.user-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.user-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--text-light);
}

.user-dropdown-menu a:hover i {
    color: var(--primary);
}

.user-dropdown-menu .divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: var(--z-dropdown);
    animation: fadeInDown 0.2s ease;
}

.mini-cart-dropdown.show {
    display: block;
}

.mini-cart-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-cart-header h6 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: var(--transition-fast);
}

.mini-cart-item:hover {
    background: var(--bg-light);
}

.mini-cart-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

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

.mini-cart-item .item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-item .item-qty-price {
    font-size: 12px;
    color: var(--text-secondary);
}

.mini-cart-item .item-qty-price strong {
    color: var(--primary);
    font-weight: 600;
}

.mini-cart-item .item-remove {
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: var(--transition-fast);
}

.mini-cart-item .item-remove:hover {
    color: var(--danger);
}

.mini-cart-footer {
    border-top: 1px solid var(--border);
    padding: 16px;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

.mini-cart-total .total-amount {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
}

.mini-cart-actions {
    display: flex;
    gap: 8px;
}

.mini-cart-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px;
}

.mini-cart-empty {
    padding: 40px 16px;
    text-align: center;
}

.mini-cart-empty i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.mini-cart-empty p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-search {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: var(--bg-white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
        max-width: 100%;
    }

    .header-search.show {
        display: block;
    }

    .search-category-select {
        display: none;
    }

    .header-action-item .action-label {
        display: none;
    }

    .header-actions {
        gap: 2px;
    }

    .header-action-item {
        padding: 8px;
    }

    .header-action-cart {
        padding: 8px 10px;
    }

    .cart-total-price {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .logo a {
        font-size: 22px;
    }
}

/* ============================================
   9. MEGA MENU / NAVIGATION BAR
   ============================================ */
.navbar-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: calc(var(--z-sticky) - 1);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

/* All Categories Button */
.all-categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    position: relative;
}

.all-categories-btn:hover {
    background: var(--primary-dark);
}

.all-categories-btn i {
    font-size: 16px;
}

/* Quick Links */
.nav-quick-links {
    display: flex;
    align-items: center;
    flex: 1;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-quick-links::-webkit-scrollbar {
    display: none;
}

.nav-quick-link {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.nav-quick-link:hover {
    color: var(--primary);
}

.nav-quick-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-quick-link:hover::after {
    width: 70%;
}

.nav-quick-link.hot {
    color: var(--danger);
}

.nav-quick-link.hot::before {
    content: '🔥';
    margin-right: 4px;
    font-size: 12px;
}

/* Mega Menu */
.mega-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: calc(var(--z-dropdown) - 1);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-menu-overlay.show {
    display: block;
    opacity: 1;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-dropdown);
    display: none;
    animation: slideDown 0.3s ease;
    max-height: 480px;
    overflow: hidden;
}

.mega-menu.show {
    display: flex;
}

.mega-menu-sidebar {
    width: 260px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    background: var(--bg-light);
    flex-shrink: 0;
}

.mega-menu-sidebar .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.mega-menu-sidebar .menu-item:hover,
.mega-menu-sidebar .menu-item.active {
    background: var(--bg-white);
    color: var(--primary);
    border-left-color: var(--primary);
}

.mega-menu-sidebar .menu-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 10px;
}

.mega-menu-sidebar .menu-item i.fa-chevron-right {
    font-size: 10px;
    color: var(--text-light);
}

.mega-menu-content {
    flex: 1;
    padding: 24px 30px;
    overflow-y: auto;
}

.mega-menu-content .mega-col-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.mega-menu-content .mega-col-title a {
    color: var(--text-heading);
}

.mega-menu-content .mega-col-title a:hover {
    color: var(--primary);
}

.mega-menu-content ul li {
    margin-bottom: 6px;
}

.mega-menu-content ul li a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: inline-block;
    padding: 2px 0;
}

.mega-menu-content ul li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.mega-menu-banner {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.mega-menu-banner img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.mega-menu-banner:hover img {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .navbar-main {
        display: none;
    }

    .navbar-main.show {
        display: block;
    }

    .navbar-inner {
        flex-direction: column;
    }

    .all-categories-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-quick-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-quick-link {
        width: 100%;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
    }

    .mega-menu {
        position: static;
        flex-direction: column;
        max-height: none;
    }

    .mega-menu-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* ============================================
   10. HERO SLIDER
   ============================================ */
.hero-section {
    padding: 20px 0 10px;
}

.hero-slider-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-slider .swiper-slide {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 70%, transparent 100%);
    color: #fff;
}

.hero-slide-content .slide-subtitle {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--primary-light);
}

.hero-slide-content .slide-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 500px;
}

.hero-slide-content .slide-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 400px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--primary);
    color: #fff;
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

/* Side Banners */
.hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.hero-side-banner {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.hero-side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-side-banner:hover img {
    transform: scale(1.05);
}

.hero-side-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

@media (max-width: 991.98px) {
    .hero-slider .swiper-slide {
        height: 280px;
    }

    .hero-slide-content .slide-title {
        font-size: 28px;
    }

    .hero-slide-content {
        padding: 24px 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .swiper-slide {
        height: 200px;
    }

    .hero-slide-content .slide-title {
        font-size: 22px;
    }
}

/* ============================================
   11. SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    position: relative;
    padding-left: 16px;
    margin-bottom: 0;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.section-header .view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.section-header .view-all:hover {
    gap: 10px;
}

.section-header .view-all i {
    font-size: 12px;
}

/* ============================================
   12. PRODUCT CARDS
   ============================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Product Image */
.product-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-discount {
    background: var(--danger);
    color: #fff;
}

.badge-new {
    background: var(--success);
    color: #fff;
}

.badge-bestseller {
    background: var(--warning);
    color: var(--secondary);
}

.badge-freeship {
    background: var(--info);
    color: #fff;
}

/* Quick Action Buttons */
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.product-action-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.product-action-btn.active {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.product-action-btn.active.fav-btn {
    animation: heartBeat 0.6s ease;
}

/* Product Card Body */
.product-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 36px;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--primary);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.rating-stars {
    display: flex;
    gap: 1px;
}

.rating-stars i {
    font-size: 11px;
    color: var(--warning);
}

.rating-stars i.empty {
    color: var(--border);
}

.rating-count {
    font-size: 11px;
    color: var(--text-light);
}

/* Price */
.product-price {
    margin-top: auto;
    margin-bottom: 10px;
}

.price-old {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 6px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-current .currency {
    font-size: 14px;
    font-weight: 600;
}

.price-discount-rate {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--danger-light);
    color: var(--danger);
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

/* Add to Cart */
.product-add-cart {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    cursor: pointer;
}

.product-add-cart:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.product-add-cart i {
    font-size: 15px;
}

/* Product Card Horizontal (for cart, etc.) */
.product-card-horizontal {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.product-card-horizontal:hover {
    box-shadow: var(--shadow-sm);
}

.product-card-horizontal .product-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
}

.product-card-horizontal .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

/* Product Grid */
.product-grid {
    display: grid;
    gap: 16px;
}

.product-grid.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.product-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1199.98px) {
    .product-grid.grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991.98px) {
    .product-grid.grid-5,
    .product-grid.grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .product-grid.grid-5,
    .product-grid.grid-4,
    .product-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card-body {
        padding: 10px;
    }

    .price-current {
        font-size: 16px;
    }
}

@media (max-width: 399.98px) {
    .product-grid.grid-5,
    .product-grid.grid-4,
    .product-grid.grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   13. FLASH DEALS / COUNTDOWN
   ============================================ */
.flash-deals-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.flash-deals-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.flash-deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.flash-deals-header .section-title {
    color: #fff;
}

.flash-deals-header .section-title::before {
    background: var(--danger);
}

.flash-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--warning);
    font-size: 20px;
    animation: pulse 1.5s infinite;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-right: 4px;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-width: 56px;
    backdrop-filter: blur(10px);
}

.countdown-block .number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-block .label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.countdown-separator {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-top: -8px;
}

.flash-deals-section .product-card {
    border: none;
    box-shadow: var(--shadow-md);
}

.flash-progress {
    margin-top: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
}

.flash-progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.flash-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

@media (max-width: 575.98px) {
    .countdown-block {
        padding: 6px 8px;
        min-width: 44px;
    }

    .countdown-block .number {
        font-size: 18px;
    }
}

/* ============================================
   14. CATEGORY CARDS
   ============================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.category-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
}

.category-card-icon i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-card-icon i {
    color: #fff;
}

.category-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0;
}

.category-card:hover .category-card-name {
    color: var(--primary);
}

/* Category Row Scrollable */
.category-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-scroll .category-card {
    min-width: 130px;
    flex-shrink: 0;
}

/* ============================================
   15. BRAND CAROUSEL
   ============================================ */
.brand-section {
    background: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    height: 80px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-white);
    transition: var(--transition);
}

.brand-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.brand-item img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   16. PROMOTIONAL BANNERS
   ============================================ */
.promo-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.promo-banner:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.promo-banner:hover img {
    transform: scale(1.03);
}

.promo-banner-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-banner-text {
    max-width: 60%;
}

.promo-banner-text .subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.promo-banner-text .title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* ============================================
   17. NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: var(--primary-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.newsletter-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 28px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.newsletter-form .form-control {
    border: none;
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 14px;
    box-shadow: var(--shadow-md);
}

.newsletter-form .form-control:focus {
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
}

.newsletter-form .btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-form .btn:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* ============================================
   18. FOOTER
   ============================================ */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    position: relative;
}

.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-brand .logo span {
    color: var(--primary);
}

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

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

.footer-links li a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links li a i {
    font-size: 8px;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links li a:hover i {
    opacity: 1;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a.facebook:hover { background: #1877f2; color: #fff; }
.footer-social a.instagram:hover { background: #e4405f; color: #fff; }
.footer-social a.twitter:hover { background: #1da1f2; color: #fff; }
.footer-social a.youtube:hover { background: #ff0000; color: #fff; }

/* Footer App Download */
.footer-app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: #fff;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-app-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-2px);
}

.footer-app-btn i {
    font-size: 24px;
}

.footer-app-btn .btn-text {
    line-height: 1.2;
}

.footer-app-btn .btn-text small {
    font-size: 10px;
    opacity: 0.7;
    display: block;
}

.footer-app-btn .btn-text strong {
    font-size: 14px;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-payment-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-right: 8px;
}

.footer-payment img {
    height: 28px;
    opacity: 0.7;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.footer-payment img:hover {
    opacity: 1;
}

.footer-cargo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-cargo img {
    height: 24px;
    opacity: 0.5;
    transition: var(--transition);
}

.footer-cargo img:hover {
    opacity: 0.8;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-copyright a {
    color: var(--primary);
}

.footer-copyright a:hover {
    color: var(--primary-light);
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 40px 0 24px;
    }

    .footer-title {
        margin-top: 24px;
    }

    .footer-copyright {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   19. BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

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

.breadcrumb-custom li a {
    color: var(--text-secondary);
}

.breadcrumb-custom li a:hover {
    color: var(--primary);
}

.breadcrumb-custom li.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-custom .separator {
    color: var(--text-light);
    font-size: 10px;
}

/* ============================================
   20. SIDEBAR FILTERS (Category/Search Page)
   ============================================ */
.sidebar-filter {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0;
    position: sticky;
    top: 80px;
}

.filter-group {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-group-title i {
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.filter-group.collapsed .filter-group-title i {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-group-body {
    display: none;
}

/* Filter Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.filter-checkbox label {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    flex: 1;
}

.filter-checkbox .count {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1px 6px;
    border-radius: 10px;
}

/* Price Range Slider */
.price-range-slider {
    padding: 10px 0;
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.price-range-inputs input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-align: center;
}

.price-range-inputs .separator {
    color: var(--text-light);
    flex-shrink: 0;
}

/* Custom range input */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.3);
}

/* Color Swatches */
.filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-swatch:hover,
.color-swatch.active {
    border-color: var(--primary);
    transform: scale(1.15);
}

.color-swatch.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Filter Search */
.filter-search {
    margin-bottom: 12px;
}

.filter-search input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

/* Mobile Filter Toggle */
.filter-toggle-btn {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 16px;
    z-index: var(--z-fixed);
    padding: 12px 20px;
    background: var(--secondary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
}

@media (max-width: 991.98px) {
    .filter-toggle-btn {
        display: inline-flex;
    }

    .sidebar-filter {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: var(--z-modal);
        overflow-y: auto;
        transition: var(--transition);
        border-radius: 0;
        border: none;
    }

    .sidebar-filter.show {
        left: 0;
        box-shadow: var(--shadow-xl);
    }
}

/* ============================================
   21. PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-section {
    padding: 30px 0;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 80px;
}

.product-gallery-main {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    background: var(--bg-white);
}

.product-gallery-main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 20px;
    cursor: zoom-in;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Product Info */
.product-detail-info {
    padding-left: 20px;
}

.product-detail-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    margin-bottom: 12px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.product-detail-rating .rating-stars i {
    font-size: 14px;
}

.product-detail-rating .rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-detail-rating .rating-text strong {
    color: var(--text-primary);
}

.product-detail-price-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.product-detail-price-old {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.product-detail-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.product-detail-price .currency {
    font-size: 20px;
}

.product-detail-discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--danger);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 10px;
}

.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 8px;
}

.product-detail-stock.in-stock {
    color: var(--success);
}

.product-detail-stock.out-of-stock {
    color: var(--danger);
}

/* Variants */
.product-variants {
    margin-bottom: 20px;
}

.variant-group {
    margin-bottom: 16px;
}

.variant-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    background: var(--bg-white);
}

.variant-option:hover {
    border-color: var(--primary);
}

.variant-option.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}

.variant-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.quantity-btn:hover {
    background: var(--primary);
    color: #fff;
}

.quantity-input {
    width: 56px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    background: var(--bg-white);
}

.quantity-input:focus {
    box-shadow: none !important;
    border-color: var(--border) !important;
}

/* Add to Cart Area */
.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-detail-actions .btn-add-cart {
    flex: 1;
    padding: 14px 28px;
    font-size: 15px;
    min-width: 200px;
}

.product-detail-actions .btn-buy-now {
    padding: 14px 28px;
    font-size: 15px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border);
    gap: 0;
}

.product-tabs .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.product-tabs .nav-tabs .nav-link:hover {
    color: var(--primary);
}

.product-tabs .nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

.product-tabs .tab-content {
    padding: 24px 0;
}

.product-tabs .tab-pane {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Reviews */
.review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.review-meta {
    flex: 1;
}

.review-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 991.98px) {
    .product-detail-info {
        padding-left: 0;
        margin-top: 24px;
    }
}

/* ============================================
   22. CART PAGE
   ============================================ */
.cart-section {
    padding: 30px 0 60px;
}

.cart-table {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 1fr 120px 140px 100px 50px;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr 120px 140px 100px 50px;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

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

.cart-item-product {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--text-light);
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
}

.cart-item-remove:hover {
    color: var(--danger);
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.cart-summary-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.cart-summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary-row.total .amount {
    color: var(--primary);
    font-size: 22px;
}

.cart-summary .btn-checkout {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    font-size: 15px;
}

.cart-coupon {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cart-coupon-form {
    display: flex;
    gap: 8px;
}

.cart-coupon-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .cart-table-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================================
   23. CHECKOUT
   ============================================ */
.checkout-section {
    padding: 30px 0 60px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    position: relative;
}

.checkout-step::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--border);
}

.checkout-step:last-child::after {
    display: none;
}

.checkout-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.checkout-step .step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.checkout-step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.checkout-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.checkout-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.checkout-step.completed .step-label {
    color: var(--success);
}

.checkout-step.completed::after {
    background: var(--success);
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-card-title i {
    color: var(--primary);
}

/* ============================================
   24. USER DASHBOARD
   ============================================ */
.dashboard-section {
    padding: 30px 0 60px;
}

.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.dashboard-user-info {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
}

.dashboard-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 12px;
    border: 3px solid rgba(255,255,255,0.2);
}

.dashboard-user-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.dashboard-user-email {
    font-size: 12px;
    opacity: 0.7;
}

.dashboard-menu {
    padding: 8px 0;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dashboard-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.dashboard-menu a.active {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.dashboard-menu a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
}

.dashboard-menu a:hover i,
.dashboard-menu a.active i {
    color: var(--primary);
}

.dashboard-menu .divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* Dashboard Content */
.dashboard-content {
    padding-left: 20px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.dashboard-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.dashboard-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dashboard-stat-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.dashboard-stat-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 991.98px) {
    .dashboard-content {
        padding-left: 0;
        margin-top: 20px;
    }
}

/* ============================================
   25. AUTH PAGES (Login / Register)
   ============================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-banner {
    flex: 1;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-banner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.auth-banner::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.auth-banner-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.auth-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.auth-banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 400px;
}

.auth-banner-content .auth-illustration {
    max-width: 320px;
    margin: 30px auto 0;
    opacity: 0.9;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--bg-white);
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-header {
    margin-bottom: 32px;
}

.auth-form-header .logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.auth-form-header .logo-text span {
    color: var(--primary);
}

.auth-form-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.auth-form-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-control {
    padding: 12px 16px;
    font-size: 14px;
}

.auth-form .btn-primary {
    padding: 14px;
    font-size: 15px;
    width: 100%;
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: var(--transition);
    cursor: pointer;
}

.auth-social-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-social-btn img {
    width: 20px;
    height: 20px;
}

.auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 24px;
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* Auth Tabs (Register) */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.auth-tab.active {
    background: var(--primary);
    color: #fff;
}

.auth-tab:hover:not(.active) {
    background: var(--border);
}

@media (max-width: 991.98px) {
    .auth-banner {
        display: none;
    }

    .auth-form-side {
        padding: 24px;
    }
}

/* ============================================
   26. PAGINATION
   ============================================ */
.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 30px 0;
}

.pagination-custom .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    background: var(--bg-white);
}

.pagination-custom .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-custom .page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination-custom .page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-custom .page-dots {
    padding: 0 8px;
    color: var(--text-light);
}

/* ============================================
   27. TOAST / NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    min-width: 320px;
    max-width: 420px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary);
    animation: slideInRight 0.3s ease;
    pointer-events: auto;
    position: relative;
}

.toast-notification.toast-success {
    border-left-color: var(--success);
}

.toast-notification.toast-error {
    border-left-color: var(--danger);
}

.toast-notification.toast-warning {
    border-left-color: var(--warning);
}

.toast-notification.toast-info {
    border-left-color: var(--info);
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast-success .toast-icon { background: var(--success-light); color: var(--success); }
.toast-error .toast-icon { background: var(--danger-light); color: var(--danger); }
.toast-warning .toast-icon { background: var(--warning-light); color: var(--warning); }
.toast-info .toast-icon { background: var(--info-light); color: var(--info); }

.toast-content {
    flex: 1;
}

.toast-content .toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toast-content .toast-message {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.toast-close {
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
    position: absolute;
    top: 8px;
    right: 10px;
}

.toast-close:hover {
    color: var(--text-primary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 var(--radius) 0;
    animation: toastProgress linear forwards;
}

/* ============================================
   28. MODALS
   ============================================ */
.modal-custom .modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-custom .modal-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}

.modal-custom .modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.modal-custom .modal-body {
    padding: 24px;
}

.modal-custom .modal-footer {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}

.modal-custom .btn-close:focus {
    box-shadow: none;
}

/* Quick View Modal */
.quick-view-modal .modal-dialog {
    max-width: 800px;
}

.quick-view-modal .modal-body {
    padding: 0;
}

/* Confirm Dialog */
.confirm-dialog {
    text-align: center;
    padding: 30px;
}

.confirm-dialog .confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.confirm-dialog .confirm-icon.warning {
    background: var(--warning-light);
    color: var(--warning);
}

.confirm-dialog .confirm-icon.danger {
    background: var(--danger-light);
    color: var(--danger);
}

.confirm-dialog h5 {
    font-size: 18px;
    margin-bottom: 8px;
}

.confirm-dialog p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.confirm-dialog .confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ============================================
   29. LOADING / SKELETON
   ============================================ */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 24px;
    height: 24px;
    border-width: 2px;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-image {
    padding-top: 100%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.skeleton-card {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hide {
    opacity: 0;
    pointer-events: none;
}

.page-loader-content {
    text-align: center;
}

.page-loader-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.page-loader-logo span {
    color: var(--primary);
}

/* ============================================
   30. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-primary);
    cursor: pointer;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

/* ============================================
   31. MOBILE BOTTOM NAVIGATION
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    z-index: var(--z-fixed);
    padding: 6px 0;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item .mobile-badge {
    position: absolute;
    top: 0;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 65px;
    }

    .back-to-top {
        bottom: 80px;
    }
}

/* ============================================
   32. COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 20px;
    z-index: var(--z-toast);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: var(--transition-slow);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.cookie-consent p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent .cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   33. BLOG / ARTICLES PREVIEW
   ============================================ */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-card-body {
    padding: 18px;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* ============================================
   34. EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-light);
    margin: 0 auto 20px;
}

.empty-state h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 20px;
}

/* ============================================
   35. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

/* Animate on scroll classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* ============================================
   36. RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 1399.98px) {
    :root {
        --section-padding: 50px;
    }
}

@media (max-width: 1199.98px) {
    :root {
        --section-padding: 45px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 40px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    .section-title { font-size: 20px; }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 32px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .section-title { font-size: 18px; }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding: 24px;
    }

    h1 { font-size: 1.35rem; }
}

/* ============================================
   37. PRINT STYLES
   ============================================ */
@media print {
    .top-bar,
    .main-header,
    .navbar-main,
    .site-footer,
    .back-to-top,
    .mobile-bottom-nav,
    .cookie-consent,
    .toast-container {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .product-card {
        break-inside: avoid;
    }
}

/* ============================================
   38. SEARCH RESULTS PAGE
   ============================================ */
.search-results-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 24px;
}

.search-query-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.search-query-text strong {
    color: var(--text-primary);
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px 20px;
    margin-bottom: 20px;
}

.sort-bar .result-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-options label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sort-options select {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-toggle-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================
   39. CAMPAIGN / DEAL BADGES
   ============================================ */
.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.campaign-badge.flash {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.campaign-badge.coupon {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success);
}

.campaign-badge.limited {
    background: var(--warning-light);
    color: #b7791f;
    border: 1px solid var(--warning);
}

/* ============================================
   40. COMPARE TABLE
   ============================================ */
.compare-table {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: auto;
}

.compare-table table {
    width: 100%;
    min-width: 600px;
}

.compare-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.compare-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.compare-product-cell {
    text-align: center;
    min-width: 200px;
}

.compare-product-cell img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 12px;
}

/* ============================================
   41. ALERT / INFO BOXES
   ============================================ */
.alert-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-custom i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-custom.alert-info {
    background: var(--info-light);
    color: var(--info);
    border: 1px solid rgba(84, 160, 255, 0.2);
}

.alert-custom.alert-success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.alert-custom.alert-warning {
    background: var(--warning-light);
    color: #b7791f;
    border: 1px solid rgba(254, 202, 87, 0.3);
}

.alert-custom.alert-danger {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* ============================================
   42. TAGS & CHIPS
   ============================================ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tag .tag-remove {
    cursor: pointer;
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.5;
}

.tag .tag-remove:hover {
    opacity: 1;
    color: var(--danger);
}

/* ============================================
   43. ORDER STATUS TIMELINE
   ============================================ */
.order-timeline {
    position: relative;
    padding: 20px 0;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.timeline-dot {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.timeline-item.active .timeline-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.timeline-content h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   44. TABLES (Orders, etc.)
   ============================================ */
.table-custom {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.table-custom thead th {
    background: var(--bg-light);
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table-custom tbody td {
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-custom tbody tr:hover {
    background: var(--bg-light);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: var(--warning-light); color: #b7791f; }
.status-processing { background: var(--info-light); color: var(--info); }
.status-shipped { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.status-delivered { background: var(--success-light); color: var(--success); }
.status-cancelled { background: var(--danger-light); color: var(--danger); }

/* ============================================
   END OF STYLESHEET
   ============================================ */
