/* ===========================
   PREÇOCERTO - ESTILOS PRINCIPAIS
   =========================== */

:root {
    --primary: #e8002d;
    --primary-dark: #b8001e;
    --primary-light: #ff4d6d;
    --secondary: #ff6b00;
    --accent: #ffd700;
    --success: #00a854;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #f5f6fa;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border: #e5e7eb;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 20px;
    --header-height: 130px;
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: var(--accent);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-top-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 400;
    color: #333;
    letter-spacing: -0.5px;
}

.logo-text strong {
    font-weight: 800;
}

/* SEARCH BAR */
.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: visible;
    position: relative;
    height: 46px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.search-category {
    border-right: 1px solid var(--border);
    height: 100%;
    display: flex;
    align-items: center;
}

.search-category select {
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-light);
    background: transparent;
    height: 100%;
    cursor: pointer;
    max-width: 160px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text);
    background: transparent;
    height: 100%;
}

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

.search-btn {
    background: var(--secondary);
    border: none;
    color: white;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    border-radius: 0 10px 10px 0;
}

.search-btn:hover {
    background: #e05a00;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    display: none;
    overflow: hidden;
}

.search-suggestions.active {
    display: block;
}

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

.suggestion-item:hover {
    background: var(--bg-gray);
}

.suggestion-item i {
    color: var(--text-muted);
    width: 16px;
}

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

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.header-action-btn i {
    font-size: 16px;
}

.header-action-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.btn-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #333;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-login:hover {
    background: rgba(255, 255, 255, 0.55);
}

.cashback-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cashback-badge:hover {
    background: #ffc107;
    transform: translateY(-1px);
}

.cashback-badge i {
    font-size: 14px;
}

.header-auth-greeting {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
    margin-right: 4px;
}

.header-auth-greeting-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #166534;
}

.header-auth-greeting-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    color: #1f2937;
}

.btn-login .login-status-text {
    display: none;
}

.btn-login.is-authenticated {
    min-width: 92px;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(22, 101, 52, 0.25);
}

.btn-login.is-authenticated i {
    color: #166534;
}

.btn-login.is-authenticated .login-status-text {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #166534;
}

.cashback-badge.is-authenticated {
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.18);
}

/* NAV CATEGORIES */
.nav-categories {
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 0;
}

.nav-cats-inner {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.all-cats-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: inherit;
}

.all-cats-btn:hover,
.all-cats-btn[aria-expanded="true"] {
    background: #f9fafb;
    color: #111827;
    border-color: #111827;
}

.all-cats-btn:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.18);
    outline-offset: 2px;
}

.cats-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    z-index: 999;
    min-width: min(980px, 96vw);
    max-width: min(980px, 96vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: hidden;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.cats-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cats-mega-header {
    grid-column: 1 / -1;
    padding: 10px 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 2px;
}

.cats-mega-header strong {
    display: block;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 4px;
}

.cats-mega-header span {
    font-size: 13px;
    color: #64748b;
}

@media (min-width: 769px) {
    .nav-cats-inner:hover .cats-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .cats-group:hover .cats-submenu {
        max-height: 420px;
        opacity: 1;
        padding: 8px 4px 4px 4px;
    }

    .cats-group:hover .cats-group-title {
        background: #f9fafb;
        color: #111827;
    }

    .cats-group:hover .cats-arrow {
        transform: rotate(180deg);
        color: #111827;
    }
}

.cats-group {
    padding: 8px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.cats-group-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
    padding: 12px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    text-align: left;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.cats-group-title.toggle:hover {
    background: #f9fafb;
}

.cats-group-title.active {
    background: #f3f4f6;
    color: #111827;
}

.cats-group-title i {
    margin-right: 8px;
}

.cats-group-title span:first-of-type {
    flex: 1;
}

.cats-arrow {
    margin-left: auto;
    color: var(--text-light);
    transition: transform 0.22s ease, color 0.22s ease;
    transform-origin: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cats-group-title.active .cats-arrow {
    transform: rotate(180deg);
    color: #111827;
}

.cats-submenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
}

.cats-submenu.open {
    max-height: 420px;
    opacity: 1;
    padding: 8px 4px 4px 4px;
}

.cats-menu a {
    padding: 10px 11px;
    font-size: 13px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #eef2f7;
}

.cats-menu a:hover {
    background: #f9fafb;
    color: #111827;
    transform: translateY(-1px);
}

.cats-menu a i {
    width: 18px;
    color: #111827;
    opacity: 0.8;
    text-align: center;
}

.quick-cats {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.quick-cats::-webkit-scrollbar {
    display: none;
}

.quick-cat {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.quick-cat:hover {
    color: #111827;
    border-bottom-color: #111827;
}

.quick-cat.highlight {
    color: #111827;
    font-weight: 600;
}

.quick-cat.highlight2 {
    color: #111827;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffdb00 55%, #ffc107 100%);
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-content {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.hero-banner-carousel {
    text-align: left;
}

.hero-banner-carousel .banner-item {
    background: linear-gradient(135deg, #ffe680 0%, #ffdb00 55%, #ffc107 100%);
    color: #333;
    box-shadow: 0 12px 28px rgba(180, 130, 0, 0.16);
}

.hero-banner-carousel .banner-item h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.25;
}

.hero-banner-carousel .banner-item p {
    font-size: 15px;
    color: #333;
    opacity: 0.95;
}

.hero-banner-carousel .banner-tagline,
.hero-banner-carousel .banner-meta span {
    background: rgba(255, 255, 255, 0.5);
    color: #333;
}

.hero-banner-carousel .banner-btn {
    background: #333;
    color: #fff;
}

.hero-banner-carousel .banner-btn:hover {
    background: #111827;
    color: #fff;
}

.hero-banner-carousel .banner-nav-btn {
    background: rgba(255, 255, 255, 0.92);
}

.hero-banner-carousel .banner-dot.active {
    background: #333;
}

.hero-banner-carousel .banner-slide-image img {
    background: rgba(255, 255, 255, 0.45);
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: none;
}

.hero-content p {
    font-size: 15px;
    opacity: 0.95;
}

.cashback-partners {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.partner-title {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.partners-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.partner-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.partner-name {
    color: #333;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partner-cashback {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.see-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px auto 0;
    background: white;
    color: var(--primary);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.see-all-btn:hover {
    background: var(--accent);
    color: #333;
    transform: translateY(-1px);
}

/* ===== HOT CATEGORIES ===== */
.hot-categories {
    padding: 24px 0;
    background: white;
    margin-bottom: 4px;
}

.hot-cats-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hot-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.hot-cat-item:hover {
    transform: translateY(-4px);
}

.hot-cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: var(--shadow);
}

.hot-cat-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 32px 0;
    background: var(--bg);
}

.products-section:nth-child(even) {
    background: white;
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary);
}

.see-all-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.see-all-link:hover {
    gap: 8px;
}

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

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.badge-indica {
    background: var(--secondary);
    color: white;
}

.badge-cashback {
    background: var(--success);
    color: white;
}

.badge-desconto {
    background: #7c3aed;
    color: white;
}

.product-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-muted);
}

.product-fav:hover,
.product-fav.active {
    color: var(--primary);
    border-color: var(--primary);
    background: #fff5f5;
}

.product-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    padding: 20px;
    overflow: hidden;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-img-placeholder {
    font-size: 60px;
    color: var(--border);
}

.product-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card-actions {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.coupon-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

.coupon-action-btn.has-code {
    background: linear-gradient(135deg, #ff6b00, #e8002d);
    box-shadow: 0 10px 22px rgba(232, 0, 45, 0.22);
}

.coupon-action-btn.link-mode {
    background: linear-gradient(135deg, #0f766e, #0ea5e9);
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22);
}

.coupon-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.coupon-action-btn.is-loading,
.coupon-action-btn:disabled {
    cursor: wait;
    opacity: 0.82;
    transform: none;
    filter: none;
}

.coupon-action-btn:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.25);
    outline-offset: 2px;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.stars {
    color: #f59e0b;
}

.rating-count {
    color: var(--text-muted);
}

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

.product-price-block {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.product-price-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--success);
    line-height: 1.2;
}

.product-installments {
    font-size: 11px;
    color: var(--text-muted);
}

.product-cashback-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
    margin-top: 4px;
}

.product-cashback-info i {
    font-size: 10px;
}

.product-compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
    font-family: inherit;
    border-radius: 0 0 var(--radius) var(--radius);
}

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

/* ===== PROMO BANNERS ===== */
.promo-banner {
    padding: 24px 0;
    background: var(--bg);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.banner-item {
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.banner-saldao {
    background: linear-gradient(135deg, #e8002d, #ff4d6d);
    color: white;
}

.banner-cashback {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.banner-badge.cashback {
    color: var(--success);
}

.banner-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.banner-item p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--text);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.banner-btn:hover {
    background: var(--accent);
    transform: translateX(4px);
}

.banner-carousel-shell {
    position: relative;
}

.banner-track {
    position: relative;
}

.banner-slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 220px;
}

.banner-slide.active {
    display: flex;
}

.banner-panel {
    flex: 1;
}

.banner-slide.banner-only-image {
    display: none;
    min-height: 220px;
    width: 100%;
}

.banner-slide.banner-only-image.active {
    display: block;
}

.banner-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 12px;
}

.banner-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.92;
}

.banner-meta span {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 999px;
}

.banner-slide-image {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-slide-image img {
    width: 100%;
    max-width: 220px;
    max-height: 150px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    padding: 12px;
}

.banner-slide.banner-only-image .banner-slide-image {
    flex: 1 1 100%;
    width: 100%;
    height: 100%;
}

.banner-slide.banner-only-image .banner-slide-image img {
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 18px;
    background: transparent;
    padding: 0;
    display: block;
}

.banner-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.banner-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: white;
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.banner-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.banner-dot.active {
    background: var(--primary);
    transform: scale(1.15);
}

.banner-empty {
    color: #475569;
    font-size: 14px;
}

.promo-banner-secondary {
    padding-top: 0;
}

.banner-carousel-shell.compact .banner-item {
    min-height: 180px;
}

.banner-carousel-shell.compact .banner-slide {
    min-height: 180px;
}

.banner-carousel-shell.compact .banner-slide.banner-only-image .banner-slide-image img {
    min-height: 180px;
}

/* ===== MARKETPLACE SECTION ===== */
.marketplace-section {
    padding: 32px 0;
    background: white;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.market-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: white;
}

.market-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(232, 0, 45, 0.1);
    transform: translateY(-2px);
}

.market-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow);
}

.market-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

.market-cashback {
    font-size: 10px;
    color: var(--success);
    font-weight: 700;
}

/* ===== CUPONS PROMO ===== */
.cupons-promo-section {
    padding: 32px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cupons-promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.cupons-promo-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cupons-promo-text h2 i {
    color: var(--accent);
}

.cupons-promo-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-cupons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #333;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-cupons:hover {
    background: white;
    transform: translateY(-2px);
}

.cupons-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cupon-mini {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cupon-mini:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.cupon-mini-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.cupon-mini-info {
    flex: 1;
}

.cupon-mini-store {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.cupon-mini-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.cupon-mini-code {
    background: var(--accent);
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 32px 0;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

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

.blog-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.blog-content {
    padding: 14px;
}

.blog-category {
    display: inline-block;
    background: rgba(232, 0, 45, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.blog-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 40px 0;
    background: white;
}

.about-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.about-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

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

.footer-logo strong {
    font-weight: 800;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-gray);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-logo-icon {
    font-size: 36px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-light);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 0, 45, 0.1);
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.modal-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 99999;
    transition: transform 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-hover);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== SEARCH PAGE ===== */
.search-page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 24px 0;
}

.filters-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    height: fit-content;
    border: 1px solid var(--border);
    position: sticky;
    top: 150px;
}

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

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

.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

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

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

.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-inputs input {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

.price-inputs span {
    color: var(--text-muted);
    font-size: 12px;
}

.apply-filter-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    font-family: inherit;
    transition: var(--transition);
}

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

.results-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.results-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.results-sort select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px 0;
}

.product-gallery {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.gallery-main {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 100px;
    color: var(--border);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-comparison {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

.price-comparison h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.price-row:hover {
    border-color: var(--primary);
    background: #fff5f5;
}

.price-row.best-price {
    border-color: var(--success);
    background: #f0fdf4;
}

.price-row-store {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-row-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: white;
}

.price-row-store-name {
    font-size: 13px;
    font-weight: 600;
}

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

.price-row-btn {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

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

/* ===== CUPONS PAGE ===== */
.cupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.cupon-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

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

.cupon-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cupon-store-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.cupon-store-info {
    flex: 1;
}

.cupon-store-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.cupon-cashback {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.cupon-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.cupon-code-block {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    border: 1px dashed var(--border);
}

.cupon-code {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    font-family: monospace;
    color: var(--primary);
    letter-spacing: 2px;
}

.cupon-copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.cupon-expiry {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== ALERT PAGE ===== */
.alert-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.alert-form-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.alert-form-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.breadcrumb span {
    margin: 0 6px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #e8002d 0%, #ff4d6d 100%);
    color: white;
    padding: 24px 0;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-header p {
    font-size: 14px;
    opacity: 0.85;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #fff5f5;
}

/* ===== LOADING ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-text {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .search-page-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-bar {
        order: 3;
        width: 100%;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-auth-greeting {
        display: none;
    }

    .cashback-badge span {
        display: none;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-slide,
    .banner-slide.active {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-slide-image {
        width: 100%;
        flex: 0 0 auto;
    }

    .banner-slide-image img {
        max-width: 100%;
    }

    .banner-controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cupons-promo-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hot-cats-grid {
        gap: 8px;
    }

    .hot-cat-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .search-category {
        display: none;
    }

    .quick-cats {
        display: none;
    }

    .cats-menu {
        left: 0;
        right: 0;
        min-width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        border-radius: 0 0 14px 14px;
        padding: 8px;
    }

    .cats-mega-header {
        padding: 8px 10px 12px;
    }

    .cats-group-title {
        font-size: 14px;
        padding: 12px 10px;
    }

    .cats-submenu {
        grid-template-columns: 1fr;
    }

    .cats-submenu.open {
        max-height: 520px;
    }

    .header-action-btn span,
    .btn-login span {
        display: none;
    }

    .btn-login.is-authenticated span {
        display: block !important;
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cats-menu {
        min-width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }

    .cats-menu.open {
        transform: translateX(-50%) translateY(0);
    }

    .cats-group-title {
        font-size: 13px;
        padding: 11px 9px;
    }

    .cats-menu a {
        font-size: 12px;
        padding: 7px 8px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

/* ===== UTILITY ===== */
.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-muted {
    color: var(--text-muted);
}

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

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.flex {
    display: flex;
}

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

.gap-2 {
    gap: 8px;
}

.hidden {
    display: none !important;
}

/* Sort active state */
.quick-cat.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #fff5f5;
    border-radius: 0;
}

/* Sticky nav */
.header.scrolled .header-top {
    padding: 8px 0;
}