/* ==========================================================================
   PIRIAUTO — Storefront · Autoshop layout + brand colors from piriauto.com.br
   Accent blue #1a3d7c · Navy #212446 · Brand red (logo) · white / light-gray
   ========================================================================== */

:root {
    /* Primary accent = azul da marca (botões, links, preços, destaque) */
    --as-red: #1a3d7c;
    --as-red-dark: #122a58;
    --as-red-soft: rgba(26, 61, 124, 0.12);
    --as-accent: #1a3d7c;
    --as-accent-dark: #122a58;
    --as-accent-soft: rgba(26, 61, 124, 0.12);
    --as-brand-red: #c8102e;
    --as-brand-red-dark: #9a0c22;
    --as-brand-red-soft: rgba(200, 16, 46, 0.1);
    --as-navy: #212446;
    --as-dark: #212446;
    --as-text: #555860;
    --as-muted: #8a8f98;
    --as-line: #ebecef;
    --as-bg: #ffffff;
    --as-bg-alt: #f5f6f8;
    --as-radius-sm: 10px;
    --as-radius: 14px;
    --as-radius-lg: 20px;
    --as-shadow: 0 8px 28px rgba(33, 36, 70, 0.07);
    --as-shadow-md: 0 14px 40px rgba(33, 36, 70, 0.1);
    --as-shadow-lg: 0 24px 56px rgba(33, 36, 70, 0.14);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
    --dur: 0.28s;
    --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Raleway', 'Open Sans', system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body.as-body, body.as-body * { box-sizing: border-box; }
body.as-body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--as-text);
    background: var(--as-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.as-body h1, body.as-body h2, body.as-body h3, body.as-body h4, body.as-body h5 {
    font-family: var(--font-head);
    color: var(--as-dark);
    margin: 0;
}
body.as-body .font-title { font-family: var(--font-head); }
body.as-body img { max-width: 100%; }
body.as-body ::selection { background: var(--as-red); color: #fff; }
section[id] { scroll-margin-top: 7rem; }
body.no-select-public { -webkit-user-select: none; user-select: none; }
body.no-select-public input, body.no-select-public textarea, body.no-select-public select { user-select: text; }
.hidden { display: none !important; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.as-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.as-text-red { color: var(--as-red); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-dark, .btn-outline, .btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    border: 2px solid transparent;
    border-radius: var(--as-radius);
    cursor: pointer;
    transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
}
.btn-primary { background: var(--as-red); color: #fff; border-color: var(--as-red); }
.btn-primary:hover { background: var(--as-red-dark); border-color: var(--as-red-dark); box-shadow: 0 12px 28px rgba(26, 61, 124, 0.28); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled, .btn-primary[disabled] { opacity: 0.45; pointer-events: none; transform: none; box-shadow: none; }
.btn-dark { background: var(--as-dark); color: #fff; border-color: var(--as-dark); }
.btn-dark:hover { background: var(--as-red); border-color: var(--as-red); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--as-dark); border-color: var(--as-dark); }
.btn-outline:hover { background: var(--as-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-outline-light:hover { background: #fff; color: var(--as-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.as-topbar {
    background: #fff;
    border-bottom: 1px solid var(--as-line);
    font-size: 0.78rem;
    color: var(--as-text);
}
.as-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.as-topbar-list, .as-topbar-links { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.as-topbar a { color: inherit; text-decoration: none; transition: color 0.2s; }
.as-topbar a:hover { color: var(--as-red); }
.as-topbar i { color: var(--as-red); margin-right: 0.4rem; }
.as-topbar-links a { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; }
@media (max-width: 640px) {
    .as-topbar-email { display: none; }
    .as-topbar-links { gap: 1rem; }
}

/* ---------- Navbar ---------- */
.as-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(33, 36, 70, 0.06), 0 10px 30px rgba(33, 36, 70, 0.04);
    transition: box-shadow var(--dur) var(--ease-out);
}
.as-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 78px; }
.as-logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.as-logo {    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--as-dark);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.as-logo span { color: var(--as-brand-red); }
.as-nav { display: none; align-items: center; gap: 1.6rem; }
@media (min-width: 1024px) { .as-nav { display: flex; } }
.as-nav a {
    position: relative;
    font-family: var(--font-head);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--as-dark);
    text-decoration: none;
    padding: 1.9rem 0;
    transition: color 0.2s;
}
.as-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 1.35rem;
    width: 0; height: 2px;
    background: var(--as-red);
    transition: width 0.3s var(--ease-out);
}
.as-nav a:hover { color: var(--as-red); }
.as-nav a:hover::after { width: 100%; }
.as-nav a.as-nav-cta {
    background: var(--as-red); color: #fff; padding: 0.7rem 1.25rem; border-radius: 999px;
    transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.as-nav a.as-nav-cta::after { display: none; }
.as-nav a.as-nav-cta:hover { background: var(--as-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(33, 36, 70, 0.2); }
.as-navbar-actions { display: flex; align-items: center; gap: 0.6rem; }
.as-icon-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    height: 46px; min-width: 46px; padding: 0 0.95rem;
    background: #fff; color: var(--as-dark);
    border: 1px solid var(--as-line); border-radius: var(--as-radius-sm);
    cursor: pointer; font-size: 1rem;
    transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.as-icon-btn:hover { border-color: var(--as-red); color: var(--as-red); transform: translateY(-1px); box-shadow: var(--as-shadow); }
.as-cart-btn { background: var(--as-red); color: #fff; border-color: var(--as-red); }
.as-cart-btn:hover { background: var(--as-dark); border-color: var(--as-dark); color: #fff; }
.as-cart-btn #cart-count, .as-cart-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.4rem; height: 1.4rem; padding: 0 0.3rem;
    font-family: var(--font-head); font-size: 0.7rem; font-weight: 800;
    background: #fff; color: var(--as-red); border-radius: 999px;
}
.as-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .as-menu-btn { display: none; } }
#mobile-panel { max-height: 0; overflow: hidden; background: #fff; transition: max-height 0.45s var(--ease-out); border-top: 1px solid transparent; }
#mobile-panel.open { max-height: 520px; border-top-color: var(--as-line); }
.as-mobile-nav { display: flex; flex-direction: column; padding: 0.75rem 1.25rem 1.25rem; }
.as-mobile-nav a {
    padding: 0.85rem 0; border-bottom: 1px solid var(--as-line);
    font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--as-dark); text-decoration: none;
}
.as-mobile-nav a:hover { color: var(--as-red); }
.as-mobile-nav a.as-mobile-cta { margin-top: 0.9rem; text-align: center; background: var(--as-red); color: #fff; border: 0; border-radius: var(--as-radius); }

/* ---------- Hero slider ---------- */
.as-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--as-dark); color: #fff; }
.as-hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.as-hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.06);
    transition: opacity 1.1s ease, transform 7s ease-out;
    pointer-events: none;
}
.as-hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.as-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(100deg, rgba(27, 26, 26, 0.88) 0%, rgba(27, 26, 26, 0.6) 50%, rgba(27, 26, 26, 0.35) 100%);
}
.as-hero-inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 6rem; }
.as-hero-kicker {
    display: inline-block;
    font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
    color: #fff; margin-bottom: 1.4rem; padding-left: 3.2rem; position: relative;
}
.as-hero-kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 2.4rem; height: 3px; background: #6eb0ff; }
.as-hero h1 {
    font-family: var(--font-head);
    font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.8rem, 9vw, 6.6rem);
    line-height: 0.95; letter-spacing: -0.01em; color: #fff;
    margin: 0 0 1.6rem;
}
body.as-body .as-hero h1 { color: #fff; }
.as-hero h1 span { display: block; color: #6eb0ff; }
.as-hero-lead { max-width: 34rem; font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 2.2rem; }
.as-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.as-hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.85); }
.as-hero-tags span::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #6eb0ff; margin-right: 0.5rem; }
.as-hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 1.8rem; transform: translateX(-50%); display: flex; gap: 0.6rem; }
.as-hero-dot {
    width: 34px; height: 5px; border: 0; padding: 0; border-radius: 999px;
    background: rgba(255, 255, 255, 0.4); cursor: pointer;
    transition: background var(--dur), width var(--dur) var(--ease-out), transform var(--dur);
}
.as-hero-dot.is-active { background: #6eb0ff; width: 46px; }
.as-hero-dot:hover { background: #6eb0ff; }

/* ---------- Sections ---------- */
.as-section { padding: 5.5rem 0; background: #fff; position: relative; }
.as-section--alt { background: var(--as-bg-alt); }
.as-heading { margin-bottom: 3rem; }
.as-heading--center { text-align: center; }
.as-kicker {
    display: block; margin-bottom: 0.6rem;
    font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--as-red);
}
.as-heading h2 {
    position: relative; display: inline-block;
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
    font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: 0.01em;
    color: var(--as-dark);
    padding-bottom: 1rem; margin: 0;
}
.as-heading h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--as-red); }
.as-heading--center h2::after { left: 50%; transform: translateX(-50%); }
.as-heading h2 em, .as-red { color: var(--as-red); font-style: normal; }
.as-heading p { margin: 1.1rem 0 0; max-width: 42rem; font-size: 0.95rem; color: var(--as-text); }
.as-heading--center p { margin-left: auto; margin-right: auto; }
.as-subheading { margin: 4rem 0 2rem; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--as-dark); position: relative; padding-bottom: 0.9rem; }
.as-subheading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--as-red); }
.as-subheading small { display: block; font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; text-transform: none; color: var(--as-text); margin-top: 0.4rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Método */
.as-split { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .as-split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.as-lead { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.5; font-weight: 600; color: var(--as-dark); margin: 0 0 1.8rem; }
.as-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.as-checklist li { display: flex; gap: 1rem; font-size: 0.92rem; line-height: 1.7; }
.as-checklist .as-check-ico {
    flex: none; width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center;
    background: var(--as-red); color: #fff; font-size: 0.95rem; border-radius: var(--as-radius-sm);
}
.as-checklist strong { color: var(--as-dark); font-family: var(--font-head); }
.as-figure { position: relative; max-width: 480px; margin: 0 auto; }
.as-figure::before { content: ''; position: absolute; left: -16px; top: -16px; right: 16px; bottom: 16px; border: 3px solid var(--as-red); border-radius: var(--as-radius-lg); z-index: 0; }
.as-figure figure { position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #eee; border-radius: var(--as-radius-lg); box-shadow: var(--as-shadow-lg); }
.as-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.as-figure figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1.4rem;
    background: var(--as-red); color: #fff;
    font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}

/* Feature cards (diferenciais / garantia) */
.as-grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .as-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .as-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.as-feature {
    position: relative; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-lg); padding: 2.4rem 1.8rem;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.as-feature::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--as-red); transition: width 0.45s var(--ease-out); }
.as-feature:hover { transform: translateY(-6px); box-shadow: var(--as-shadow-md); border-color: transparent; }
.as-feature:hover::after { width: 100%; }
.as-feature-ico {
    display: flex; align-items: center; justify-content: center;
    width: 4rem; height: 4rem; margin-bottom: 1.5rem; border-radius: 50%;
    background: var(--as-red-soft); color: var(--as-red); font-size: 1.5rem;
    transition: background 0.3s, color 0.3s;
}
.as-feature:hover .as-feature-ico { background: var(--as-red); color: #fff; }
.as-feature h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.7rem; color: var(--as-dark); }
.as-feature p { margin: 0; font-size: 0.88rem; line-height: 1.7; }
.as-feature--center { text-align: center; }
.as-feature--center .as-feature-ico { margin-left: auto; margin-right: auto; }

/* ---------- Product cards ---------- */
.as-product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .as-product-grid--arsenal { grid-template-columns: repeat(3, 1fr); } .as-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .as-product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { .as-product-grid, .as-product-grid--arsenal { gap: 0.75rem; } }
#product-grid { overflow-anchor: none; display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); scroll-margin-top: 8rem; }
@media (min-width: 900px) { #product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { #product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { #product-grid { gap: 0.75rem; } }
#first-product-card { scroll-margin-top: 8rem; }
#bestsellers-grid, #new-products-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { #bestsellers-grid, #new-products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { #bestsellers-grid, #new-products-grid { gap: 0.75rem; } }
.col-span-full { grid-column: 1 / -1; }

.as-product {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.4s var(--ease-out), border-color 0.4s, transform 0.4s var(--ease-out);
}
.as-product:hover { box-shadow: var(--as-shadow-md); border-color: transparent; transform: translateY(-5px); }
.as-product-media { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--as-line); }
.as-product-img { display: block; aspect-ratio: 1 / 1; text-decoration: none; }
.as-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.9rem; transition: transform 0.7s var(--ease-out); }
.as-product:hover .as-product-img img { transform: scale(1.07); }
.as-badge {
    position: absolute; top: 0.7rem; left: 0.7rem; z-index: 3;
    padding: 0.3rem 0.7rem; background: var(--as-red); color: #fff; border-radius: 999px;
    font-family: var(--font-head); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.highlight-badge { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 3; padding: 0.3rem 0.7rem; background: var(--as-red); color: #fff; border-radius: 999px; font-family: var(--font-head); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.as-product-actions {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; gap: 0; transform: translateY(101%); transition: transform 0.35s var(--ease-out);
}
.as-product:hover .as-product-actions, .as-product:focus-within .as-product-actions { transform: translateY(0); }
.as-act {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.85rem 0.5rem; border: 0; cursor: pointer; text-decoration: none;
    font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--as-dark); color: #fff; transition: background 0.25s;
}
.as-act:hover { background: var(--as-red-dark); color: #fff; }
.as-act--primary { background: var(--as-red); }
.as-act--primary:hover { background: var(--as-dark); }
@media (hover: none) { .as-product-actions { display: none; } }
.as-product-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.1rem 1.2rem; }
.as-product-cat { margin: 0 0 0.35rem; font-family: var(--font-head); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--as-muted); }
.as-product-title { margin: 0 0 0.8rem; font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--as-dark); }
.as-product-title a { color: inherit; text-decoration: none; transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.as-product-title a:hover, .product-card-link:hover h3 { color: var(--as-red); }
.as-product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 0.8rem; border-top: 1px dashed var(--as-line); }
.as-price { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--as-red); }
.as-cart-mini {
    flex: none; width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--as-dark); border: 1px solid var(--as-line); border-radius: var(--as-radius-sm); cursor: pointer; font-size: 0.85rem;
    transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-spring);
}
.as-cart-mini:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; transform: scale(1.06); }
.product-card-link { display: block; text-decoration: none; color: inherit; }
.highlight-card { text-decoration: none; color: inherit; }
.as-empty { padding: 3.5rem 1.5rem; text-align: center; background: #fff; border: 1px dashed #d8d8d8; border-radius: var(--as-radius-lg); }
.as-empty p { margin: 0; }
.as-empty .as-empty-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--as-dark); margin-bottom: 0.4rem; }
.as-empty .as-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.4rem; }
.as-load-more { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding-top: 1.5rem; }
.as-load-more small { color: var(--as-muted); font-size: 0.75rem; }

/* ---------- Arsenal toolbar ---------- */
#category-toolbar { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-lg); padding: 1.5rem; margin-bottom: 2.2rem; box-shadow: var(--as-shadow); }
.as-toolbar-top { display: flex; flex-direction: column; gap: 1.1rem; }
@media (min-width: 1024px) { .as-toolbar-top { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.as-toolbar-ctx { flex: 1; min-width: 0; }
.as-toolbar-label { display: block; font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--as-red); margin-bottom: 0.3rem; }
#filter-summary { margin: 0; font-size: 0.92rem; color: var(--as-dark); font-weight: 600; line-height: 1.4; }
#filter-summary .text-white, #filter-summary .as-num { color: var(--as-red); font-weight: 800; }
#filter-summary .text-cyan-300\/90, #filter-summary .as-q { color: var(--as-red); }
#filter-summary .text-zinc-400 { color: var(--as-text); font-weight: 500; }
#active-category-hint { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--as-text); max-width: 42rem; font-weight: 400; }
.as-search { position: relative; width: 100%; }
@media (min-width: 1024px) { .as-search { max-width: 26rem; } }
.as-search > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--as-muted); pointer-events: none; font-size: 0.85rem; }
.as-search .input-field { padding-left: 2.7rem; padding-right: 5.5rem; }
#search-clear {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    font-family: var(--font-head); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--as-red); background: #fff; border: 1px solid var(--as-line); border-radius: 999px; padding: 0.4rem 0.7rem; cursor: pointer;
    transition: background var(--dur), color var(--dur), border-color var(--dur);
}
#search-clear:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; }
.as-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 1.2rem 0 0.6rem; }
.as-toolbar-row .as-toolbar-label { color: var(--as-dark); margin: 0; }
#search-hint { font-size: 0.7rem; color: var(--as-muted); }
#category-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { #category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { #category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { #category-grid { grid-template-columns: repeat(5, 1fr); } }

.cat-tile {
    position: relative; display: block; width: 100%; text-align: left;
    padding: 0.85rem 0.85rem 0.75rem 2.6rem; min-height: 4rem;
    background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius);
    cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: border-color var(--dur), background var(--dur), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring);
}
.cat-tile:hover { border-color: var(--as-red); transform: translateY(-2px); box-shadow: var(--as-shadow); }
.cat-tile:focus-visible { outline: 2px solid var(--as-red); outline-offset: 2px; }
.cat-tile .cat-ico { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1.6rem; text-align: center; font-size: 0.95rem; color: var(--as-muted); transition: color 0.25s; }
.cat-tile .cat-label { display: block; font-family: var(--font-head); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; color: var(--as-dark); }
.cat-tile .cat-count { display: inline-block; margin-top: 0.25rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--as-muted); font-variant-numeric: tabular-nums; }
.cat-tile:hover .cat-ico { color: var(--as-red); }
.cat-tile.active { background: var(--as-red); border-color: var(--as-red); box-shadow: 0 10px 24px rgba(26, 61, 124, 0.28); }
.cat-tile.active .cat-ico, .cat-tile.active .cat-label, .cat-tile.active .cat-count { color: #fff; }
.cat-tile.is-empty:not(.active) { opacity: 0.55; }

/* ---------- Form fields ---------- */
.input-field {
    width: 100%; padding: 0.8rem 1rem;
    background: #fff; color: var(--as-dark);
    border: 1px solid #dcdcdc; border-radius: var(--as-radius);
    font-family: var(--font-body); font-size: 0.88rem; line-height: 1.4;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field::placeholder { color: var(--as-muted); }
.input-field:focus { outline: none; border-color: var(--as-red); box-shadow: 0 0 0 3px var(--as-red-soft); }
select.input-field {
    appearance: none; cursor: pointer; padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}
select.input-field:disabled { opacity: 0.5; cursor: not-allowed; background-color: #f6f6f6; }

/* ---------- Cart drawer (light) ---------- */
#cart-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(27, 26, 26, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity var(--dur); }
#cart-overlay.hidden { display: none !important; }
#cart-drawer {
    position: fixed; top: 0; right: 0; z-index: 1001; display: flex; flex-direction: column;
    width: 100%; max-width: 38rem; height: 100%;
    background: #fff; color: var(--as-text);
    border-left: 4px solid var(--as-red);
    border-radius: var(--as-radius-lg) 0 0 var(--as-radius-lg);
    box-shadow: -24px 0 64px rgba(33, 36, 70, 0.22);
    transform: translateX(100%); transition: transform 0.5s var(--ease-out);
}
#cart-drawer.open { transform: translateX(0); }
.as-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--as-line); background: #fff; }
.as-cart-head h2 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--as-dark); position: relative; padding-bottom: 0.5rem; }
.as-cart-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--as-red); }
.as-cart-head h2 span { color: var(--as-red); }
#btn-close-cart { width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--as-line); border-radius: var(--as-radius-sm); background: #fff; color: var(--as-dark); cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur); }
#btn-close-cart:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; transform: rotate(90deg); }
#cart-items { flex: 1; min-height: 0; overflow-y: auto; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; background: #fff; }
#cart-lines { display: grid; gap: 0.9rem; }
#empty-msg { text-align: center; padding: 4rem 1rem; color: var(--as-muted); font-size: 0.9rem; font-style: italic; }
#empty-msg::before { content: '\f290'; font-family: 'Font Awesome 6 Free'; font-weight: 900; display: block; font-size: 2.6rem; color: #e1e1e1; margin-bottom: 1rem; font-style: normal; }
.as-cart-line { display: flex; flex-direction: column; gap: 0.8rem; padding: 0.95rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius); transition: box-shadow var(--dur), border-color var(--dur); }
.as-cart-line:hover { border-color: #dde0e6; box-shadow: var(--as-shadow); }
.as-cart-line-top { display: flex; align-items: center; gap: 0.85rem; }
.as-cart-line img { flex: none; width: 3.6rem; height: 3.6rem; object-fit: contain; padding: 0.2rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-sm); }
.as-cart-line-info { flex: 1; min-width: 0; }
.as-cart-line-brand { margin: 0; font-family: var(--font-head); font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--as-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-cart-line-name { margin: 0.1rem 0; font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; line-height: 1.35; color: var(--as-dark); }
.as-cart-line-unit { margin: 0; font-size: 0.72rem; color: var(--as-muted); }
.as-cart-remove { flex: none; padding: 0.5rem; background: none; border: 0; cursor: pointer; color: var(--as-muted); transition: color 0.2s; }
.as-cart-remove:hover { color: var(--as-red); }
.as-cart-line-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 0.7rem; border-top: 1px dashed var(--as-line); }
.as-qty { display: flex; align-items: center; }
.as-qty button { width: 2.2rem; height: 2.2rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-sm); color: var(--as-dark); font-weight: 700; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur); }
.as-qty button:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; transform: scale(1.05); }
.as-qty span { width: 2.4rem; text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--as-dark); }
.as-cart-line-total { font-family: var(--font-head); font-size: 0.95rem; font-weight: 800; color: var(--as-red); }

#cart-footer { padding: 1.3rem 1.5rem 1.5rem; border-top: 1px solid var(--as-line); background: var(--as-bg-alt); }
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.as-step-label { margin: 0 0 0.5rem; font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--as-red); }
.as-step-note { margin: 0 0 1rem; font-size: 0.82rem; color: var(--as-text); }
.as-step-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.as-step-head .as-step-label { margin: 0; }
#btn-back-products { background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--as-dark); text-decoration: underline; text-underline-offset: 3px; }
#btn-back-products:hover { color: var(--as-red); }
.as-form-scroll { display: grid; gap: 0.7rem; margin-bottom: 1rem; max-height: 50vh; overflow-y: auto; padding-right: 0.3rem; }
.as-form-scroll::-webkit-scrollbar { width: 6px; }
.as-form-scroll::-webkit-scrollbar-thumb { background: #ccc; }
.as-form-title { margin: 0.4rem 0 0; font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--as-dark); }
.as-form-grid { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .as-form-grid { grid-template-columns: 1fr 1fr; } }
#cep-hint { margin: 0; font-size: 0.72rem; color: var(--as-text); }
#cep-hint.is-info { color: var(--as-text); }
#cep-hint.is-error { color: #c0392b; }
#filter-summary .as-ctx-label { color: var(--as-text); font-weight: 500; }
.as-honeypot { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; opacity: 0; }
.as-insurance { padding: 0.95rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius); }
.as-insurance .as-form-title { margin: 0 0 0.3rem; }
.as-insurance p.as-note { margin: 0 0 0.7rem; font-size: 0.76rem; color: var(--as-text); }
.as-radio-row { display: flex; gap: 1.5rem; }
.as-radio-row label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--as-dark); cursor: pointer; }
.as-radio-row input { accent-color: var(--as-red); }
.checkout-totals { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; font-size: 0.86rem; border-top: 0; padding-top: 0; }
.as-total-row { display: flex; align-items: center; justify-content: space-between; color: var(--as-text); }
.as-total-row.hidden { display: none !important; }
.as-total-row small { font-size: 0.66rem; color: var(--as-muted); }
.as-total-row--grand { padding-top: 0.7rem; margin-top: 0.2rem; border-top: 2px solid var(--as-dark); }
.as-total-row--grand > span:first-child { font-family: var(--font-head); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--as-dark); }
.as-total-row--grand .as-grand { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--as-red); }
#checkout-error { margin: 0 0 0.8rem; padding: 0.7rem 0.9rem; font-size: 0.8rem; font-weight: 600; color: #a31d1d; background: #fdecec; border-left: 3px solid var(--as-red); border-radius: var(--as-radius-sm); }
#checkout-error.hidden { display: none !important; }
#proceed-checkout-btn, #checkout-btn { width: 100%; padding: 1.05rem 1rem; }

/* ---------- FAQ ---------- */
#faq-list { display: grid; gap: 0.8rem; }
.as-faq-item { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius); overflow: hidden; transition: border-color var(--dur), box-shadow var(--dur) var(--ease-out), transform var(--dur); }
.as-faq-item:hover { border-color: #d6d6d6; box-shadow: var(--as-shadow); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; text-align: left; background: #fff; border: 0; cursor: pointer; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--as-dark); transition: color var(--dur); }
.faq-btn:hover, .faq-btn[aria-expanded="true"] { color: var(--as-red); }
.faq-btn .faq-icon { flex: none; color: var(--as-red); transition: transform 0.35s var(--ease-spring); }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-panel { max-height: 0; overflow: hidden; padding: 0 1.4rem; transition: max-height 0.55s var(--ease-out); }
.faq-panel.open { max-height: 24rem; }
.faq-panel p { margin: 0; padding: 1rem 0 1.3rem; border-top: 1px solid var(--as-line); font-size: 0.9rem; line-height: 1.75; }

/* ---------- CTA band ---------- */
.as-cta { position: relative; padding: 6rem 0; background: var(--as-dark) url('/uploads/sliders/7.jpg') center / cover no-repeat; color: #fff; text-align: center; overflow: hidden; }
.as-cta::before { content: ''; position: absolute; inset: 0; background: rgba(27, 26, 26, 0.82); }
.as-cta .as-container { position: relative; z-index: 1; }
.as-cta h2 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.15; color: #fff; margin: 0 0 1rem; }
body.as-body .as-cta h2 { color: #fff; }
.as-cta h2 span { color: #6eb0ff; }
.as-cta p { margin: 0 auto 2rem; max-width: 34rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- Footer ---------- */
.as-info-strip { background: var(--as-bg-alt); border-top: 1px solid var(--as-line); padding: 2.5rem 0; }
.as-info-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .as-info-grid { grid-template-columns: repeat(3, 1fr); } }
.as-info-item { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.5rem; background: #fff; border: 1px solid var(--as-line); border-left: 3px solid var(--as-red); border-radius: var(--as-radius); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.as-info-item:hover { transform: translateY(-2px); box-shadow: var(--as-shadow); }
.as-info-item i { font-size: 1.9rem; color: var(--as-red); }
.as-info-item h4 { font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.15rem; color: var(--as-dark); }
.as-info-item p { margin: 0; font-size: 0.8rem; }
.as-footer { background: #fff; border-top: 1px solid var(--as-line); padding-top: 4rem; }
.as-footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .as-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .as-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.as-footer h5 { position: relative; font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--as-dark); margin: 0 0 1.5rem; padding-bottom: 0.8rem; }
.as-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--as-red); }
.as-footer p { margin: 0 0 0.6rem; font-size: 0.86rem; }
.as-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.86rem; }
.as-footer ul a { color: var(--as-text); text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.as-footer ul a:hover { color: var(--as-red); padding-left: 4px; }
.as-social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.as-social a { width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--as-dark); border: 1px solid var(--as-line); border-radius: var(--as-radius-sm); text-decoration: none; font-size: 1rem; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-spring); }
.as-social a:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; transform: translateY(-2px); }
.as-footer-note { margin-top: 1rem; font-size: 0.74rem; color: var(--as-muted); }
.as-copyright { background: var(--as-dark); padding: 1.3rem 0; }
.as-copyright-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.7rem; text-align: center; }
@media (min-width: 768px) { .as-copyright-inner { flex-direction: row; text-align: left; } }
.as-copyright p { margin: 0; font-size: 0.74rem; color: #bdbdbd; }
.as-copyright .as-copy-brand { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.68rem; color: #fff; }

/* ---------- Banners ---------- */
.jg-banner--hidden { display: none !important; }
.jg-banner { width: 100%; }
.jg-banner-viewport { position: relative; overflow: hidden; width: 100%; min-height: 120px; background: #f1f1f1; border: 1px solid var(--as-line); box-shadow: var(--as-shadow); }
.jg-banner--telao { padding: 0; background: #fff; border-bottom: 1px solid var(--as-line); }
.jg-banner--telao .jg-banner-viewport { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; box-shadow: none; aspect-ratio: 21 / 9; max-height: min(52vh, 520px); }
.jg-banner--arsenal { margin-bottom: 2rem; }
.jg-banner--arsenal .jg-banner-viewport {
    aspect-ratio: 21 / 7;
    max-height: min(36vh, 360px);
    border: 0;
    border-radius: var(--as-radius-lg);
    overflow: hidden;
    box-shadow: var(--as-shadow-md);
    transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.jg-banner--arsenal .jg-banner-viewport:hover { box-shadow: var(--as-shadow-lg); transform: translateY(-2px); }
.jg-banner--arsenal .jg-banner-img { object-position: left center; border-radius: var(--as-radius-lg); }
@media (max-width: 640px) {
    .jg-banner--telao .jg-banner-viewport { aspect-ratio: 16 / 9; max-height: 220px; }
    .jg-banner--arsenal .jg-banner-viewport {
        aspect-ratio: 16 / 9;
        max-height: 210px;
        border-radius: var(--as-radius);
    }
    .jg-banner--arsenal .jg-banner-img { object-position: center; border-radius: var(--as-radius); }
    .jg-banner--arsenal .jg-banner-viewport:hover { transform: none; }
}
.jg-banner-track { position: relative; width: 100%; height: 100%; min-height: 100%; }
.jg-banner-track--single .jg-banner-slide { opacity: 1; pointer-events: auto; z-index: 1; }
.jg-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease-out); pointer-events: none; }
.jg-banner-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.jg-banner-link { display: block; width: 100%; height: 100%; }
.jg-banner-link--static { cursor: default; }
.jg-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---------- Welcome popup ---------- */
.welcome-popup { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.welcome-popup.open { display: flex; }
.welcome-popup[hidden] { display: none; }
.welcome-popup-backdrop { position: absolute; inset: 0; background: rgba(27, 26, 26, 0.72); backdrop-filter: blur(4px); }
.welcome-popup-panel { position: relative; z-index: 1; width: min(100%, 28rem); max-height: min(92vh, 740px); overflow-y: auto; background: #fff; border-top: 4px solid var(--as-red); border-radius: var(--as-radius-lg); box-shadow: var(--as-shadow-lg); animation: lt-pop 0.45s var(--ease-out) both; }
.welcome-popup-close { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 2; width: 2.2rem; height: 2.2rem; background: var(--as-red); color: #fff; border: 0; border-radius: var(--as-radius-sm); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background var(--dur), transform var(--dur); }
.welcome-popup-close:hover { background: var(--as-dark); transform: rotate(90deg); }
.welcome-popup-banner { display: block; width: 100%; height: auto; }
.welcome-popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; padding: 1rem 1rem 0.5rem; }
@media (max-width: 380px) { .welcome-popup-actions { grid-template-columns: 1fr; } }
.welcome-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 0.75rem; font-family: var(--font-head); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: #fff; border-radius: var(--as-radius); transition: transform 0.2s, filter 0.2s; }
.welcome-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.welcome-btn-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.welcome-btn-whatsapp { background: #25d366; }
.welcome-popup-dismiss { display: block; width: calc(100% - 2rem); margin: 0.5rem 1rem 1rem; padding: 0.75rem; background: #fff; color: var(--as-dark); border: 1px solid var(--as-line); border-radius: var(--as-radius); font-family: var(--font-head); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur); }
.welcome-popup-dismiss:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; }

/* ---------- Chat assistant (light) ---------- */
@keyframes pulse-glow { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.08); } }
#jg-chat-root { position: fixed; z-index: 200; bottom: 1.25rem; right: 1.25rem; font-family: var(--font-body); }
.jg-chat-fab { position: relative; width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 0; background: var(--as-red); color: #fff; font-size: 1.35rem; box-shadow: 0 12px 30px rgba(26, 61, 124, 0.4); cursor: pointer; transition: transform 0.25s var(--ease-out), background 0.25s; }
.jg-chat-fab:hover { transform: scale(1.07); background: var(--as-dark); }
.jg-chat-fab-pulse { position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(26, 61, 124, 0.5); animation: pulse-glow 2.5s ease-in-out infinite; pointer-events: none; }
.jg-chat-panel { position: absolute; bottom: calc(100% + 0.75rem); right: 0; width: min(22rem, calc(100vw - 2rem)); max-height: min(32rem, calc(100vh - 6rem)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--as-line); border-top: 4px solid var(--as-red); border-radius: var(--as-radius-lg); box-shadow: var(--as-shadow-lg); overflow: hidden; }
.jg-chat-panel.hidden, #jg-chat-panel.hidden { display: none !important; }
#jg-chat-panel:not(.hidden) { display: flex; flex-direction: column; position: relative; z-index: 1; }
#jg-chat-root.jg-chat-open .jg-chat-fab { display: none; }
.jg-chat-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--as-line); background: var(--as-bg-alt); }
.jg-chat-header-icon { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; background: var(--as-red); color: #fff; border-radius: var(--as-radius-sm); }
.jg-chat-title { font-family: var(--font-head); font-size: 0.8rem; font-weight: 800; color: var(--as-dark); margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.jg-chat-sub { font-size: 0.65rem; color: var(--as-muted); margin: 0.15rem 0 0; }
.jg-chat-close { margin-left: auto; width: 2rem; height: 2rem; border: 1px solid var(--as-line); background: #fff; color: var(--as-dark); cursor: pointer; }
.jg-chat-close:hover { background: var(--as-red); border-color: var(--as-red); color: #fff; }
.jg-chat-messages { flex: 1; overflow-y: auto; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.65rem; min-height: 12rem; background: #fff; }
.jg-chat-msg { max-width: 92%; padding: 0.6rem 0.85rem; font-size: 0.78rem; line-height: 1.5; color: var(--as-dark); border-radius: var(--as-radius); }
.jg-chat-msg--user { align-self: flex-end; background: var(--as-red); color: #fff; border-bottom-right-radius: 4px; }
.jg-chat-msg--assistant { align-self: flex-start; background: var(--as-bg-alt); border: 1px solid var(--as-line); border-bottom-left-radius: 4px; }
.jg-chat-msg a { color: var(--as-red); }
.jg-chat-msg--user a { color: #fff; }
.jg-chat-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--as-muted); animation: jg-chat-dot 1.2s infinite; }
.jg-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.jg-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes jg-chat-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.jg-chat-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0 0.75rem 0.5rem; }
.jg-chat-chips button { font-size: 0.66rem; padding: 0.35rem 0.7rem; border: 1px solid var(--as-line); border-radius: 999px; background: #fff; color: var(--as-text); cursor: pointer; transition: border-color var(--dur), color var(--dur), background var(--dur); }
.jg-chat-chips button:hover { border-color: var(--as-red); color: var(--as-red); background: var(--as-red-soft); }
.jg-chat-form { display: flex; gap: 0.4rem; padding: 0.65rem 0.75rem 0.85rem; border-top: 1px solid var(--as-line); background: #fff; }
.jg-chat-form input { flex: 1; min-width: 0; padding: 0.55rem 0.85rem; border: 1px solid #dcdcdc; border-radius: var(--as-radius-sm); background: #fff; color: var(--as-dark); font-size: 16px; -webkit-text-size-adjust: 100%; transition: border-color var(--dur), box-shadow var(--dur); }
.jg-chat-form input::placeholder { color: var(--as-muted); }
.jg-chat-form input:focus { outline: none; border-color: var(--as-red); box-shadow: 0 0 0 3px var(--as-red-soft); }
.jg-chat-form button[type="submit"] { width: 2.5rem; border: 0; border-radius: var(--as-radius-sm); background: var(--as-red); color: #fff; cursor: pointer; transition: background var(--dur), transform var(--dur); }
.jg-chat-form button[type="submit"]:hover { transform: scale(1.05); }
.jg-chat-form button[type="submit"]:hover { background: var(--as-dark); }
.jg-chat-wa-cta { padding: 0.65rem 0.75rem 0.5rem; border-bottom: 1px solid rgba(37, 211, 102, 0.25); background: rgba(37, 211, 102, 0.08); }
.jg-chat-wa-cta-label { margin: 0 0 0.2rem; font-family: var(--font-head); font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: #159a4a; }
.jg-chat-wa-cta-text { margin: 0 0 0.55rem; font-size: 0.72rem; line-height: 1.35; color: var(--as-text); }
.jg-chat-wa-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem 0.85rem; background: #25d366; color: #fff; font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; transition: filter 0.2s; }
.jg-chat-wa-btn:hover { filter: brightness(1.08); }
.jg-chat-wa-btn span { font-size: 0.62rem; opacity: 0.92; letter-spacing: 0.04em; }
.jg-chat-wa-divider { margin: 0.45rem 0 0; text-align: center; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--as-muted); }
.jg-chat-backdrop { display: none; position: fixed; inset: 0; z-index: -1; background: rgba(27, 26, 26, 0.5); cursor: pointer; }
#jg-chat-root.jg-chat-open .jg-chat-backdrop { display: block; }
#jg-chat-root.jg-chat-open { z-index: 2500; }
.jg-chat-gate { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.jg-chat-gate.hidden, .jg-chat-main.hidden { display: none !important; }
.jg-chat-main { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.jg-chat-gate-title { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--as-muted); padding: 0.6rem 1rem 0.3rem; margin: 0; }
.jg-chat-gate-msgs { flex: 1; min-height: 8rem; max-height: 42vh; }
.jg-chat-chips-wrap { margin-top: auto; }
.jg-chat-help-chip { border-color: var(--as-red) !important; color: var(--as-red) !important; }
.jg-chat-ticket { padding: 0.75rem 1rem 0; border-top: 1px solid var(--as-line); }
.jg-chat-ticket-label { font-size: 0.7rem; font-weight: 700; color: var(--as-dark); margin-bottom: 0.5rem; }
.jg-chat-ticket textarea { width: 100%; border: 1px solid #dcdcdc; background: #fff; color: var(--as-dark); padding: 0.65rem 0.75rem; font-size: 0.8rem; resize: vertical; min-height: 4.5rem; }
.jg-chat-ticket-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.5rem; padding-bottom: 0.5rem; }
.jg-chat-ticket-btn, .jg-chat-ticket-btn-ghost { font-family: var(--font-head); font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.5rem 0.85rem; cursor: pointer; }
.jg-chat-ticket-btn { background: var(--as-red); border: 0; color: #fff; }
.jg-chat-ticket-btn-ghost { background: #fff; border: 1px solid var(--as-line); color: var(--as-text); }
@media (max-width: 640px) {
    body.jg-chat-open { overflow: hidden; }
    #jg-chat-root:not(.jg-chat-open) { bottom: 1rem; right: 0.85rem; left: auto; width: auto; }
    #jg-chat-root.jg-chat-open { inset: 0; z-index: 2500; width: auto; }
    #jg-chat-root .jg-chat-panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; max-height: min(88dvh, 100%); box-shadow: 0 -12px 48px rgba(33, 36, 70, 0.3); }
    #jg-chat-root .jg-chat-messages { min-height: 6rem; flex: 1 1 auto; }
}

/* ---------- Product detail page ---------- */
.as-page-banner { position: relative; background: var(--as-dark) url('/uploads/sliders/4.jpg') center / cover no-repeat; padding: 3rem 0; color: #fff; }
.as-page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(27, 26, 26, 0.78); }
.as-page-banner .as-container { position: relative; z-index: 1; }
.as-page-banner h1 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3.5vw, 2.1rem); color: #fff; margin: 0; }
body.as-body .as-page-banner h1 { color: #fff; }
.as-breadcrumb { margin: 0.6rem 0 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }
.as-breadcrumb a { color: #fff; text-decoration: none; }
.as-breadcrumb a:hover { color: var(--as-red); }
.as-pd { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 1024px) { .as-pd { grid-template-columns: 1fr 1fr; } }
.as-pd-gallery-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 1.5rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius-lg); margin-bottom: 0.8rem; box-shadow: var(--as-shadow); }
.as-pd-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.as-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.as-thumbs .thumb { padding: 0.25rem; background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius); cursor: pointer; transition: border-color 0.2s; }
.as-thumbs .thumb:hover, .as-thumbs .thumb.is-active { border-color: var(--as-red); }
.as-thumbs .thumb img { width: 3.6rem; height: 3.6rem; object-fit: contain; }
.as-pd-brand { margin: 0 0 0.5rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--as-red); }
.as-pd-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; text-transform: uppercase; line-height: 1.2; margin: 0 0 1.2rem; padding-bottom: 1rem; position: relative; color: var(--as-dark); }
.as-pd-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--as-red); }
.as-pd-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--as-red); margin: 0 0 1.6rem; }
.as-pd-meta { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.5rem; font-size: 0.85rem; }
.as-pd-meta i { color: var(--as-red); width: 1.4rem; }
.as-pd-link { display: block; margin-top: 1rem; text-align: center; font-size: 0.85rem; color: var(--as-text); text-decoration: none; }
.as-pd-link:hover { color: var(--as-red); }
.as-card { background: #fff; border: 1px solid var(--as-line); border-radius: var(--as-radius); padding: 1.6rem; }
.as-card-title { font-family: var(--font-head); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--as-dark); margin: 0 0 1rem; padding-bottom: 0.7rem; position: relative; }
.as-card-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--as-red); }
.as-stack { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.prose-product { color: var(--as-text); font-size: 0.9rem; line-height: 1.75; white-space: pre-wrap; }
.product-video-wrap { width: 100%; max-width: 42rem; margin: 2.5rem auto 0; padding: 1.25rem; background: #fff; border: 1px solid var(--as-line); }
.product-video-wrap .as-video-label { margin: 0 0 1rem; text-align: center; font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--as-red); }
.product-video-inner { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.product-video-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.as-msg { text-align: center; padding: 5rem 1rem; color: var(--as-text); }
.as-msg--error { color: var(--as-red); }
.as-simple-footer { background: var(--as-dark); padding: 1.6rem 0; text-align: center; }
.as-simple-footer a { color: #cfcfcf; text-decoration: none; font-size: 0.76rem; margin: 0 0.8rem; transition: color 0.2s; }
.as-simple-footer a:hover { color: var(--as-red); }

/* ---------- Contatos (links page) ---------- */
.lt-shell { width: min(100%, 30rem); margin: 0 auto; padding: 2.5rem 1.15rem 3.5rem; }
.lt-avatar { width: 5.5rem; height: 5.5rem; object-fit: cover; border: 3px solid var(--as-red); box-shadow: var(--as-shadow); animation: lt-pop 0.7s var(--ease-out) both; }
.lt-brand { animation: lt-rise 0.7s var(--ease-out) 0.08s both; }
.lt-sub { animation: lt-rise 0.7s var(--ease-out) 0.14s both; }
.lt-group { background: #fff; border: 1px solid var(--as-line); border-left: 3px solid var(--group-accent, var(--as-red)); overflow: hidden; transition: box-shadow 0.3s var(--ease-out), border-color 0.3s; animation: lt-rise 0.65s var(--ease-out) both; }
.lt-group:hover, .lt-group.is-open { box-shadow: var(--as-shadow); }
.lt-group-btn { width: 100%; display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.05rem; background: transparent; border: 0; color: inherit; cursor: pointer; text-align: left; }
.lt-ico { width: 2.65rem; height: 2.65rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: var(--as-red); color: #fff; transition: transform 0.35s var(--ease-out); }
.lt-group.is-open .lt-ico { transform: scale(1.06); }
.lt-chevron { margin-left: auto; color: var(--as-muted); transition: transform 0.35s var(--ease-out), color 0.25s; }
.lt-group.is-open .lt-chevron { transform: rotate(180deg); color: var(--as-red); }
.lt-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-out); }
.lt-group.is-open .lt-panel { grid-template-rows: 1fr; }
.lt-panel-inner { overflow: hidden; min-height: 0; }
.lt-links { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 0.85rem 0.95rem; }
.lt-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.9rem; text-decoration: none; color: var(--as-dark); background: var(--as-bg-alt); border: 1px solid var(--as-line); transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s; }
.lt-link:hover, .lt-link:focus-visible { transform: translateY(-2px); background: #fff; border-color: var(--as-red); outline: none; }
.lt-link-ico { width: 2.15rem; height: 2.15rem; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--as-red); border: 1px solid var(--as-line); flex-shrink: 0; }
.lt-link-arrow { margin-left: auto; color: var(--as-muted); font-size: 0.75rem; transition: transform 0.25s var(--ease-out), color 0.25s; }
.lt-link:hover .lt-link-arrow { transform: translateX(3px); color: var(--as-red); }
.lt-empty { text-align: center; padding: 2.5rem 1rem; color: var(--as-muted); font-size: 0.9rem; }
.lt-back { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-head); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--as-dark); text-decoration: none; margin-bottom: 1.75rem; transition: color 0.2s; animation: lt-rise 0.5s var(--ease-out) both; }
.lt-back:hover { color: var(--as-red); }
@keyframes lt-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lt-pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }
