/* ============================================
   VARIÁVEIS CSS E RESET
   ============================================ */

/* Barra de anúncio - frete grátis */
.announcement-bar {
    height: 50px;
    background: var(--color-primary-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.announcement-bar__scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: announcement-scroll 25s linear infinite;
}

.announcement-bar__item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 16px;
}

.announcement-bar__divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

@keyframes announcement-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

:root {
    /* Cores principais */
    --color-primary: #0a7e3b;
    --color-primary-dark: #0a7e3b;
    --color-primary-light: #0a7e3b;
    
    /* Cores neutras */
    --color-text: #2A4E37;
    --color-text-light: #B3B3B3;
    --color-text-lighter: #D4D4D4;
    --color-bg: #ffffff;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #B3B3B3;
    --color-border: #b3b0b04a;
    
    /* Cores de estado */
    --color-success: #0a7e3b;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Bordas */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transições */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --color-text: #f9fafb;
    --color-text-light: #d1d5db;
    --color-text-lighter: #9ca3af;
    --color-bg: #111827;
    --color-bg-secondary: #1f2937;
    --color-bg-tertiary: #374151;
    --color-border: #4b5563;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    transition: background-color var(--transition-base), color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   UTILIDADES
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transition: transform 0.35s ease;
}

.header.header--hidden {
    transform: translateY(-100%);
}

[data-theme="dark"] .header {
    background-color: rgba(17, 24, 39, 0.9);
}

/* ── Subbar (Enviar Para + links) ── */
.header__subbar {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.header__subbar-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: 6px 0;
    font-size: var(--font-size-sm);
}

.header__subbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header__subbar-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
    white-space: nowrap;
}

.header__subbar-link:hover {
    color: var(--color-primary);
}

/* ── Enviar Para ── */
.enviar-para {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    transition: background 0.15s;
    user-select: none;
}

.enviar-para:hover {
    background: var(--color-border);
}

.enviar-para__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.enviar-para__label {
    font-size: 10px;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.enviar-para__location {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.enviar-para__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 280px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    overflow: hidden;
}

.enviar-para__dropdown.active {
    display: block;
}

.enviar-para__dropdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 8px;
    border-bottom: 1px solid var(--color-border);
}

.enviar-para__dropdown-body {
    padding: 12px 14px;
}

.enviar-para__dropdown-footer {
    padding: 8px 14px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.enviar-para__input-row {
    display: flex;
    gap: 6px;
}

.enviar-para__input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--color-bg);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.15s;
}

.enviar-para__input:focus {
    border-color: var(--color-primary);
}

.enviar-para__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity 0.15s;
}

.enviar-para__btn:hover {
    opacity: 0.85;
}

/* ── Free Shipping ribbon on product cards ── */
.product-card__featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    pointer-events: none;
}
.product-card__featured-badge svg {
    width: 16px;
    height: 16px;
}

.product-card__frete-gratis {
    position: absolute;
    top: 24px;
    left: -26px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transform: rotate(-45deg);
    background: #0a7e3b;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 0;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(10, 126, 59, 0.35);
    text-transform: uppercase;
    pointer-events: none;
}

.product-card__frete-gratis svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-md);
}

/* Header Search Bar */
.header__search {
    flex: 1;
    max-width: 480px;
    min-width: 0;
}

.header-search-form__wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 16px;
    transition: border-color var(--transition-fast);
}

.header-search-form__wrapper:focus-within {
    border-color: var(--color-primary);
}

.header-search-form__icon {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.header-search-form__input {
    flex: 1;
    border: none;
    background: none;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    outline: none;
    min-width: 0;
}

.header-search-form__input::placeholder {
    color: var(--color-text-lighter);
}

/* Search Suggestions Dropdown */
.header-search-form {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
}

.search-suggestions__section {
    padding: var(--spacing-xs) 0;
}

.search-suggestions__section + .search-suggestions__section {
    border-top: 1px solid var(--color-border);
}

.search-suggestions__title {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-suggestions__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--color-text);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.search-suggestions__item:hover {
    background: var(--color-bg-secondary);
}

.search-suggestions__item-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-bg-secondary);
}

.search-suggestions__item-img--round {
    border-radius: 50%;
}

.search-suggestions__item-info {
    flex: 1;
    min-width: 0;
}

.search-suggestions__item-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestions__item-meta {
    font-size: 11px;
    color: var(--color-text-light);
}

.search-suggestions__empty {
    padding: 16px 14px;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

@media (max-width: 767px) {
    .header__search {
        display: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

.logo__icon {
    font-size: var(--font-size-2xl);
}

.logo__img {
    height: 75px;
    width: 75px;
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    padding: 0;
}

.nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .nav__list {
        gap: var(--spacing-md);
    }
}

.nav__link {
    font-weight: 500;
    color: var(--color-text);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-secondary);
}

.nav__link--highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-xs);
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .header__auth-buttons {
        display: none !important;
    }
    .header__nav {
        display: none !important;
    }
    .header__search {
        display: none !important;
    }
    .mobile-search-toggle {
        display: flex !important;
    }
    .header__actions {
        gap: 2px;
    }
    .header__actions > .btn--ghost,
    .header__actions > .cart-icon,
    .header__actions > .notification-bell > .btn--ghost,
    .header__actions > .profile-menu > .btn--ghost {
        width: 36px;
        height: 36px;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    /* Quando busca ativa no mobile */
    .header__search.mobile-search-active {
        display: flex !important;
        flex: 1;
        margin-left: var(--spacing-sm);
    }
    .header__search.mobile-search-active .header-search-form {
        flex: 1;
    }
}

@media (min-width: 768px) {
    #mobile-auth-menu {
        display: none !important;
    }
    .mobile-search-toggle {
        display: none !important;
    }
}

.header__menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

@media (min-width: 768px) {
    .profile-menu__item--mobile-only {
        display: none !important;
    }
}

.header__menu-toggle.menu-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-toggle.menu-toggle--active span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle.menu-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
    font-size: var(--font-size-base);
    border: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    background: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    color: var(--color-text);
    padding: var(--spacing-sm) var(--spacing-md);
}

.btn--ghost:hover {
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    height: 35px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: color-mix(in srgb, currentColor 15%, transparent);
}

.btn--block {
    width: 100%;
}

/* ── Admin panel: botões e badges padronizados ── */
.admin-layout .btn {
    padding: 5px 10px;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

/* ── Admin panel: stat cards padronizados ── */
.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}
@media(max-width:640px){
    .orders-stats{grid-template-columns:1fr 1fr;gap:var(--spacing-sm)}
}
@media(max-width:420px){
    .orders-stats{grid-template-columns:1fr}
}
.order-stat {
    display: flex; align-items: center; gap: var(--spacing-sm);
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    cursor: default;
}
.order-stat__icon {
    width: 36px; height: 36px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--color-bg-secondary);
    flex-shrink: 0;
}
.order-stat__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.order-stat__label { font-size: 11px; font-weight: 600; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.order-stat__value { font-size: 22px; font-weight: 700; color: var(--color-text); line-height: 1; }
.order-stat--total   { border-left-color: var(--color-primary); background: linear-gradient(90deg, rgba(99,102,241,0.06), transparent 60%); }
.order-stat--total .order-stat__icon { background: rgba(99,102,241,0.12); color: var(--color-primary); }
.order-stat--pending { border-left-color: #f59e0b; background: linear-gradient(90deg, rgba(245,158,11,0.06), transparent 60%); }
.order-stat--pending .order-stat__icon { background: rgba(245,158,11,0.12); color: #f59e0b; }
.order-stat--success { border-left-color: #0a7e3b; background: linear-gradient(90deg, rgba(10,126,59,0.06), transparent 60%); }
.order-stat--success .order-stat__icon { background: rgba(10,126,59,0.12); color: #0a7e3b; }
.order-stat--danger  { border-left-color: #ef4444; background: linear-gradient(90deg, rgba(239,68,68,0.06), transparent 60%); }
.order-stat--danger .order-stat__icon { background: rgba(239,68,68,0.12); color: #ef4444; }
.order-stat--muted   { border-left-color: #6b7280; background: linear-gradient(90deg, rgba(107,114,128,0.06), transparent 60%); }
.order-stat--muted .order-stat__icon { background: rgba(107,114,128,0.12); color: #6b7280; }
.order-stat--accent  { border-left-color: #8b5cf6; background: linear-gradient(90deg, rgba(139,92,246,0.06), transparent 60%); }
.order-stat--accent .order-stat__icon { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.order-stat--info    { border-left-color: #3b82f6; background: linear-gradient(90deg, rgba(59,130,246,0.06), transparent 60%); }
.order-stat--info .order-stat__icon { background: rgba(59,130,246,0.12); color: #3b82f6; }

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 0 !important;
    line-height: 0;
}
.hero img {
    width: 100vw;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.hero--2 {
    height: auto;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero__overlay .container {
    padding: 0;
}

.why-us__heading--on-hero {
    color: #fff;
    text-align: center;
    font-size: 60px;
    margin-bottom: 40px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.why-us__heading--on-hero .why-us__highlight {
    color: #0a7e3b;
}

.hero__typing-text--2 {
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    line-height: 1.15;
}

.hero__typing-cursor--2 {
    font-size: 60px;
    font-weight: 300;
    color: #0a7e3b;
    animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero--2 .why-us__block {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 100px 0 0 0;
    overflow: visible;
    margin-top: 100px;
    position: relative;
}

.hero--2 .why-us__card-img-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    z-index: 2;
    overflow: hidden;
}

.hero--2 .why-us__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero--2 .why-us__content {
    border: none;
    background: transparent;
    padding: var(--spacing-md);
    text-align: center;
}

.hero__top-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
}

.hero__curved-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.hero__curved-text {
    fill: white;
    font-size: 52px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.6));
}

.hero__two-col {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.hero__spacer {
    flex: 0 0 48%;
}

.hero__text-col {
    flex: 0 0 52%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-2xl);
    text-align: center;
}

@media (max-width: 767px) {
    .hero__text-col {
        flex: none;
        width: 100%;
        justify-content: center;
        padding: 0 var(--spacing-md);
    }
    .hero__spacer {
        display: none;
    }
}

.hero__content {
    text-align: center;
    padding: 0 var(--spacing-md);
}

.hero__logo {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-lg);
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.hero__typing-text {
    color: white;
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.hero__typing-cursor {
    color: white;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    animation: blink 0.7s infinite;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: var(--font-size-4xl);
    }
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero__search {
    margin-top: var(--spacing-xl);
}

.search-form__wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.search-form__input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    font-size: var(--font-size-base);
    color: var(--color-text);
    outline: none;
}

.search-form__input::placeholder {
    color: var(--color-text-lighter);
}

.search-form__button {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-form__button:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   SEÇÕES
   ============================================ */

section {
    padding: var(--spacing-2xl) 0;
}

.section__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
}

.section__title-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.section__header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section__link {
    color: var(--color-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.section__link:hover {
    color: var(--color-primary-dark);
}

.section__carregar-mais {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: var(--spacing-xl);
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

.section__carregar-mais-line {
    flex: 1;
    height: 1px;
    background-color: rgba(128, 128, 128, 0.4);
}

.section__carregar-mais-text {
    color: rgba(128, 128, 128, 0.7);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 var(--spacing-lg);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.section__carregar-mais:hover .section__carregar-mais-text {
    color: var(--color-text);
}

/* ============================================
   COMO FUNCIONA
   ============================================ */

.how-it-works {
    background-color: var(--color-bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
}

.step__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
}

.step__description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   CATEGORIAS
   ============================================ */

.categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.category-card__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.category-card__count {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ============================================
   PRODUTOS
   ============================================ */

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.product-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.product-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-secondary);
    flex-shrink: 0;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.product-card:hover .product-card__image {
    transform: scale(1.04);
}

.product-card__actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.product-card:hover .product-card__actions {
    opacity: 1;
}

.product-card__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.92);
    border: none;
    cursor: pointer;
    color: var(--color-text);
    backdrop-filter: blur(4px);
    transition: background var(--transition-fast), color var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.product-card__action-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.product-card__action-btn--active {
    background: var(--color-primary);
    color: #fff;
}

.product-card__action-btn--active:hover {
    background: var(--color-error);
    color: #fff;
}

.product-card__action-btn svg {
    width: 15px;
    height: 15px;
}

.product-card__content {
    padding: var(--spacing-md);
}

.product-card__title {
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product-card__seller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--color-text-light);
    overflow: hidden;
}

.product-card__seller-name {
    color: var(--color-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__seller-sales {
    color: var(--color-text-light);
    flex-shrink: 0;
}

.product-card__footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 2px 10px;
    margin-top: 5px;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.stars {
    color: #fbbf24;
}

/* ============================================
   AVALIAÇÕES
   ============================================ */

.reviews {
    padding: var(--spacing-2xl) 0;
    background: #f8faf9;
}

.reviews__heading {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--spacing-2xl);
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.review-card__stars {
    font-size: 18px;
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-card__text {
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin: 0 0 20px;
}

.review-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.review-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.review-card__date {
    font-size: 12px;
    color: #999;
}

/* ============================================
   POR QUE A BOMB FRUIT
   ============================================ */

.why-us {
    padding: 0;
}

.why-us__heading {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-text);
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-sm);
}

.why-us__heading-sub {
    text-align: center;
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-us__highlight {
    color: var(--color-primary);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-us__block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border: none;
    border-radius: var(--radius-xl);
    background: transparent;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(8px);
}

.why-us__block--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.why-us__block:hover {
    transform: translateY(-4px) scale(1.01);
}


.why-us__card-img-wrap {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us__block--visible .why-us__card-img-wrap {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}


.why-us__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.why-us__icon-circle {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(10, 126, 59, 0.12), rgba(10, 126, 59, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

.why-us__block--visible .why-us__icon-circle {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.why-us__block:hover .why-us__icon-circle {
    background: linear-gradient(135deg, var(--color-primary), rgba(10, 126, 59, 0.7));
    color: #fff;
    transform: scale(1.12) rotate(10deg);
}

.why-us__icon-circle svg {
    width: 28px;
    height: 28px;
}

.why-us__content {
    flex: 1;
    text-align: center;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-bg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.why-us__block:hover .why-us__content {
    box-shadow: none;
    border-color: transparent;
}

.why-us__block--visible .why-us__content {
    opacity: 1;
    transform: translateY(0);
}

.why-us__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.why-us__title-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.why-us__text {
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 767px) {
    .why-us__heading {
        font-size: var(--font-size-2xl);
    }

    .why-us__block {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .why-us__content {
        text-align: center;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #ffffff !important;
    padding: var(--spacing-2xl) 0 0;
    margin-top: 50px;
    color: var(--color-text) !important;
    border-top: 1px solid var(--color-border);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer__top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer__brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text);
}

.footer__text {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: var(--spacing-xs);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    color: var(--color-text-light);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__social-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__subtitle {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a,
.footer__links span {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.15s;
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__contact li svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.footer__legal {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
    color: var(--color-text-light);
    font-size: 11px;
    line-height: 1.65;
}
.footer__legal-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}
.footer__legal-body p {
    margin: 0 0 8px;
}
.footer__legal-body p:last-child { margin-bottom: 0; }
.footer__legal-body strong {
    color: var(--color-text);
    font-weight: 600;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer__copyright {
    color: var(--color-text-light);
    font-size: var(--font-size-xs);
    margin: 0;
}

.footer__cnpj {
    color: var(--color-text-light);
    font-size: var(--font-size-xs);
    margin: 0;
}

.footer__contact-desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin: 0 0 12px;
    line-height: 1.4;
}

.footer__contact-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 0;
    border-radius: 8px;
    border: 1px solid;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.footer__contact-btn svg,
.footer__contact-btn i {
    width: 15px;
    height: 15px;
}

.footer__contact-btn--whatsapp {
    border-color: #25D366;
    background: transparent;
    color: #25D366;
}

.footer__contact-btn--whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-1px);
}

.footer__contact-btn--instagram {
    border-color: #E4405F;
    background: transparent;
    color: #E4405F;
}

.footer__contact-btn--instagram:hover {
    background: #E4405F;
    color: #fff;
    transform: translateY(-1px);
}

.footer__contact-btn--email {
    border-color: var(--color-border);
    background: transparent;
    color: var(--color-text-light);
}

.footer__contact-btn--email:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background-color: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal[aria-hidden="false"] .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 32px;
    height: 32px;
    font-size: var(--font-size-2xl);
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.modal__close:hover {
    color: var(--color-text);
}

.modal__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-group:has(.checkbox) {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.form-label {
    font-weight: 500;
    color: var(--color-text);
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.form-link:hover {
    color: var(--color-primary-dark);
}

.modal__footer {
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.modal__footer a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ============================================
   SKELETON LOADING
   ============================================ */

.skeleton {
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.skeleton__image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, var(--color-bg-tertiary) 25%, var(--color-bg-secondary) 50%, var(--color-bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.skeleton__content {
    padding: var(--spacing-md);
}

.skeleton__line {
    height: 16px;
    background: linear-gradient(90deg, var(--color-bg-tertiary) 25%, var(--color-bg-secondary) 50%, var(--color-bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.skeleton__line--title {
    width: 80%;
}

.skeleton__line--price {
    width: 40%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out;
}

/* ============================================
   RESPONSIVIDADE ADICIONAL
   ============================================ */

@media (max-width: 767px) {
    .hero__title {
        font-size: var(--font-size-2xl);
    }
    
    .section__title {
        font-size: var(--font-size-xl);
    }
    
    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ============================================
   NOTIFICAÇÕES
   ============================================ */

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
}

.notification-bell__btn {
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
}

.notification-bell__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-error);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 999px;
    padding: 0 4px;
    pointer-events: none;
}

/* Cart Icon Badge */
.cart-icon {
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
}
.cart-icon__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 999px;
    padding: 0 4px;
    pointer-events: none;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    overflow: hidden;
    flex-direction: column;
}

.notification-dropdown.open {
    display: flex;
}

.notification-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.notification-dropdown__header h4 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin: 0;
}

.notification-dropdown__mark-all {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.notification-dropdown__mark-all:hover {
    background: var(--color-bg-secondary);
}

.notification-dropdown__list {
    overflow-y: auto;
    max-height: 380px;
    flex: 1;
}

.notification-dropdown__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-2xl) var(--spacing-lg);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.notification-dropdown__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    color: var(--color-text-light);
}

.notification-dropdown__footer {
    display: block;
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.notification-dropdown__footer:hover {
    background: var(--color-bg-secondary);
}

/* Notification Items */

.notification-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--color-border);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--color-bg-secondary);
}

.notification-item.unread {
    background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
}

.notification-item.unread:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
}

.notification-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-item__content {
    flex: 1;
    min-width: 0;
}

.notification-item__title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item__message {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item__time {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 4px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsivo */
@media (max-width: 480px) {
    .notification-dropdown {
        width: calc(100vw - 20px);
        right: -10px;
    }
}

/* ═══════ Profile Menu ═══════ */
.profile-menu { position: relative; display: flex; align-items: center; }



.profile-menu__dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    width: 220px; background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 1001;
    overflow: hidden; flex-direction: column;
}
.profile-menu__dropdown.open { display: flex; }

.profile-menu__user {
    display: flex; align-items: center; gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
}
.profile-menu__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; overflow: hidden;
}
.profile-menu__avatar img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%;
}
.profile-menu__name { font-weight: 600; font-size: var(--font-size-sm); color: var(--color-text); }
.profile-menu__divider { height: 1px; background: var(--color-border); margin: 0; }

.profile-menu__item {
    display: flex; align-items: center; gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg); font-size: var(--font-size-sm);
    color: var(--color-text); text-decoration: none; transition: background 0.15s;
}
.profile-menu__item:hover { background: var(--color-bg-secondary); }
.profile-menu__item--danger { color: var(--color-error); }
.profile-menu__item--danger:hover { background: rgba(239,68,68,0.08); }

@media (max-width: 480px) {
    .profile-menu__dropdown { width: calc(100vw - 20px); right: -10px; }
}

/* ── Showcase Section ── */
.showcase {
    padding: 80px 0px 0px 0px;
    background: #fff;
}

.showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.showcase__text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.showcase__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #3A3A3A;
    max-width: 400px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.showcase__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0a7e3b;
    transition: all 0.3s ease;
}

.showcase__btn:hover {
    background: #065a2a;
    transform: scale(1.1) rotate(6deg);
}

.showcase__btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.showcase__img-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.showcase__carousel {
    position: relative;
    width: 500px;
    height: 600px;
    max-width: 100%;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
}

.showcase__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 16px;
}

.showcase__slide.active {
    position: relative;
    opacity: 1;
}


@media (max-width: 1024px) {
    .showcase__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .showcase__text-col {
        order: 2;
        align-items: center;
        text-align: center;
    }
    .showcase__img-col {
        order: 1;
        justify-content: center;
    }
    .showcase__carousel {
        width: 380px;
        height: 460px;
    }
}

@media (max-width: 640px) {
    .showcase__title {
        font-size: 1.5rem;
    }
    .showcase__carousel {
        width: 280px;
        height: 340px;
    }
}

/* ── Por que usar Bomb Fruit (Homepage) ── */
.pq-card:hover {
    border-color: rgba(10,126,59,0.25) !important;
    box-shadow: 0 8px 32px rgba(10,126,59,0.08);
    transform: translateY(-4px);
}
.pq-card:hover > div:nth-of-type(2) {
    background: #0a7e3b !important;
}
.pq-card:hover > div:nth-of-type(2) svg {
    stroke: #fff !important;
}

@media (max-width: 1024px) {
    .pq-features__grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .pq-features__grid { grid-template-columns: 1fr !important; }
    .pq-card { padding: 32px 24px !important; }
}

/* ── Pulsing Status Badges ── */
.pulse-badge { display:inline-flex; align-items:center; gap:4px; padding:4px 9px; color:#fff; border-radius:var(--radius-md); font-size:10px; font-weight:600; white-space:nowrap; line-height:1; }
.pulse-badge svg { width:10px; height:10px; flex-shrink:0; }
.pulse-badge--amber   { background:#f59e0b; animation: pulse-amber 2s ease-in-out infinite; }
.pulse-badge--blue    { background:#3b82f6; animation: pulse-blue 2s ease-in-out infinite; }
.pulse-badge--green   { background:#0a7e3b; animation: pulse-green 2s ease-in-out infinite; }
.pulse-badge--red     { background:#ef4444; animation: pulse-red 2s ease-in-out infinite; }
.pulse-badge--purple  { background:#6366f1; animation: pulse-purple 2s ease-in-out infinite; }
.pulse-badge--violet  { background:#8b5cf6; animation: pulse-violet 2s ease-in-out infinite; }
.pulse-badge--emerald { background:#059669; animation: pulse-emerald 2s ease-in-out infinite; }
.pulse-badge--gray    { background:#6b7280; animation: pulse-gray 2s ease-in-out infinite; }
.pulse-badge--pink    { background:#ec4899; animation: pulse-pink 2s ease-in-out infinite; }
@keyframes pulse-amber   { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.6); } 50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); } }
@keyframes pulse-blue    { 0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.6); } 50% { box-shadow: 0 0 0 6px rgba(59,130,246,0); } }
@keyframes pulse-green   { 0%,100% { box-shadow: 0 0 0 0 rgba(10,126,59,0.6); } 50% { box-shadow: 0 0 0 6px rgba(10,126,59,0); } }
@keyframes pulse-red     { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); } 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); } }
@keyframes pulse-purple  { 0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.6); } 50% { box-shadow: 0 0 0 6px rgba(99,102,241,0); } }
@keyframes pulse-violet  { 0%,100% { box-shadow: 0 0 0 0 rgba(139,92,246,0.6); } 50% { box-shadow: 0 0 0 6px rgba(139,92,246,0); } }
@keyframes pulse-emerald { 0%,100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.6); } 50% { box-shadow: 0 0 0 6px rgba(5,150,105,0); } }
@keyframes pulse-gray    { 0%,100% { box-shadow: 0 0 0 0 rgba(107,114,128,0.6); } 50% { box-shadow: 0 0 0 6px rgba(107,114,128,0); } }
@keyframes pulse-pink    { 0%,100% { box-shadow: 0 0 0 0 rgba(236,72,153,0.6); } 50% { box-shadow: 0 0 0 6px rgba(236,72,153,0); } }

