/* ================================
   RESET E VARIÁVEIS
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1BBD6C;
    --primary-dark: #158A52;
    --primary-light: #4ECC9A;
    --secondary-color: #1F2937;
    --secondary-light: #374151;
    --accent-color: #00A651;
    --accent-orange: #FF8533;
    --accent-blue: #0066CC;
    /* replaced orange with stronger greens for better visibility and brand coherence */
    --logo-accent: #0A8A3A; /* darker green accent */
    --logo-accent-2: #157A4D; /* secondary green tone */
    --text-dark: #1F2937;
    --text-light: #FFFFFF;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-dark: #1F2937;
    --bg-dark-alt: #111827;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(27, 189, 108, 0.15);
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --radius: 8px;
}

:root {
    /* design tokens added */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    --container-max: 1280px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

/* ================================
   HEADER E NAVEGAÇÃO
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* show hero through */
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 1000;
}

/* ensure page content isn't hidden behind fixed header */
.site-body-offset {
    padding-top: 72px; /* matches header height + small gap */
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* make the wrapper a positioning context so the absolute mobile menu aligns to it */
.nav-wrapper {
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo a span {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--logo-accent-2);
    display: inline-block;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a.active {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.nav-menu a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1003;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 28px;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 28px;
}

/* Ensure the hamburger lines become dark when open so the X remains visible over white background */
.hamburger.open span {
    background: var(--text-dark) !important;
}

.hamburger span {
    transition: transform 0.28s ease, opacity 0.2s ease, background 0.18s ease;
}

/* Header variant when over light backgrounds (e.g., after scrolling past hero) */
.header.light-bg {
    background: var(--bg-white);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.header.light-bg .logo a,
.header.light-bg .logo span {
    color: var(--text-dark);
}

.header.light-bg .nav-menu a {
    color: var(--text-dark);
    background: transparent;
}

.header.light-bg .nav-menu a:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-dark);
}

.header.light-bg .nav-menu a.active {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

.header.light-bg .hamburger span {
    background: var(--text-dark);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    /* Use a motorcycle hero image with a green overlay to match brand.
       Place your chosen image at images/hero-moto.jpg. If missing, falls back to primary color. */
    background-color: var(--primary-dark);
    background-image: linear-gradient(rgba(27,189,108,0.28), rgba(21,138,82,0.28)), url('/images/hero-moto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 980px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--text-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animações de entrada */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

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

/* ================================
   BOTÕES
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 24px rgba(27,189,108,0.12);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(2,6,23,0.12);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(0,0,0,0.06);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2,6,23,0.06);
}

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

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
    padding: 80px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    border-radius: 15px;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ================================
   CATEGORIES SECTION
   ================================ */
.categories-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #ffffff;
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
    text-align: center;
    transition: transform 0.32s cubic-bezier(.2,.9,.2,1), box-shadow 0.32s ease;
    box-shadow: 0 8px 20px rgba(2,6,23,0.04);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(2,6,23,0.08);
}

.category-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: white;
    box-shadow: 0 8px 20px rgba(16,185,129,0.12);
    transition: transform 0.32s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s ease, filter 0.28s ease;
}

.category-icon img,
.category-icon svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.12));
}

/* when an image is present, make the wrapper background transparent so the image fills the circle */
.category-icon.has-image {
    background: transparent;
    box-shadow: none;
}

.category-card:hover .category-icon {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 22px 48px rgba(16,185,129,0.14);
}

/* icon font sizing if FontAwesome is used */
.category-icon i {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
}

/* initials fallback for categories without images/icons */
.category-icon .cat-initials {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: white;
    display: inline-block;
    text-transform: uppercase;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.category-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* category count badge */
/* category count badge removed — counts no longer shown */

/* subtle gradient ring around icon for emphasis */
.category-card .category-icon {
    position: relative;
}
.category-card .category-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(0,166,81,0.08), transparent 20%), linear-gradient(135deg, rgba(27,189,108,0.08), transparent 40%);
    z-index: -1;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.category-card:hover .category-icon::after {
    transform: scale(1.06);
    opacity: 1;
}

/* tighter layout for smaller cards */
@media (max-width: 520px) {
    .categories-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .category-card { padding: 1.25rem; border-radius: 12px; }
    .category-icon { width: 72px; height:72px; }
}

/* ================================
   GLOBAL MOBILE / RESPONSIVE TWEAKS
   ================================ */

/* Make header compact on small devices */
@media (max-width: 900px) {
    .header { position: fixed; padding: 8px 0; }
    .nav-wrapper { align-items: center; }
    .logo .logo-img { height: 38px; }
    .logo a { font-size: 1.05rem; }
    .hamburger { display: flex; }
    .nav-menu { display: none; }

    /* Mobile nav panel */
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 64px;
        right: 12px;
        width: calc(100% - 24px);
        max-width: 360px;
        background: var(--bg-white);
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 18px 48px rgba(2,6,23,0.18);
        z-index: 1004;
    }
    .nav-menu.active a { padding: 12px 14px; border-radius: 8px; }

    .mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.36); opacity: 0; pointer-events: none; transition: opacity 0.28s ease; z-index: 1002; }
    .mobile-nav-overlay.show { opacity: 1; pointer-events: auto; }

    /* Reduce hero height on phones */
    .hero { height: 60vh; background-position: center top; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }

    /* Make containers full width with consistent padding */
    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .logo .logo-img { height: 34px; }
    .hero { height: 50vh; }
    .hero-title { font-size: 1.6rem; }
    .category-card { padding: 1rem; }
    .category-card h3 { font-size: 1.15rem; }
    .category-card p { font-size: 0.95rem; }
    .seller-card { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
    .sellers-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .footer-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
    .footer-bottom { text-align: center; }
    .map-wrapper iframe { height: 300px !important; }
}

/* Make iframes responsive when inside map-wrapper */
.map-wrapper { position: relative; overflow: hidden; border-radius: 12px; }
.map-wrapper iframe { width: 100%; height: 450px; border: 0; display: block; }
.map-meta { margin-top: 12px; display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }

/* Buttons and forms should expand to container width on small screens */
@media (max-width: 720px) {
    .btn { width: 100%; justify-content: center; }
    .filters-row { display: flex; flex-direction: column; gap: 8px; }
    table.products-table { font-size: 0.95rem; }
    table.products-table th, table.products-table td { padding: 8px 6px; }
}

/* Utility: prevent images from overflowing on very small devices */
img { max-width: 100%; height: auto; }


.category-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-link:hover {
    gap: 10px;
}

/* ================================
   ABOUT PREVIEW SECTION
   ================================ */
.about-preview {
    padding: 80px 0;
    background: white;
}

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

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ================================
   BRANDS SECTION
   ================================ */
.brands-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.brands-section .section-title,
.brands-section .section-subtitle {
    color: var(--text-light);
}

.brands-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.brand-item {
    flex: 0 0 auto;
}

.brand-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.brand-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 28px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--logo-accent);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.contact-info i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ================================
   BACK TO TOP
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

/* ================================
   PAGE HEADER
   ================================ */
.page-header {
    padding: 120px 0 60px;
    background: var(--primary-color);
    text-align: center;
    color: white;
    box-shadow: inset 0 -40px 80px rgba(0,0,0,0.08);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ================================
   CATALOG PAGE
   ================================ */
.catalog-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* Sidebar */
.catalog-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.filter-section {
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.filter-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-loading {
    color: #999;
    font-size: 0.9rem;
}

.search-box {
    display: flex;
    gap: 10px;
    width: 100%;
}

.search-box input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.search-box button {
    padding: 12px 16px;
    min-width: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Advanced Search */
.advanced-search {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-field label i {
    color: var(--primary-color);
}

.search-field input,
.search-field select {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: var(--transition);
}

.filter-option:hover {
    background: var(--bg-light);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Compact selects used in catalog filters to match year select appearance */
.filter-group select,
.search-select {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px; /* space for chevron */
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    cursor: pointer;
    /* inline SVG chevron, stroke uses brand color */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231BBD6C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.filter-group select:focus,
.search-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(16,185,129,0.08);
}

.search-select:hover,
.search-select:focus {
    /* change chevron stroke color on hover/focus to the darker primary */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23158852' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    border-color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(21,138,82,0.08);
}

/* Catalog Main */
.catalog-main {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ================================
   Admin Login Page
   ================================ */
.admin-login-page {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,189,108,0.12), rgba(21,138,82,0.12));
}

.admin-login-page .login-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
}

.login-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(6, 27, 34, 0.12);
    padding: 36px;
}

.login-header { text-align: center; margin-bottom: 18px; }
.login-header img { max-width: 140px; display:block; margin: 0 auto 12px; }
.login-header h1 { font-size: 20px; margin-bottom: 4px; }
.login-header p { color: var(--text-gray); font-size: 13px; }

.form-group label { font-weight: 600; color: var(--text-dark); margin-bottom: 6px; display:block; }
.form-group input { padding: 12px; border: 2px solid var(--border-color); border-radius: 8px; width:100%; }
.form-group input:focus { border-color: var(--primary-color); box-shadow: 0 8px 30px rgba(27,189,108,0.08); outline:none; }

.login-btn { padding: 12px; border-radius: 10px; background: var(--primary-color); color: #fff; border:none; font-weight:700; width:100%; }
.login-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.error-message { background: var(--error-color); color: #fff; padding: 12px; border-radius: 8px; display:none; }
.error-message.show { display:block; }

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

/* Navigation admin shortcut */
/* nav-admin removed: keyboard shortcut (Ctrl+Alt+L) used to open admin login */

/* Footer refinements */
.footer { background: linear-gradient(180deg, #0f1724 0%, #0a1220 100%); color: rgba(255,255,255,0.85); }
.footer a { color: rgba(255,255,255,0.9); }
.footer-bottom { text-align: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.04); }

/* Card improvements globally */
.card, .about-grid .about-image, .brand-item, .stat-card {
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .brand-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.results-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.product-image i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.product-code {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-brand {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.pagination button {
    padding: 10px 20px;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

/* Image Gallery */
.modal-product-gallery {
    width: 100%;
    margin-bottom: 2rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: var(--transition);
}

.main-image:hover {
    transform: scale(1.05);
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    pointer-events: none;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

/* Zoom Overlay */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-overlay.active {
    opacity: 1;
}

.zoom-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.zoom-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.zoom-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* Compatible Models */
.compatible-models {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.model-tag {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-product-image {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.modal-product-image i {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.modal-product-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-product-info p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.modal-product-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.modal-product-details h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-product-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-product-details ul li:last-child {
    border-bottom: none;
}

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

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-intro-content p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-intro-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Vision Values */
.mvv-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.mvv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mvv-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.mvv-card ul {
    text-align: left;
}

.mvv-card ul li {
    padding: 0.5rem 0;
    color: #666;
}

.mvv-card ul li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
}

/* Quality Section */
.quality-section {
    padding: 80px 0;
    background: white;
}

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

.quality-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.quality-content p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.quality-features {
    margin-top: 2rem;
}

.quality-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quality-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.quality-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.quality-feature p {
    color: #666;
    margin: 0;
}

.quality-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.quality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 300px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.team-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
    --contact-gap: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--contact-gap);
    align-items: start;
}

.contact-info-wrapper h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info-wrapper > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Social Contact */
.social-contact {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.social-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Map Section */
.map-section {
    padding: 48px 0;
    background: white;
}

.map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(2,6,23,0.08);
    border: 1px solid var(--border-light);
    background: #ffffff;
    padding: 6px;
}

.map-iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 460px;
    border-radius: 10px;
    min-height: 320px;
}

.map-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 12px;
}

.map-address {
    color: #444;
    font-weight: 600;
}

.map-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Representatives */
.representatives-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.state-badge {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.state-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ================================
   PLACEHOLDER IMAGES
   ================================ */
.about-preview .about-image img,
.about-intro-image img,
.quality-image img,
.team-image img {
    background: var(--primary-color);
}

/* ================================
   SELLERS SECTION
   ================================ */
.sellers-section {
    padding: 80px 0;
    background: white;
}

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.seller-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.seller-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(2,6,23,0.12);
    border-color: var(--primary-color);
}

.seller-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--primary-color);
}

.seller-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.08);
    pointer-events: none;
}

.seller-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.seller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-dark);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.seller-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seller-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.seller-specialty {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-specialty i {
    font-size: 1.1rem;
}

.seller-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.seller-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary-color);
    width: 18px;
}

.seller-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.seller-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* ================================
   RESPONSIVIDADE
   ================================ */
@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar {
        position: static;
    }
    
    .about-grid,
    .about-intro,
    .quality-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}

@media (max-width: 768px) {
    /* reduce header padding on small screens */
    .navbar { padding: 0.5rem 0; }
    .logo .logo-img { height: 40px; }
    .logo a span { display:none; } /* hide text to save space */

    /* keep header fully transparent over hero on mobile; JS will add .light-bg after scroll */
    .header { background: transparent; backdrop-filter: none; border-bottom: none; box-shadow: none; }
    .header.light-bg { background: var(--bg-white); }

    /* ensure body content accounts for smaller header */
    .site-body-offset { padding-top: 64px; }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transform: translateY(-8px) translateZ(0);
        background: var(--bg-white);
        color: var(--text-dark);
        flex-direction: column;
        padding: 1rem 0.75rem;
        gap: 0.5rem;
        height: auto;
        min-height: 0;
        overflow: visible;
        transition: transform 0.36s cubic-bezier(.2,.9,.2,1), opacity 0.28s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: 0 18px 40px rgba(2,6,23,0.08);
        border-radius: 0 0 12px 12px;
        z-index: 1001;
    }

    .nav-menu a { color: var(--text-dark); }
    
    .nav-menu.active {
        transform: translateY(0) translateZ(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* dim background when mobile menu is open */
    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.36);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease;
        z-index: 998;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* larger tap targets for mobile links */
    .nav-menu a { display:block; padding: 12px 10px; border-radius:6px; }

    /* make header full-width without causing horizontal scroll */
    .container { padding-left: 12px; padding-right: 12px; }
    
    .nav-menu li {
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid,
    .products-grid,
    .mvv-grid,
    .team-grid,
    .sellers-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .catalog-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .states-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
/* ================================
   CATALOG PAGE
   ================================ */
.catalog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}
.catalog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.filter-group select,
.search-select {
    width: 100%;
    padding: 8px 64px 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-position: calc(100% - 12px) center;
    background-size: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23158852' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    cursor: pointer;
    transition: var(--transition);
}

/* ensure selected text doesn't wrap and is vertically centered */
.filter-group select,
.search-select {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.filter-group select:focus,
.search-select:focus {
    outline: none;
}
/* Catalog-specific mobile polish: stack filters above results, single-column cards, larger tap targets */
@media (max-width: 720px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .catalog-sidebar {
        position: static !important;
        top: auto !important;
        align-self: stretch;
        margin-bottom: 12px;
        padding: 16px;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    /* Make filters more touch friendly */
    .filter-section { padding: 6px 0; }
    .search-box input, .filter-group select, .search-select, .search-field input {
        padding: 12px 14px !important;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .product-card {
        padding: 1rem !important;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .product-image { height: 180px; border-radius: 10px; }
    .product-name { font-size: 1.15rem; }
    .product-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    .product-btn { padding: 14px; font-size: 1rem; border-radius: 10px; }

    .catalog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sort-options { width: 100%; display: flex; justify-content: flex-end; }

    /* Pagination: larger buttons for touch */
    .pagination button { padding: 12px 18px; font-size: 1rem; }

    /* Ensure modal and zoom work nicely on small screens */
    .modal-content { margin: 12px; padding: 1.5rem; }
}