/* =========================================================
   Sound Location – estilos
   ========================================================= */
:root {
    --blue: #00108c;
    --blue-strong: #051ddd;
    --blue-title: #1d4f91;
    --orange: #ef5039;
    --orange-dark: #d63f29;
    --red-price: #d9472b;
    --green-whatsapp: #25d366;
    --text: #333;
    --muted: #7a7a7a;
    --light: #bdbdbd;
    --bg: #fff;
    --bg-soft: #f6f6f6;
    --bg-footer: #f5f7fa;
    --bg-copy: #e9ecf2;
    --border: #e4e6ea;
    --radius: 3px;
    --shadow: 0 2px 14px rgba(0, 0, 0, .07);
    --font-head: "Inter", system-ui, sans-serif;
    --font-body: "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border: 0; border-radius: var(--radius);
    font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-strong); }
.btn--orange { background: var(--orange); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--orange:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); font-size: 13px; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--whatsapp { background: var(--green-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1eb957; }
.btn--block { width: 100%; padding: 16px; font-size: 14px; }

/* ---------- Topbar ---------- */
.topbar { background: #fff; padding: 12px 0; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__slogan { margin: 0; font-family: var(--font-head); font-size: 13px; font-weight: 300; color: var(--light); }
.topbar__actions { display: flex; align-items: center; gap: 16px; }
.topbar__link { font-family: var(--font-head); font-size: 13px; font-weight: 300; color: var(--blue); }
.topbar__link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header { background: var(--blue); padding: 26px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo img { width: 190px; }
.header__search, .header__spacer { flex: 0 1 360px; }
.header__search { display: flex; position: relative; }
.header__search input,
.filters__search input {
    width: 100%; padding: 8px 40px 8px 16px; border: 1px solid var(--blue-strong); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 14px; background: #fff;
}
.header__search button { position: absolute; right: 0; top: 0; bottom: 0; width: 40px; border: 0; background: none; color: var(--muted); }
.header__cart { position: relative; padding: 12px 18px; }
.cart-count {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
    background: #fff; color: var(--orange); border-radius: 10px; font-size: 11px;
}
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Hero / slider ---------- */
.hero { background: var(--bg-soft); padding: 24px 0 10px; }
.slider { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45); background: #111; }
.slider__track { display: grid; }
.slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slider__slide.is-active { opacity: 1; visibility: visible; }
.slider__slide img { width: 100%; aspect-ratio: 1312 / 500; object-fit: cover; }
.slider__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center;
    transition: background .2s;
}
.slider__nav:hover { background: rgba(0, 0, 0, .75); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.slider__dots button.is-active { background: var(--orange); }

/* ---------- Destaques ---------- */
.highlights { background: var(--bg-soft); padding: 28px 0 10px; }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.highlights__card { display: block; border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.highlights__card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }

/* ---------- Catálogo ---------- */
.catalog { background: var(--bg-soft); padding: 32px 0 60px; }
.catalog__title { font-size: 22px; font-weight: 400; color: var(--blue-title); margin-bottom: 14px; }
.filters { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.filters__search { flex: 0 1 220px; }
.filters__search input { padding-right: 16px; border-color: #ddd; font-size: 13px; }
.filters__cats { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.filters__cats legend {
    float: right; width: 100%; text-align: right; margin-bottom: 6px;
    font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .04em;
}
.filters__cats label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #555; cursor: pointer; }
.filters__cats input { appearance: none; width: 13px; height: 13px; margin: 0; border: 1px solid #ccc; border-radius: 2px; background: #fff; display: grid; place-items: center; }
.filters__cats input:checked { background: var(--blue); border-color: var(--blue); }
.filters__cats input:checked::after { content: ""; width: 5px; height: 5px; background: #fff; border-radius: 1px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.product-card {
    background: #fff; border-radius: 4px; box-shadow: var(--shadow);
    padding: 12px 16px 18px; text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.product-card__link { display: block; }
.product-card__img { height: 180px; display: grid; place-items: center; margin: 8px 0 14px; }
.product-card__img img { max-height: 180px; width: auto; object-fit: contain; }
.product-card__title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--blue-title); margin-bottom: 8px; }
.product-card__desc { margin: 0 0 8px; font-size: 11px; line-height: 1.55; color: var(--muted); }
.product-card__price { margin: 0; font-size: 12px; font-weight: 500; color: var(--red-price); }
.products__empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Botão adicionar/remover */
.toggle-orcamento { text-align: left; }
.toggle-orcamento button {
    display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
    font-size: 10px; color: var(--red-price);
}
.toggle-orcamento__icon {
    width: 13px; height: 13px; border-radius: 50%; background: var(--orange); position: relative;
}
.toggle-orcamento__icon::before,
.toggle-orcamento__icon::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.toggle-orcamento__icon::before { width: 7px; height: 2px; }
.toggle-orcamento__icon::after { width: 2px; height: 7px; transition: transform .2s; }
.toggle-orcamento.is-added button { color: var(--blue); }
.toggle-orcamento.is-added .toggle-orcamento__icon { background: var(--blue); }
.toggle-orcamento.is-added .toggle-orcamento__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.toggle-orcamento.is-loading { opacity: .5; pointer-events: none; }
.toggle-orcamento--big button { font-size: 14px; font-weight: 500; padding: 12px 20px; border: 1px solid currentColor; border-radius: var(--radius); }
.toggle-orcamento--big .toggle-orcamento__icon { width: 18px; height: 18px; }

/* ---------- Página de produto / checkout ---------- */
.page-section { background: var(--bg-soft); padding: 32px 0 60px; }
.product-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; padding: 32px; border-radius: 4px; box-shadow: var(--shadow); }
.product__gallery { display: grid; place-items: center; }
.product__gallery img { max-height: 420px; width: auto; object-fit: contain; }
.product__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product__cat { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .05em; }
.product__title { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--blue-title); }
.product__price { margin: 0; font-size: 22px; font-weight: 700; color: var(--red-price); }
.product__desc { font-size: 15px; color: #555; }

.section-title { font-size: 20px; font-weight: 500; color: var(--blue-title); margin-bottom: 14px; }
.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.checkout__cart, .checkout__form { background: #fff; padding: 28px; border-radius: 4px; box-shadow: var(--shadow); }
.checkout__empty { color: var(--muted); margin: 0; }
.checkout__hint { font-size: 13px; color: var(--muted); margin: -6px 0 18px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-list__item img { width: 64px; height: 64px; object-fit: contain; }
.cart-list__info { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.cart-list__info a { color: var(--blue-title); font-weight: 500; }
.cart-list__info span { color: var(--red-price); font-size: 13px; }
.cart-list__remove { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f1f1f1; font-size: 18px; line-height: 1; color: #888; }
.cart-list__remove:hover { background: var(--orange); color: #fff; }
.cart-total { text-align: right; margin: 16px 0 0; font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form__field em { color: var(--orange); font-style: normal; }
.form__field input, .form__field textarea {
    padding: 10px 12px; border: 1px solid #d5d8dd; border-radius: var(--radius);
    font: 400 15px var(--font-body); color: var(--text);
}
.form__field input:focus, .form__field textarea:focus { outline: 2px solid var(--blue-strong); outline-offset: -1px; border-color: transparent; }
.form__error { color: #c0392b; font-weight: 400; }
.form__hp { position: absolute; left: -9999px; }
.alert { background: #fdecea; color: #a12a1c; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: 14px; }
.alert p { margin: 0; }

.notice { background: #fff; padding: 48px 32px; border-radius: 4px; box-shadow: var(--shadow); text-align: center; }
.notice h1 { color: var(--blue-title); margin-bottom: 10px; }
.notice p { color: #555; }
.notice--success h1 { color: #1a8f4c; }

/* ---------- Marcas / contato / rodapé ---------- */
.brands { padding: 28px 0 24px; text-align: center; border-bottom: 1px solid #eee; }
.brands__title { font-size: 20px; font-weight: 400; color: #333; margin-bottom: 18px; }
.brands img { margin: 0 auto; filter: grayscale(1); opacity: .85; }

.contact-bar { padding: 26px 0; }
.contact-bar__inner { display: flex; justify-content: center; align-items: center; gap: 64px; flex-wrap: wrap; }
.contact-bar__item { display: flex; flex-direction: column; align-items: center; color: #333; }
.contact-bar__item small { font-size: 11px; color: var(--muted); }
.contact-bar__item strong { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.contact-bar__item--icon { flex-direction: row; gap: 10px; }
.contact-bar__item--icon strong { font-size: 18px; }
.contact-bar__item--icon svg { width: 22px; height: 22px; color: #444; }
.contact-bar__item:hover strong { color: var(--blue); }

.footer { background: var(--bg-footer); padding: 22px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; }
.footer__inner img { width: 120px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { color: var(--blue); font-size: 18px; transition: color .2s, transform .2s; }
.footer__social a:hover { color: var(--orange); transform: translateY(-2px); }

.copyright { background: var(--bg-copy); padding: 14px 0; text-align: center; }
.copyright p { margin: 0 auto; max-width: 820px; font-size: 11px; color: #333; line-height: 1.6; }

.whatsapp-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 50;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-whatsapp); color: #fff; font-size: 30px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

.toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 60;
    background: #222; color: #fff; padding: 12px 20px; border-radius: 6px; font-size: 14px;
    transition: transform .3s; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .topbar__slogan { display: none; }
    .topbar__inner { justify-content: center; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .checkout, .product { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .topbar__actions { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .topbar__actions .btn--sm { padding: 8px 12px; font-size: 11px; }
    .header { padding: 16px 0; }
    .header__inner { flex-wrap: wrap; gap: 14px; }
    .header__logo img { width: 140px; }
    .header__search { order: 3; flex: 1 1 100%; }
    .header__spacer { display: none; }
    .highlights__grid { grid-template-columns: 1fr; }
    .filters { flex-direction: column; }
    .filters__search { flex: none; width: 100%; }
    .filters__cats { justify-content: flex-start; }
    .filters__cats legend { text-align: left; }
    .products { grid-template-columns: 1fr; }
    .product { padding: 20px; gap: 20px; }
    .product__title { font-size: 22px; }
    .checkout__cart, .checkout__form { padding: 20px; }
    .contact-bar__inner { gap: 24px; }
    .footer__inner { padding: 0; }
    .slider__nav { width: 32px; height: 32px; }
}
