/* ================================
   MEGAMART — BLACK & WHITE THEME
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent:       #6C63FF;
    --accent-dark:  #574fd6;
    --accent-light: #ede9ff;

    --dark:   #0f0f0f;
    --dark-2: #1a1a2e;
    --dark-3: #2d2d2d;

    --white:      #ffffff;
    --off-white:  #f7f7f7;
    --light-gray: #f0f0f5;
    --border:     #e2e2e8;

    --text-main: #1a1a2e;
    --text-mute: #6b7280;
    --text-light:#9ca3af;

    --success: #10b981;
    --warning: #f59e0b;
    --danger:  #ef4444;
    --info:    #3b82f6;

    --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
    --shadow:    0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

    --radius:    10px;
    --radius-lg: 16px;
    --transition: all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--off-white);
}

/* ---- Container ---- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   TOP BAR
   ================================ */
.navbar-top {
    background: var(--dark);
    color: #ccc;
    padding: 9px 0;
    font-size: 12.5px;
    letter-spacing: 0.2px;
}

.navbar-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    gap: 24px;
}

.navbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #bbb;
}

.navbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.navbar-right a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.navbar-right a:hover { color: var(--accent); }

/* ================================
   MAIN HEADER
   ================================ */
.main-header {
    background: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo h1 i { color: var(--accent); }

/* Search */
.search-bar {
    flex: 1;
    max-width: 520px;
}

.search-bar form {
    display: flex;
    background: var(--light-gray);
    border-radius: 30px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

.search-bar form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 18px;
    outline: none;
    font-size: 14px;
    color: var(--text-main);
}

.search-bar button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.search-bar button:hover { background: var(--accent-dark); }

/* Header Icons */
.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.icon-link {
    position: relative;
    color: var(--dark-3);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-link:hover { color: var(--accent); }

.badge {
    position: absolute;
    top: -7px;
    right: -8px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* ================================
   MAIN NAV
   ================================ */
.navbar-main {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li { position: relative; }

.nav-menu a {
    color: #d1d5db;
    text-decoration: none;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: var(--accent);
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--white);
    top: 100%;
    left: 0;
    min-width: 210px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1000;
    overflow: hidden;
    border-top: 3px solid var(--accent);
}

.dropdown-menu li a {
    color: var(--text-main);
    padding: 12px 20px;
    font-size: 13.5px;
}

.dropdown-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* ================================
   HERO SLIDER — FULL WIDTH
   ================================ */
.hero-slider-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides-track {
    position: relative;
    height: 520px;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.03);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.4) 55%,
        rgba(0,0,0,0.05) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 560px;
    padding: 0 0 0 80px;
}

.slide-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.slide-content h2 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.88;
    line-height: 1.6;
}

.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-slide:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: var(--transition);
    outline: none;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(108,99,255,0.45);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid rgba(255,255,255,0.6);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ================================
   SECTION TITLE
   ================================ */
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* ================================
   CATEGORIES
   ================================ */
.categories-section {
    padding: 60px 0 40px;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.category-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
    background: var(--white);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-4deg);
}

.category-info { flex: 1; min-width: 0; }

.category-info h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 3px;
}

.category-info span {
    font-size: 12px;
    color: var(--text-mute);
}

.category-arrow {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ================================
   PRODUCTS SECTION
   ================================ */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.product-badge.new     { background: var(--success); }
.product-badge.sale    { background: var(--danger); }

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    min-height: 36px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 12px;
}

.stars { color: var(--warning); }
.review-count { color: var(--text-mute); }

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.price-original {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-icon {
    flex: 1;
    padding: 9px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.btn-cart {
    background: var(--accent);
    color: white;
    flex: 2;
}

.btn-cart:hover { background: var(--accent-dark); }

.btn-favorite {
    background: var(--light-gray);
    color: var(--text-main);
    border: 1.5px solid var(--border);
}

.btn-favorite:hover {
    background: #fef2f2;
    color: var(--danger);
    border-color: var(--danger);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    padding: 11px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(108,99,255,0.35);
}

.btn-secondary {
    background: var(--dark);
    color: white;
}

.btn-secondary:hover { background: var(--dark-3); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ================================
   PRODUCTS PAGE LAYOUT
   ================================ */
.products-page {
    padding: 50px 0;
}

.products-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-page-header p {
    color: var(--text-mute);
    font-size: 15px;
    margin-top: 6px;
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.sidebar-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header h3 i { color: var(--accent); }

.btn-reset {
    font-size: 12px;
    color: var(--text-mute);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 6px;
}

.btn-reset:hover { color: var(--danger); background: #fef2f2; }

.filter-group {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child { border-bottom: none; }

.filter-group h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13.5px;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px 0;
    transition: var(--transition);
}

.filter-label:hover { color: var(--accent); }

.filter-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.price-range-wrap {
    padding: 4px 0;
}

.price-range-wrap input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
    margin-bottom: 10px;
    height: 4px;
    cursor: pointer;
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-mute);
    font-weight: 600;
}

.sidebar-actions {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Products area */
.products-area {}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
}

.products-count {
    font-size: 13.5px;
    color: var(--text-mute);
}

.products-count strong {
    color: var(--text-main);
    font-weight: 700;
}

.sort-select {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 13.5px;
    color: var(--text-main);
    background: var(--off-white);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.sort-select:focus { border-color: var(--accent); }

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-mute);
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 48px;
    color: var(--border);
    display: block;
    margin-bottom: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .btn {
    min-width: 42px;
    padding: 9px 14px;
    font-size: 13px;
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-page {
    padding: 60px 0;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-page-header p {
    color: var(--text-mute);
    font-size: 15px;
    margin-top: 8px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

.contact-form-card,
.contact-info-wrap { width: 100%; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 36px;
}

.contact-form-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card h2 i { color: var(--accent); }

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-main);
    background: var(--off-white);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}

textarea.form-control { resize: vertical; min-height: 130px; }

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 28px;
    margin-bottom: 20px;
}

.contact-info-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-info-item:last-child { margin-bottom: 0; }

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.7;
}

.hours-card {
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.hours-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--white);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #ccc;
}

.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--white); }

/* Map */
.map-section { margin-bottom: 50px; }

.map-section h2 { margin-bottom: 20px; }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.faq-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 22px;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.faq-card h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.faq-card h4 i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.faq-card p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.7;
}

/* ================================
   PROMO BANNER
   ================================ */
.promo-banner {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
    margin: 0;
    text-align: center;
}

.promo-banner h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.promo-banner p {
    font-size: 16px;
    margin-bottom: 28px;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 13px 20px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--white);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }

.newsletter-form button {
    padding: 13px 26px;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover { background: var(--accent-dark); }

/* ================================
   BENEFITS STRIP
   ================================ */
.benefits-section {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 38px;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
}

.benefit-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.benefit-item p {
    font-size: 13px;
    color: var(--text-mute);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 0.3px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.8;
    color: #9ca3af;
}

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 10px; }

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-section ul li a:hover { color: var(--accent); padding-left: 4px; }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: #6b7280;
}

.payment-methods {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.pay-badge {
    font-size: 28px;
    color: #9ca3af;
    transition: var(--transition);
    line-height: 1;
}

.pay-badge:hover { color: var(--accent); }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 220px 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-left { display: none; }
    .navbar-top-content { justify-content: flex-end; }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-bar { order: 3; max-width: 100%; flex: 0 0 100%; }

    .logo h1 { font-size: 22px; }

    .nav-menu { flex-wrap: wrap; }
    .nav-menu a { padding: 13px 16px; font-size: 13px; }

    .slides-track { height: 320px; }
    .slide-content { padding: 0 60px 0 28px; }
    .slide-content h2 { font-size: 30px; }
    .slide-content p { font-size: 14px; margin-bottom: 20px; }
    .btn-slide { padding: 11px 22px; font-size: 14px; }

    .slider-btn { width: 40px; height: 40px; font-size: 15px; }
    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .sidebar { position: static; }

    .contact-layout { grid-template-columns: 1fr; }

    .faq-grid { grid-template-columns: 1fr; }

    .benefits-grid { grid-template-columns: repeat(2, 1fr); }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .slides-track { height: 260px; }
    .slide-content h2 { font-size: 22px; }

    .categories-grid { grid-template-columns: 1fr; gap: 10px; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .benefits-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 24px; }

    .contact-form-card { padding: 22px; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .header-icons { gap: 14px; }
}

/* ================================
   UTILITY
   ================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }