/* ==========================================================================
   Edu Eskelsen – Pneus Linha Pesada e Agro
   Design system + estilos do site público
   ========================================================================== */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f4f5f6;
    --color-graphite: #14181c;
    --color-graphite-soft: #20252b;
    --color-graphite-softer: #2c333a;
    --color-border: #e3e6e9;
    --color-border-strong: #cdd2d8;
    --color-text: #1c2126;
    --color-text-muted: #5b6470;
    --color-text-on-dark: #f4f5f6;
    --color-text-on-dark-muted: #a7afb8;
    --color-accent: #ff6a1a;
    --color-accent-dark: #e0570f;
    --color-accent-contrast: #ffffff;
    --color-success: #1a7f4e;
    --color-danger: #c53030;
    --font-heading: 'Manrope', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 3px rgba(20, 24, 28, .08);
    --shadow-md: 0 12px 32px rgba(20, 24, 28, .10);
    --shadow-lg: 0 24px 64px rgba(20, 24, 28, .16);
    --container-width: 1240px;
    --header-height: 76px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 .5em;
    color: var(--color-graphite);
}
p { margin: 0 0 1em; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-accent);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 999;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

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

/* --- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid transparent;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn--accent {
    background: var(--color-accent);
    color: var(--color-accent-contrast);
}
.btn--accent:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.btn--dark {
    background: var(--color-graphite);
    color: #fff;
}
.btn--dark:hover { background: var(--color-graphite-soft); transform: translateY(-1px); }
.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: inherit;
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--outline-dark {
    background: transparent;
    border-color: var(--color-border-strong);
    color: var(--color-graphite);
}
.btn--outline-dark:hover { border-color: var(--color-graphite); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* --- Header --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-graphite);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}
.site-header__logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}
.site-header__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .95rem;
}
.site-header__logo-text { display: flex; flex-direction: column; color: #fff; line-height: 1.25; }
.site-header__logo-text strong { font-family: var(--font-heading); font-size: 1rem; }
.site-header__logo-text small { color: var(--color-text-on-dark-muted); font-size: .72rem; letter-spacing: .02em; }

.site-header__nav ul { display: flex; gap: 2rem; }
.site-header__nav a {
    color: var(--color-text-on-dark-muted);
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.site-header__nav a:hover,
.site-header__nav a.is-active { color: #fff; border-color: var(--color-accent); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
}
.site-header__burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    background: var(--color-graphite-soft);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.25rem 20px 1.5rem;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1rem; }
.mobile-nav a { display: block; padding: .75rem .5rem; color: #fff; font-weight: 600; border-radius: var(--radius-sm); }
.mobile-nav a:hover { background: rgba(255, 255, 255, .06); }
.mobile-nav[hidden] { display: none; }

@media (max-width: 900px) {
    .site-header__nav { display: none; }
    .site-header__burger { display: flex; }
    .site-header__cta span { display: none; }
    .site-header__cta { padding: .7rem; }
    .site-header__cta .icon { width: 1.3em; height: 1.3em; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    background: radial-gradient(circle at 82% 20%, #33393f 0%, var(--color-graphite) 55%), var(--color-graphite);
    color: #fff;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0;
    min-height: 560px;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 1.25rem;
}
.hero__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--color-accent); }
.hero__title {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    color: #fff;
    margin-bottom: 1rem;
}
.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-on-dark-muted);
    max-width: 46ch;
    margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; color: #fff; }
.hero__stat span { color: var(--color-text-on-dark-muted); font-size: .85rem; }

.hero__media { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__art {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: conic-gradient(from 220deg, rgba(255, 106, 26, .25), rgba(255, 255, 255, .04) 55%, rgba(255, 106, 26, .18));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
}
.hero__art svg { width: 68%; height: 68%; }
.hero__badge {
    position: absolute;
    bottom: 6%;
    left: 4%;
    background: #fff;
    color: var(--color-graphite);
    padding: .9rem 1.15rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    max-width: 230px;
}
.hero__badge .icon { width: 1.6em; height: 1.6em; color: var(--color-accent); flex-shrink: 0; }

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; padding: 3rem 0 2.5rem; text-align: left; }
    .hero__media { order: -1; margin-bottom: 1rem; }
    .hero__art { max-width: 260px; }
    .hero__badge { display: none; }
}

/* --- Section shell ---------------------------------------------------------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section__header { max-width: 640px; margin-bottom: 3rem; }
.section__eyebrow {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .6rem;
    display: block;
}
.section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section__subtitle { color: var(--color-text-muted); font-size: 1.05rem; margin: 0; }
.section__header--center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Categories --------------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-graphite);
    color: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease;
}
.category-card:hover { transform: translateY(-6px); }
.category-card > .category-card__icon {
    position: absolute;
    top: 1.75rem; right: 1.75rem;
    width: 48px; height: 48px;
    color: rgba(255, 255, 255, .8);
}
.category-card::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--category-tint, linear-gradient(160deg, #2c333a, #14181c));
    z-index: 0;
}
.category-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(20, 24, 28, .92) 0%, rgba(20, 24, 28, .35) 55%, rgba(20, 24, 28, .15) 100%);
    z-index: 0;
}
.category-card > * { position: relative; z-index: 1; }
.category-card--heavy { --category-tint: linear-gradient(155deg, #35404a 0%, #14181c 70%); }
.category-card--agro { --category-tint: linear-gradient(155deg, #3a3226 0%, #14181c 70%); }
.category-card--machines { --category-tint: linear-gradient(155deg, #2c333a 0%, #14181c 70%); }
.category-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.category-card p { color: var(--color-text-on-dark-muted); font-size: .92rem; margin-bottom: 1.5rem; }
.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-accent);
    font-weight: 700;
    font-size: .9rem;
}
.category-card__link .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.category-card:hover .category-card__link .icon { transform: translateX(4px); }

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: 1fr; }
}

/* --- About ---------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}
.about-figure {
    background: var(--color-graphite);
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-figure svg { width: 55%; height: 55%; color: var(--color-accent); }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.about-highlight { display: flex; gap: .9rem; align-items: flex-start; }
.about-highlight .icon { width: 1.5em; height: 1.5em; color: var(--color-accent); flex-shrink: 0; margin-top: .1em; }
.about-highlight strong { display: block; font-family: var(--font-heading); font-size: .95rem; margin-bottom: .2rem; }
.about-highlight span { color: var(--color-text-muted); font-size: .88rem; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-figure { aspect-ratio: 16 / 9; }
    .about-highlights { grid-template-columns: 1fr; }
}

/* --- Services --------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-color: var(--color-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 106, 26, .1);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.service-card p { color: var(--color-text-muted); font-size: .9rem; margin: 0; }

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* --- Highlight (linha pesada / agrícola) ------------------------------------ */
.highlight { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
.highlight + .highlight { margin-top: 5rem; }
.highlight--reverse .highlight__media { order: 2; }
.highlight__media {
    border-radius: var(--radius-lg);
    min-height: 340px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(155deg, #232a30, #14181c);
    position: relative;
    overflow: hidden;
}
.highlight__media svg { width: 60%; height: 60%; color: var(--color-accent); position: relative; z-index: 1; }
.highlight__media::after {
    content: '';
    position: absolute; inset: -20%;
    background: radial-gradient(circle, rgba(255, 106, 26, .18), transparent 60%);
}
.highlight__content .section__eyebrow { margin-bottom: .75rem; }
.highlight__content h3 { font-size: 1.8rem; }
.highlight__list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .75rem; }
.highlight__list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--color-text-muted); font-size: .95rem; }
.highlight__list .icon { width: 1.3em; height: 1.3em; color: var(--color-accent); flex-shrink: 0; margin-top: .1em; }

@media (max-width: 900px) {
    .highlight { grid-template-columns: 1fr; }
    .highlight--reverse .highlight__media { order: 0; }
}

/* --- CTA banner --------------------------------------------------------- */
.cta-banner {
    background: var(--color-graphite);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 106, 26, .25), transparent 55%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .6rem; }
.cta-banner__text p { color: var(--color-text-on-dark-muted); max-width: 46ch; margin: 0; }
.cta-banner__actions { flex-shrink: 0; }

@media (max-width: 800px) {
    .cta-banner { flex-direction: column; text-align: center; padding: 2.5rem 1.75rem; }
}

/* --- Location ------------------------------------------------------------- */
.location-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
}
.location-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}
.location-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.location-item:last-child { margin-bottom: 0; }
.location-item .icon { width: 1.5em; height: 1.5em; color: var(--color-accent); flex-shrink: 0; }
.location-item strong { display: block; font-family: var(--font-heading); font-size: .95rem; margin-bottom: .2rem; }
.location-item span, .location-item address { color: var(--color-text-muted); font-size: .92rem; }
.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    min-height: 320px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

@media (max-width: 900px) {
    .location-grid { grid-template-columns: 1fr; }
}

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { padding: 1.25rem 0; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; }
.breadcrumbs__item { display: flex; align-items: center; gap: .4rem; color: var(--color-text-muted); }
.breadcrumbs__item a:hover { color: var(--color-accent); }
.breadcrumbs__item [aria-current="page"] { color: var(--color-text); font-weight: 600; }

/* --- Catalog layout --------------------------------------------------------- */
.catalog-header { padding: 2.5rem 0 1.5rem; }
.catalog-header h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.catalog-header p { color: var(--color-text-muted); margin: 0; }

.search-box { position: relative; margin: 1.75rem 0 2.25rem; max-width: 640px; }
.search-box input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
}
.search-box input:focus { border-color: var(--color-accent); }
.search-box .icon {
    position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 1.25em; height: 1.25em; color: var(--color-text-muted);
}

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; }

.filters-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; position: sticky; top: calc(var(--header-height) + 20px); }
.filters-panel__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filters-panel__header h2 { font-size: 1rem; margin: 0; }
.filters-panel__clear { font-size: .82rem; color: var(--color-accent); font-weight: 600; }
.filter-group { border-top: 1px solid var(--color-border); padding: 1.1rem 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group__title { font-family: var(--font-heading); font-size: .85rem; font-weight: 700; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-muted); }
.filter-option { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-size: .92rem; }
.filter-option input { accent-color: var(--color-accent); width: 16px; height: 16px; }
.filter-option a { display: flex; align-items: center; gap: .6rem; width: 100%; color: var(--color-text); }
.filter-option a.is-active { color: var(--color-accent); font-weight: 700; }
.filter-option .count { margin-left: auto; color: var(--color-text-muted); font-size: .8rem; }
.filter-select { width: 100%; padding: .65rem .75rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: .9rem; background: #fff; }
.filter-apply { margin-top: 1.25rem; }

.filter-toggle { display: none; }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.catalog-toolbar__count { color: var(--color-text-muted); font-size: .92rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.active-filter-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--color-bg-alt); border: 1px solid var(--color-border); padding: .4rem .8rem; border-radius: 999px; font-size: .82rem; }
.active-filter-chip .icon { width: 1em; height: 1em; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--color-border-strong); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--color-bg-alt); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge {
    position: absolute; top: .75rem; left: .75rem;
    background: var(--color-graphite); color: #fff;
    font-size: .7rem; font-weight: 700; letter-spacing: .02em;
    padding: .3rem .6rem; border-radius: 999px;
}
.product-card__badge--demo { background: var(--color-accent); }
.product-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__brand { color: var(--color-accent); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.product-card__title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--color-graphite); }
.product-card__meta { display: flex; flex-wrap: wrap; gap: .4rem .75rem; font-size: .82rem; color: var(--color-text-muted); }
.product-card__desc { font-size: .88rem; color: var(--color-text-muted); flex: 1; }
.product-card__actions { display: flex; gap: .6rem; margin-top: .5rem; flex-wrap: wrap; }
.product-card__actions .btn { flex: 1; }

.empty-state { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); }
.empty-state h2 { font-size: 1.2rem; }
.empty-state p { color: var(--color-text-muted); }

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; }
.pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .6rem; border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-weight: 600; font-size: .88rem; }
.pagination__link:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination__link--active { background: var(--color-graphite); border-color: var(--color-graphite); color: #fff; }
.pagination__ellipsis { display: inline-flex; align-items: center; padding: 0 .3rem; color: var(--color-text-muted); }

@media (max-width: 980px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .filters-panel { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 200; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
    .filters-panel.is-open { transform: translateX(0); }
    .filters-panel__backdrop { display: none; position: fixed; inset: 0; background: rgba(20, 24, 28, .5); z-index: 190; }
    .filters-panel__backdrop.is-open { display: block; }
    .filter-toggle { display: inline-flex; }
    .filters-panel__close { display: inline-flex; }
}
@media (min-width: 981px) {
    .filters-panel__close { display: none; }
}
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* --- Product detail page ---------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 1rem 0 4rem; }
.product-gallery__main { aspect-ratio: 4 / 3; background: var(--color-bg-alt); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); margin-bottom: 1rem; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .75rem; flex-wrap: wrap; }
.product-gallery__thumbs button { padding: 0; border: 2px solid var(--color-border); border-radius: var(--radius-sm); width: 76px; height: 76px; overflow: hidden; background: none; }
.product-gallery__thumbs button.is-active { border-color: var(--color-accent); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info__brand { color: var(--color-accent); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: .35rem 0 .75rem; }
.product-info__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.badge { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--color-bg-alt); color: var(--color-text-muted); }
.badge--demo { background: rgba(255, 106, 26, .12); color: var(--color-accent-dark); }
.badge--success { background: rgba(26, 127, 78, .12); color: var(--color-success); }
.badge--muted { background: var(--color-bg-alt); color: var(--color-text-muted); }
.badge--danger { background: rgba(197, 48, 48, .12); color: var(--color-danger); }

.product-info__price { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-graphite); margin-bottom: 1.5rem; }
.product-info__actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2rem; }

.spec-table { margin-bottom: 2rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.spec-table tr:nth-child(even) { background: var(--color-bg-alt); }
.spec-table th, .spec-table td { text-align: left; padding: .75rem 1rem; font-size: .9rem; }
.spec-table th { width: 44%; color: var(--color-text-muted); font-weight: 600; }

.product-description h2 { font-size: 1.15rem; }
.product-description p { color: var(--color-text-muted); }

.related-products { padding: 4rem 0; border-top: 1px solid var(--color-border); }

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Footer ----------------------------------------------------------------- */
.site-footer { background: var(--color-graphite); color: var(--color-text-on-dark-muted); padding: 4.5rem 0 0; margin-top: 5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: #fff; display: inline-block; margin-bottom: .75rem; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.site-footer ul { display: flex; flex-direction: column; gap: .6rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { line-height: 1.7; }
.site-footer__maps-link { display: inline-block; margin-top: .75rem; color: var(--color-accent); font-weight: 700; font-size: .88rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.5rem 0; font-size: .82rem; }

@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* --- WhatsApp floating button ------------------------------------------------ */
.whatsapp-float {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 60px; height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 150;
    transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--color-graphite);
    color: #fff;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity .2s ease, transform .2s ease;
}
.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip { opacity: 1; transform: translateX(0); }
@media (max-width: 560px) {
    .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
    .whatsapp-float__tooltip { display: none; }
}

/* --- Reveal animation --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
