:root {
    color-scheme: light;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --bg: #eef4fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e2ebff;
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --accent: #f97316;
    --text: #0f172a;
    --muted: #475569;
    --border: #dbeafe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%);
    color: var(--text);
    min-height: 100vh;
}

button,
input,
select {
    font: inherit;
}

/* TOP BAR */
.top-bar {
    background: #1f2937;
    color: rgba(255,255,255,0.88);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    margin-left: 22px;
    transition: color 0.25s ease;
}

.top-right a:hover {
    color: white;
}

/* MAIN HEADER */
.main-header {
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(219, 234, 254, 0.9);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 30px;
    color: var(--text);
    margin-bottom: 0;
    letter-spacing: 0.8px;
    text-transform: none;
}

.search-bar {
    flex: 1;
    display: flex;
    background: var(--surface-soft);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 18px;
    outline: none;
    font-size: 15px;
    color: var(--text);
}

.search-bar button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    font-size: 16px;
}

.search-bar button:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.24);
}

.header-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.header-link {
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    background: #f9fafb;
    font-size: 13px;
}

.header-link:hover {
    background: #ffffff;
    border-color: var(--primary);
}

.header-link i {
    font-size: 16px;
    color: var(--primary);
}

.header-link.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff2819;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* CATEGORIES NAVIGATION */
.categories-nav {
    max-width: 1400px;
    margin: 18px auto 0;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow-x: auto;
}

.category-link {
    flex: 0 0 auto;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #f9fafb;
}

.category-link i {
    color: var(--primary);
}

.category-link:hover,
.category-link.active {
    background: var(--surface-strong);
    color: var(--primary-dark);
    border-color: rgba(29,78,216,0.2);
}

.hero-banner {
    max-width: 1400px;
    margin: 18px auto;
    padding: 48px 32px;
    background: linear-gradient(135deg, #eef4fb 0%, #ffffff 100%);
    border-radius: 32px;
    color: var(--text);
    overflow: hidden;
    min-height: 460px;
    box-shadow: 0 30px 90px rgba(15,23,42,0.08);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.marketplace-features {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    gap: 18px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(219,234,254,0.95);
    box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}

.feature-card i {
    font-size: 22px;
    color: white;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--primary);
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

.popular-searches {
    background: #ffffff;
    border: 1px solid rgba(229,231,235,0.9);
    color: var(--text);
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.popular-searches a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.popular-searches a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

.hero-text h2 {
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    line-height: 1.02;
    color: var(--text);
    max-width: 700px;
}

.hero-text p {
    font-size: 1rem;
    max-width: 560px;
    color: var(--muted);
    margin-bottom: 26px;
}

.hero-box {
    position: relative;
    background: #f8fafc;
    border-radius: 28px;
    padding: 34px;
    min-height: 340px;
}

.hero-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 26px;
    color: var(--text);
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}

.hero-card h3 {
    color: var(--primary);
}

.hero-card ul li {
    background: #fff7ed;
    color: var(--text);
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 15px;
    box-shadow: inset 0 0 0 1px rgba(247,147,30,0.12);
}

.hero-label {
    display: inline-block;
    background: #fff4e7;
    color: var(--primary-dark);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.hero-btn {
    background: var(--primary);
    color: white;
    padding: 16px 38px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 22px 50px rgba(29,78,216,0.18);
}

.hero-btn:hover {
    background: var(--primary-dark);
}

.hero-visual {
    position: relative;
}

.hero-circle {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.14);
    border-radius: 50%;
}

.category-highlights,
.service-packages,
.category-details,
.service-details {
    max-width: 1400px;
    margin: 24px auto;
    padding: 34px 24px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.06);
}

.category-header,
.service-header {
    text-align: center;
    margin-bottom: 24px;
}

.category-header h2,
.service-header h2 {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 12px;
}

.category-header p,
.service-header p {
    color: var(--muted);
    font-size: 15px;
    max-width: 750px;
    margin: 0 auto;
}

.category-grid,
.service-grid,
.details-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.details-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.category-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.category-product {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff8ef;
    border: 1px solid #f5d7b0;
    border-radius: 14px;
    padding: 10px;
}

.category-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #ffedd6;
}

.category-product strong {
    display: block;
    font-size: 14px;
    color: #222;
    margin-bottom: 4px;
}

.product-price {
    display: block;
    color: #f7931e;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 900px) {
    .category-products {
        grid-template-columns: 1fr;
    }
}

.category-card,
.service-card,
.detail-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(219,234,254,0.95);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card img,
.service-card img,
.detail-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(229,231,235,0.8);
}

.category-card:hover,
.service-card:hover,
.detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29,78,216,0.32);
    box-shadow: 0 22px 60px rgba(15,23,42,0.10);
}

.category-card h3,
.service-card h3,
.detail-card h3 {
    font-size: 18px;
    margin: 0;
}

.category-card p,
.service-card p,
.detail-card p {
    color: #565656;
    line-height: 1.7;
    margin: 0;
}

.category-card i {
    font-size: 30px;
    color: #667eea;
}

.category-card h3,
.service-card h3 {
    font-size: 18px;
    margin: 0;
}

.category-card p,
.service-card p {
    color: #565656;
    line-height: 1.7;
    margin: 0;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* FLASH SALES */
.flash-sales {
    max-width: 1400px;
    margin: 24px auto;
    padding: 22px 24px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.06);
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.flash-header h3 {
    font-size: 18px;
    color: #f7931e;
    font-weight: 700;
}

.timer {
    background: #ffffff;
    color: #f7931e;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid rgba(247,147,30,0.22);
}

.flash-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.flash-product {
    background: var(--surface-soft);
    border: 1px solid rgba(219,234,254,0.9);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.flash-product:hover {
    box-shadow: 0 20px 50px rgba(29,78,216,0.12);
    border-color: rgba(29,78,216,0.22);
    transform: translateY(-3px);
}

.flash-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.flash-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.flash-product h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.original-price {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.current-price,
.flash-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
}

.rating {
    font-size: 11px;
    color: #d97706;
    margin-bottom: 8px;
}

.rating i {
    font-size: 9px;
}

.rating span {
    color: #999;
    margin-left: 4px;
}

.no-star {
    color: #ddd;
}

.progress-bar {
    background: #f0f0f0;
    height: 4px;
    border-radius: 2px;
    margin: 6px 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    border-radius: 2px;
}

.flash-product small {
    font-size: 9px;
    color: #999;
}

/* PRODUCTS HEADER WITH SEARCH & FILTERS */
.products-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.products-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.search-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.search-box input {
    width: 100%;
    padding: 10px 42px 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #f7931e;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.05);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 180px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-btn, .sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.filter-btn:hover, .sort-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-count {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

.sort-dropdown {
    position: relative;
}

.sort-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1000;
    display: none;
}

.sort-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.sort-option:hover {
    background: #f8f9fa;
}

.sort-option:last-child {
    border-bottom: none;
}

/* FILTERS SIDEBAR */
.filters-sidebar {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #667eea;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-inputs input {
    width: 80px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.checkbox-group label:hover {
    color: #667eea;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.rating-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-filters label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.rating-filters i {
    color: #ff9800;
    font-size: 12px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.clear-filters, .apply-filters {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.clear-filters {
    background: #f5f5f5;
    color: #666;
}

.clear-filters:hover {
    background: #e0e0e0;
}

.apply-filters {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.apply-filters:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.products-section {
    max-width: 1400px;
    margin: 24px auto;
    padding: 36px 22px;
    background: var(--surface);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15,23,42,0.08);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.product {
    background: var(--surface);
    border: 1px solid rgba(219,234,254,0.9);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product:hover {
    box-shadow: 0 24px 80px rgba(15,23,42,0.12);
    border-color: rgba(29,78,216,0.28);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f4f6f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product:hover .product-image img {
    transform: scale(1.04);
}

.discount-badge,
.official-badge,
.hot-label {
    position: absolute;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.discount-badge {
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
}

.official-badge {
    top: 12px;
    right: 12px;
    background: var(--primary-dark);
    color: white;
}

.hot-label {
    bottom: 10px;
    right: 10px;
    background: #dc2626;
    color: white;
}

.product h3 {
    padding: 14px 14px 4px;
    font-size: 15px;
    color: #212121;
    line-height: 1.35;
    margin: 0;
}

.seller-info {
    padding: 0 14px 8px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seller-name {
    color: #666;
}

.verified {
    color: #f7931e;
    font-weight: 700;
}

.product .rating {
    padding: 0 14px;
    margin-bottom: 8px;
}

.reviews-preview {
    padding: 0 14px 10px;
    border-bottom: 1px solid #f4f4f6;
}

.review-item {
    background: #fff7ef;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.review-item p {
    font-size: 12px;
    color: #5f5f5f;
    margin: 6px 0 0 0;
    line-height: 1.4;
}

.product .price-section {
    padding: 10px 14px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.current-price,
.flash-price {
    font-size: 17px;
    font-weight: 800;
    color: #f7931e;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    margin: 14px 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(29,78,216,0.22);
    background: var(--primary-dark);
}


/* FOOTER */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 16px;
}

.social-links a:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

/* ABOUT US SECTION */
.about-us {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 20px;
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.feature i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.feature h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.testimonials {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 30px;
}

.testimonials-header p {
    color: #555;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-cards {
    display: grid;
    gap: 20px;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 25px;
    min-height: 180px;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: #333;
}

.testimonial-author span {
    color: #777;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(102, 126, 234, 0.25);
    transition: transform 0.2s ease;
}

.testimonial-btn:hover {
    transform: scale(1.05);
}

.top-brands,
.faq-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.top-brands .brand-header,
.faq-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #667eea;
}

.top-brands .brand-header p {
    color: #555;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.12);
}

.brand-card i {
    font-size: 28px;
    color: #667eea;
}

.brand-card span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
}

.faq-question {
    width: 100%;
    padding: 18px 0;
    border: none;
    background: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    padding-bottom: 0;
}

.faq-item.open .faq-answer {
    max-height: 240px;
    opacity: 1;
    padding-bottom: 18px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-2px);
    background: #5a6fdb;
}

.floating-btn.top-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

#backToTop {
    opacity: 0;
    pointer-events: none;
}

.newsletter-message {
    margin-top: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

@media (max-width: 900px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-bar {
        order: 3;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .categories-nav {
        padding: 0 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }

    .hero-box {
        margin: 0 auto;
        max-width: 360px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .top-bar-content,
    .header-content,
    .footer-content,
    .brand-grid,
    .payment-options,
    .delivery-options,
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-card ul {
        justify-content: center;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
    }
}

/* PAYMENT METHODS */
.payment-methods {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.payment-content {
    text-align: center;
}

.payment-content h2 {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 10px;
}

.payment-content > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-option {
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.payment-option i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.payment-option h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.payment-option p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* NEWSLETTER */
.newsletter {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-content > p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* RECENTLY VIEWED */
.recently-viewed {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.recently-viewed h2 {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.recent-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.recent-product {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.recent-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.recent-product img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.recent-product h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

/* DELIVERY INFORMATION */
.delivery-info {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.delivery-content {
    text-align: center;
}

.delivery-content h2 {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 10px;
}

.delivery-content > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.delivery-option {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.delivery-option:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.delivery-option i {
    font-size: 35px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.delivery-option h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.delivery-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.delivery-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.delivery-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.delivery-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.delivery-features .feature i {
    color: #667eea;
    font-size: 16px;
}