/**
 * MontaLoja - Modern Theme Styles
 * Estilos completos para o template retail/modern
 * Versão: 1.0
 */

/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
    --bg: #FAFBFC;
    --bg-white: #FFFFFF;
    --surface: #FFFFFF;
    --surface-hover: #F8F9FA;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --primary: #2563EB;
    --primary-soft: rgba(37, 99, 235, 0.08);
    --primary-hover: #1D4ED8;
    --accent: #10B981;
    --accent-soft: rgba(16, 185, 129, 0.1);
    --text: #111827;
    --text-secondary: #4B5563 !important;
    --muted: #9CA3AF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ===== HEADER SUPERIOR ===== */
.top-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.top-header.sticky-header {
    position: sticky;
    top: 0;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.brand-logo {
    width: 180px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    overflow: hidden;
}

.brand-logo.has-image {
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

/* Menu de navegação */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-link iconify-icon {
    font-size: 1.1rem;
    margin-right: 6px;
    vertical-align: middle;
}

/* Barra de pesquisa */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-bar input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

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

.search-bar .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.1rem;
}

/* Ações do header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    color: var(--text);
}

.action-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.user-btn:hover {
    background: var(--surface-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.user-btn span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #F093FB 100%);
    overflow: hidden;
}

.hero-banner.has-image {
    background: #1a1a2e;
}

.hero-banner .banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.hero-title {
    font-size: 2rem !important;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    max-width: 600px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-lg);
    width: fit-content;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img.banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-banner.has-slider:hover .hero-slider-arrow {
    opacity: 1;
}

.hero-slider-arrow:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow.prev {
    left: 24px;
}

.hero-slider-arrow.next {
    right: 24px;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255,255,255,0.7);
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .hero-slider-arrow.prev { left: 12px; }
    .hero-slider-arrow.next { right: 12px; }
    .hero-slider-dots { bottom: 16px; }
    .hero-dot { width: 8px; height: 8px; }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

/* Categories */
.categories-row {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.category-chip {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-placeholder {
    width: 80px;
    height: 100px;
    background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
    border-radius: 8px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow);
    border: none;
}

.product-wishlist:hover {
    color: #EF4444;
    transform: scale(1.1);
}

.product-wishlist.active {
    color: #EF4444;
}

.product-info {
    padding: 16px;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-rating iconify-icon {
    color: #FBBF24;
    font-size: 0.9rem;
}

.product-rating span {
    font-size: 0.8rem;
    color: var(--muted);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.price-old {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: line-through;
}

.btn-add-cart {
    max-width: 180px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 48px 24px 24px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

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

/* ===== RESPONSIVO COMPLETO ===== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--surface-hover);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface-hover);
    border-radius: 8px;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu {
    padding: 16px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-nav-link iconify-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.mobile-nav-link.active iconify-icon {
    color: var(--primary);
}

/* Scrollbar para categorias */
.categories-row::-webkit-scrollbar {
    height: 4px;
}

.categories-row::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
}

.categories-row::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Busca Mobile */
.mobile-search-bar {
    position: relative;
    display: none;
    padding: 12px 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.mobile-search-bar input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    font-size: 0.9rem;
    color: var(--text);
}

.mobile-search-bar .search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .mobile-search-bar {
        display: block;
    }
}

/* Tablet Grande (1024px) */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .hero-title {
        font-size: 2rem !important;
    }

    .main-content {
        padding: 32px 20px 48px;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
        gap: 12px;
        padding: 0 16px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
        left: -280px;
    }

    .mobile-nav-overlay {
        display: none;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .search-bar {
        max-width: none;
        flex: 1;
    }

    .search-bar input {
        height: 40px;
        font-size: 0.85rem;
    }

    .user-btn span {
        display: none;
    }

    .user-btn {
        padding: 6px;
        border-radius: 50%;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-logo {
        width: 180px;
        max-width: 140px;
        height: 42px;
    }

    .brand-logo img {
        max-height: 42px;
    }

    .hero-banner {
        height: 280px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 2rem !important;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 24px 16px 40px;
    }

    .section-header {
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .categories-row {
        margin: 0 -16px 24px;
        padding: 0 16px 8px;
    }

    .category-chip {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

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

    .product-card {
        border-radius: var(--radius);
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .product-category {
        font-size: 0.7rem;
    }

    .product-rating {
        margin-bottom: 8px;
    }

    .product-rating iconify-icon {
        font-size: 0.8rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .price-current {
        font-size: 1.05rem;
    }

    .btn-add-cart {
        width: 100%;
        height: 40px;
        max-width: none;
        border-radius: 8px;
    }

    .product-wishlist {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }

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

    .site-footer {
        padding: 32px 16px 20px;
        margin-top: 32px;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-brand .brand {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .header-inner {
        height: 56px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 180px;
        max-width: 100px;
        height: 36px;
    }

    .brand-logo img {
        max-height: 36px;
    }

    .brand-name {
        font-size: 0.95rem;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-bar {
        display: none;
    }

    .action-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .action-btn .badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .hero-banner {
        height: 280px;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .main-content {
        padding: 20px 12px 32px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .section-link {
        font-size: 0.85rem;
    }

    .categories-row {
        margin: 0 -12px 20px;
        padding: 0 12px 6px;
        gap: 8px;
    }

    .category-chip {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

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

    .product-card {
        border-radius: 10px;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .product-info {
        padding: 10px;
    }

    .product-category {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .product-name {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        margin-bottom: 4px;
    }

    .product-rating {
        display: none;
    }

    .product-footer {
        gap: 8px;
    }

    .price-current {
        font-size: 1rem;
    }

    .price-old {
        font-size: 0.7rem;
    }

    .btn-add-cart {
        height: 36px;
        font-size: 1rem;
    }

    .product-wishlist {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .product-wishlist iconify-icon {
        font-size: 0.9rem;
    }

    .product-badge {
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 0.6rem;
        border-radius: 4px;
    }

    .site-footer {
        padding: 24px 12px 16px;
        margin-top: 24px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 16px;
        font-size: 0.8rem;
        gap: 12px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
}

/* Mobile Extra Pequeno (360px) */
@media (max-width: 360px) {
    .header-inner {
        padding: 0 10px;
    }

    .brand-name {
        display: none;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .main-content {
        padding: 16px 10px 28px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .price-current {
        font-size: 0.95rem;
    }

    .btn-add-cart {
        height: 34px;
    }
}

/* Landscape mode para mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        height: 200px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

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

/* Otimizações de touch */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

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

    .btn-add-cart:hover {
        transform: none;
    }

    .btn-add-cart:active {
        transform: scale(0.95);
    }

    .hero-cta:hover {
        transform: none;
    }

    .action-btn:active,
    .category-chip:active {
        transform: scale(0.95);
    }
}

/* Safe area para iPhones com notch */
@supports (padding: max(0px)) {
    .header-inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .main-content {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .site-footer {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===== ESTILOS PARA PÁGINAS INTERNAS ===== */

/* Page Container */
.page-container {
    min-height: 60vh;
}

/* Page Header */
.page-header {
    /*background: var(--bg-white);*/
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
    margin-bottom: 32px;
}

.page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb span {
    color: var(--muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.empty-state iconify-icon {
    font-size: 64px;
    color: var(--muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.empty-state .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-group input::placeholder {
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
}

.btn-full {
    width: 100%;
}

/* Auth Card */
.auth-card {
    max-width: 440px;
    margin: 40px auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    font-size: 0.85rem;
    color: var(--muted);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.password-strength .strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.password-strength .strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

.password-strength .strength-text {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Alerts */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-error {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #D1FAE5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.alert-info {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Responsive for internal pages */
@media (max-width: 480px) {
    .auth-card {
        margin: 20px 12px;
        padding: 24px 20px;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 24px 0;
    }

    .page-header-inner {
        padding: 0 16px;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 90%;
    text-align: center;
}

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

.toast.success {
    background: var(--accent);
}

.toast.error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.toast.info {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

/* Favoritos ativos */
.product-wishlist.active {
    background: var(--danger-soft, #FEE2E2);
    color: var(--danger, #EF4444);
}

.product-wishlist.active iconify-icon {
    color: var(--danger, #EF4444);
}

/* Badge de favoritos no header */
.wishlist-btn {
    position: relative;
}

.wishlist-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger, #EF4444);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* User Button Logged In State */
.user-btn.logged-in {
    background: var(--primary-soft);
}

.user-btn.logged-in:hover {
    background: var(--primary-soft);
}

.user-btn.logged-in .user-avatar {
    background: var(--primary);
}

.user-btn.logged-in .user-avatar iconify-icon {
    color: white;
}

.user-btn.logged-in span {
    color: var(--primary);
}

.user-btn.logged-in span,
.user-btn.logged-in svg,
.user-btn.logged-in iconify-icon {
    color: var(--primary);
}

/* User Button Logged In State */
.user-btn.logged-in {
    background: var(--primary-soft);
}
.user-btn.logged-in:hover {
    background: var(--primary-soft);
}
.user-btn.logged-in .user-avatar {
    background: var(--primary);
}
.user-btn.logged-in .user-avatar iconify-icon {
    color: white;
}
.user-btn.logged-in span {
    color: var(--primary);
}
.user-btn.logged-in span,
.user-btn.logged-in svg,
.user-btn.logged-in iconify-icon {
    color: var(--primary);
}

/* ===== HERO BANNER STYLES ===== */
.hero-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #3B82F6) 100%);
    overflow: hidden;
}

/* Hero Heights */
.hero-height-small { min-height: 300px; }
.hero-height-medium { min-height: 400px; }
.hero-height-large { min-height: 500px; }
.hero-height-full { min-height: calc(100vh - 72px); }

/* Hero Alignments */

/* Hero Container - limita a 1280px */
.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    display: flex;
}

/* Hero Alignments com container de 1280px */
.hero-align-left .hero-container { justify-content: flex-start; }
.hero-align-center .hero-container { justify-content: center; }
.hero-align-right .hero-container { justify-content: flex-end; }
.hero-align-left .hero-content { text-align: left; align-items: flex-start; }
.hero-align-center .hero-content { text-align: center; align-items: center; }
.hero-align-right .hero-content { text-align: right; align-items: flex-end; }

.hero-banner.has-image,
.hero-banner.has-video {
    background: #111;
}

.banner-image,
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-tag iconify-icon {
    font-size: 1rem;
    color: #FBBF24;
}

.hero-title {
    font-size: 2rem !important;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-cta iconify-icon {
    font-size: 1.2rem;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0 40px;
    }

    .hero-container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Force alignments on mobile */
    .hero-align-left .hero-container { justify-content: flex-start !important; }
    .hero-align-center .hero-container { justify-content: center !important; }
    .hero-align-right .hero-container { justify-content: flex-end !important; }

    .hero-align-left .hero-content { text-align: left !important; align-items: flex-start !important; }
    .hero-align-center .hero-content { text-align: center !important; align-items: center !important; }
    .hero-align-right .hero-content { text-align: right !important; align-items: flex-end !important; }
    
    .hero-content {
        width: auto;
        max-width: 100%;
    }

    .hero-height-small { min-height: 250px; }
    .hero-height-medium { min-height: 350px; }
    .hero-height-large { min-height: 450px; }
    .hero-height-full { min-height: calc(100vh - 60px); }
    
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ========================================
   HERO BANNER - MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-banner {
        min-height: 280px;
        padding: 50px 0 30px;
    }

    .hero-container {
        padding: 0 16px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 8px;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .hero-cta {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Heights para mobile */
    .hero-height-small { min-height: 200px; }
    .hero-height-medium { min-height: 280px; }
    .hero-height-large { min-height: 350px; }
    .hero-height-full { min-height: calc(100vh - 56px); }

    /* Centralizar em mobile por padrão para melhor UX */
    .hero-align-left .hero-container,
    .hero-align-right .hero-container {
        justify-content: center !important;
    }

    .hero-align-left .hero-content,
    .hero-align-right .hero-content {
        text-align: center !important;
        align-items: center !important;
    }
}

/* ========================================
   HERO BANNER - MOBILE MUITO PEQUENO (360px)
   ======================================== */
@media (max-width: 360px) {
    .hero-banner {
        min-height: 250px;
        padding: 40px 0 25px;
    }

    .hero-container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-cta {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .hero-height-small { min-height: 180px; }
    .hero-height-medium { min-height: 250px; }
    .hero-height-large { min-height: 320px; }
}

/* ===== PAGE HEADER BANNER ===== */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #3B82F6) 100%);
    padding: 2.5rem 1.5rem 2rem;
    margin-top: 0!important;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header-banner .page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.page-header-banner .page-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.page-header-banner .page-breadcrumb a:hover {
    color: #fff;
}

.page-header-banner .page-breadcrumb iconify-icon {
    font-size: 0.75rem;
    opacity: 0.6;
}

.page-header-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.page-header-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

@media (max-width: 768px) {
    .page-header-banner {
        padding: 2rem 1rem 1.5rem;
    }
    
    .page-header-title {
        font-size: 1.5rem;
    }
}
