/* Custom styles for Loop */

/* ===============================================
   COLOR THEME VARIABLES
   =============================================== */
:root {
    /* Primary Colors - Updated to Match the Logo Red */
    /* Based on the vibrant right side of the infinity loop */
    --primary-color: #ff0000;      /* Vibrant Red */
    --primary-dark: #cc0000;       /* Darker Red (for hovers/buttons) */
    --primary-light: rgba(255, 0, 0, 0.1); /* Very faint red for backgrounds */
    
    /* Text Colors - Darkened to match the Black "L" and "P" */
    --text-dark: #000000;          /* Pure Black (Logo Match) */
    --text-medium: #333333;        /* Dark Grey */
    --text-light: #666666;         /* Medium Grey */
    --text-lighter: #999999;       /* Light Grey */
    --text-muted: #999999;         /* Muted text (alias for lighter) */
    
    /* Background Colors - Kept neutral to let the Red/Black pop */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafafa;
    --bg-gray: #f0f0f0;
    
    /* Border Colors */
    --border-light: #efefef;
    --border-medium: #e9ecef;
    --border-dark: #e0e0e0;
    --border-darker: #dbdbdb;
    --border-input: #dee2e6;
    
    /* Shadow Colors - Updated tint to Red */
    --shadow-sm: rgba(0, 0, 0, 0.04);
    --shadow-md: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --shadow-xl: rgba(0, 0, 0, 0.2);
    /* Primary shadows now reflect the red brand color */
    --shadow-primary: rgba(255, 0, 0, 0.3); 
    --shadow-primary-lg: rgba(255, 0, 0, 0.4);
    
    /* Overlay Colors */
    --overlay-dark: rgba(0, 0, 0, 0.1);
    
    /* Hero Dots */
    --dot-inactive: rgba(0, 0, 0, 0.2); /* Changed to dark grey for better visibility on white */
    --dot-active: #ff0000;              /* Active dot matches the Red logo accent */
    
    /* Spacing (Unchanged) */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-pill: 25px;
    --border-radius-circle: 50%;
}

/* ===============================================
   SHARED/GLOBAL STYLES
   =============================================== */

/* Section Title - Used across multiple sections */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Common Card Styles */
.card-container {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.card-container-sm {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

/* Common Button Base Styles */
.btn-primary-red {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Utility Classes */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Avatar Base Styles */
.avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
}

.avatar-md {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
}

.avatar-lg {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Mobile Header */
.mobile-header {
    background: #f8f9fa;
    padding: 12px 16px 8px;
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile-logo {
    display: block;
}

.mobile-logo img {
    height: 32px;
    width: auto;
}

.mobile-user-icon {
    font-size: 1.75rem;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
}

/* Scrollable Categories */
.mobile-categories-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 12px;
}

.mobile-categories-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-categories-wrapper {
    display: flex;
    gap: 16px;
    white-space: nowrap;
    padding: 4px 0;
}

.mobile-category-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s;
}

.mobile-category-link.active {
    color: #000;
    font-weight: 700;
}

.mobile-category-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

/* Mobile Search Bar */
.mobile-search-bar {
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
    border: 1px solid #e0e0e0;
}

.mobile-search-bar i {
    font-size: 1.125rem;
    color: #999;
}

.mobile-search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.9375rem;
    color: #333;
}

.mobile-search-bar input::placeholder {
    color: #bbb;
}

/* Desktop Search Bar (Below Categories) */
.desktop-search-section {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.desktop-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
    border: 1px solid #e0e0e0;
}

.desktop-search-wrapper i {
    font-size: 1.125rem;
    color: #666;
}

.desktop-search-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 0.9375rem;
    color: #333;
}

.desktop-search-input::placeholder {
    color: #999;
}

/* Mega Menu */
.mega-menu-item {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    max-width: 900px;
    background: white;
    border: 1px solid var(--border-light);
    border-top: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: flex;
    min-height: 400px;
}

.mega-menu-categories {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid var(--border-light);
    padding: 15px 0;
}

.mega-menu-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.mega-menu-category-item:hover {
    background: white;
    color: var(--primary-color);
}

.mega-menu-category-item.active {
    background: white;
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.mega-menu-category-item i:first-child {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.mega-menu-category-item .bi-chevron-right {
    font-size: 0.75rem;
    color: var(--text-light);
}

.mega-menu-subcategories {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
    max-height: 500px;
}

.mega-menu-subcategories-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mega-menu-subcategories-grid.active-subcategory {
    display: grid;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-subcat-item {
    padding: 8px 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9375rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s;
}

.mega-menu-subcat-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 16px;
}

.mega-menu-subcat-item:first-child {
    font-weight: 600;
    margin-bottom: 4px;
}

/* Mobile Menu Expansion */
.mobile-menu-item-expandable {
    list-style: none;
}

.mobile-menu-expandable-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.mobile-menu-chevron,
.mobile-submenu-chevron {
    font-size: 0.875rem;
    transition: transform 0.3s;
}

.mobile-menu-chevron.rotated,
.mobile-submenu-chevron.rotated {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    margin-top: 8px;
}

.mobile-submenu-item-expandable {
    list-style: none;
    margin-bottom: 8px;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s;
    border-radius: var(--border-radius-md);
}

.mobile-submenu-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-submenu-expandable-trigger {
    cursor: pointer;
    user-select: none;
}

.mobile-subsubmenu {
    display: none;
    padding-left: 15px;
    margin-top: 8px;
    list-style: none;
}

.mobile-subsubmenu li {
    margin-bottom: 4px;
}

.mobile-subsubmenu-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
    border-radius: var(--border-radius-sm);
}

.mobile-subsubmenu-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 20px;
}

/* Logo styling */
.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
}

/* Desktop Navigation Layout */
.desktop-left-nav {
    flex: 1;
    justify-content: flex-start;
}

.desktop-right-nav {
    flex: 1;
    justify-content: flex-end;
}

/* Catalog button */
.catalog-btn {
    border: none;
    background-color: transparent !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.catalog-btn:hover {
    background-color: var(--bg-light) !important;
}

/* Search container */
.search-container {
    max-width: 500px;
    flex: 1;
}

.search-input {
    border-left: none !important;
}

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

.input-group-text {
    border-right: none !important;
}

.search-input:focus + .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: var(--border-input);
}

/* Auth links */
.auth-links,
.auth-links-mobile {
    font-size: 0.95rem;
    font-weight: 500;
}

.auth-links a,
.auth-links-mobile a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover,
.auth-links-mobile a:hover {
    color: var(--primary-color) !important;
}

/* Sell now button */
.sell-now-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-sm);
}

.sell-now-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Desktop Right Nav Alignment */
.desktop-right-nav {
    gap: 5px;
    align-items: center;
}

.desktop-right-nav .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
}

.desktop-right-nav .btn-link i {
    margin: 0;
}

.desktop-right-nav .position-relative {
    display: inline-flex;
}

/* Language button */
.language-btn {
    border: none;
    background-color: transparent !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.language-btn:hover {
    background-color: var(--bg-light) !important;
}

/* Icon buttons */
.btn-link {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

.btn-link:hover {
    color: var(--primary-color) !important;
}

/* Secondary Navigation */
.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Center category navigation */
.navbar-nav.mx-auto {
    justify-content: center;
}

/* Mobile Categories in Main Menu */
.mobile-categories {
    width: 100%;
}

.mobile-categories .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

/* Mobile Offcanvas Menu Styles */
.offcanvas {
    max-width: 320px;
}

.offcanvas-header {
    background-color: var(--bg-light);
}

.offcanvas-title {
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-auth-section {
    padding: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-link {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

/* Mobile Search Icon */
.btn-link {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

.btn-link:hover {
    color: var(--primary-color) !important;
}

/* Mobile Search Collapse - Removed */

/* Smart Search Modal Styles */
.search-modal-content {
    border-radius: var(--border-radius-xl);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.modal-header .btn-close {
    font-size: 0.875rem;
}

.search-modal-input-wrapper {
    margin-bottom: 1.25rem;
}

.search-modal-input {
    border: 1.5px solid var(--border-medium);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-modal-input:focus-within {
    border-color: var(--primary-color);
}

.search-modal-input .input-group-text {
    background: white;
    border: none;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
}

.search-modal-input .form-control {
    border: none;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
}

.search-modal-input .form-control:focus {
    box-shadow: none;
}

.search-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-modal-btn {
    flex: 1;
    padding: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius-md);
}

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

.search-modal-actions .btn-outline-secondary {
    flex: 1;
    padding: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: 1.5px solid var(--border-dark);
}

.search-modal-actions .btn-outline-secondary:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.popular-searches-section {
    margin-top: 1.5rem;
}

.popular-searches-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-searches-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.popular-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--border-radius-pill);
    color: var(--text-dark);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Search Suggestions */
.search-suggestions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.suggestions-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li {
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestions-list li:hover {
    background-color: var(--bg-light);
}

.suggestions-list li i {
    color: var(--text-lighter);
}

/* Modal Backdrop */
.modal-backdrop.show {
    opacity: 0.7;
}

/* General styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Mobile Bottom Padding for Fixed Navigation */
@media (max-width: 767px) {
    body {
        padding-bottom: 65px;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-brand {
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
    }
    
    .sell-now-btn {
        width: 100%;
    }
    
    /* Remove navbar toggler default styles */
    .navbar-toggler {
        border: none;
        padding: 0.25rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 140px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* Hero Carousel Styles */
.hero-carousel-section {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: var(--overlay-dark);
}

.hero-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 420px;
    box-shadow: 0 4px 12px var(--shadow-lg);
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.btn-hero {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 12px 0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    width: 100%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

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

.hero-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    display: none !important;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-carousel .owl-dot {
    display: inline-block;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: var(--dot-inactive);
    display: block;
    border-radius: var(--border-radius-circle);
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span {
    background: var(--dot-active);
    width: 14px;
    height: 14px;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero-slide {
        height: 500px;
    }
    
    .hero-card {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 24px !important;
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 450px;
    }
    
    .hero-card {
        padding: 25px 20px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
}

/* ===============================================
   LOOP-STYLE PRODUCT CARDS
   =============================================== */

.products-section {
    padding: 50px 0;
    background-color: var(--bg-lighter);
}

.loop-product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    margin-bottom: 20px;
}

.loop-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.loop-product-image {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio */
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 8px;
}

.loop-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loop-seller-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    margin-bottom: 4px;
}

.loop-seller-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loop-seller-avatar i {
    font-size: 28px;
    color: #999;
}

.loop-seller-details {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.loop-seller-name {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
}

.loop-verified-icon {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.loop-seller-location {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 0 16px;
    margin-bottom: 12px;
}

.loop-product-info {
    padding: 0 16px 16px 16px;
}

.loop-brand {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loop-product-title {
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loop-product-details {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.loop-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loop-price-original {
    font-size: 0.9375rem;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.loop-price-current {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.loop-price-note {
    font-size: 0.8125rem;
    color: var(--text-lighter);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 3px;
}

.loop-price-note i {
    font-size: 0.9375rem;
}

/* Responsive for Loop Cards */
@media (max-width: 767px) {
    .loop-product-card {
        border-radius: 6px;
        margin-bottom: 16px;
    }
    
    .loop-product-image {
        margin-bottom: 6px;
    }
    
    .loop-seller-info {
        padding: 0 8px;
        margin-bottom: 3px;
        gap: 6px;
    }
    
    .loop-seller-avatar {
        width: 20px;
        height: 20px;
    }
    
    .loop-seller-avatar i {
        font-size: 20px;
    }
    
    .loop-seller-name {
        font-size: 0.75rem;
    }
    
    .loop-verified-icon {
        font-size: 0.65rem;
    }
    
    .loop-seller-location {
        padding: 0 8px;
        margin-bottom: 8px;
        font-size: 0.75rem;
    }
    
    .loop-product-info {
        padding: 0 8px 10px 8px;
    }
    
    .loop-brand {
        font-size: 0.8125rem;
        margin-bottom: 2px;
    }
    
    .loop-product-title {
        font-size: 0.8125rem;
        margin-bottom: 4px;
    }
    
    .loop-product-details {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .loop-pricing {
        gap: 6px;
    }
    
    .loop-price-current {
        font-size: 1rem;
    }
    
    .loop-price-original {
        font-size: 0.8125rem;
    }
    
    .loop-price-note {
        font-size: 0.6875rem;
        gap: 2px;
    }
    
    .loop-price-note i {
        font-size: 0.75rem;
    }
}

/* Legacy Instagram-style classes kept for backward compatibility */
.insta-product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-darker);
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    overflow: hidden;
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 40px;
    color: var(--text-lighter);
}

.user-info {
    flex: 1;
}

.user-name-verified {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.verified-icon {
    color: var(--primary-color);
    font-size: 1rem;
}

.user-location {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.seller-link {
    cursor: pointer;
}

.seller-link:hover .user-name {
    text-decoration: underline;
}

.btn-follow {
    background: none;
    border: 1px solid var(--border-darker);
    padding: 6px 16px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.btn-follow:hover {
    background: var(--bg-gray);
}

.btn-follow.following {
    background: var(--border-light);
    color: var(--text-dark);
}

.btn-follow-mobile {
    display: none;
}

.btn-follow-desktop {
    display: inline-block;
}

.btn-more-options {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.btn-more-options:hover {
    color: var(--text-lighter);
}

.card-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--bg-lighter);
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.action-left {
    display: flex;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.action-btn:hover {
    color: var(--text-lighter);
}

.btn-like:hover {
    color: #ed4956;
}

.card-content {
    padding: 12px 16px;
}

.product-brand {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.insta-product-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--bg-lighter);
}

.insta-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 12px 16px;
    text-align: left;
}

.brand-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    text-align: left;
}

.product-name {
    color: var(--text-dark);
    font-size: 0.9rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.product-details {
    color: var(--text-lighter);
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.card-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.price-current {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.price-note {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

/* Responsive for Instagram Cards */
@media (max-width: 767px) {
    .insta-product-card {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .card-header-user {
        padding: 10px 12px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .user-avatar i {
        font-size: 32px;
    }
    
    .user-name {
        font-size: 0.875rem;
    }
    
    .user-location {
        font-size: 0.75rem;
    }
    
    .btn-follow-desktop {
        display: none !important;
    }
    
    .btn-follow-mobile {
        display: block !important;
        width: calc(100% - 24px);
        margin: 12px 12px 0;
        padding: 10px 16px;
        font-size: 0.875rem;
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .btn-follow-mobile:hover {
        background: #c82333;
    }
    
    .card-content {
        padding: 10px 12px;
    }
    
    .product-brand {
        font-size: 0.875rem;
    }
    
    .product-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .product-details {
        font-size: 0.75rem;
    }
    
    .product-pricing {
        margin-top: 6px;
    }
    
    .price-original {
        font-size: 0.8rem;
    }
    
    .price-current {
        font-size: 0.95rem;
    }
}

/* Categories and Brands Section */
.categories-brands-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.section-card {
    background: var(--bg-white);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    height: 100%;
    box-shadow: 0 2px 8px var(--shadow-sm);
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 4px 16px var(--shadow-md);
    transform: translateY(-2px);
}

/* Section title styling removed - now using global .section-title */

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-medium);
    border-radius: var(--border-radius-pill);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tag i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.category-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.category-tag:hover i {
    color: white;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 2px solid var(--border-medium);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.brand-icon i {
    font-size: 1.5rem;
    color: white;
}

.brand-bubble {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-circle);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

/* Brand Card Label */
.brand-card-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.brand-card:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px var(--shadow-primary);
}

.brand-card:hover .brand-icon {
    background: white;
}

.brand-card:hover .brand-icon i {
    color: var(--primary-color);
}

.brand-card:hover .brand-bubble {
    background: white;
}

.brand-card:hover .brand-card-label {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-card {
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 767px) {
    .categories-brands-section {
        padding: 40px 0;
    }
    
    .section-card {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .category-tags {
        gap: 10px;
    }
    
    .category-tag {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .brand-card {
        padding: 20px 10px;
        min-height: 100px;
    }
}

/* Featured Products Carousel Section */
.featured-products-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.products-carousel .owl-stage-outer {
    padding: 20px 0;
}

.carousel-product-item {
    padding: 0 10px;
}

/* Owl Carousel Navigation for Products */
.products-carousel .owl-nav {
    display: none !important;
}

.products-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.products-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.products-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--border-darker);
    display: block;
    border-radius: var(--border-radius-circle);
    transition: all 0.3s ease;
}

.products-carousel .owl-dot.active span,
.products-carousel .owl-dot:hover span {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
}

/* Responsive for Featured Products */
@media (max-width: 991px) {
    .featured-products-section {
        padding: 40px 0;
    }
    
    .featured-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .products-carousel .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .products-carousel .owl-nav button.owl-next {
        right: -15px;
    }
}

@media (max-width: 767px) {
    .featured-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .products-carousel .owl-nav button.owl-prev,
    .products-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 22px !important;
    }
    
    .products-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    
    .products-carousel .owl-nav button.owl-next {
        right: -10px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-dark);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-logo-section {
    margin-bottom: 30px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.footer-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-contact-item strong {
    margin-right: 5px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-dark);
    background-color: var(--bg-white);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.support-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.support-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-primary-lg);
}

.footer-subscribe {
    margin-top: 10px;
}

.footer-subscribe p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-support {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .footer-logo-section {
        text-align: center;
    }
    
    .footer-logo-link {
        display: block;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 45px;
    }
    
    .footer-heading {
        margin-top: 30px;
    }
    
    .footer-copyright {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* ===============================================
   AUTH PAGES STYLES (Login & Signup)
   =============================================== */

.auth-section {
    padding: 60px 0;
    background-color: var(--bg-lighter);
    min-height: calc(100vh - 200px);
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    width: 100%;
    max-width: 480px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
}

/* Social Login */
.social-login {
    margin-bottom: 1.5rem;
}

.btn-social-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: white;
    border: 2px solid var(--border-medium);
    border-radius: var(--border-radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social-login:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.btn-social-login svg {
    flex-shrink: 0;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

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

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Auth Form */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--border-medium);
    border-radius: var(--border-radius-md);
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.auth-form small {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--text-dark);
}

/* Checkboxes */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.125rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-wrapper span {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.checkbox-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Form Options (Remember me / Forgot password) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form-options .checkbox-wrapper {
    margin-bottom: 0;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-auth-submit {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: white;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-auth-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9375rem;
    color: var(--text-medium);
}

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

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-section {
        padding: 40px 15px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-subtitle {
        font-size: 0.9375rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===============================================
   SELLER PROFILE PAGE STYLES
   =============================================== */
.seller-profile-section {
    padding: 40px 0;
    background-color: var(--bg-lighter);
}

.seller-header-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

/* Seller Avatar */
.seller-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.seller-avatar,
.seller-avatar-profile {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
    border: 4px solid var(--bg-light);
}

.seller-verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid white;
}

/* Seller Info */
.seller-info {
    padding-left: 20px;
}

.seller-name-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Seller Profile - Seller Name */
.seller-profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.verified-by-loop-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-primary);
}

.verified-by-loop-badge i {
    font-size: 1.1rem;
}

.seller-location,
.seller-member-since {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.seller-location i,
.seller-member-since i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Seller Stats */
.seller-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Seller Buttons */
.seller-follow-btn,
.seller-message-btn {
    width: 100%;
    padding: 0.75rem 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-md);
}

.seller-follow-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.seller-follow-btn:hover {
    background-color: var(--primary-dark);
}

.seller-message-btn {
    border: 2px solid var(--border-medium);
}

/* About Section */
.seller-about-section {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.seller-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.seller-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    color: var(--text-medium);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Reviews Section */
.seller-reviews-section {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Review Items */
.reviews-list {
    margin-bottom: 1.5rem;
}

.review-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-stars {
    display: flex;
    gap: 0.15rem;
}

.review-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

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

.review-text {
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

.view-all-reviews-btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
}

/* Seller Products Section */
.seller-products-section {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.load-more-btn {
    padding: 0.75rem 3rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
}

/* Responsive Seller Page */
@media (max-width: 991px) {
    .seller-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .seller-header-card {
        padding: 30px 20px;
    }
    
    .seller-avatar,
    .seller-avatar-profile {
        width: 120px;
        height: 120px;
    }
    
    .seller-profile-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .seller-name-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .verified-by-loop-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
    
    .seller-info {
        padding-left: 0;
        text-align: center;
    }
    
    .seller-location,
    .seller-member-since {
        text-align: center;
    }
    
    .seller-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .seller-quick-info {
        grid-template-columns: 1fr;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ===============================================
   PRODUCT DETAIL PAGE STYLES
   =============================================== */

/* Product Detail Section */
.product-detail-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

.product-images-wrapper {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 1rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

/* Main Image Carousel */
.product-main-carousel {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.product-image-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.product-main-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-dark) !important;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.product-main-carousel .owl-nav button:hover {
    background: var(--bg-white) !important;
    transform: scale(1.1);
}

/* Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 10px;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 80px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail-item:hover {
    border-color: var(--border-medium);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Favorite Button */
.product-favorite-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.product-favorite-btn i {
    font-size: 1.125rem;
}

.product-favorite-btn:hover {
    background: var(--bg-white);
    transform: scale(1.05);
}

.product-favorite-btn.active {
    color: var(--primary-color);
}

.favorite-count {
    font-size: 0.875rem;
}

/* Product Details */
.product-details-wrapper {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.product-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

/* Pricing with Buyer Protection */
.product-pricing-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.9375rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.discount-badge {
    background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buyer Protection Inline */
.buyer-protection-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    color: #2e7d32;
}

.buyer-protection-inline i {
    font-size: 0.8125rem;
}

/* Seller Info */
.product-seller-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

/* Product Detail - Seller Avatar (smaller) */
.product-detail-seller-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.product-detail-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-details {
    flex: 1;
}

.seller-name-wrapper {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.125rem;
}

/* Product Detail - Seller Name */
.product-detail-seller-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-medium);
}

.seller-rating i {
    color: #ffa726;
    font-size: 0.75rem;
}

.btn-view-profile {
    padding: 0.4rem 0.875rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-view-profile:hover {
    background: var(--primary-dark);
    color: white;
}

/* Product Attributes */
.product-attributes {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.attribute-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.attribute-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.attribute-value {
    font-size: 0.8125rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.attribute-value i {
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Product Description */
.product-description {
    margin-bottom: 1rem;
}

.product-description h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-description p {
    font-size: 0.8125rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Shipping Info */
.shipping-info {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 0.875rem;
    margin-bottom: 1rem;
}

.shipping-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.shipping-row i {
    font-size: 1rem;
    color: var(--primary-color);
}

.discount-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.625rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: var(--border-radius-md);
    font-size: 0.75rem;
    color: #e65100;
    line-height: 1.4;
}

.discount-banner i {
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Action Buttons */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.product-actions button,
.product-actions a {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.product-actions a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-buy-now {
    background: var(--primary-color);
    color: white;
}

.btn-buy-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.btn-make-offer {
    background: var(--text-dark);
    color: white !important;
}

.btn-make-offer:hover:not(.disabled) {
    background: #1a1a1a;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-message-seller {
    background: var(--bg-white);
    color: var(--text-dark) !important;
    border: 2px solid var(--border-medium);
}

.btn-message-seller:hover:not(.disabled) {
    border-color: var(--text-dark);
    background: var(--bg-light);
    color: var(--text-dark) !important;
}

/* Mobile Sticky Actions */
/* Similar Products Section */
.similar-products-section {
    background-color: var(--bg-light);
    padding: 3rem 0 4rem;
}

/* Section title styling - uses global .section-title */

/* Responsive Design */
@media (max-width: 991px) {
    .product-details-wrapper {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.25rem;
    }

    .current-price {
        font-size: 1.375rem;
    }

    .original-price {
        font-size: 0.875rem;
    }

    .discount-badge {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    .buyer-protection-inline {
        font-size: 0.625rem;
    }

    .product-details-wrapper {
        padding: 1.25rem;
    }

    .product-seller-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }

    .seller-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .seller-name-wrapper {
        justify-content: center;
    }

    .btn-view-profile {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
    }
}

/* ===============================================
   CATEGORY PAGE STYLES
   =============================================== */

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: #fff;
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    margin-bottom: 0.75rem;
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-item.active {
    color: var(--text-dark);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Category Info Section */
.category-info-section {
    background-color: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

/* Quick Links */
.quick-links {
    margin-bottom: 2rem;
}

.quick-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.quick-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.search-results-help {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.search-results-help:hover {
    color: var(--primary-color);
}

.search-results-help i {
    font-size: 1rem;
}

/* Category Products Section */
.category-products-section {
    background-color: var(--bg-light);
    padding: 2rem 0 3rem;
}

/* Load More Button */
.btn-load-more {
    padding: 0.875rem 2.5rem;
    background-color: #fff;
    border: 2px solid var(--text-dark);
    border-radius: var(--border-radius-pill);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background-color: var(--text-dark);
    color: #fff;
}

/* Responsive Design for Category Page */
@media (max-width: 768px) {
    .category-title {
        font-size: 1.5rem;
    }

    .quick-link {
        margin-right: 1.5rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ===============================================
   DASHBOARD PAGE STYLES
   =============================================== */

/* Dashboard Section */
.dashboard-section {
    background-color: var(--bg-lighter);
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
}

.user-profile-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-circle);
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-dashboard {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Dashboard Navigation */
.dashboard-nav {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 0.75rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: 0.375rem;
    position: relative;
}

.dashboard-nav-item:last-child {
    margin-bottom: 0;
}

.dashboard-nav-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.dashboard-nav-item:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.dashboard-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.dashboard-nav-item.active i {
    color: white;
}

.nav-badge {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-nav-item.active .nav-badge {
    background: white;
    color: var(--primary-color);
}

.nav-logout {
    border-top: 1px solid var(--border-light);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.nav-logout:hover {
    background: #fee;
    color: #dc3545;
}

/* Dashboard Content */
.dashboard-content {
    background: transparent;
}

.dashboard-header {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Stats Cards */
.stat-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 1.25rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}

/* Sell Now CTA */
.sell-now-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-primary);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-sell-now-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-sell-now-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-sell-now-large i {
    font-size: 1.25rem;
}

/* Dashboard Inbox */
.dashboard-inbox {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.section-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title-dashboard {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Inbox Messages */
.inbox-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-lighter);
    transition: all 0.3s;
    cursor: pointer;
}

.message-item:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

.message-item.read {
    opacity: 0.7;
}

.message-avatar {
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header-inbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
    gap: 1rem;
}

.message-sender {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.message-text {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
}

.message-badge.unread {
    background: var(--primary-color);
    color: white;
}

/* Dashboard Inbox Section */
.dashboard-inbox-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.dashboard-messages-list {
    display: flex;
    flex-direction: column;
}

.dashboard-message-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

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

.dashboard-message-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    flex-shrink: 0;
}

.dashboard-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-message-content {
    flex: 1;
    min-width: 0;
}

.dashboard-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dashboard-message-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.dashboard-message-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.dashboard-message-text {
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.dashboard-message-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Responsive Dashboard Messages */
@media (max-width: 768px) {
    .dashboard-message-item {
        padding: 15px 0;
    }
    
    .dashboard-message-avatar {
        width: 50px;
        height: 50px;
    }
    
    .dashboard-message-name {
        font-size: 0.9375rem;
    }
    
    .dashboard-message-text {
        font-size: 0.875rem;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 8px 0 0px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 65px;
    border-radius: 20px 20px 0 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    transition: all 0.3s;
    position: relative;
    flex: 1;
    max-width: 80px;
}

.bottom-nav-item i {
    font-size: 1.6rem;
    color: #2d5a68;
}

.bottom-nav-item span {
    color: #2d3e50;
    font-size: 0.75rem;
    font-weight: 500;
}

.bottom-nav-item.active i {
    color: #1f6c7a;
}

.bottom-nav-item.active span {
    color: #1f6c7a;
}

/* Central Sell Button Styling with 3D Effect */
.bottom-nav-item.nav-sell-central {
    position: relative;
    margin-bottom: 10px;
    flex: 0 0 auto;
}

.sell-button-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 5px solid #ffffff;
    transform: translateY(-10px);
    gap: 0;
}

.sell-button-circle i {
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
    line-height: 1;
    margin-bottom: -2px;
}

.bottom-nav-item.nav-sell-central .sell-button-text {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
    margin-top: 2px;
}

.bottom-nav-item.nav-sell-central > span {
    display: none;
}

.bottom-nav-badge {
    position: absolute;
    top: -2px;
    right: 4px;
    background: #E53935;
    color: white;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 0.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 5px;
    border: 2px solid white;
}

/* Responsive Dashboard */
@media (max-width: 991px) {
    .dashboard-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 1rem 0 70px;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .dashboard-title {
        font-size: 1.25rem;
    }

    .dashboard-subtitle {
        font-size: 0.875rem;
    }

    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .sell-now-cta {
        padding: 1.5rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 1.125rem;
    }

    .cta-subtitle {
        font-size: 0.875rem;
    }

    .btn-sell-now-large {
        width: 100%;
        justify-content: center;
    }

    .dashboard-inbox {
        padding: 1.25rem;
    }

    .section-title-dashboard {
        font-size: 1.125rem;
    }

    .message-item {
        padding: 0.875rem;
    }
}

/* ===============================================
   END OF STYLES
   =============================================== 
   
   FILE STRUCTURE SUMMARY:
   -----------------------
   1. COLOR THEME VARIABLES (:root)
   2. SHARED/GLOBAL STYLES (section-title, card-container, btn-primary-red)
   3. HEADER & NAVIGATION
   4. HERO CAROUSEL
   5. PRODUCT CARDS (Instagram style)
   6. CATEGORIES & BRANDS SECTION
   7. FEATURED PRODUCTS CAROUSEL
   8. FOOTER
   9. AUTH PAGES (Login & Signup)
   10. SELLER PROFILE PAGE
   11. PRODUCT DETAIL PAGE
   12. CATEGORY PAGE
   
   NAMING CONVENTIONS:
   -------------------
   - Context-specific classes: .product-card-brand, .brand-card-label
   - Modular components: .card-container, .btn-primary-red
   - Responsive utilities: @media queries grouped by component
   - CSS variables: --primary-color, --text-dark, --shadow-sm
   
   BEST PRACTICES FOLLOWED:
   ------------------------
   ✓ No duplicate class names
   ✓ Consistent naming conventions
   ✓ CSS variables for theming
   ✓ Mobile-first responsive design
   ✓ Clear section organization
   ✓ DRY principle (Don't Repeat Yourself)
   
   =============================================== */

/* ===============================================
   MY PRODUCTS PAGE
   =============================================== */

/* Products Filter Tabs */
.products-filter-tabs-wrapper {
    margin-bottom: 25px;
    overflow: hidden;
}

.products-filter-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.products-filter-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.filter-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.filter-tab:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.filter-tab.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.my-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.my-product-item {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.my-product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.my-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.my-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-status.active {
    background: #34c759;
    color: white;
}

.product-status.sold {
    background: #8e8e93;
    color: white;
}

.product-status.draft {
    background: #ff9500;
    color: white;
}

.my-product-info {
    padding: 15px;
}

.my-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-product-details {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.my-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.my-product-actions {
    display: flex;
    gap: 8px;
}

.btn-action-sm {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-action-sm.btn-boost {
    border-color: #ff9500;
    color: #ff9500;
}

.btn-action-sm.btn-boost:hover {
    background: #ff9500;
    color: white;
    border-color: #ff9500;
}

.product-boosted-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff9500 0%, #ff9f0a 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4);
    animation: boostPulse 2s ease-in-out infinite;
}

.product-boosted-badge i {
    font-size: 0.875rem;
}

@keyframes boostPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4);
    }
    50% {
        box-shadow: 0 2px 16px rgba(255, 149, 0, 0.6);
    }
}

.btn-sell-now-large {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sell-now-large i {
    font-size: 1.25rem;
}

/* Responsive My Products */
@media (max-width: 768px) {
    .my-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .filter-tab {
        padding: 10px 18px;
        font-size: 0.875rem;
    }
    
    .dashboard-header {
        margin-bottom: 20px;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .dashboard-subtitle {
        font-size: 0.875rem;
    }
    
    .products-filter-tabs-wrapper {
        margin: 0 -1.5rem 20px;
        padding: 0 1.5rem;
    }
    
    .products-filter-tabs {
        gap: 8px;
        padding-bottom: 8px;
    }
    
    .btn-sell-now-large {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .my-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ===============================================
   PROFILE PAGE
   =============================================== */

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-section {
    background: white;
}

.profile-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.profile-photo-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.profile-photo-large {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    border: 4px solid var(--border-light);
    flex-shrink: 0;
}

.profile-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.profile-photo-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.photo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm-profile {
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-profile {
    background: white;
    border: 2px solid var(--border-light);
    color: var(--text-dark);
}

.btn-outline-profile:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.profile-form {
    display: flex;
    flex-direction: column;
}

.form-label-profile {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-input-profile {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input-profile:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.1);
}

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

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-photo-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .photo-actions {
        justify-content: center;
    }
}

/* ===============================================
   WISHLIST PAGE
   =============================================== */

.wishlist-section {
    background-color: var(--bg-lighter);
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .wishlist-section {
        padding: 1rem 0 70px;
    }
}

/* ===============================================
   WALLET PAGE
   =============================================== */

.wallet-balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-xl);
    padding: 35px;
    margin-bottom: 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.balance-label {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.balance-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.balance-actions {
    display: flex;
    gap: 12px;
}

.btn-withdraw {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    border: 2px solid white;
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-withdraw:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-wallet {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-wallet:hover {
    background: white;
    color: var(--primary-color);
}

.wallet-stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.wallet-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.wallet-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.wallet-stat-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.wallet-stat-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

.transactions-section {
    background: white;
}

.section-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title-dashboard {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.transaction-item:hover {
    background: #f0f0f0;
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.transaction-icon.success {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.transaction-icon.pending {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.transaction-icon.withdraw {
    background: rgba(88, 86, 214, 0.1);
    color: #5856d6;
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.transaction-desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.transaction-amount {
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.transaction-amount.success {
    color: #34c759;
}

.transaction-amount.pending {
    color: #ff9500;
}

.transaction-amount.withdraw {
    color: #5856d6;
}

/* Responsive Wallet */
@media (max-width: 768px) {
    .wallet-balance-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .balance-amount {
        font-size: 2.25rem;
    }
    
    .balance-actions {
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .balance-actions button {
        width: 100%;
    }
    
    .transaction-item {
        padding: 12px;
    }
    
    .transaction-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .transaction-amount {
        font-size: 1rem;
    }
}

/* ===============================================
   INBOX PAGE
   =============================================== */

.inbox-filter-buttons {
    display: flex;
    gap: 10px;
}

.btn-inbox-filter {
    padding: 8px 16px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-inbox-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-inbox-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.inbox-list-container {
    background: white;
    padding: 0;
}

.inbox-conversation-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.inbox-conversation-item:hover {
    background: var(--bg-light);
}

.inbox-conversation-item.unread {
    background: rgba(9, 132, 227, 0.03);
}

.inbox-conversation-item.unread:hover {
    background: rgba(9, 132, 227, 0.06);
}

.conversation-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-details {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.conversation-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.inbox-conversation-item.unread .conversation-name {
    color: var(--primary-color);
}

.conversation-time {
    font-size: 0.8125rem;
    color: var(--text-light);
    white-space: nowrap;
}

.conversation-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.conversation-type-badge.selling {
    background: var(--primary-color);
    color: white;
}

.conversation-type-badge.buying {
    background: #34c759;
    color: white;
}

/* Conversation Type Badge - Large (for conversation page header) */
.conversation-type-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 4px;
}

.conversation-type-badge-large i {
    font-size: 0.75rem;
}

.conversation-type-badge-large.selling {
    background: var(--primary-color);
    color: white;
}

.conversation-type-badge-large.buying {
    background: #34c759;
    color: white;
}

.conversation-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.conversation-message {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.inbox-conversation-item.unread .conversation-message {
    font-weight: 600;
    color: var(--text-dark);
}

.unread-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.conversation-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    width: fit-content;
}

.conversation-product img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.conversation-product span {
    font-size: 0.8125rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Responsive Inbox */
@media (max-width: 768px) {
    .inbox-filter-buttons {
        width: 100%;
        margin-top: 15px;
        gap: 8px;
        justify-content: stretch;
    }
    
    .btn-inbox-filter {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.8125rem;
        min-width: 0;
    }
    
    .btn-inbox-filter.active {
        font-weight: 700;
    }
    
    .dashboard-header {
        margin-bottom: 20px;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .dashboard-subtitle {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }
    
    .inbox-conversation-item {
        padding: 15px;
    }
    
    .conversation-avatar {
        width: 50px;
        height: 50px;
    }
    
    .conversation-name {
        font-size: 0.9375rem;
    }
    
    .conversation-product {
        padding: 6px 10px;
    }
}

/* ===============================================
   CONVERSATION PAGE
   =============================================== */

.conversation-section {
    padding: 40px 0 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 80px);
}

.btn-back-conversation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-back-conversation:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.conversation-back-btn {
    display: none;
}

.conversation-container {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 700px;
}

.conversation-header-bar {
    padding: 20px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.conversation-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.conversation-user-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
}

.conversation-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-user-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.conversation-header-actions {
    display: flex;
    gap: 10px;
}

.btn-conversation-action {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

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

.conversation-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-light);
}

.conversation-product-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.conversation-product-info {
    flex: 1;
}

.conversation-product-info h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px 0;
}

.conversation-product-info p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0 0 5px 0;
}

.conversation-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-view-product {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-view-product:hover {
    background: var(--primary-dark);
    color: white;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
}

.message-date-divider {
    text-align: center;
    margin: 20px 0;
}

.message-date-divider span {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.message-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.message-item.sent {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.message-item.sent .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.message-item.sent .message-bubble {
    background: var(--primary-color);
    color: white;
}

.message-bubble p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Offer Card in Messages */
.offer-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    max-width: 400px;
    margin-top: 5px;
}

.offer-header {
    margin-bottom: 15px;
}

.offer-user-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.offer-location,
.offer-last-seen {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.offer-location i,
.offer-last-seen i {
    font-size: 0.875rem;
}

.offer-price-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 15px;
}

.offer-amount {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price-small {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.offer-status {
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
}

.offer-status.pending {
    background: #fff3cd;
    color: #856404;
}

.offer-status.accepted {
    background: #d4edda;
    color: #155724;
}

.offer-status.declined {
    background: #f8d7da;
    color: #721c24;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-actions .btn {
    width: 100%;
    padding: 10px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background: #16a34a;
    color: white;
}

.btn-accept:hover {
    background: #15803d;
}

.btn-decline {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-decline:hover {
    background: #f8f9fa;
}

.btn-counter-offer {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-counter-offer:hover {
    background: var(--primary-color);
    color: white;
}

/* Offer Price Modal */
.offer-modal-product {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.offer-modal-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.offer-modal-product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.offer-modal-product-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 2px 0;
}

.offer-modal-price {
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-top: 8px;
}

.offer-modal-price strong {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.offer-input-wrapper {
    margin-top: 20px;
}

.offer-input-wrapper .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.price-input-group {
    position: relative;
    margin-bottom: 10px;
}

.price-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.offer-input {
    padding-left: 40px;
    font-size: 1.25rem;
    font-weight: 600;
    height: 50px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
    padding: 0 8px;
}

/* Typing Indicator */
.message-bubble.typing {
    display: flex;
    gap: 5px;
    padding: 12px 20px;
}

.message-bubble.typing span {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message-bubble.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message-bubble.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.message-input-container {
    padding: 20px;
    background: white;
    border-top: 2px solid var(--border-light);
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-attach-file {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

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

.message-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.message-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.1);
}

.btn-send-message {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-lg);
    border: none;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.btn-send-message:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Conversation */
@media (max-width: 768px) {
    /* Fullscreen Chat App Mode for Mobile */
    .conversation-section {
        padding: 0;
        background: #f5f5f5;
        min-height: 100vh;
    }
    
    .btn-back-conversation {
        display: none;
    }
    
    .conversation-container {
        max-width: 100% !important;
        width: 100% !important;
        height: 100vh;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .conversation-header-bar {
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .conversation-back-btn {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
        font-size: 1.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-right: 10px;
    }
    
    .conversation-back-btn:hover {
        color: var(--primary-color);
    }
    
    /* Offer Card Mobile */
    .offer-card {
        max-width: 100%;
        padding: 15px;
    }
    
    .offer-price {
        font-size: 1.25rem;
    }
    
    .original-price-small {
        font-size: 0.9375rem;
    }
    
    .offer-user-info h4 {
        font-size: 0.9375rem;
    }
    
    .offer-location,
    .offer-last-seen {
        font-size: 0.75rem;
    }
    
    .offer-actions .btn {
        padding: 12px;
        font-size: 0.9375rem;
    }
    
    .offer-modal-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .conversation-back-btn:hover {
        color: var(--primary-color);
    }
    
    .conversation-container {
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .conversation-header-bar {
        padding: 15px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .conversation-user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .conversation-user-name {
        font-size: 1rem;
    }
    
    .conversation-product-card {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .conversation-product-card img {
        width: 50px;
        height: 50px;
    }
    
    .conversation-product-info h4 {
        font-size: 0.875rem;
    }
    
    .conversation-product-info p {
        font-size: 0.75rem;
    }
    
    .btn-view-product {
        padding: 6px 16px;
        font-size: 0.8125rem;
        width: 100%;
        margin-top: 10px;
    }
    
    .messages-container {
        padding: 15px;
        flex: 1;
        overflow-y: auto;
        /* Ensure messages area doesn't get hidden behind input */
        padding-bottom: 80px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .message-avatar {
        width: 35px;
        height: 35px;
    }
    
    .message-bubble {
        padding: 10px 14px;
        font-size: 0.9375rem;
        max-width: 100%;
    }
    
    .message-time {
        font-size: 0.6875rem;
    }
    
    .message-input-container {
        padding: 12px 15px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 2px solid var(--border-light);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        z-index: 10;
    }
    
    .btn-attach-file {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }
    
    .message-input {
        padding: 11px 14px;
        font-size: 0.9375rem;
    }
    
    .btn-send-message {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    /* Hide back button when in mobile view, use browser back */
    .btn-back-conversation {
        display: none;
    }
    
    /* Add mobile-specific chat styling */
    .conversation-container {
        display: flex;
        flex-direction: column;
    }
    
    .messages-container {
        background: #f5f5f5;
    }
    
    .message-bubble {
        border-radius: 18px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .message-item.sent .message-bubble {
        border-bottom-right-radius: 4px;
    }
    
    .message-item.received .message-bubble {
        border-bottom-left-radius: 4px;
    }
}

/* ===============================================
   MY ORDERS PAGE
   =============================================== */

.order-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
}

.order-tab {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.order-tab:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.order-tab.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.order-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.orders-container {
    display: none;
}

.orders-container.active {
    display: block;
}

.order-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 15px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.order-date {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.completed {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.order-status.shipped {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.order-status.processing {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.order-status.cancelled {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.order-product {
    display: flex;
    gap: 15px;
    flex: 1;
}

.order-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.order-product-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.order-product-details p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.order-buyer,
.order-seller {
    font-size: 0.8125rem;
    color: var(--primary-color);
    font-weight: 600;
}

.order-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.order-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-view-order {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-order:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Orders */
@media (max-width: 768px) {
    .order-tabs {
        gap: 5px;
    }
    
    .order-tab {
        padding: 8px 16px;
        font-size: 0.875rem;
        flex: 1;
    }
    
    .order-card {
        padding: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-body {
        flex-direction: column;
        align-items: stretch;
    }
    
    .order-price-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .btn-view-order {
        width: 100%;
        text-align: center;
    }
}

/* ===============================================
   ORDER DETAIL PAGE
   =============================================== */

.order-detail-section {
    padding: 40px 0 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 80px);
}

.btn-back-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-back-order:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.order-detail-container {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 30px;
}

.order-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.order-detail-date {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* Order Timeline */
.order-timeline {
    margin-bottom: 30px;
    position: relative;
}

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

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 45px;
    width: 2px;
    height: calc(100% - 5px);
    background: var(--border-light);
}

.timeline-item.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-item.completed .timeline-icon {
    background: var(--primary-color);
    color: white;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.timeline-item.completed .timeline-content h4 {
    color: var(--primary-color);
}

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

.order-detail-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.order-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.order-product-detail {
    display: flex;
    gap: 20px;
}

.order-product-detail img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.order-product-info-detail h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.order-product-info-detail p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-meta-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.product-meta-detail span {
    font-size: 0.875rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-meta-detail i {
    color: var(--primary-color);
}

.btn-view-product-small {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-view-product-small:hover {
    background: var(--primary-dark);
    color: white;
}

.order-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    flex-shrink: 0;
}

.order-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-user-details {
    flex: 1;
}

.order-user-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.order-user-details p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-user-details i {
    color: var(--primary-color);
}

.btn-message-user {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-message-user:hover {
    background: var(--primary-dark);
    color: white;
}

.order-address {
    display: flex;
    gap: 15px;
}

.order-address i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.order-address p {
    margin: 0 0 3px 0;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.order-payment-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.payment-row.total {
    padding-top: 12px;
    border-top: 2px solid var(--border-light);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 15px;
    background: white;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    color: var(--text-dark);
}

.payment-method i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-order-action {
    flex: 1;
    padding: 12px 24px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    border: none;
}

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

.btn-support {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

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

/* Responsive Order Detail */
@media (max-width: 768px) {
    .order-detail-section {
        padding: 20px 0;
    }
    
    .order-detail-container {
        padding: 20px;
    }
    
    .order-detail-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-product-detail {
        flex-direction: column;
    }
    
    .order-product-detail img {
        width: 100%;
        height: 200px;
    }
    
    .order-user-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-message-user {
        width: 100%;
        justify-content: center;
    }
    
    .order-actions {
        flex-direction: column;
    }
}

/* ===============================================
   CART DRAWER
   =============================================== */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

.cart-drawer.active {
    pointer-events: all;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.active .cart-overlay {
    opacity: 1;
}

.cart-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 450px;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active .cart-content {
    transform: translateX(0);
}

.cart-header {
    padding: 25px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.cart-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.btn-close-cart {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: var(--border-radius-md);
    padding: 4px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.qty-input:focus {
    outline: none;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    color: #ff3b30;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.btn-remove-item:hover {
    background: #ff3b30;
    color: white;
    transform: scale(1.1);
}

.cart-footer {
    padding: 25px;
    border-top: 2px solid var(--border-light);
    background: white;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.summary-row.total {
    padding-top: 12px;
    border-top: 2px solid var(--border-light);
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-subtotal,
.cart-total {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-checkout:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-continue-shopping {
    display: block;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    color: var(--primary-color);
}

/* Responsive Cart */
@media (max-width: 576px) {
    .cart-content {
        max-width: 100%;
    }
    
    .cart-header {
        padding: 20px;
    }
    
    .cart-title {
        font-size: 1.125rem;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-footer {
        padding: 20px;
    }
}

/* ===============================================
   SELL NOW PAGE
   =============================================== */

.sell-now-section {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.sell-now-header {
    text-align: center;
    margin-bottom: 40px;
}

.sell-now-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.sell-now-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.sell-now-form {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-section {
    margin-bottom: 30px;
}

.form-label-main {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: block;
}

/* Photo Upload */
.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.photo-upload-box {
    aspect-ratio: 1;
    border: 2px dashed var(--border-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
}

.photo-upload-box:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.photo-upload-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.photo-upload-box span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.photo-preview-box {
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

.photo-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-remove-btn:hover {
    background: var(--primary-color);
}

.photo-upload-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #e8f5fd;
    border-radius: var(--border-radius-md);
    border-left: 4px solid #0dcaf0;
}

.photo-upload-tip i {
    font-size: 1.25rem;
    color: #0dcaf0;
    flex-shrink: 0;
    margin-top: 2px;
}

.photo-upload-tip span {
    font-size: 0.875rem;
    color: #0a5c7a;
    line-height: 1.5;
}

/* Form Inputs */
.form-input-large,
.form-textarea-large {
    font-size: 1rem;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    transition: all 0.3s;
}

.form-input-large:focus,
.form-textarea-large:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.1);
}

.form-textarea-large {
    resize: vertical;
    min-height: 150px;
}

.form-help-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.char-count {
    margin-left: auto;
    font-weight: 500;
}

/* Form Selector */
.form-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

.form-selector:hover {
    border-color: var(--primary-color);
    background: #fafafa;
}

.selector-text {
    font-size: 1rem;
    color: var(--text-dark);
}

.form-selector i {
    color: var(--text-light);
    font-size: 1.25rem;
}

/* Condition Options */
.condition-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.condition-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.condition-option:hover {
    border-color: var(--primary-color);
    background: #fafafa;
}

.condition-option input[type="radio"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.condition-option input[type="radio"]:checked ~ .condition-label {
    color: var(--primary-color);
}

.condition-option:has(input:checked) {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.condition-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.condition-label strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.condition-label small {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Price Input */
.price-input-wrapper {
    position: relative;
}

.price-currency {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input-price {
    padding-left: 45px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-light);
}

.form-actions .btn {
    font-weight: 600;
    padding: 12px 30px;
}

/* Category Modal */
.category-list {
    display: grid;
    gap: 10px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    width: 100%;
}

.category-item:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.category-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.category-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive Sell Now */
@media (max-width: 768px) {
    .sell-now-section {
        padding: 20px 0 80px;
    }
    
    .sell-now-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .sell-now-title {
        font-size: 1.75rem;
    }
    
    .sell-now-subtitle {
        font-size: 0.9375rem;
    }
    
    .sell-now-form {
        padding: 25px 20px;
        border-radius: var(--border-radius-lg);
    }
    
    .form-section {
        margin-bottom: 25px;
    }
    
    .form-label-main {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .photo-upload-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .condition-option {
        padding: 12px;
    }
    
    .condition-label strong {
        font-size: 0.9375rem;
    }
    
    .condition-label small {
        font-size: 0.8125rem;
    }
}

/* ===============================================
   CHECKOUT PAGE
   =============================================== */

.checkout-section {
    padding: 40px 0 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 80px);
}

.checkout-breadcrumb {
    margin-bottom: 20px;
}

.checkout-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.checkout-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkout-breadcrumb .breadcrumb-item.active {
    color: var(--text-light);
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.checkout-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    overflow: hidden;
}

.checkout-card-header {
    padding: 20px 25px;
    border-bottom: 2px solid var(--border-light);
}

.checkout-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.checkout-card-body {
    padding: 25px;
}

.checkout-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.checkout-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.1);
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: rgba(9, 132, 227, 0.02);
}

.payment-option.active {
    border-color: var(--primary-color);
    background: rgba(9, 132, 227, 0.05);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-option-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.payment-option.active .payment-option-icon {
    background: var(--primary-color);
    color: white;
}

.payment-option-text {
    flex: 1;
}

.payment-option-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px 0;
}

.payment-option-text p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

.payment-cards {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: var(--text-light);
}

.card-details-form {
    display: block;
}

/* Order Summary */
.order-summary-sticky {
    position: sticky;
    top: 20px;
}

.order-summary-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 25px;
}

.order-summary-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.order-items {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.order-item-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-details h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-details p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

.order-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Promo Code */
.promo-code-section {
    padding: 15px 0;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 15px;
}

.promo-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    font-size: 0.9375rem;
    border-right: none;
}

.promo-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-apply-promo {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Order Totals */
.order-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.total-row.grand-total {
    padding-top: 12px;
    border-top: 2px solid var(--border-light);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-place-order {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-place-order:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    font-size: 0.8125rem;
    color: var(--text-light);
}

.security-badge i {
    color: #34c759;
    font-size: 1.125rem;
}

/* Responsive Checkout */
@media (max-width: 991px) {
    .order-summary-sticky {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 20px 0 60px 0;
    }
    
    .checkout-title {
        font-size: 1.5rem;
    }
    
    .checkout-card-header,
    .checkout-card-body {
        padding: 20px;
    }
    
    .payment-option {
        padding: 15px;
    }
    
    .payment-option-content {
        flex-wrap: wrap;
    }
}

/* ===============================================
   NEW HERO SECTION WITH OVERLAY CARD (INDEX)
   =============================================== */

.hero-section-overlay {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section-overlay .container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 500px;
}

.hero-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.btn-hero-primary {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(9, 132, 227, 0.3);
}

.hero-card-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-card-link:hover {
    color: var(--primary-dark);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-carousel-dots .dot {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dots .dot.active {
    background: white;
}

/* Responsive Hero Overlay */
@media (max-width: 991px) {
    .hero-section-overlay {
        height: 500px;
    }
    
    .hero-section-overlay .container {
        height: 500px;
    }
    
    .hero-card {
        padding: 40px 30px;
    }
    
    .hero-card-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section-overlay {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-section-overlay .container {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-card {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .hero-card-title {
        font-size: 1.75rem;
    }
}

/* ===============================================
   INBOX FULLSCREEN HERO SECTION
   =============================================== */

.inbox-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.inbox-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.inbox-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.inbox-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.inbox-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.inbox-hero-number {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.inbox-hero-title {
    font-size: 9rem;
    font-weight: 900;
    color: white;
    line-height: 0.9;
    margin-bottom: 40px;
    text-transform: lowercase;
    letter-spacing: -5px;
}

.inbox-hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.inbox-hero-hashtag {
    font-size: 0.875rem;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.inbox-hero-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.inbox-hero-category {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inbox-hero-cta {
    display: inline-block;
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.inbox-hero-cta:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navigation Arrows */
.inbox-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    border: none;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.inbox-hero-nav.prev {
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.inbox-hero-nav.next {
    right: 30px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.inbox-hero-nav i {
    font-size: 1.5rem;
}

.inbox-hero-nav:hover {
    color: var(--primary-color);
}

/* Social Links */
.inbox-hero-social {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 20px;
    z-index: 3;
}

.inbox-hero-social a {
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.inbox-hero-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Conversations Section */
.conversations-section {
    padding: 60px 0;
}

/* Responsive Inbox Hero */
@media (max-width: 1200px) {
    .inbox-hero-title {
        font-size: 7rem;
    }
}

@media (max-width: 991px) {
    .inbox-hero-title {
        font-size: 5rem;
    }
    
    .inbox-hero-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .inbox-hero-section {
        min-height: 600px;
    }
    
    .inbox-hero-title {
        font-size: 4rem;
        letter-spacing: -3px;
    }
    
    .inbox-hero-social {
        bottom: 30px;
        right: 30px;
        gap: 15px;
    }
    
    .inbox-hero-social a {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .inbox-hero-title {
        font-size: 3rem;
        letter-spacing: -2px;
    }
    
    .inbox-hero-number {
        font-size: 1rem;
    }
    
    .inbox-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
