/* ==========================================================================
   PORTAL DE OFERTAS SHOPEE - DESIGN SYSTEM & CSS ARCHITECTURE
   Marketplace Premium Aesthetic | Zero Frameworks | Core Web Vitals Optimized
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS (CSS CUSTOM PROPERTIES)
   ========================================================================== */
:root {
    /* Shopee Signature Color Palette */
    --primary: #ee4d2d;
    --primary-hover: #d73211;
    --primary-active: #ba2809;
    --primary-light: #fef6f5;
    --primary-tint: #fff0ec;
    --primary-gradient: linear-gradient(-180deg, #f53d2d, #f63);
    --header-bg: #ee4d2d;

    /* Secondary & Accent Colors */
    --accent: #ff5722;
    --accent-hover: #e64a19;
    --shopee-yellow: #ffe97a;
    --shopee-yellow-bg: #fffcf5;
    --shopee-yellow-text: #ee4d2d;
    --shopee-gold: #ffbe00;
    --shopee-star: #ffce3d;
    --shopee-teal: #00bfa5;
    --shopee-teal-light: #e6f9f6;

    /* Semantic Feedback Colors */
    --success: #10b981;
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --info: #0284c7;
    --info-bg: #e0f2fe;

    /* Neutral & Background Tones (Shopee Marketplace Standard) */
    --white: #ffffff;
    --dark: #111827;
    --gray-900: #222222;
    --gray-800: #333333;
    --gray-700: #555555;
    --gray-600: #757575;
    --gray-500: #888888;
    --gray-400: #b0b0b0;
    --gray-300: #d5d5d5;
    --gray-200: #e8e8e8;
    --gray-100: #f2f2f2;
    --gray-50: #f8f8f8;
    --body-bg: #f5f5f5;

    /* Typography Scale */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --text-xs: 0.6875rem; /* 11px */
    --text-sm: 0.75rem;   /* 12px */
    --text-base: 0.875rem;/* 14px */
    --text-md: 0.9375rem; /* 15px */
    --text-lg: 1rem;      /* 16px */
    --text-xl: 1.125rem;  /* 18px */
    --text-2xl: 1.25rem;  /* 20px */
    --text-3xl: 1.5rem;   /* 24px */
    --text-4xl: 1.875rem; /* 30px */

    /* Elevation & Shadows */
    --shadow-card: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 4px 14px rgba(238, 77, 45, 0.35);

    /* Border Radii (Marketplace Standard) */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 9999px;

    /* Layout Dimensions */
    --max-w: 1240px;
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--body-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ==========================================================================
   3. TOPBAR & UTILITY BAR (TRANSPARENCY / AFFILIATE)
   ========================================================================== */
.site-topbar {
    background: #d73211;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--text-xs);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.topbar-badge {
    background: rgba(255, 255, 255, 0.22);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-right a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.15s ease;
    text-decoration: none;
}

.topbar-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Backwards compatibility for notice bar */
.affiliate-notice-bar {
    background-color: #fff9e6;
    border-bottom: 1px solid #ffe899;
    font-size: var(--text-xs);
    color: #875400;
    padding: 0.45rem 0;
    text-align: center;
}

.affiliate-notice-bar a {
    color: #d73211;
    font-weight: 700;
    text-decoration: underline;
}

/* ==========================================================================
   4. PRIMARY HEADER (SHOPEE SIGNATURE ORANGE)
   ========================================================================== */
.site-header {
    background: var(--primary-gradient);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0 0.65rem;
    gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-icon-bag {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.brand-logo:hover .brand-icon-bag {
    transform: scale(1.04);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-badge {
    background: #ffffff;
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Center Search Bar (Shopee White Box + Orange Button) */
.header-search {
    flex: 1;
    max-width: 620px;
    position: relative;
}

.search-box-wrapper {
    background: #ffffff;
    border-radius: var(--radius-xs);
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    width: 100%;
    align-items: center;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.55rem 0.85rem;
    font-size: var(--text-base);
    color: var(--gray-900);
    outline: none;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.search-btn {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: var(--text-sm);
    transition: filter 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    filter: brightness(1.08);
}

.search-btn:active {
    transform: scale(0.98);
}

/* Trending Keywords underneath Search Bar */
.search-keywords-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    padding-left: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.search-keywords-bar::-webkit-scrollbar {
    display: none;
}

.search-keywords-bar a {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xs);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.search-keywords-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    list-style: none;
    flex-shrink: 0;
}

.nav-link {
    font-size: var(--text-base);
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-xs);
    transition: background 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-pill-btn {
    background-color: #ffffff;
    color: var(--primary);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, background 0.15s ease;
    text-decoration: none;
}

.nav-pill-btn:hover {
    background-color: var(--shopee-yellow-bg);
    color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.65rem 0;
    }

    .brand-logo {
        order: 1;
    }

    .mobile-nav-toggle {
        display: block;
        order: 2;
    }

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

    .nav-menu {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        gap: 0.4rem;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.5rem;
    }

    .nav-pill-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }
}

/* ==========================================================================
   5. HERO & PROMOTIONAL BANNER SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #fff2ee 0%, #fff8f5 50%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: 2.25rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(238, 77, 45, 0.08) 0%, rgba(238, 77, 45, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.25fr 0.75fr;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-tint);
    color: var(--primary);
    border: 1px solid rgba(238, 77, 45, 0.25);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: var(--text-md);
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.55;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    font-size: var(--text-base);
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-orange);
    transition: transform 0.15s ease, filter 0.15s ease;
    text-decoration: none;
}

.hero-btn-primary:hover {
    color: var(--white);
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.hero-btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.hero-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.hero-stat-pill {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 0.5rem 0.85rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.hero-stat-desc {
    font-size: var(--text-xs);
    color: var(--gray-600);
    font-weight: 500;
}

/* ==========================================================================
   6. NICHE & CATEGORY CHIPS SCROLLER (SHOPEE STYLE)
   ========================================================================== */
.chips-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.65rem 0;
    position: sticky;
    top: 60px;
    z-index: 40;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.chips-scroller {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.chips-scroller::-webkit-scrollbar {
    height: 4px;
}

.chips-scroller::-webkit-scrollbar-thumb {
    background-color: var(--gray-300);
    border-radius: 4px;
}

.chip-item {
    background-color: var(--gray-100);
    color: var(--gray-800);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--gray-200);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.chip-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(238, 77, 45, 0.3);
}

.chip-item.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(238, 77, 45, 0.3);
}

/* ==========================================================================
   7. SECTION HEADERS & TITLE BARS
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.15em;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-top: 0.2rem;
}

.section-header a {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--text-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.15s ease;
}

.section-header a:hover {
    color: var(--primary-hover);
    transform: translateX(2px);
}

/* ==========================================================================
   8. PRODUCT GRID (HIGH DENSITY MARKETPLACE STANDARD)
   ========================================================================== */
.product-grid {
    display: grid;
    /* Mobile standard: 2 compact columns */
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 2.5rem;
}

@media (min-width: 580px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (min-width: 820px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1080px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
}

/* ==========================================================================
   9. PRODUCT CARD COMPONENT (SHOPEE STYLE)
   ========================================================================== */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(238, 77, 45, 0.4);
    z-index: 2;
}

/* Strict 1:1 Aspect Ratio thumbnail */
.product-card-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio prevents CLS */
    background-color: #fafafa;
    overflow: hidden;
}

.product-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.product-card:hover .product-card-thumb {
    transform: scale(1.03);
}

/* Shopee Yellow Discount Tag (Top Right) */
.shopee-discount-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--shopee-yellow);
    color: var(--shopee-yellow-text);
    padding: 2px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.05;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shopee-discount-tag::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 0;
    border-color: transparent var(--shopee-yellow);
    border-style: solid;
    border-width: 0 15px 4px 15px;
}

.discount-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-xs);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* Score / Verified Badge (Top Left) */
.score-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: rgba(17, 24, 39, 0.85);
    color: #34d399;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
    backdrop-filter: blur(4px);
    z-index: 3;
}

.badge-tag-official {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.15rem 0.35rem;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 3;
}

/* Card Body */
.product-card-body {
    padding: 0.65rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-shop-label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-title {
    font-size: 0.8125rem; /* Shopee 13px title */
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em; /* Constant height ensures alignment */
    text-decoration: none;
}

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

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

/* Social Proof & Rating Bar */
.product-card-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-xs);
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.star-rating {
    color: var(--shopee-star);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.sales-count {
    color: var(--gray-600);
}

/* Price Section */
.product-price-box {
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid var(--gray-100);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.price-old {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-unit {
    font-size: 0.6875rem;
    font-weight: 700;
    vertical-align: baseline;
}

.product-btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.45rem 0.65rem;
    text-align: center;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(238, 77, 45, 0.25);
    font-weight: 700;
    font-size: var(--text-xs);
    border-radius: var(--radius-xs);
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.15s ease, transform 0.1s ease;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    color: var(--white);
    filter: brightness(1.08);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* ==========================================================================
   10. PRODUCT DETAIL VIEW (BUY BOX & LCP OPTIMIZED)
   ========================================================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 440px 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }
}

.detail-gallery-main {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xs);
    overflow: hidden;
    background-color: #fafafa;
    border: 1px solid var(--gray-200);
}

.detail-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.breadcrumbs-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-xs);
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.breadcrumbs-nav a {
    color: var(--gray-700);
    text-decoration: none;
}

.breadcrumbs-nav a:hover {
    color: var(--primary);
}

.detail-badges-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.badge-tag {
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-tag.verified {
    background-color: var(--shopee-teal-light);
    color: #00796b;
    border: 1px solid #80cbc4;
}

.badge-tag.score {
    background-color: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.detail-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .detail-title {
        font-size: 1.65rem;
    }
}

/* Buy Box Price Card */
.detail-price-card {
    background-color: #fafafa;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.detail-price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.detail-savings {
    font-size: var(--text-sm);
    color: var(--success);
    font-weight: 700;
}

/* Big High-Conversion CTA Button */
.detail-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: var(--radius-xs);
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.35);
    border: none;
    cursor: pointer;
}

.detail-cta-button:hover {
    color: var(--white);
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 77, 45, 0.45);
}

/* Price History Visualizer Container */
.price-history-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-card);
}

.history-chart-wrapper {
    width: 100%;
    height: 190px;
    margin-top: 1rem;
    position: relative;
}

/* ==========================================================================
   11. FILTERS & SORTING BAR (OFFERS CATALOG)
   ========================================================================== */
.filters-bar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    box-shadow: var(--shadow-card);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.form-select, .form-input {
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xs);
    font-size: var(--text-sm);
    color: var(--gray-900);
    background-color: var(--white);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-select:focus, .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.12);
}

/* Pagination Controls */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin: 2.5rem 0;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

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

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   12. AFFILIATE RANKING & HUB CARDS
   ========================================================================== */
.ranking-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .ranking-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ranking-hub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ranking-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.15s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-card);
}

.ranking-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.ranking-card-num {
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ranking-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}

.ranking-card-desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}

.ranking-card-footer {
    font-size: var(--text-xs);
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
    padding-top: 0.65rem;
    font-weight: 600;
}

/* ==========================================================================
   13. ADMIN PANEL STYLES
   ========================================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #1e293b;
    color: #94a3b8;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-header {
    height: 60px;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #334155;
    font-weight: 700;
    color: #fff;
    font-size: var(--text-base);
}

.admin-nav {
    list-style: none;
    padding: 0.75rem 0;
    flex: 1;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    color: #94a3b8;
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.admin-nav-item a:hover, .admin-nav-item a.active {
    background-color: #334155;
    color: #fff;
    border-left: 3px solid var(--primary);
}

.admin-content {
    flex: 1;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-body {
    padding: 1.5rem;
    flex: 1;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.admin-table th {
    background-color: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--gray-200);
}

.admin-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

/* ==========================================================================
   14. SITE FOOTER (MARKETPLACE STANDARD)
   ========================================================================== */
.site-footer {
    background-color: var(--white);
    border-top: 4px solid var(--primary);
    margin-top: auto;
    padding: 3rem 0 1.5rem;
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.85rem;
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.trust-badge-item {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xs);
    padding: 0.3rem 0.6rem;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-700);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}


/* ==========================================================================
   20. REFORMULAÇÃO INDEX: TOP 500 MAIS VENDIDOS & CONVERSÃO
   Mobile First | Sticky Search | Instant Filters | Extreme Performance
   ========================================================================== */

/* Performance virtualization for 500 cards */
.product-card {
    content-visibility: auto;
    contain-intrinsic-size: 320px;
}

.product-card.card-hidden {
    display: none !important;
}

/* Home Compact Hero */
.home-hero-compact {
    background: linear-gradient(180deg, #fff3f0 0%, #fff9f7 60%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0 1rem;
    text-align: center;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid rgba(238, 77, 45, 0.25);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.home-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .home-hero-title {
        font-size: 2rem;
    }
}

.home-hero-title span {
    color: var(--primary);
    background: linear-gradient(-180deg, #f53d2d, #f63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero-subtitle {
    font-size: 0.8125rem;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto 0.75rem;
    line-height: 1.45;
}

.home-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.trust-pill {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Sticky Search & Filter Hub */
.sticky-search-hub {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
    transition: box-shadow 0.2s ease;
}

.search-interactive-wrapper {
    margin-bottom: 0.5rem;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon-svg {
    position: absolute;
    left: 12px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.live-search-input {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 2.4rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--gray-50);
    color: var(--gray-900);
    outline: none;
    transition: all 0.2s ease;
}

.live-search-input:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.15);
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.clear-search-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Filter Chips (Categories & Niches) */
.filter-chips-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.filter-chips-scroller {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.filter-chips-scroller::-webkit-scrollbar {
    display: none;
}

.chip-filter {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    user-select: none;
    font-family: inherit;
}

.chip-filter:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(238, 77, 45, 0.3);
}

.chip-filter.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(238, 77, 45, 0.3);
}

/* Filter Subbar (Price & Sort) */
.filter-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
    border-top: 1px dashed var(--gray-200);
}

.price-pills-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.price-pills-row::-webkit-scrollbar {
    display: none;
}

.filter-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.2rem;
}

.pill-filter {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

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

.pill-filter.active {
    background: var(--gray-900);
    color: #ffffff;
    border-color: var(--gray-900);
}

.sort-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.sort-select {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xs);
    background: #ffffff;
    color: var(--gray-800);
    outline: none;
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--primary);
}

/* Status & Count Bar */
.filter-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    color: var(--gray-600);
}

.status-counter strong {
    color: var(--primary);
    font-weight: 800;
}

.reset-filters-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

/* Home Catalog Container */
.home-catalog-container {
    padding-top: 1rem;
    padding-bottom: 3.5rem;
}

/* Product Card CRO Badges */
.rank-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-xs);
    z-index: 3;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.rank-gold {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #3e2723;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.rank-silver {
    background: linear-gradient(135deg, #f5f5f5, #bdbdbd);
    color: #212121;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.rank-bronze {
    background: linear-gradient(135deg, #f4b480, #c87332);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.rank-top10 {
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: #ffffff;
}

.rank-top50 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
}

.rank-bestseller {
    background: linear-gradient(135deg, #ee4d2d, #d73211);
    color: #ffffff;
}

.product-card-top-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.badge-shipping-free {
    font-size: 0.5625rem;
    font-weight: 700;
    color: #00897b;
    background: #e0f2f1;
    padding: 1px 4px;
    border-radius: 2px;
    white-space: nowrap;
}

.saved-amount-badge {
    font-size: 0.625rem;
    font-weight: 700;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 4px;
    border-radius: 2px;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
    text-align: center;
    display: block;
}

/* Enhanced CTA Button */
.product-btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 0.4rem;
    padding: 0.55rem 0.75rem;
    text-align: center;
    background: linear-gradient(-180deg, #f53d2d, #f63);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: var(--radius-xs);
    box-shadow: 0 2px 6px rgba(238, 77, 45, 0.3);
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.product-btn-cta:hover {
    background: linear-gradient(-180deg, #d73211, #e64a19);
    box-shadow: 0 4px 10px rgba(238, 77, 45, 0.45);
    transform: translateY(-1px);
}

.product-btn-cta:active {
    transform: scale(0.98);
}

/* Empty Search State */
.empty-search-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-card);
}

.empty-search-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.empty-search-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.empty-search-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    max-width: 440px;
    margin: 0 auto 1.25rem;
    line-height: 1.5;
}

.btn-empty-reset {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(238, 77, 45, 0.3);
    transition: all 0.15s ease;
    font-family: inherit;
}

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

/* Bottom Conversion Banner */
.bottom-conversion-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, #fff3f0 0%, #fff 100%);
    border: 1px solid rgba(238, 77, 45, 0.25);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .banner-inner {
        flex-direction: row;
        text-align: left;
    }
}

.banner-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
}

.banner-inner h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.banner-inner p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.banner-btn {
    background: var(--gray-900);
    color: #ffffff !important;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-xs);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
    transition: all 0.15s ease;
}

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


/* ==========================================================================
   21. MINIMALIST CLEAN FILTER MENU & SEARCH HUB (SHOPEE TOP 500)
   ========================================================================== */

/* Compact Clean Hero */
.home-hero-clean {
    background: linear-gradient(180deg, #fff5f2 0%, #fffbf9 60%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0 1rem;
    text-align: center;
}

.hero-clean-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid rgba(238, 77, 45, 0.25);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.4rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.live-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.hero-clean-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-clean-title {
        font-size: 1.85rem;
    }
}

.hero-clean-title span {
    color: var(--primary);
    background: linear-gradient(-180deg, #f53d2d, #f63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-clean-subtitle {
    font-size: 0.8125rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Minimal Sticky Filter Hub */
.minimal-filter-hub {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0 0.5rem;
    transition: all 0.2s ease;
}

/* Search Box Clean */
.search-box-clean {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.65rem;
}

.search-icon-clean {
    position: absolute;
    left: 14px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-input-clean {
    width: 100%;
    height: 44px;
    padding: 0 2.5rem 0 2.6rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-full);
    background-color: #ffffff;
    color: var(--gray-900);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-clean:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.12);
}

.search-input-clean::placeholder {
    color: var(--gray-500);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: var(--gray-200);
    border: none;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--gray-600);
    cursor: pointer;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.search-clear-btn:hover {
    background: var(--gray-300);
    color: var(--gray-900);
}

/* Filter Toolbar Clean (Select Pills) */
.filter-toolbar-clean {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.select-pill-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    padding: 0 0.75rem 0 0.6rem;
    height: 34px;
    transition: all 0.15s ease;
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 220px;
}

@media (max-width: 600px) {
    .select-pill-box {
        min-width: 100px;
        flex: 1;
        padding: 0 0.5rem 0 0.4rem;
        height: 32px;
    }
}

.select-pill-box:hover {
    border-color: var(--gray-400);
}

.select-pill-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(238, 77, 45, 0.15);
}

.pill-icon {
    font-size: 0.8125rem;
    margin-right: 0.35rem;
    pointer-events: none;
}

.clean-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-family: inherit;
}

.pill-arrow {
    position: absolute;
    right: 8px;
    font-size: 0.6875rem;
    color: var(--gray-400);
    pointer-events: none;
}

.clean-reset-btn {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    font-family: inherit;
    height: 34px;
    display: inline-flex;
    align-items: center;
}

.clean-reset-btn:hover {
    background: #fecaca;
    color: #b91c1c;
}

.clean-counter-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    padding-left: 0.5rem;
}

.clean-counter-badge span {
    color: var(--primary);
    font-weight: 800;
}

/* Quick Pills Scroller (Clean & Minimalist) */
.quick-pills-scroller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 0.2rem 0;
}

.quick-pills-scroller::-webkit-scrollbar {
    display: none;
}

.quick-pill {
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
    flex-shrink: 0;
}

.quick-pill:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.quick-pill.active {
    background: var(--gray-900);
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Catalog Wrapper */
.home-catalog-wrap {
    padding-top: 1.25rem;
    padding-bottom: 3.5rem;
}

/* Clean Empty State */
.empty-state-clean {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.empty-icon-clean {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.empty-title-clean {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
}

.empty-desc-clean {
    font-size: 0.8125rem;
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto 1.25rem;
    line-height: 1.45;
}

.btn-clean-action {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
}

.btn-clean-action:hover {
    background: var(--primary-hover);
}


/* ==========================================================================
   22. BRAND AVATAR & SOCIAL PROFILE HERO (INSTAGRAM / TIKTOK ACHADINHOS STYLE)
   ========================================================================== */

/* Header Brand Avatar */
.brand-avatar-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ffd700, #ff9100, #ee4d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.brand-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: #000000;
}

/* Social Profile Hero Section */
.social-profile-hero {
    background: linear-gradient(180deg, #111111 0%, #1c1c1c 100%);
    color: #ffffff;
    padding: 1.5rem 0 1.25rem;
    border-bottom: 1px solid #2d2d2d;
    position: relative;
    overflow: hidden;
}

.social-profile-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(238, 77, 45, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.profile-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 680px) {
    .profile-hero-inner {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1.5rem;
    }
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

/* Instagram / Social Story Ring */
.social-story-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringGlow 3s ease-in-out infinite alternate;
}

@media (min-width: 680px) {
    .social-story-ring {
        width: 104px;
        height: 104px;
        padding: 3.5px;
    }
}

@keyframes ringGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 174, 0, 0.4), 0 0 20px rgba(238, 77, 45, 0.2);
    }
    100% {
        box-shadow: 0 0 18px rgba(255, 174, 0, 0.7), 0 0 30px rgba(238, 77, 45, 0.45);
    }
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #000000;
    border: 2px solid #1a1a1a;
    display: block;
}

/* Verified Badge on Avatar */
.profile-verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.profile-details {
    flex: 1;
}

.profile-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

@media (min-width: 680px) {
    .profile-header-row {
        justify-content: flex-start;
    }
}

.profile-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

@media (min-width: 680px) {
    .profile-name {
        font-size: 1.65rem;
    }
}

.social-badge-official {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.social-badge-shopee {
    background: rgba(238, 77, 45, 0.2);
    border: 1px solid rgba(238, 77, 45, 0.5);
    color: #ff7043;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.profile-handle {
    font-size: 0.75rem;
    color: #ffd54f;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.profile-bio {
    font-size: 0.8125rem;
    color: #e0e0e0;
    line-height: 1.45;
    max-width: 600px;
    margin-bottom: 0.65rem;
}

.profile-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

@media (min-width: 680px) {
    .profile-stats-row {
        justify-content: flex-start;
    }
}

.profile-stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #b0b0b0;
}

.profile-stat-item strong {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #ffffff;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #22c55e;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    animation: livePulse 2s infinite;
}

/* ==========================================================================
   WebView warning banner (TikTok/Instagram/Facebook in-app browser)
   Mobile-first, nao bloqueia a pagina, preserva SEO e conteudo da oferta.
   ========================================================================== */
.webview-warning-banner {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 5px solid #f59e0b;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
}

.webview-warning-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.webview-warning-icon {
    font-size: 1.5rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.webview-warning-text {
    font-size: 0.875rem;
    color: var(--gray-800);
    line-height: 1.55;
}

.webview-warning-text strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #92400e;
}

.webview-warning-text p {
    margin: 0;
}

.webview-warning-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.webview-btn-primary {
    display: block;
    width: 100%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: transform 0.12s ease, filter 0.12s ease;
}

.webview-btn-primary:hover {
    filter: brightness(0.96);
}

.webview-btn-primary:active {
    transform: translateY(1px);
}

.webview-btn-secondary {
    display: block;
    width: 100%;
    background: #fff;
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.webview-manual-instructions {
    margin-top: 0.75rem;
    background: #fff;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 0.8125rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.webview-manual-instructions p {
    margin: 0 0 0.4rem;
}

.webview-manual-instructions p:last-child {
    margin-bottom: 0;
}

.webview-note {
    color: var(--gray-600);
}

.webview-warning-banner kbd {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--gray-300);
    border-bottom-width: 2px;
    border-radius: 4px;
    background: var(--gray-50);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
}

.detail-cta-button.webview-disabled {
    opacity: 0.85;
    cursor: not-allowed;
    filter: grayscale(0.25);
}

@media (min-width: 640px) {
    .webview-warning-actions {
        flex-direction: row;
    }

    .webview-btn-primary,
    .webview-btn-secondary {
        width: auto;
        flex: 1;
    }
}

/* ==========================================================================
   WebView Buy Box Card (Section 9 Wireframe)
   ========================================================================== */
.webview-buybox-card {
    background: #fffdf5;
    border: 2px dashed #f59e0b;
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
    margin-top: 0.5rem;
}

.webview-buybox-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
    border: 1px solid #fde68a;
}

.webview-buybox-desc {
    font-size: 0.875rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0 auto 0.9rem;
    max-width: 340px;
    font-weight: 500;
}

.webview-buybox-btn {
    display: block;
    width: 100%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: transform 0.12s ease, filter 0.12s ease;
}

.webview-buybox-btn:hover {
    filter: brightness(0.96);
}

.webview-buybox-btn:active {
    transform: translateY(1px);
}

.webview-buybox-manual {
    font-size: 0.8125rem;
    color: var(--gray-700);
    margin-top: 0.85rem;
    line-height: 1.5;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-xs);
    background: #fff;
    border: 1px solid #fde68a;
    transition: all 0.3s ease;
}

.webview-buybox-manual.highlight-guide {
    background: #fef3c7;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
    transform: scale(1.02);
}

.webview-copy-feedback {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-xs);
    display: inline-block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Guia Visual Flutuante: Tooltip + Chevrons Deslizantes para o Menu (⋮)
   ========================================================================== */
.top-right-arrow-guide {
    display: none;
    position: fixed;
    top: 14px;
    right: 12px;
    z-index: 999999;
    pointer-events: none;
    align-items: center;
    gap: 8px;
    animation: hintFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.top-right-arrow-guide.hint-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Balão / Tooltip com Fundo Escuro #1F2937 e Texto Claro */
.webview-hint-bubble {
    position: relative;
    background: #1F2937;
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.25;
    white-space: nowrap;
}

.webview-hint-bubble .hint-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #f97316; /* Laranja de destaque Shopee */
    letter-spacing: 0.2px;
}

.webview-hint-bubble .hint-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: #F3F4F6;
}

/* Seta indicativa (Rabicho) do balão apontando para a direita */
.webview-hint-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #1F2937;
}

/* Grupo de Chevrons Animados Deslizando em Cascata para a Direita */
.webview-hint-chevrons {
    display: flex;
    align-items: center;
    color: #f97316;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.chevron-arrow {
    width: 18px;
    height: 18px;
    margin-left: -7px;
    stroke: #f97316;
    animation: chevronSlide 1.2s infinite ease-in-out;
}

.chevron-arrow:first-child {
    margin-left: 0;
}

.arrow-1 { animation-delay: 0s; }
.arrow-2 { animation-delay: 0.18s; }
.arrow-3 { animation-delay: 0.36s; }

@keyframes chevronSlide {
    0% {
        opacity: 0.25;
        transform: translateX(-4px) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translateX(3px) scale(1.15);
    }
    100% {
        opacity: 0.25;
        transform: translateX(6px) scale(0.9);
    }
}



/* ===== Portão de WebView: seta gigante para o menu (⋮) ===== */
html.webview-locked, html.webview-locked body { overflow: hidden; height: 100%; }
.webview-gate {
  position: fixed; inset: 0; z-index: 999990;
  background: rgba(13, 14, 21, 0.96);
  display: flex; align-items: center; justify-content: center;
  padding: calc(230px + env(safe-area-inset-top, 0px)) 16px 16px;
  overflow-y: auto; animation: gateFadeIn 0.4s ease both;
}
.webview-gate-card {
  width: 100%; max-width: 380px; background: #1F2937; color: #FFFFFF;
  border-radius: 8px; padding: 20px 18px; text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.webview-gate-card h2 { font-size: 18px; margin: 0 0 8px; color: #EE4D2D; }
.webview-gate-card p { font-size: 13.5px; line-height: 1.45; margin: 0 0 12px; color: #F3F4F6; }
.webview-gate-card ol { text-align: left; font-size: 13.5px; line-height: 1.5; margin: 0 0 16px; padding-left: 20px; color: #FFFFFF; }
.webview-gate-btn {
  display: block; width: 100%; min-height: 44px; border: 0; border-radius: 8px;
  font-size: 15px; font-weight: 800; cursor: pointer; background: #EE4D2D; color: #FFFFFF;
}
.webview-gate-feedback { margin-top: 8px; font-size: 12.5px; color: #86EFAC; min-height: 16px; }
.webview-big-arrow {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 44px); right: 10px;
  width: clamp(96px, 30vw, 150px); height: clamp(96px, 30vw, 150px);
  z-index: 999995; pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 14px rgba(238, 77, 45, 0.7));
  animation: bigArrowBounce 0.9s ease-in-out infinite;
}
.webview-big-arrow-label {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + clamp(150px, 42vw, 200px)); right: 14px;
  z-index: 999995; pointer-events: none; background: #EE4D2D; color: #FFFFFF;
  font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center;
  padding: 7px 12px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.webview-gate.hint-pulse .webview-big-arrow-label { animation: hintPulse 0.6s ease 3; }
@keyframes bigArrowBounce {
  0%, 100% { transform: translate(-10px, 10px) scale(1); }
  50% { transform: translate(6px, -6px) scale(1.12); }
}
@keyframes hintPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes gateFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (orientation: landscape) and (max-height: 480px) {
  .webview-big-arrow { width: 72px; height: 72px; top: calc(env(safe-area-inset-top, 0px) + 30px); }
  .webview-big-arrow-label { display: none; }
  .webview-gate { align-items: flex-start; padding: 56px 100px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .webview-big-arrow { animation: none; } }

/* ==========================================================================
   23. SHOWCASE SECTIONS: API NOVIDADES, SUPER DESCONTOS & TRUST STRIP
   ========================================================================== */

/* Badges de Lançamento API & Super Desconto */
.rank-badge.rank-new {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rank-badge.rank-discount {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    font-weight: 800;
}

/* Vitrines em Destaque */
.showcase-section {
    padding: 2.25rem 0 1rem;
    position: relative;
}

.showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.showcase-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    width: fit-content;
}

.showcase-badge.badge-blue {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.showcase-badge.badge-red {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.showcase-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-subtitle {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin: 0;
}

.showcase-more-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xs);
    background: var(--primary-light);
    border: 1px solid rgba(238, 77, 45, 0.2);
    transition: all 0.15s ease;
}

.showcase-more-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(2px);
}

/* Trust & Guarantee Strip */
.trust-strip {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    margin: 2.5rem 0 1rem;
    box-shadow: var(--shadow-card);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .trust-strip-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.trust-strip-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.trust-strip-content h4 {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 0.2rem 0;
}

.trust-strip-content p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}