/* ===== Variáveis e tema ===== */
:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --color-bg: #0f172a;
    --color-surface: #1e293b;
    --color-surface-light: #334155;
    --color-accent: #f59e0b;
    --color-accent-hover: #fbbf24;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: rgba(255,255,255,0.08);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.3);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset e base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: 1440px; }

/* ===== Animações ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-in-delay-1 { animation: fadeInUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.animate-in-delay-2 { animation: fadeInUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.animate-in-delay-3 { animation: fadeInUp 0.6s ease-out 0.3s forwards; opacity: 0; }
.animate-in-delay-4 { animation: fadeInUp 0.6s ease-out 0.4s forwards; opacity: 0; }

/* Scroll reveal - elementos entram quando visíveis */
.benefit-card, .product-card, .service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.benefit-card.animate-visible, .product-card.animate-visible, .service-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
}
.cta.animate-visible .container {
    opacity: 1;
    transform: translateY(0);
}
.cta .container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ===== Header ===== */
.header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--color-text);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.875rem 1.5rem;
    min-height: 64px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity var(--transition);
}
.header-logo:hover { opacity: 0.9; color: var(--color-text); }
.header-logo-img {
    display: block;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}
.header-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.header-logo:hover .header-logo-text { color: var(--color-accent); }

/* Navegação */
.header-nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.header-nav a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.25rem 0;
    text-decoration: none;
    transition: color var(--transition);
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}
.header-nav a:hover { color: var(--color-text); }
.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }
.header-nav a.active { color: var(--color-text); }

/* CTA + Toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn-header-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}
.header-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.header-nav-toggle:hover { background: var(--color-surface-light); }
.header-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}
.header-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
    .btn-header-cta { display: none; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0.75rem 1rem; gap: 1rem; min-height: 56px; }
    .header-nav { display: none; }
    .header-nav.open {
        display: block;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(16px);
        padding: 2rem 1.5rem;
        overflow-y: auto;
        animation: fadeIn 0.3s ease-out;
        z-index: 99;
    }
    .header-nav.open .header-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .header-nav.open a {
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--color-border);
    }
    .header-nav.open a:last-child { border-bottom: none; }
    .header-nav.open a::after { display: none; }
    .header-nav-toggle { display: flex; }
    .header-logo-img { max-height: 38px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .home-products-header { flex-direction: column; align-items: flex-start; }
    .home-products-header .section-title { text-align: left; }
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-image: url('/uploads/banner-hero.png'), linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-text);
    min-height: 420px;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%),
                radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.12), transparent);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.hero .btn { animation: float 3s ease-in-out infinite; animation-delay: 1s; }

/* Home Hero - layout moderno */
.home-hero .hero-content { max-width: 720px; }
.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(245, 158, 11, 0.2);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2rem;
    margin: 0 0 1rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
}
.home-hero .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn { animation: float 3s ease-in-out infinite; animation-delay: 1.5s; }

/* ===== Barra de marcas (slide automático) ===== */
.brands-bar {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    overflow: hidden;
}
.brands-bar-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.brands-bar-slide {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: brands-slide 40s linear infinite;
    width: max-content;
}
.brands-bar-slide:hover { animation-play-state: paused; }
@keyframes brands-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brands-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--color-surface-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
    border: 1px solid transparent;
}
.brands-bar-item:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    transform: scale(1.05);
}
.brands-bar-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* ===== Botões ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #d97706);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); }
.btn-secondary {
    background: var(--color-surface-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-surface); }
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #0f172a; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ===== Benefits ===== */
/* ===== Seções de produtos (home + catalog) ===== */
.products-section {
    padding: 4rem 0;
    background: var(--color-bg);
}
.products-section:nth-of-type(even) {
    background: var(--color-surface);
}
.products-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.products-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}
.products-section-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.products-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}
.products-section-link:hover {
    color: var(--color-accent-hover);
    gap: 0.75rem;
}
.products-section-link svg {
    flex-shrink: 0;
}
.product-grid--home {
    margin-top: 0;
}

/* ===== Instagram Feed ===== */
.instagram-feed {
    padding: 4rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}
.instagram-feed-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}
.instagram-feed-header .section-label {
    margin-bottom: 0.25rem;
}
.instagram-feed-header .section-title {
    margin-bottom: 0.75rem;
}
.instagram-feed-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-accent);
}
.instagram-feed-link:hover {
    color: var(--color-accent-hover);
}
.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}
@media (min-width: 900px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}
.instagram-feed-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: block;
}
.instagram-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.instagram-feed-item:hover img {
    transform: scale(1.08);
}
.instagram-feed-video-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.benefits { padding: 5rem 0; }
.section-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.benefits h2, .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
}
.home-benefits .section-label,
.home-benefits .section-title { text-align: center; }
.home-benefits .section-label { margin-bottom: 0.25rem; }
.home-benefits .section-title { margin-bottom: 2rem; }
.benefit-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.benefit-icon svg { flex-shrink: 0; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    padding: 2rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.3);
}
.benefit-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent);
}
.benefit-card p { margin: 0; color: var(--color-text-muted); line-height: 1.6; }

/* ===== CTA ===== */
.cta {
    background: var(--color-surface);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}
.cta h2 { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; }
.cta p { margin: 0 0 1.5rem; color: var(--color-text-muted); }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.home-cta {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.2);
}
.home-cta h2 { font-size: 1.5rem; }
.home-cta .cta-buttons .btn-primary { animation: float 3s ease-in-out infinite; animation-delay: 0.5s; }

/* ===== Page header ===== */
.page-header {
    padding: 3rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}
.page-header-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.375rem;
}
.page-header h1 { margin: 0 0 0.5rem; font-size: 2rem; font-weight: 700; }
.page-header p { margin: 0; color: var(--color-text-muted); }

/* ===== Page content ===== */
.page-content { padding: 3rem 0; }
.page-content h2 { margin: 2rem 0 1rem; font-size: 1.25rem; font-weight: 600; color: var(--color-text); }
.page-content p, .page-content li { color: var(--color-text-muted); }
.page-content ul { margin: 1rem 0; padding-left: 1.5rem; list-style: disc; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.service-card {
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.3);
}
.service-card h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; color: var(--color-accent); }
.service-card p { margin: 0; color: var(--color-text-muted); }

/* ===== Contact form ===== */
.contact-form { max-width: 500px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-text); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); opacity: 0.7; }
.form-group .error { color: #f87171; font-size: 0.875rem; display: block; margin-top: 0.25rem; }
.honeypot { position: absolute; left: -9999px; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1rem; }
.alert-success { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.alert-error { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.alert ul { margin: 0; padding-left: 1.25rem; }

/* ===== Catalog ===== */
.catalog-main {
    padding: 2rem 0 4rem;
}
.catalog-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.625rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.catalog-sidebar-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
@media (min-width: 992px) {
    .catalog-sidebar-toggle { display: none; }
}
@media (max-width: 991px) {
    .catalog-sidebar {
        position: relative;
        top: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    .catalog-sidebar.is-open {
        max-height: 800px;
        opacity: 1;
    }
}
.catalog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 992px) {
    .catalog-layout {
        grid-template-columns: 260px 1fr;
        align-items: start;
    }
}
.catalog-sidebar {
    position: sticky;
    top: 5rem;
}
.catalog-sidebar-inner {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.catalog-sidebar-title {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.catalog-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.catalog-filter-field label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.catalog-filter-field input,
.catalog-filter-field select {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}
.catalog-filter-field input:focus,
.catalog-filter-field select:focus {
    outline: none;
    border-color: var(--color-accent);
}
.catalog-filter-field input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.8;
}
.btn-block { width: 100%; justify-content: center; }
.catalog-content {
    min-width: 0;
}
.catalog-content .products-section { padding: 0; }
.catalog-content .product-grid { margin-top: 0; }

/* Legacy filter styles (admin/other pages) */
.filters-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filter-group {
    flex: 1;
    min-width: 140px;
}
.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}
.catalog-list { padding: 2.5rem 0; }
.catalog-list.products-section { padding: 4rem 0; }
.filter-group--search { min-width: 200px; }
.filter-group--action {
    flex: 0 0 auto;
    min-width: auto;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}
.product-card {
    display: flex;
}
.product-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover .product-card-inner {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.25);
}
.product-card-media {
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.product-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.product-card:hover .product-card-image-link img {
    transform: scale(1.05);
}
.product-card-image-link .product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-light);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
.product-badge {
    position: absolute;
    top: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    z-index: 2;
}
.product-badge--discount {
    left: 0.75rem;
    background: var(--color-accent);
    color: #0f172a;
}
.product-badge--oem {
    right: 0.75rem;
    background: rgba(0,0,0,0.6);
    color: var(--color-text);
}
.product-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}
.product-card:hover .product-card-overlay {
    opacity: 1;
}
.product-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.product-overlay-btn:hover {
    background: var(--color-accent);
    color: #0f172a;
    border-color: var(--color-accent);
    transform: scale(1.08);
}
.product-overlay-btn--wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}
.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    min-height: 0;
}
.product-card-body .product-meta {
    margin: 0 0 0.375rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.product-card-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition);
}
.product-card-title a:hover {
    color: var(--color-accent);
}
.product-price {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent);
}
.product-price-label { font-weight: 500; font-size: 0.8125rem; color: var(--color-text-muted); }
.product-price-original { text-decoration: line-through; font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted); margin-right: 0.25rem; }
.product-price-badge { font-size: 0.6875rem; background: rgba(34, 197, 94, 0.2); color: #4ade80; padding: 0.125rem 0.375rem; border-radius: 4px; margin-left: 0.25rem; }
.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}
.product-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    flex: 1;
    min-width: 0;
}
.product-card-actions .btn-cart {
    background: var(--color-accent);
    color: #0f172a;
    border-color: var(--color-accent);
}
.product-card-actions .btn-cart:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}
.product-card-actions .btn-detail {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.product-card-actions .btn-detail:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.product-card-actions .btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}
.product-card-actions .btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: white;
}

/* Cart toast */
.cart-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cart-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Cart page */
.cart-section { padding: 2.5rem 0; }
.cart-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.cart-empty p { margin: 0 0 1.5rem; color: var(--color-text-muted); font-size: 1.125rem; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-item-name { color: var(--color-text); font-weight: 600; text-decoration: none; }
.cart-item-name:hover { color: var(--color-accent); }
.cart-item-qty { font-size: 0.875rem; color: var(--color-text-muted); }
.cart-item-price { font-weight: 600; color: var(--color-accent); }
.cart-item-remove {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all var(--transition);
}
.cart-item-remove:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.cart-actions .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
}
.cart-actions .btn-whatsapp:hover { background: #20bd5a; color: white; }

/* Header cart link */
.header-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--color-text);
    transition: color var(--transition);
}
.header-cart-link:hover { color: var(--color-accent); }
.cart-count-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-accent);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    background: var(--color-surface-light) !important;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
.product-card h3 { margin: 0.75rem 0 0.25rem; font-size: 1rem; font-weight: 600; color: var(--color-text); }
.product-meta, .product-oem { margin: 0.25rem 0; font-size: 0.875rem; color: var(--color-text-muted); }
.product-price { font-weight: 700; color: var(--color-accent); font-size: 1.125rem; margin-top: auto; padding-top: 0.5rem; }
.product-price-label { display: inline-block; color: var(--color-text-muted); font-size: 0.8em; font-weight: 500; margin-right: 0.5rem; }
.product-price-original { text-decoration: line-through; color: var(--color-text-muted); font-weight: 500; font-size: 0.9em; margin-right: 0.5rem; }
.product-price-badge { display: inline-block; background: #22c55e; color: white; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.4rem; border-radius: 0.25rem; margin-left: 0.35rem; vertical-align: middle; }
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 1.25rem 0; font-size: 0.875rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-text); }

/* ===== Product detail ===== */
.product-detail { padding: 2.5rem 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) {
    .product-layout { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-card-actions .btn { padding: 0.5rem 0.75rem; font-size: 0.8125rem; }
}
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-gallery-main {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-badge--detail {
    top: 1rem;
    left: 1rem;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}
.product-placeholder-lg {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-light) !important;
    color: var(--color-text-muted);
    font-size: 1rem;
    border-radius: var(--radius-lg);
}
.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.product-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-surface);
    transition: border-color var(--transition), opacity var(--transition);
}
.product-thumb:hover { opacity: 0.9; }
.product-thumb.active { border-color: var(--color-accent); }
.product-thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.product-info .product-code {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.product-info .product-code strong { color: var(--color-accent); font-weight: 600; }
.product-info h1 { margin: 0 0 0.75rem; font-size: 1.75rem; font-weight: 700; }
.product-info .product-meta { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--color-text-muted); }
.product-info .product-meta a { color: var(--color-accent); }
.product-price { font-weight: 700; color: var(--color-accent); font-size: 1.5rem; margin: 0 0 1.25rem; }
.product-detail .product-price-original { font-size: 1rem; }
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.product-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.product-detail-actions .btn-cart {
    background: var(--color-accent);
    color: #0f172a;
    border-color: var(--color-accent);
}
.product-detail-actions .btn-cart:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}
.product-detail-actions .btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}
.product-detail-actions .btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: white;
}
.product-sections { display: flex; flex-direction: column; gap: 1.5rem; }
.product-section {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--color-border);
}
.product-section h3 {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}
.oem-tags, .referencias-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.oem-tag, .ref-tag {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: var(--color-surface-light);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.oem-tag:hover, .ref-tag:hover {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent-hover);
}
.ref-tag .ref-desc { color: var(--color-text-muted); font-weight: 400; margin-left: 0.25rem; }
.compatibility-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 12rem;
    overflow-y: auto;
}
.compatibility-list::-webkit-scrollbar { width: 6px; }
.compatibility-list::-webkit-scrollbar-track { background: var(--color-surface-light); border-radius: 3px; }
.compatibility-list::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }
.compatibility-item, .compatibility-list li {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.4;
}
.compatibility-item:last-child, .compatibility-list li:last-child { border-bottom: none; }

/* Aplicação accordion */
.aplicacao-accordion { display: flex; flex-direction: column; gap: 0.25rem; }
.aplicacao-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.aplicacao-item-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-surface-light);
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    transition: background var(--transition);
    font-family: inherit;
}
.aplicacao-item-header:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.aplicacao-item-header:hover { background: rgba(245, 158, 11, 0.1); }
.aplicacao-item-header-static { cursor: default; pointer-events: none; }
.aplicacao-item-header-static .aplicacao-item-icon { display: none; }
.aplicacao-item-title { flex: 1; }
.aplicacao-item-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    min-height: 1.25rem;
    position: relative;
    transition: transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aplicacao-item-icon::before,
.aplicacao-item-icon::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    transition: transform var(--transition);
}
.aplicacao-item-icon::before { width: 12px; height: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.aplicacao-item-icon::after { width: 2px; height: 12px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.aplicacao-item.is-open .aplicacao-item-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.aplicacao-item.is-open .aplicacao-item-icon::before { background: var(--color-accent); }
.aplicacao-item-content {
    padding: 0;
    background: var(--color-surface);
}
.aplicacao-item-content[hidden] { display: none; }
.aplicacao-sublist {
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    list-style: none;
    border-top: 1px solid var(--color-border);
}
.aplicacao-sublist li {
    padding: 0.4rem 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    border-bottom: 1px solid var(--color-border);
}
.aplicacao-sublist li:last-child { border-bottom: none; }

/* Product tabs (Descrição | Compatibilidade) */
.product-tabs {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.product-tabs-nav {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.product-tab-btn {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}
.product-tab-btn:hover {
    color: var(--color-text);
}
.product-tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
.product-tab-panel {
    display: none;
}
.product-tab-panel.active {
    display: block;
}
.product-description-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
.product-description-content p { margin: 0 0 0.75rem; }
.product-tabs .aplicacao-accordion { display: flex; flex-direction: column; gap: 0.5rem; }
.product-tabs .compatibility-list { max-height: 24rem; overflow-y: auto; }

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.pagination span { color: var(--color-text-muted); font-size: 0.875rem; }
.pagination .btn { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); }
.pagination .btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ===== Error pages ===== */
.error-page { text-align: center; padding: 4rem 0; }
.error-page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.error-page .btn { margin-top: 1.5rem; }
.debug-error { background: rgba(239, 68, 68, 0.2); padding: 1rem; border-radius: var(--radius-md); font-size: 0.875rem; overflow-x: auto; text-align: left; color: #f87171; }

/* ===== Footer ===== */
.footer {
    background: var(--color-surface);
    color: var(--color-text-muted);
    padding: 2.5rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
}
.footer a { color: var(--color-text-muted); }
.footer a:hover { color: var(--color-accent); }
.footer p { margin: 0 0 0.75rem; }
.footer nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; font-size: 0.875rem; }
.footer nav a { text-decoration: none; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: #fff;
}
.whatsapp-float svg {
    flex-shrink: 0;
}

/* WhatsApp modal */
.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.whatsapp-modal[hidden] {
    display: none;
}
.whatsapp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}
.whatsapp-modal-content {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}
.whatsapp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.whatsapp-modal-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}
.whatsapp-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition);
}
.whatsapp-modal-close:hover {
    color: var(--color-text);
}
.whatsapp-form {
    padding: 1.5rem;
}
.whatsapp-form .form-group {
    margin-bottom: 1rem;
}
.whatsapp-form .form-group:last-of-type {
    margin-bottom: 1.25rem;
}
.whatsapp-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}
.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.9375rem;
}
.whatsapp-form input:focus,
.whatsapp-form select:focus,
.whatsapp-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.whatsapp-form textarea {
    resize: vertical;
    min-height: 80px;
}
.whatsapp-form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Lightbox com marca d'água */
.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.img-lightbox[hidden] {
    display: none !important;
}
.img-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}
.img-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
}
.img-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.img-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}
.img-lightbox-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    user-select: none;
}
.img-lightbox-product-link {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
    color: #0f172a;
}
.img-lightbox-product-link:hover {
    color: #0f172a;
}
.img-lightbox-trigger,
.product-overlay-btn--zoom {
    cursor: zoom-in;
}
