can style only the buttons and rewrite the whole code /* Responsive enhancements appended - mobile-first tweaks */

/* Setup Notification Styles */
.setup-notification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.setup-content {
    max-width: 600px;
    margin: 0 auto;
}

.setup-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.setup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.setup-content p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.setup-content p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Base improvements for layout fluidity */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.main-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

/* Card style similar to screenshot: larger image, clean card, primary CTA */
.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.5rem;
}
.product-card .product-image { display:flex; align-items:center; justify-content:center; padding: 1rem 0 .5rem; }
.product-card .product-image img { max-height: 220px; object-fit: contain; }
.product-card .view-details-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; margin-top: .75rem; padding: .9rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: #fff; border: 0; border-radius: 10px; text-decoration: none; font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease;
}
.product-card .view-details-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,102,255,.35); }

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.search-filter-section .filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.search-filter-section .filter-group {
    min-width: 150px;
    flex: 1 1 180px;
}

/* Cart sidebar on small screens */
.cart-sidebar {
    max-width: 420px;
    width: 100%;
}

/* Footer stacking */
.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

/* Tablets */
@media (max-width: 992px) {
    .logo-img { width: 42px; height: 42px; }
    .main-header h1 { font-size: 1.25rem; }
    .auth-buttons { gap: .5rem; }
    .product-card { margin: 0; }
}

/* Phones */
@media (max-width: 768px) {
    .main-header .header-content { flex-direction: column; align-items: stretch; }
    .logo-container a { display: inline-flex; align-items: center; gap: .5rem; }
    .main-nav { width: 100%; justify-content: space-between; }
    .nav-link { padding: .5rem .75rem; font-size: .95rem; }
    .auth-buttons { width: 100%; display: flex; justify-content: space-between; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .product-title a { font-size: 1rem; }
    .product-description { font-size: .9rem; }
    .product-actions { gap: .5rem; flex-wrap: wrap; }
    .seller-link { gap: .5rem; }
    .campus-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .hero-section .hero-content { padding: 1rem; }
}

/* Small phones */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .campus-grid, .categories-grid { grid-template-columns: 1fr; }
    .header-content .button { padding: .5rem .75rem; }
    .search-input-group input { font-size: 1rem; }
    .cart-sidebar { width: 100vw; max-width: 100vw; }
}

/* ===== SHARED VARIABLES ===== */
:root {
    --primary: #0066FF;
    --accent: #FF4081;
    --success: #00C853;
    --background: #0c0e19; /* dark blue background */
    --text: #ffffff; /* white text for dark background */
    --text-light: #e5e5e5; /* lighter white text */
    --card-bg: #000000; /* black card background */
    --card-shadow: 0 4px 12px rgba(0,0,0,0.3);
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.25rem;
    --spacing-xl: 1.5rem;
    --spacing-xxl: 2rem;
    --web3-primary: #627EEA;
    --web3-secondary: #F7931E;
    --web3-accent: #00D4AA;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

/* Force dark theme everywhere - aggressive overrides */
* {
    background-color: var(--background) !important;
    color: var(--text) !important;
}

/* Override any remaining light backgrounds */
body, html, .container, .main-header, .product-card, .breadcrumb, 
.main-footer, .search-filter-section, .hero-section, .about-section,
.contact-section, .sellers-section, .dashboard-section, .profile-section,
.wishlist-page, .product-detail-page, .login-page, .register-page {
    background: var(--background) !important;
    color: var(--text) !important;
}

/* Force dark theme on all elements */
div, section, article, aside, nav, header, footer, main {
    background-color: var(--background) !important;
    color: var(--text) !important;
}

/* Override any white or light backgrounds */
[style*="background-color: white"], [style*="background-color: #fff"], 
[style*="background-color: #ffffff"], [style*="background: white"],
[style*="background: #fff"], [style*="background: #ffffff"] {
    background-color: var(--background) !important;
    background: var(--background) !important;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background) !important; /* dark grey background like in image */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text) !important; /* white text for dark background */
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== iOS/Safari improvements ===== */
html, body { height: -webkit-fill-available; }
:root { --vh: 100svh; }
.full-height { min-height: 100dvh; min-height: var(--vh); }
/* Safe-area insets for iOS notch devices */
body { padding-top: max(0px, env(safe-area-inset-top)); padding-bottom: max(0px, env(safe-area-inset-bottom)); }

/* Prevent input zoom on focus in iOS (require font-size >= 16px) */
input, select, textarea { font-size: 16px; }

/* Reset default control appearance for consistent styling */
input, select, textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Smooth momentum scrolling for overflow containers */
.scroll-area { -webkit-overflow-scrolling: touch; }

/* Sticky compatibility */
.sticky { position: sticky; position: -webkit-sticky; top: 0; }

/* Flex gap fallback for older Safari */
.flex-row { display: flex; }
.flex-row.gap-16 > * + * { margin-left: 16px; }

/* Better tap targets for file input */
input[type=file] { font-size: 16px; padding: 10px; }

/* Reduce 300ms tap delay */
a, button { touch-action: manipulation; }

/* Full-width sections */
.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* ===== ENHANCED HEADER STYLES ===== */
.main-header {
    background: rgba(28, 29, 32, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.logo-container img {
    border-radius: 12px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 102, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.2));
    position: relative;
    z-index: 5;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.logo-container img:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 102, 255, 0.3);
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.3));
    z-index: 15;
}

.logo-container h1 {
    color: var(--primary);
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.25rem;
}

.nav-link span {
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease;
    will-change: transform;
}

.button-primary {
    background: var(--primary);
    color: rgb(44, 43, 43);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.button-primary:hover {
    background: #0052cc;
}

.button-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.25);
}

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

.button-outline:hover {
    background: var(--primary);
    color: rgb(53, 52, 52);
    transform: translateY(-2px);
}

.button-accent {
    background: var(--accent);
    color: rgb(44, 43, 43);
    position: relative;
}

.button-accent:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

/* ===== ENHANCED CART STYLES ===== */
#cart-button {
    position: relative;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: rgb(65, 63, 63);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cart-button:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff5722;
    color: rgb(46, 45, 45);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cart-sidebar {
        position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
        background: rgb(32, 32, 32);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
        z-index: 1000;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #2d2d2e;
    background: var(--primary);
    color: rgb(36, 35, 35);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cart-items {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

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

.cart-item-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.cart-item-details p {
    margin: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.remove-item {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.remove-item:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    position: sticky;
    bottom: 0;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

#checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== ENHANCED PRODUCT CARD STYLES ===== */
.product-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 1rem;
    background: #ffffff;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.no-image-placeholder i {
    font-size: 2rem;
    opacity: 0.6;
}

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

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

/* Reduce font size for product titles in product cards */
.product-card .product-title {
    font-size: 0.95rem !important;
}

/* ===== SELLER RATING STYLES ===== */
.rating-input {
    margin-bottom: 1rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffd700;
}

.star-rating input:checked ~ label {
    color: #ffd700;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

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

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

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

/* ===== SELLER CARD STYLES ===== */
.sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.seller-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.seller-info {
    flex: 1;
}

.seller-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.seller-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.seller-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.stat .label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seller-actions {
    display: flex;
    gap: 0.75rem;
}

.seller-actions .button {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* ===== PRODUCT CARD LAYOUT FIXES ===== */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* ===== WISHLIST PAGE STYLES ===== */
.wishlist-page {
    background: var(--background);
    min-height: 100vh;
}

.wishlist-hero {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background) 100%);
    padding: 4rem 0;
    text-align: center;
}

.wishlist-hero-content h1 {
    color: var(--text);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.wishlist-hero-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0;
}

.wishlist-content {
    padding: 3rem 0;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wishlist-stats {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
}

.wishlist-actions {
    display: flex;
    gap: 1rem;
}

.wishlist-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.wishlist-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.wishlist-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.remove-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-wishlist:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.wishlist-item-info {
    padding: 1.5rem;
}

.wishlist-item-info h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.wishlist-item-info h4 a {
    color: var(--text);
    text-decoration: none;
}

.wishlist-item-info h4 a:hover {
    color: var(--primary);
}

.wishlist-item-info .seller {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.wishlist-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wishlist-item-actions .button {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.empty-wishlist {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state {
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Real-time indicators */
.realtime-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

.realtime-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

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

.product-image {
    height: 200px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

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

.product-description {
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.category-tag {
    background: var(--primary);
    color: white;
}

.campus-tag {
    background: #ffffff;
    color: var(--text);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.product-actions .button {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.product-description {
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-category,
.product-campus {
    background: #ffffff;
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.product-category {
    background: var(--primary);
    color: white;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.category-tag {
    background: var(--primary);
    color: white;
}

.campus-tag {
    background: #ffffff;
    color: var(--text);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 6px;
    position: relative;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 0.8rem;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* ===== SELLER LINK STYLES ===== */
.seller-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: all 0.3s ease;
}

.seller-link:hover {
    transform: translateY(-1px);
}

.seller-link:hover .seller-name {
    color: var(--primary);
}

/* ===== ENHANCED SELLER INFO STYLES ===== */
.seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid #e5e7eb;
}

.seller-profile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seller-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
}

.seller-status.online {
    background: #10b981;
}

.seller-status.offline {
    background: #6b7280;
}

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

.seller-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.seller-rating .fas.fa-star {
    color: #fbbf24;
    font-size: 0.875rem;
}

.seller-rating .far.fa-star {
    color: #d1d5db;
    font-size: 0.875rem;
}

.rating-number {
    font-weight: 600;
    color: var(--text);
    margin-left: 0.25rem;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.seller-contact {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.email-btn {
    background: #3b82f6;
    color: white;
}

.email-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.whatsapp-btn {
    background: #10b981;
    color: white;
}

.whatsapp-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.product-actions .button,
.add-to-cart-btn,
.view-details-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-actions .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===== SIMILAR PRODUCTS SECTION ===== */
.similar-products-section {
    padding: 4rem 0;
    background: #ffffff;
}

.similar-products-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.similar-products-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.similar-products-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.similar-products-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* ===== FEATURED PRODUCTS SECTION ===== */
.featured-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.featured-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-section .section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.featured-section .section-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.featured-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.featured-section .product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-section .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-section .product-title a {
    color: var(--text);
}

.featured-section .product-description {
    color: var(--text-light);
}

/* ===== DIRECT CONTACT BUTTONS ===== */
.direct-contact-buttons {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.direct-contact-buttons h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.contact-buttons-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.contact-btn.whatsapp-btn {
    background: #25D366;
    color: white;
    flex: 1;
}

.contact-btn.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-btn.email-btn {
    background: #0066FF;
    color: white;
    flex: 1;
}

.contact-btn.email-btn:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* Product card contact buttons (smaller version) */
.product-card .direct-contact-buttons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.product-card .contact-buttons-grid {
    justify-content: center;
    gap: 0.5rem;
}

.product-card .contact-btn {
    padding: 0.5rem;
    min-width: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
}

.product-card .contact-btn i {
    margin: 0;
}

/* ===== ENHANCED PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.products-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.products-header p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

/* ===== ENHANCED SEARCH AND FILTER STYLES ===== */
.search-filter-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
}

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem;
    max-width: 500px;
    transition: all 0.3s ease;
}

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

.search-box i {
    color: var(--text-light);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
    color: var(--text);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.filter-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.filter-group select:hover {
    border-color: var(--primary);
}

/* ===== ENHANCED NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1001;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 400px;
    font-weight: 500;
    border-left: 4px solid #00a843;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1400px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 3.5rem;
    }
    
    .section-header h3 {
    font-size: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.25rem;
    }
    
    .search-filter-section {
    padding: 1.5rem;
    }
    
    .filter-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
    gap: 1rem;
        padding: 1rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .hero-search {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-button {
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .button {
        width: 100%;
        max-width: 300px;
    }
    
    .campus-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .main-nav {
    gap: 1rem;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.75rem;
        min-width: 60px;
    }
    
    .auth-buttons {
        flex-direction: row;
        gap: 0.75rem;
        order: 2;
    }
    
    .button {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
    
    #cart-button {
        min-width: 45px;
        height: 45px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .search-filter-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .button {
        width: 100%;
    }
    
    .seller-contact {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
    
    .products-header h2 {
        font-size: 2rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .header-content {
        padding: 0.75rem 0.75rem;
    }
    
    .hero-content h2 {
    font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .hero-search {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .search-filters {
        flex-direction: column;
    align-items: center;
    }
    
    .filter-select {
        min-width: 200px;
    }
    
    .campus-card,
    .category-card {
        padding: 1.5rem;
    }
    
    .campus-info h4,
    .category-card h4 {
        font-size: 1.5rem;
    }
    
    .logo-container h1 {
        font-size: 1.25rem;
    }
    
    .logo-container img {
        width: 40px;
        height: 40px;
    }
    
    .main-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        min-width: 50px;
    }
    
    .nav-link i {
        font-size: 1.1rem;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .button {
        padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    }
    
    #cart-button {
        min-width: 40px;
        height: 40px;
    }
    
    #cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .search-filter-section {
        padding: 0.75rem;
    }
    
    .search-box {
        padding: 0.5rem;
    }
    
    .search-box input {
        font-size: 0.9rem;
    }
    
    .search-box button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .filter-group select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .seller-info {
        padding: 0.75rem;
    }
    
    .seller-avatar {
        width: 40px;
        height: 40px;
    }
    
    .seller-name {
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .products-header h2 {
        font-size: 1.75rem;
    }
    
    .products-header p {
        font-size: 1rem;
    }
    
    .cart-header {
        padding: 1rem;
    }
    
    .cart-header h3 {
        font-size: 1.1rem;
    }
    
    .cart-items {
        padding: 0.75rem;
    }
    
    .cart-item {
        padding: 0.75rem 0;
    }
    
    .cart-item img {
        width: 50px;
        height: 50px;
    }
    
    .cart-footer {
        padding: 1rem;
    }
    
    .cart-total {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 360px) {
.header-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .main-nav {
        order: 2;
    }
    
    .auth-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .button {
        flex: 1;
        max-width: 120px;
    }
    
    .product-card {
    margin: 0;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-actions {
        gap: 0.5rem;
    }
    
    .product-actions .button {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

/* ===== LANDSCAPE ORIENTATION FIXES ===== */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .header-content {
        flex-direction: row;
        padding: 0.5rem 15px;
    }
    
    .main-nav {
        order: unset;
        width: auto;
}

.auth-buttons {
        order: unset;
        flex-direction: row;
    }
    
    .cart-sidebar {
        height: 100vh;
    }
    
    .cart-items {
        max-height: 50vh;
    }
}

/* ===== HIGH DPI DISPLAY SUPPORT ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Force dark theme on all devices */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #0c0e19; /* dark blue background */
        --text: #ffffff;
        --text-light: #e5e5e5;
        --card-bg: #000000;
    }
    
    body {
        background-color: var(--background);
        color: var(--text);
    }
    
    .main-header,
    .search-filter-section,
    .product-card {
        background: var(--card-bg);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .search-box,
    .filter-group select {
        background: var(--card-bg);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--text);
    }
}

/* Force dark theme even on light mode preference */
@media (prefers-color-scheme: light) {
    :root {
        --background: #0c0e19 !important; /* force dark background */
        --text: #ffffff !important;
        --text-light: #e5e5e5 !important;
        --card-bg: #000000 !important;
    }
    
    body, html, * {
        background-color: var(--background) !important;
        color: var(--text) !important;
    }
}

/* Additional aggressive dark theme overrides */
* {
    background-color: #0c0e19 !important;
    color: #ffffff !important;
}

/* Override specific elements that might resist dark theme */
.container, .main-header, .hero-section, .about-section, .contact-section,
.sellers-section, .dashboard-section, .profile-section, .wishlist-page,
.product-detail-page, .login-page, .register-page, .main-footer {
    background-color: #0c0e19 !important;
    background: #0c0e19 !important;
    color: #ffffff !important;
}

/* Override any remaining light backgrounds with specific selectors */
body, html {
    background-color: #0c0e19 !important;
    background: #0c0e19 !important;
    color: #ffffff !important;
}

/* Force dark theme on all devices - final override */
@media screen {
    * {
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }
    
    body, html, div, section, article, aside, nav, header, footer, main {
        background-color: #1a1a1a !important;
        background: #1a1a1a !important;
        color: #ffffff !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .search-filter-section,
    .product-actions,
    .cart-sidebar {
        display: none !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .product-image {
        height: 200px;
    }
}

/* ===== MODERN FOOTER STYLES ===== */
.footer-modern {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content .grid {
    display: grid;
}

.footer-content .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.footer-content .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-content .gap-8 {
    gap: 2rem;
}

.footer-content .text-center {
    text-align: center;
}

.footer-content .md\\:text-left {
    text-align: left;
}

.footer-content .text-white {
    color: #ffffff;
}

.footer-content .text-gray-300 {
    color: #d1d5db;
}

.footer-content .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.footer-content .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer-content .font-bold {
    font-weight: 700;
}

.footer-content .mb-2 {
    margin-bottom: 0.5rem;
}

.footer-content .mb-4 {
    margin-bottom: 1rem;
}

.footer-content .space-y-2 > * + * {
    margin-top: 0.5rem;
}

.footer-content .flex {
    display: flex;
}

.footer-content .flex-wrap {
    flex-wrap: wrap;
}

.footer-content .justify-center {
    justify-content: center;
}

.footer-content .md\\:justify-start {
    justify-content: flex-start;
}

.footer-content .gap-4 {
    gap: 1rem;
}

.footer-content .hover\\:text-white:hover {
    color: #ffffff;
}

.footer-content .transition-colors {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.footer-content .border-t {
    border-top-width: 1px;
}

.footer-content .border-gray-600 {
    border-color: #4b5563;
}

.footer-content .mt-8 {
    margin-top: 2rem;
}

.footer-content .pt-6 {
    padding-top: 1.5rem;
}

.footer-content .flex-col {
    flex-direction: column;
}

@media (min-width: 1024px) {
    .footer-content .lg\\:flex-row {
        flex-direction: row;
    }
}

.footer-content .items-center {
    align-items: center;
}

.footer-content .justify-between {
    justify-content: space-between;
}

.footer-content .gap-6 {
    gap: 1.5rem;
}

.footer-content .gap-4 {
    gap: 1rem;
}

.footer-content .gap-2 {
    gap: 0.5rem;
}

.footer-content .flex-wrap {
    flex-wrap: wrap;
}

.footer-content .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer-content .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.footer-content .font-bold {
    font-weight: 700;
}

.footer-content .text-muted-foreground {
    color: #6b7280;
}

.footer-content .hover\\:text-foreground:hover {
    color: #1f2937;
}

.footer-content .transition-colors {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.footer-content .rounded-lg {
    border-radius: 0.5rem;
}

.footer-content .w-10 {
    width: 2.5rem;
}

.footer-content .h-10 {
    height: 2.5rem;
}

.footer-content .h-4 {
    height: 1rem;
}

.footer-content .w-4 {
    width: 1rem;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-section h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Mobile responsive adjustments for linear footer */
@media (max-width: 1023px) {
    .footer-content .flex-col {
        gap: 2rem;
    }
    
    .footer-content .flex-wrap {
        justify-content: center;
    }
    
    .footer-content .gap-6 {
        gap: 1rem;
    }
    
    .footer-content .text-sm {
        font-size: 0.8rem;
    }
    
    .footer-content .flex-col.gap-1 {
        gap: 0.5rem;
    }
    
    .footer-content .text-xs {
        font-size: 0.75rem;
    }
    
    .footer-content .ml-6 {
        margin-left: 1.5rem;
    }
}

.footer-section p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1.5rem;
        text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE FOOTER ===== */
@media screen and (max-width: 768px) {
    .footer-section ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-section ul li a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .main-footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
    
    .footer-section p {
        font-size: 1rem;
    }
    
    .footer-section ul li a {
        padding: 0.5rem 1rem;
    font-size: 0.9rem;
    }
}

/* ===== PROFESSIONAL HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 12rem 0 10rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* ===== MODERN HERO SECTION ===== */
.hero-section-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-10px) translateY(-5px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-logo {
    margin-bottom: 3rem;
    text-align: center;
}

.hero-logo-img {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
    border: 6px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.hero-logo-img:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.025em;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hero-content p {
    font-size: 1.4rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    }
}

/* ===== PROFESSIONAL CAMPUS SECTION ===== */
.campus-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.campus-section .container {
    max-width: 1400px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 0.75rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 400;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.campus-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.campus-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.campus-image {
    height: 220px;
    overflow: hidden;
}

.campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.campus-card:hover .campus-image img {
    transform: scale(1.1);
}

.campus-info {
    padding: 2rem;
    text-align: center;
}

.campus-info h4 {
    font-size: 1.75rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.campus-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== PROFESSIONAL CATEGORIES SECTION ===== */
.categories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.categories-section .container {
    max-width: 1400px;
}

.categories-section h3 {
    text-align: center;
    font-size: 3rem;
    color: var(--text);
    margin: 0 0 4rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 102, 255, 0.2);
    border-color: var(--primary);
}

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

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

.category-card h4 {
    font-size: 1.75rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
    transition: color 0.4s ease;
    letter-spacing: -0.025em;
}

.category-card:hover h4 {
    color: white;
}

.category-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
    transition: color 0.4s ease;
    font-weight: 500;
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== PROFESSIONAL FEATURED PRODUCTS ===== */
.featured-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.featured-section .container {
    max-width: 1400px;
}

.featured-section h3 {
    text-align: center;
    font-size: 3rem;
    color: var(--text);
    margin: 0 0 4rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* ===== ENHANCED BUTTONS ===== */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.025em;
}

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

.button:hover::before {
    left: 100%;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.button-primary:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}

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

.button-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.3);
}

/* ===== ENHANCED SEARCH STYLES ===== */
    .hero-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
}

.search-icon {
    color: var(--primary);
    margin-left: 1rem;
    font-size: 1.25rem;
}

#hero-search-input {
    flex: 1;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
    font-weight: 500;
}

.search-button {
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.search-button:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
    }
    
    .search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    }
    
    .filter-select {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    font-weight: 500;
}

.filter-select:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* ===== ENHANCED POPULAR SEARCHES ===== */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.popular-searches span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
        font-size: 1.1rem;
    }
    
.search-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.search-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== ENHANCED HERO ACTIONS ===== */
.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-actions .button {
    min-width: 200px;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== PROFESSIONAL CONTACT PAGE STYLES ===== */
.contact-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.025em;
}

.contact-hero-content p {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-info-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contact-info-section .container {
    max-width: 1400px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.contact-info-card p {
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-weight: 500;
}

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

.contact-link:hover {
    color: #0052cc;
    text-decoration: underline;
}

.contact-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin: 0;
    font-weight: 500;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-actions .button {
    padding: 1.25rem 3rem;
        font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
}

/* ===== PROFESSIONAL FAQ STYLES ===== */
.faq-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.faq-section .container {
    max-width: 800px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 3rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 102, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* ===== PROFESSIONAL AUTH PAGES STYLES ===== */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
    width: 100%;
}

.auth-card {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-header h1 {
    font-size: 2.5rem;
    color: #e2e8f0;
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.auth-header p {
    color: #a0aec0;
    font-size: 1.125rem;
    margin: 0;
    font-weight: 500;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.auth-form .form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #a0aec0;
    font-size: 0.85rem;
}

.auth-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-icon {
    position: absolute;
    left: 1rem;
    color: #a0aec0;
    font-size: 1.1rem;
    z-index: 2;
}

.auth-form .input-group input,
.auth-form .input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #4a5568;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #2d3748;
    color: #e2e8f0;
    font-weight: 500;
}

.auth-form .input-group input:focus,
.auth-form .input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-form .password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 2;
}

.auth-form .password-toggle:hover {
    color: var(--primary);
}

.auth-form .file-upload {
    position: relative;
}

.auth-form .file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.auth-form .file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-weight: 500;
}

.auth-form .file-upload-label:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.auth-form .file-upload-label.file-selected {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
}

.auth-form .form-options {
    margin: 2rem 0;
}

.auth-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.auth-form .checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

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

.auth-form .checkbox-label a:hover {
    text-decoration: underline;
}

.auth-form .forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    text-align: right;
    margin-top: 0.5rem;
}

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

.auth-form .auth-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: -0.025em;
}

.auth-form .auth-button:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}

.auth-form .auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-form .auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-form .auth-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form .social-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-form .social-button {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.auth-form .social-button:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

.auth-form .social-button.google:hover {
    border-color: #ea4335;
    background: rgba(234, 67, 53, 0.05);
}

.auth-form .social-button.facebook:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.05);
}

.auth-form .auth-footer {
    text-align: center;
    color: #a0aec0;
    font-weight: 500;
}

.auth-form .auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-form .auth-footer a:hover {
    text-decoration: underline;
    color: #5a67d8;
}

.auth-image {
    color: white;
    text-align: center;
}

.auth-image .image-content h2 {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.auth-image .image-content p {
    font-size: 1.125rem;
    margin: 0 0 2.5rem 0;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 500;
}

.auth-image .features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-image .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-image .feature-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PROFESSIONAL SELLERS PAGE STYLES ===== */
.sellers-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.sellers-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.sellers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.sellers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sellers-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.025em;
}

.sellers-hero-content p {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.sellers-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.sellers-section .container {
    max-width: 1400px;
}

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.seller-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.seller-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.seller-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.seller-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    font-weight: 500;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.seller-card .seller-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.seller-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.seller-stat {
    text-align: center;
}

.seller-stat .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.seller-stat .label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.seller-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
}

.seller-actions .button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
}

/* ===== RESPONSIVE DESIGN FOR PROFESSIONAL PAGES ===== */
@media screen and (max-width: 1200px) {
    .contact-hero-content h1,
    .sellers-hero-content h1 {
        font-size: 3rem;
    }
    
    .form-header h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .contact-hero-content h1,
    .sellers-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero-content p,
    .sellers-hero-content p {
    font-size: 1.1rem;
}

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .sellers-grid {
        grid-template-columns: 1fr;
    }
    
    .seller-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .seller-actions {
        flex-direction: column;
    }
    
    .seller-actions .button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero-content h1,
    .sellers-hero-content h1 {
        font-size: 2rem;
    }
    
    .form-header h2,
    .faq-section h2 {
        font-size: 1.75rem;
    }
    
    .auth-card,
.contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-card,
    .seller-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== PROFESSIONAL ABOUT PAGE STYLES ===== */
.about-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.025em;
}

.about-hero-content p {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.mission-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.mission-section .container {
    max-width: 1400px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.mission-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
    font-weight: 500;
}

.mission-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.mission-image {
    text-align: center;
}

.mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.values-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.values-section .container {
    max-width: 1400px;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 3rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.team-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.team-section .container {
    max-width: 1400px;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.team-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0 0 3rem 0;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    max-width: 800px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.125rem;
    margin: 0 0 2.5rem 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .button {
    min-width: 180px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN FOR ABOUT PAGE ===== */
@media screen and (max-width: 1200px) {
    .about-hero-content h1 {
        font-size: 3rem;
    }
    
    .mission-content h2,
    .values-section h2,
    .team-section h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-stats {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.1rem;
    }
    
    .mission-content h2,
    .values-section h2,
    .team-section h2,
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .mission-content h2,
    .values-section h2,
    .team-section h2,
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .value-card,
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* ===== SELLERS PAGE FILTERS AND ADDITIONAL STYLES ===== */
.sellers-filters {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sellers-filters .container {
    max-width: 1400px;
    display: flex;
        flex-direction: column;
    gap: 1.5rem;
}

.search-bar {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.filter-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: white;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

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

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.become-seller {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.become-seller::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.become-seller .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.become-seller-content h3 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.become-seller-content p {
    font-size: 1.125rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.become-seller-content .button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.become-seller-content .button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.seller-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.benefit i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE DESIGN FOR SELLERS PAGE ===== */
@media screen and (max-width: 768px) {
    .sellers-filters .container {
        padding: 0 1rem;
    }
    
    .filter-tags {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-tag {
        white-space: nowrap;
    }
    
    .sort-options {
        flex-direction: column;
    align-items: flex-start;
        gap: 0.5rem;
    }
    
    .become-seller .container {
        grid-template-columns: 1fr;
    gap: 2rem;
        text-align: center;
    }
    
    .become-seller-content h3 {
        font-size: 1.75rem;
    }
    
    .seller-benefits {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .search-bar {
        max-width: 100%;
    }
    
    .filter-tags {
        gap: 0.75rem;
    }
    
    .filter-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .become-seller-content h3 {
        font-size: 1.5rem;
    }
    
    .become-seller-content p {
        font-size: 1rem;
    }
}

/* ===== ROLE SELECTION STYLES ===== */
.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.role-option {
    cursor: pointer;
    margin: 0;
}

.role-option input[type="radio"] {
    display: none;
}

.role-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.role-option input[type="radio"]:checked + .role-card {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    transform: translateY(-4px);
}

.role-option input[type="radio"]:checked + .role-card::before {
    opacity: 1;
}

.role-card > * {
    position: relative;
    z-index: 2;
}

.role-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.role-option input[type="radio"]:checked + .role-card i {
    color: white;
}

.role-card h4 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    transition: color 0.3s ease;
    letter-spacing: -0.025em;
}

.role-option input[type="radio"]:checked + .role-card h4 {
    color: white;
}

.role-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    font-weight: 500;
}

.role-option input[type="radio"]:checked + .role-card p {
    color: rgba(255, 255, 255, 0.9);
}

.role-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ROLE SELECTION ===== */
@media screen and (max-width: 768px) {
    .role-selection {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .role-card {
        padding: 1.25rem;
    }
    
    .role-card i {
        font-size: 2rem;
    }
    
    .role-card h4 {
        font-size: 1.1rem;
    }
    
    .role-card p {
        font-size: 0.85rem;
    }
}

/* ===== PROFESSIONAL DASHBOARD STYLES ===== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #ffffff;
}

.dashboard-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-header .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-header .logo-container h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section h3 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 1rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(0, 102, 255, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header-left h1 {
    font-size: 1.75rem;
    color: var(--text);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

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

.user-role {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.notifications {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notifications:hover {
    background: rgba(0, 0, 0, 0.05);
}

.notifications i {
    font-size: 1.25rem;
    color: var(--text);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-header p {
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.stat-content p {
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #059669;
}

.stat-change.negative {
    color: #dc2626;
}

.stat-change.neutral {
    color: var(--text-light);
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

.view-all:hover {
    color: #0052cc;
}

/* ===== RECENT ORDERS ===== */
.recent-orders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: #f1f5f9;
}

.order-info h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.order-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.order-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.order-status.processing {
    background: #dbeafe;
    color: #2563eb;
}

.order-status.completed {
    background: #d1fae5;
    color: #059669;
}

/* ===== RECENT MESSAGES ===== */
.recent-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: #f1f5f9;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.message-content p {
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.product-status.active {
    background: #d1fae5;
    color: #059669;
}

.product-status.draft {
    background: #ffffff;
    color: #6b7280;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

/* ===== ORDERS LIST ===== */
.order-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

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

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.orders-list .order-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

/* ===== MESSAGES CONTAINER ===== */
.messages-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    height: 600px;
}

.conversations-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversation-item:hover {
    background: #ffffff;
}

.conversation-item.unread {
    background: rgba(0, 102, 255, 0.05);
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.conversation-info h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.conversation-info p {
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.conversation-time {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.message-chat {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

/* ===== PROFILE FORM ===== */
.profile-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
}

.profile-upload {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

#profile-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.upload-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #0052cc;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* ===== SETTINGS ===== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.setting-info h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.setting-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== ANALYTICS ===== */
.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.analytics-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #ffffff;
    border-radius: 12px;
    color: var(--text-light);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.top-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
}

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

.product-sales {
    color: var(--primary);
    font-weight: 600;
}

/* ===== ADD PRODUCT FORM ===== */
.add-product-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
}

.image-upload {
    margin-top: 0.5rem;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.upload-area i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-area p {
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.upload-area span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* ===== RESPONSIVE DASHBOARD ===== */
@media screen and (max-width: 1024px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .messages-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .dashboard-header {
        padding: 1rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .order-filters {
        flex-wrap: wrap;
    }
    
    .user-details {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .user-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ===== FEATURED PRODUCTS STYLES ===== */
.product-rating {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-rating i {
    color: #ffd700;
    font-size: 0.7rem;
}

.product-rating .reviews {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-stats .views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-stats .views i {
    font-size: 0.7rem;
}

.product-info .seller {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0.25rem 0;
    font-style: italic;
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.product-detail-page {
    background: var(--background);
    min-height: 100vh;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb i {
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-detail-section {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 2rem;
}

.main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.zoom-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

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

.product-info-detail {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-header h1 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-text {
    color: var(--text-light);
    font-weight: 500;
}

.product-price-section {
    margin-bottom: 2rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.price-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.discount {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
    width: 16px;
}

.product-description,
.product-specs {
    margin-bottom: 2rem;
}

.product-description h3,
.product-specs h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 8px;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    color: var(--text);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.button.large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* ===== SELLER INFO SECTION ===== */
.seller-info-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.seller-card-large {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.seller-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-details h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.seller-location {
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seller-rating span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.seller-stats-large {
    display: flex;
    gap: 2rem;
}

.seller-stats-large .stat {
    text-align: center;
}

.seller-stats-large .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.seller-stats-large .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.seller-actions-large {
    display: flex;
    gap: 1rem;
}

/* ===== SIMILAR PRODUCTS SECTION ===== */
.similar-products-section {
    padding: 3rem 0;
}

.similar-products-section h2 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 2rem 0;
    font-weight: 800;
    text-align: center;
}

/* ===== PRODUCT CREATE PAGE STYLES ===== */
.product-create-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.product-create-section {
    padding: 3rem 0;
}

.product-create-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.form-header p {
    color: var(--text-light);
    margin: 0;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.image-upload-area {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.image-upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.image-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-placeholder p {
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.upload-placeholder span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
}

.contact-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== TIPS SIDEBAR ===== */
.tips-sidebar {
    position: sticky;
    top: 2rem;
}

.tips-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.tips-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

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

.tips-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tips-list li i {
    color: var(--primary);
    width: 16px;
}

/* ===== RESPONSIVE DESIGN FOR PRODUCT PAGES ===== */
@media screen and (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-create-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .seller-card-large {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .seller-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .seller-stats-large {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .product-detail-section {
        padding: 2rem 0;
    }
    
    .product-create-section {
        padding: 2rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-meta {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .seller-actions-large {
        flex-direction: column;
        width: 100%;
    }
    
    .tips-sidebar {
        position: static;
    }
}

@media screen and (max-width: 480px) {
    .product-info-detail {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .image-thumbnails {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* ===== TERMS & PRIVACY PAGE STYLES ===== */
.terms-page,
.privacy-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.terms-hero,
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.terms-hero::before,
.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.terms-hero-content,
.privacy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.terms-hero-content h1,
.privacy-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.025em;
}

.terms-hero-content p,
.privacy-hero-content p {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.terms-content,
.privacy-content {
    padding: 3rem 0;
}

.terms-container,
.privacy-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.terms-section,
.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.terms-section:last-child,
.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2,
.privacy-section h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.terms-section h3,
.privacy-section h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.terms-section p,
.privacy-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.terms-section ul,
.privacy-section ul {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li,
.privacy-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.terms-footer,
.privacy-footer {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text);
}

/* ===== WISHLIST PAGE STYLES ===== */
.wishlist-page {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-top: 2rem;
}

.wishlist-hero {
    background: var(--card-bg);
    border-radius: 1rem;
    margin: 2rem 0;
    padding: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow);
}

.wishlist-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem 0;
}

.wishlist-hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.wishlist-content {
    padding: 3rem 0;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 1rem;
}

.wishlist-stats {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
}

.wishlist-stats span {
    color: var(--primary);
    font-weight: 700;
}

.wishlist-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wishlist-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.sort-select,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.sort-select:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wishlist-item {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.wishlist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.wishlist-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

.remove-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: #e74c3c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
    box-shadow: var(--shadow);
}

.wishlist-item:hover .remove-wishlist {
    opacity: 1;
}

.remove-wishlist:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.out-of-stock {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.wishlist-item-info {
    padding: 1.5rem;
}

.wishlist-item-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.wishlist-item-info h4 a {
    color: inherit;
    text-decoration: none;
}

.wishlist-item-info h4 a:hover {
    color: var(--primary);
}

.wishlist-item-info .seller {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wishlist-item-actions .button {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem 0;
}

.empty-state p {
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
}

/* Responsive wishlist styles */
@media screen and (max-width: 768px) {
    .wishlist-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .wishlist-actions {
        justify-content: center;
    }
    
    .wishlist-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wishlist-item-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .wishlist-item-actions .button {
        flex: 1;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .wishlist-hero-content h1 {
        font-size: 2rem;
    }
    
    .wishlist-hero-content p {
        font-size: 1rem;
    }
    
    .wishlist-item-info {
        padding: 1rem;
    }
    
    .wishlist-item-actions {
        flex-direction: column;
    }
}

/* ===== CONTACT SELLER PAGE STYLES ===== */
.contact-seller-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-seller-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-seller-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-seller-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-seller-content {
    padding: 3rem 0;
}

.contact-seller-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-info-section {
    position: sticky;
    top: 2rem;
}

.product-card-large {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-large .product-image {
    height: 300px;
    overflow: hidden;
}

.product-card-large .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 2rem;
}

.product-details h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem 0;
}

.product-details .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.product-details .location {
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.seller-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.seller-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.seller-rating i {
    color: #fbbf24;
}

.seller-rating .reviews {
    color: var(--text-light);
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.form-header p {
    color: var(--text-light);
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

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

.contact-form select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.character-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.contact-method:hover {
    border-color: var(--primary);
    background: #ffffff;
}

.contact-method input[type="radio"] {
    width: auto;
    margin: 0;
}

.contact-method input[type="radio"]:checked + .method-icon {
    color: var(--primary);
}

.method-icon {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.method-text {
    font-weight: 500;
    color: var(--text);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.seller-tips-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.tips-content {
    text-align: center;
}

.tips-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 2rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tip-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem 0;
}

.tip-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== SETTINGS PAGE STYLES ===== */
.settings-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.settings-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.settings-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.settings-content {
    padding: 3rem 0;
}

.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.settings-sidebar {
    position: sticky;
    top: 2rem;
}

.settings-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.settings-nav-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

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

.settings-nav-item i {
    font-size: 1.25rem;
    width: 20px;
}

.settings-panels {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.settings-panel {
    display: none;
    padding: 2rem;
}

.settings-panel.active {
    display: block;
}

.panel-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.panel-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.panel-header p {
    color: var(--text-light);
    margin: 0;
}

.settings-form {
    max-width: 600px;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

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

.settings-form input,
.settings-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.settings-form input:focus,
.settings-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.setting-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

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

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.form-actions {
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.billing-content {
    max-width: 600px;
}

.billing-section {
    margin-bottom: 2.5rem;
}

.billing-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

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

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

.payment-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

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

/* ===== PROFILE PAGE STYLES ===== */
.profile-page {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
}

.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.profile-cover {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

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

.edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-info p {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.profile-stats .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-content {
    padding: 3rem 0;
}

.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.info-item .label {
    color: var(--text-light);
    font-weight: 500;
}

.info-item .verified {
    color: #059669;
    font-weight: 600;
}

.products-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

.section-header h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

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

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

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.button.small {
    padding: 0.5rem;
    font-size: 0.8rem;
}

.reviews-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.reviews-section h2 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 2rem 0;
    font-weight: 800;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.reviewer-info h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

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

.stars i.filled {
    color: #ffd700;
}

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

.review-comment {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== RESPONSIVE DESIGN FOR NEW PAGES ===== */
@media screen and (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-cover {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .onboarding-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .profile-info h1 {
        font-size: 1.75rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-stats {
        gap: 1rem;
    }
    
    .profile-stats .number {
        font-size: 1.25rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .onboarding-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .onboarding-card i {
        width: auto;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .cta-group .button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .button {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .onboarding-grid {
        padding: 0 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .button {
        width: 100%;
    }
}

/* ===== ONBOARDING SECTION STYLES ===== */
.onboarding-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.onboarding-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.onboarding-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.onboarding-card i {
    font-size: 2rem;
    color: var(--primary);
    width: 48px;
    text-align: center;
}

.onboarding-card > div {
    flex: 1;
}

.onboarding-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.onboarding-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.onboarding-card .button {
    white-space: nowrap;
}

.cta-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-group .button {
    flex: 1;
    min-width: 120px;
}

/* ===== PROFILE PAGE ENHANCEMENTS ===== */
.profile-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.profile-cover {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

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

.edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-info p {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.profile-stats .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-content {
    padding: 3rem 0;
}

.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.info-item .label {
    color: var(--text-light);
    font-weight: 500;
}

.info-item .verified {
    color: #059669;
    font-weight: 600;
}

.products-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

.section-header h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

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

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

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.button.small {
    padding: 0.5rem;
    font-size: 0.8rem;
}

.reviews-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.reviews-section h2 {
    font-size: 2rem;
    color: var(--text);
    margin: 0 0 2rem 0;
    font-weight: 800;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.reviewer-info h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

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

.stars i.filled {
    color: #ffd700;
}

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

.review-comment {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* ===== RESPONSIVE DESIGN FOR PROFILE PAGE ===== */
@media screen and (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-cover {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .onboarding-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .profile-info h1 {
        font-size: 1.75rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-stats {
        gap: 1rem;
    }
    
    .profile-stats .number {
        font-size: 1.25rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .onboarding-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .onboarding-card i {
        width: auto;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .cta-group .button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .button {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .onboarding-grid {
        padding: 0 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .button {
        width: 100%;
    }
}

/* ===== WEB3 STATISTICS STYLES ===== */
.web3-stats-section {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.web3-stats-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.web3-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.web3-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web3-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.web3-stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--web3-accent);
}

.web3-stat-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.web3-stat-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Contact page Web3 stats */
.contact-page .web3-stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 3rem 0;
}

.contact-page .web3-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Campus links styling */
.campus-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.campus-link {
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.campus-link:hover {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary);
}

/* ===== REAL-TIME NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-success {
    background: var(--success);
}

.notification-info {
    background: var(--primary);
}

.notification-warning {
    background: #FF9800;
}

.notification-error {
    background: #F44336;
}

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

/* ===== DASHBOARD WEB3 STATS ===== */
.dashboard-main .web3-stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 2rem 0;
    border-radius: 12px;
}

.dashboard-main .web3-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.dashboard-main .web3-stat-card {
    padding: 1rem;
}

.dashboard-main .web3-stat-card h3 {
    font-size: 1.25rem;
}

/* ===== RESPONSIVE WEB3 STATS ===== */
@media screen and (max-width: 768px) {
    .web3-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .web3-stats-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .web3-stat-card {
        padding: 1rem;
    }
    
    .web3-stat-card h3 {
        font-size: 1.25rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .web3-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .web3-stats-section {
        padding: 1rem;
    }
    
    .campus-links {
        gap: 0.25rem;
    }
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
    padding: 2rem 0;
    background: var(--background);
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.legal-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

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

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text);
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive legal pages */
@media screen and (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.notification-success {
    background: var(--success);
}

.notification-error {
    background: var(--error);
}

.notification-info {
    background: var(--primary);
}

.notification i {
    font-size: 1.1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== FORM IMPROVEMENTS ===== */
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

.form-input.success {
    border-color: var(--success);
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* ===== IMAGE PREVIEW STYLES ===== */
.image-preview {
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    display: inline-block;
    margin: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-preview-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.remove-image:hover {
    background: rgba(255, 0, 0, 1);
}

.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: border-color 0.3s ease;
}

.image-upload-area:hover {
    border-color: var(--primary);
}

.image-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-placeholder p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.upload-placeholder span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Direct Contact Section Styles */
.direct-contact-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.direct-contact-section h4 {
    color: var(--text);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

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

.email-btn:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Form help text styling */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* Product Warning Alert Styles */
.alert {
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.alert-warning {
    background-color: #fef3cd;
    border: 1px solid #fde68a;
    color: #92400e;
}

.product-warning {
    margin: 0.5rem 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

.warning-link {
    color: #d97706;
    text-decoration: underline;
    font-weight: 600;
}

.warning-link:hover {
    color: #b45309;
    text-decoration: none;
}

/* Enhanced Product Card Features */
.color-tag {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    font-weight: 600;
    text-transform: capitalize;
}

.additional-images-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.share-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.share-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.share-btn i {
    font-size: 0.8rem;
}

/* ===== ENHANCED BUTTON ANIMATIONS & FEEDBACK ===== */
/* Subtle hover/press motion and CSS-only ripple. Kept lightweight and accessible. */
.button,
.contact-btn,
.share-btn,
.search-button {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Universal hover lift and pressed feedback */
.button:hover,
.contact-btn:hover,
.share-btn:hover,
.search-button:hover {
    transform: translateY(-2px);
}

.button:active,
.contact-btn:active,
.share-btn:active,
.search-button:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

/* Focus ring for keyboard users */
.button:focus-visible,
.contact-btn:focus-visible,
.share-btn:focus-visible,
.search-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.25);
}

/* CSS ripple effect (no JS) */
.button::after,
.contact-btn::after,
.share-btn::after,
.search-button::after {
    content: "";
    position: absolute;
    top: var(--ripple-y, 50%);
    left: var(--ripple-x, 50%);
    transform: translate(-50%, -50%) scale(0);
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    opacity: 0;
    transition: transform 400ms ease, opacity 500ms ease;
    pointer-events: none;
}

.button:active::after,
.contact-btn:active::after,
.share-btn:active::after,
.search-button:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .button,
    .button::after,
    .contact-btn,
    .contact-btn::after,
    .share-btn,
    .share-btn::after,
    .search-button,
    .search-button::after {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ===== HOMEPAGE SPACING TWEAKS AFTER REMOVING CATEGORIES ===== */
.home-page .campus-section {
    padding: 3rem 0 2rem;
}

.home-page .campus-section .section-header {
    margin-bottom: 1.5rem;
}

.home-page .featured-section .section-header {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .home-page .campus-section {
        padding: 2rem 0 1.5rem;
    }
    .home-page .featured-section .section-header {
        margin-bottom: 1rem;
    }
}


/* Product card enhancements */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.no-image-placeholder {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    border-radius: 8px;
}

.no-image-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.no-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Loading spinner  betwen pages*/
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            border-top: 4px solid var(--primary);
            animation: spin 1s linear infinite;
            margin: 20px auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Skeleton loading */
        .skeleton {
            background: linear-gradient(90deg, #2d2f45 0%, #3a3d5d 50%, #2d2f45 100%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 4px;
        }

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

        /* Hover animations */
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
