/* =========================================================
   Formifri — design system
   Base: Bootstrap 5 (grelha, offcanvas, dropdowns, tabs).
   Header/footer: linha da home; cartões de produto: linha da categoria.
   ========================================================= */
:root {
  --brand: #143d5c;
  --brand-600: #0f3150;
  --brand-700: #0b2640;
  --brand-50: #eef3f8;
  --brand-100: #dce6f0;
  --ink: #16202a;
  --text: #3a4550;
  --muted: #6b7a86;
  --line: #e3e8ec;
  --line-strong: #cfd7dd;
  --surface: #f4f7f9;
  --white: #fff;
  --green: #1f8a5b;
  --red: #d23443;
  --attention-bg: #fdf1e2;
  --attention: #b0620f;
  --star: #2e3a45;
  --star-empty: #d6dde2;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(22, 32, 42, 0.06);
  --shadow: 0 12px 32px rgba(22, 32, 42, 0.1);
  --font: "Work Sans", system-ui, sans-serif;
  --font-display: "Spectral", Georgia, serif;
  /* laranja do símbolo Formifri */
  --accent: #f0bd7c;
  --accent-600: #d99a4b;
  --accent-50: #fdf4e8;
  --container: 1440px;
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container-4k { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 575.98px) { .container-4k { padding: 0 16px; } }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.eyebrow { color: var(--brand-600); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.section-sub { margin-top: 6px; color: var(--muted); }
@media (max-width: 767.98px) { .section { padding: 40px 0; } }

/* ---------- Botões ---------- */
.btn-4k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-4k:active { transform: scale(0.98); }
.btn-4k--primary { background: var(--ink); color: #fff; }
.btn-4k--primary:hover { background: #000; color: #fff; }
.btn-4k--brand { background: var(--brand); color: #fff; }
.btn-4k--brand:hover { background: var(--brand-600); color: #fff; }
.btn-4k--light { background: #fff; color: var(--ink); }
.btn-4k--light:hover { background: var(--brand-50); color: var(--ink); }
.btn-4k--outline { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn-4k--outline:hover { border-color: var(--ink); }
.btn-4k--glass { border-color: rgba(255, 255, 255, 0.35); background: rgba(22, 32, 42, 0.35); color: #fff; backdrop-filter: blur(10px); }
.btn-4k--glass:hover { background: rgba(22, 32, 42, 0.55); color: #fff; }
.btn-4k--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-4k--block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 20px;
  transition: background .2s;
}
.icon-btn:hover { background: var(--surface); }

/* Setas de carrossel */
.nav-arrows { display: flex; gap: 8px; }
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  transition: background .2s, border-color .2s, opacity .2s;
}
.nav-arrow:hover { border-color: var(--ink); }
.nav-arrow.swiper-button-disabled { opacity: 0.35; pointer-events: none; }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.chip--elevated { background: rgba(255, 255, 255, 0.92); color: var(--text); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.chip--attention { background: var(--attention-bg); color: var(--attention); font-weight: 600; }
.chip--brand { background: var(--brand-100); color: var(--brand-700); }
.chip--dark { background: var(--ink); color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.promo-bar { background: var(--brand); color: #fff; font-size: 13px; }
.promo-bar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; position: relative; }
.promo-bar__msg { text-align: center; }
.promo-bar__msg strong { color: #fff; font-weight: 600; }
.promo-bar__msg a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar__app { position: absolute; right: 24px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
@media (max-width: 991.98px) { .promo-bar__app { display: none; } }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22, 32, 42, 0.08); }

.header-main { display: flex; align-items: center; gap: 24px; height: 84px; }
.header-logo { flex: none; }
.header-logo img { width: auto; height: 44px; }
.header-search { position: relative; flex: 1; max-width: 760px; margin-inline: auto; }
.header-search input {
  width: 100%;
  height: 50px;
  padding: 0 56px 0 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.header-search .bi-search { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.header-search__submit {
  position: absolute;
  right: 5px;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-action { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); font-weight: 500; transition: background .2s; }
.header-action:hover { background: var(--surface); }
.header-action i { font-size: 21px; }
.header-action__badge {
  position: absolute;
  top: 4px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.header-burger { display: none; }

.header-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.header-nav__inner { display: flex; align-items: center; gap: 8px; height: 60px; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: none;
}
.menu-btn:hover { background: #000; }
.header-nav__links { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.header-nav__links::-webkit-scrollbar { display: none; }
.header-nav__links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 500; white-space: nowrap; transition: background .2s; }
.header-nav__links a:hover { background: var(--surface); }
.header-nav__links a.is-sale { color: var(--red); }
.header-nav__pro { margin-left: auto; padding: 8px 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.header-nav__pro:hover { color: var(--ink); }

@media (max-width: 991.98px) {
  .header-main { flex-wrap: wrap; gap: 8px 12px; height: auto; padding: 12px 0; }
  .header-burger { display: inline-flex; }
  .header-logo img { height: 36px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-search input { height: 46px; }
  .header-search__submit { width: 36px; height: 36px; }
  .header-action span:not(.header-action__badge) { display: none; }
  .header-actions { gap: 0; }
  .header-action { padding: 0 9px; }
  .header-action__badge { left: auto; right: 0; }
  .header-nav .menu-btn, .header-nav__pro { display: none; }
  .header-nav__inner { height: 52px; }
  .header-nav__links a { padding: 6px 14px; font-size: 13px; background: var(--surface); }
}

/* Menu lateral */
.offcanvas-4k { --bs-offcanvas-width: 380px; border: 0 !important; }
.offcanvas-4k .offcanvas-header { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.offcanvas-4k .offcanvas-header img { height: 36px; width: auto; }
.offcanvas-4k .offcanvas-body { padding: 16px 12px 24px; }
.mega-list > li > a,
.mega-list > li > button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}
.mega-list > li > a:hover, .mega-list > li > button:hover { background: var(--surface); }
.mega-list__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-size: 18px; flex: none; }
.mega-list .bi-chevron-down { margin-left: auto; font-size: 14px; transition: transform .2s; }
.mega-list button[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.mega-list ul { padding: 4px 0 8px 66px; }
.mega-list ul a { display: block; padding: 7px 0; color: var(--text); }
.mega-list ul a:hover { color: var(--brand-700); }
.offcanvas-4k__extra { margin: 16px 12px 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.offcanvas-4k__extra a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text); }

/* =========================================================
   Cartão de produto (linha da página de categoria)
   ========================================================= */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.product-card:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); }

.product-card__media { position: relative; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.product-card__media > a { display: block; aspect-ratio: 4 / 3; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media .chip { position: absolute; top: 10px; left: 10px; z-index: 1; }
.product-card__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 17px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, color .2s;
}
.product-card__wish:hover { transform: scale(1.08); }
.product-card__wish.is-active { color: var(--red); }
.product-card__wish.is-active .bi-heart::before { content: "\f415"; }
.product-card__quick {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, background .2s;
}
.product-card__quick:hover { background: var(--brand-600); }
.product-card:hover .product-card__quick,
.product-card__quick:focus-visible { opacity: 1; transform: none; }
.product-card__quick.is-added { background: var(--green); opacity: 1; transform: none; }
@media (hover: none) {
  .product-card__quick { opacity: 1; transform: none; width: 38px; padding: 0; justify-content: center; }
  .product-card__quick span { display: none; }
}

.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 4px 6px 8px; }
.product-card__seller { color: var(--muted); font-size: 12px; }
.product-card__title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card__title a:hover { color: var(--brand-700); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--star); font-size: 12px; }
.stars .bi-star { color: var(--star-empty); }
.stars .bi-star-fill.empty { color: var(--star-empty); }
.stars__count { margin-left: 4px; color: var(--muted); font-size: 12px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 4px; }
.price { color: var(--ink); font-size: 17px; font-weight: 600; }
.price-old { color: var(--muted); font-size: 13px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.stock--green { color: var(--green); }
.stock--red { color: var(--red); }
.swatches { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.swatch { display: block; width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.swatches__more { color: var(--muted); font-size: 12px; }

@media (max-width: 575.98px) {
  .product-card { padding: 6px; gap: 8px; border-radius: 22px; }
  .product-card__media { border-radius: 16px; }
  .product-card__body { padding: 2px 4px 6px; }
  .product-card__title { font-size: 13px; line-height: 19px; min-height: 38px; }
  .price { font-size: 15px; }
  .product-card__media .chip--elevated { display: none; }
}

/* Carrossel de produtos */
.product-swiper { overflow: visible; }
.product-swiper-wrap { overflow: hidden; margin: -12px; padding: 12px; }
.product-swiper .swiper-slide { height: auto; }

/* Cartão promocional no início de um carrossel */
.promo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 100% 100%, var(--brand) 0%, var(--brand-700) 55%, #053049 100%);
  color: #fff;
  overflow: hidden;
}
.promo-tile::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 220px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}
.promo-tile h3 { position: relative; color: #fff; font-size: 30px; line-height: 1.15; }
.promo-tile p { position: relative; margin-top: 10px; color: rgba(255, 255, 255, 0.8); }
.promo-tile .btn-4k { position: relative; align-self: flex-start; }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding: 20px 0 8px; }
.hero-swiper { border-radius: var(--radius-lg); overflow: hidden; }
.hero-slide { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; min-height: 560px; background: var(--brand-50); }
.hero-slide__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px; }
.hero-slide__title { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; }
.hero-slide__title em { color: var(--brand-600); font-style: italic; }
.hero-slide__lead { max-width: 440px; color: var(--muted); font-size: 16px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-slide__media { position: relative; }
.hero-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-slide__badge strong { display: block; color: var(--ink); font-size: 22px; line-height: 1.1; }
.hero-slide__badge span { color: var(--muted); font-size: 12px; }
.hero-slide__badge-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 20px; }
.hero-slide--dark { background: var(--ink); }
.hero-slide--dark .hero-slide__title { color: #fff; }
.hero-slide--dark .hero-slide__lead { color: rgba(255, 255, 255, 0.7); }
.hero-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.hero-pagination { position: static !important; display: flex; gap: 6px; width: auto !important; }
.hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: var(--line-strong); opacity: 1; transition: width .3s, background .3s; }
.hero-pagination .swiper-pagination-bullet-active { width: 28px; border-radius: 999px; background: var(--ink); }
@media (max-width: 991.98px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-slide__media { order: -1; aspect-ratio: 16 / 10; }
  .hero-slide__text { padding: 28px 24px 32px; }
  .hero-slide__badge { left: 16px; bottom: 16px; padding: 10px 14px 10px 10px; }
}

/* Faixa de vantagens */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.perk i { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); font-size: 20px; flex: none; }
.perk strong { display: block; color: var(--ink); font-weight: 600; }
.perk span { color: var(--muted); font-size: 13px; }
@media (max-width: 991.98px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .perks { grid-template-columns: 1fr; } .perk { padding: 14px; } }

/* Blocos de imagem (triple push) */
.push-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.push-grid--2 { grid-template-columns: repeat(2, 1fr); }
.push-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; }
.push-grid--2 .push-card { aspect-ratio: 4 / 3.4; }
.push-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; z-index: -2; }
.push-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 36, 0) 40%, rgba(8, 24, 36, 0.7) 100%); }
.push-card:hover img { transform: scale(1.05); }
.push-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px; }
.push-card__eyebrow { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, 0.8); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.push-card__title { display: block; color: #fff; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.push-card__sub { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.push-card__arrow { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 18px; flex: none; transition: transform .25s; }
.push-card:hover .push-card__arrow { transform: rotate(-45deg); }
@media (max-width: 991.98px) {
  .push-grid { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .push-grid::-webkit-scrollbar { display: none; }
  .push-grid .push-card { scroll-snap-align: start; }
  .push-grid--2 { grid-auto-columns: 85%; }
  .push-card__body { padding: 20px; }
}

/* Categorias em destaque */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.cat-tile { grid-column: span 3; position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: background .25s; }
.cat-tile--lg { grid-column: span 4; }
.cat-tile:hover { background: var(--brand-50); }
.cat-tile img { width: 180px; height: 180px; margin: 0 auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.06) translateY(-4px); }
.cat-tile__foot { display: flex; align-items: center; justify-content: space-between; }
.cat-tile__name { color: var(--ink); font-size: 17px; font-weight: 600; }
.cat-tile__count { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.cat-tile__arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--ink); transition: background .2s, color .2s; }
.cat-tile:hover .cat-tile__arrow { background: var(--ink); color: #fff; }
@media (max-width: 991.98px) { .cat-tile, .cat-tile--lg { grid-column: span 6; } }
@media (max-width: 575.98px) { .cat-tile, .cat-tile--lg { min-height: 200px; padding: 14px; } .cat-tile img { width: 120px; height: 120px; } .cat-tile__name { font-size: 14px; } .cat-tile__arrow { width: 32px; height: 32px; } }

/* Texto de marca */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.story__title { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.story__text { color: var(--text); font-size: 15px; line-height: 1.8; }
.story__text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.story__text.is-clamped { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.story__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--ink); font-weight: 600; }
@media (max-width: 991.98px) { .story { grid-template-columns: 1fr; gap: 16px; } }

/* Todas as categorias (cartões com lista) */
.all-cat { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.all-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; color: var(--ink); font-size: 15px; font-weight: 600; }
.all-cat__head .icon-arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: #fff; flex: none; }
.all-cat__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--text); font-size: 13px; }
.all-cat__toggle .bi { transition: transform .2s; }
.all-cat__toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }
.all-cat__list { padding: 0 20px 16px; }
.all-cat__list a { display: block; padding: 6px 0; color: var(--text); font-size: 13px; }
.all-cat__list a:hover { color: var(--brand-700); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: 24px; }
.newsletter-4k { padding: 48px 0; background: var(--brand-50); }
.newsletter-4k__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter-4k__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.newsletter-4k__text { margin-top: 8px; color: var(--muted); }
.newsletter-4k__form { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.newsletter-4k__form input { flex: 1; width: 100%; min-width: 0; padding: 0 18px; border: 0; background: transparent; color: var(--ink); outline: none; }
.newsletter-4k__note { margin-top: 10px; color: var(--muted); font-size: 12px; }
@media (max-width: 767.98px) { .newsletter-4k__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; } .newsletter-4k__form .btn-4k { padding: 0 18px; } }

.footer-main { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.footer-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-perks li { display: flex; align-items: center; gap: 14px; }
.footer-perks i { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; color: var(--brand-100); font-size: 20px; flex: none; }
.footer-perks strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.footer-perks span { font-size: 13px; }
@media (max-width: 991.98px) { .footer-perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .footer-perks { grid-template-columns: 1fr; gap: 16px; } }

.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { max-width: 280px; margin-top: 16px; font-size: 13px; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; font-size: 13px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.footer-col h3 { margin-bottom: 14px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col__toggle { display: none; }
@media (max-width: 991.98px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .footer-cols { grid-template-columns: 1fr; gap: 0; padding: 32px 0; }
  .footer-brand { margin-bottom: 20px; }
  .footer-col { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .footer-col h3 { display: none; }
  .footer-col__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
  .footer-col__toggle .bi { transition: transform .2s; }
  .footer-col__toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }
  .footer-col .collapse:not(.show) { display: none; }
  .footer-col ul { padding-bottom: 16px; }
}
@media (min-width: 576px) { .footer-col .collapse { display: block !important; height: auto !important; } }

.footer-logos { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-logos h4 { margin-bottom: 12px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list span { display: flex; align-items: center; justify-content: center; width: 52px; height: 34px; border-radius: 8px; background: #fff; }
.pay-list img { max-width: 40px; max-height: 24px; }
.social-list { display: flex; gap: 8px; }
.social-list a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: #fff; font-size: 16px; transition: background .2s, border-color .2s; }
.social-list a:hover { border-color: var(--brand); background: var(--brand); }
.app-list { display: flex; gap: 8px; }
.app-list img { height: 38px; width: auto; }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a:hover { color: #fff; }
.footer-country { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 500; }

/* Barra fixa em mobile / voltar ao topo */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Toast "adicionado ao cesto" */
.toast-4k {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1090;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast-4k.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast-4k i { color: #7fd3a8; }

/* =========================================================
   CATEGORIA
   ========================================================= */
.breadcrumb-4k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 18px 0; color: var(--muted); font-size: 13px; }
.breadcrumb-4k a:hover { color: var(--ink); }
.breadcrumb-4k li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb-4k li:last-child { color: var(--ink); font-weight: 500; }

.cat-hero { padding: 8px; border-radius: var(--radius-lg); background: var(--brand-50); }
.cat-hero__banner { position: relative; min-height: 240px; border-radius: var(--radius); overflow: hidden; }
.cat-hero__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 24, 36, 0.6), rgba(8, 24, 36, 0) 65%); }
.cat-hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 240px; max-width: 620px; padding: 32px 40px; color: #fff; }
.cat-hero__title { color: #fff; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.cat-hero__sub { color: rgba(255, 255, 255, 0.88); font-size: 17px; font-weight: 500; }
.cat-tabs { display: flex; gap: 4px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 18px; border-radius: 16px; color: var(--text); font-weight: 500; text-align: center; white-space: nowrap; transition: background .2s; }
.cat-tab:hover { background: rgba(255, 255, 255, 0.6); }
.cat-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 767.98px) { .cat-hero__text { padding: 24px; min-height: 200px; } .cat-hero__banner { min-height: 200px; } }

.toolbar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 1010; margin: 20px 0 8px; padding: 12px 0; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); }
.toolbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.facets { display: flex; flex-wrap: wrap; gap: 8px; }
.facet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.facet-btn:hover, .facet-btn.show { border-color: var(--ink); }
.facet-btn .bi-chevron-down { font-size: 12px; transition: transform .2s; }
.facet-btn.show .bi-chevron-down { transform: rotate(180deg); }
.facet-btn--all { background: var(--ink); border-color: var(--ink); color: #fff; }
.facet-btn--all:hover { background: #000; }
.facet-btn__count { display: none; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; }
.facet-btn__count.is-on { display: inline-flex; }
.dropdown-menu.facet-menu { min-width: 260px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.facet-menu label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.facet-menu label:hover { background: var(--surface); }
.facet-menu input { width: 18px; height: 18px; accent-color: var(--ink); }
.facet-menu__count { margin-left: auto; color: var(--muted); font-size: 12px; }
.facet-menu__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.color-dot { width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); flex: none; }
.toolbar__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.product-count { color: var(--muted); font-weight: 500; }
.product-count strong { color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters .chip { gap: 6px; background: var(--surface); color: var(--ink); }
.switch-4k { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.switch-4k input { position: absolute; opacity: 0; pointer-events: none; }
.switch-4k__track { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background .2s; }
.switch-4k__track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch-4k input:checked + .switch-4k__track { background: var(--brand); }
.switch-4k input:checked + .switch-4k__track::before { transform: translateX(16px); }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.view-toggle button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; color: var(--muted); }
.view-toggle button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 991.98px) {
  .facets .facet-btn:not(.facet-btn--all) { display: none; }
  .toolbar__sort-label { display: none; }
}

.product-grid-4k { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-grid-4k.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid-4k > .is-hidden { display: none; }
@media (max-width: 1199.98px) { .product-grid-4k { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .product-grid-4k, .product-grid-4k.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.tile-promo { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 100%; padding: 28px 24px; border-radius: var(--radius-lg); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.tile-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 36, 0.35), rgba(8, 24, 36, 0) 40%, rgba(8, 24, 36, 0.45)); }
.tile-promo:hover img { transform: scale(1.05); }
.tile-promo__title { color: #fff; font-size: 36px; line-height: 1.1; }

.retail-4k { grid-column: 1 / -1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; padding: 20px; border-radius: 36px; background: var(--brand-50); }
.retail-4k__promo { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 24px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; isolation: isolate; }
.retail-4k__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.retail-4k__promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 36, 0.45), rgba(8, 24, 36, 0) 45%); }
.retail-4k__title { color: #fff; font-size: 32px; line-height: 1.1; }
.retail-4k__slider { position: relative; min-width: 0; }
.retail-4k__slider .swiper { height: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.retail-4k__slider .nav-arrow { position: absolute; top: 40%; z-index: 2; box-shadow: var(--shadow); }
.retail-4k__slider .nav-arrow--prev { left: 8px; }
.retail-4k__slider .nav-arrow--next { right: 8px; }
@media (max-width: 991.98px) {
  .retail-4k { grid-template-columns: 1fr; padding: 12px; border-radius: 28px; }
  .retail-4k__promo { min-height: 220px; }
  .retail-4k__slider .nav-arrow { display: none; }
}

.load-more { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 0 16px; }
.load-more__text { color: var(--ink); font-size: 16px; font-weight: 500; }
.load-more__bar { width: 280px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.load-more__bar span { display: block; height: 100%; border-radius: 999px; background: var(--ink); transition: width .4s; }

.panel-4k { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); }
@media (max-width: 575.98px) { .panel-4k { padding: 16px; border-radius: 22px; } }

.seo-text { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Filtros em painel lateral */
.filters-offcanvas { --bs-offcanvas-width: 420px; }
.filters-offcanvas .offcanvas-header { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.filters-offcanvas .offcanvas-title { color: var(--ink); font-size: 18px; font-weight: 600; }
.filters-offcanvas .offcanvas-body { padding: 8px 24px; }
.filters-offcanvas .accordion-button { padding: 18px 0; background: none; box-shadow: none; color: var(--ink); font-weight: 600; }
.filters-offcanvas .accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.filters-offcanvas .accordion-body { padding: 0 0 16px; }
.filters-offcanvas .facet-menu label { padding: 8px 0; }
.filters-offcanvas .offcanvas-footer { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--line); }
.price-range { display: flex; gap: 8px; }
.price-range input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; }

/* =========================================================
   PRODUTO
   ========================================================= */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-bottom: 24px; }
@media (max-width: 991.98px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.gallery-4k { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-4k__main { position: relative; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.gallery-4k__main .swiper-slide { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; cursor: zoom-in; }
.gallery-4k__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-4k__main .nav-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); box-shadow: var(--shadow-sm); }
.gallery-4k__main .nav-arrow--prev { left: 16px; }
.gallery-4k__main .nav-arrow--next { right: 16px; }
.gallery-4k__badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; }
.gallery-4k__tools { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.gallery-4k__tools button, .gallery-4k__tools a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 17px; box-shadow: var(--shadow-sm); }
.gallery-4k__counter { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 12px; font-weight: 500; }
.gallery-4k__thumbs { margin-top: 12px; }
.gallery-4k__thumbs .swiper-slide { width: 88px; aspect-ratio: 1; border: 2px solid transparent; border-radius: 16px; background: var(--surface); overflow: hidden; cursor: pointer; opacity: 0.6; transition: opacity .2s, border-color .2s; }
.gallery-4k__thumbs .swiper-slide-thumb-active { border-color: var(--ink); opacity: 1; }
.gallery-4k__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
@media (max-width: 991.98px) { .gallery-4k { position: static; } .gallery-4k__thumbs .swiper-slide { width: 64px; border-radius: 12px; } }

.pdp-info { display: flex; flex-direction: column; gap: 20px; }
.pdp-info__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pdp-info__title { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; }
.pdp-info__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.pdp-info__meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.pdp-price__now { color: var(--ink); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.pdp-price__old { color: var(--muted); font-size: 18px; }
.pdp-price__note { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.pdp-status { display: grid; gap: 10px; }
.pdp-status__row { display: flex; align-items: center; gap: 10px; color: var(--text); }
.pdp-status__row i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); flex: none; }
.pdp-status__row .is-warning { background: #fff6dc; color: #9a6b00; }
.pdp-status__row strong { color: var(--ink); font-weight: 600; }
.pdp-block__label { margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.pdp-block__label span { color: var(--muted); font-weight: 400; }
.variant-list { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { position: relative; display: block; width: 76px; height: 76px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; cursor: pointer; transition: border-color .2s; }
.variant:hover { border-color: var(--line-strong); }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.variant:has(input:checked) { border-color: var(--ink); }
.variant:has(input:checked)::after { content: "\f26e"; position: absolute; top: 4px; right: 4px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-family: "bootstrap-icons"; font-size: 13px; }
.pdp-buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1px solid var(--line-strong); border-radius: 999px; flex: none; }
.qty button { width: 44px; height: 100%; color: var(--ink); font-size: 18px; }
.qty input { width: 36px; border: 0; background: transparent; color: var(--ink); font-weight: 600; text-align: center; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-buy .btn-4k { flex: 1; height: 56px; font-size: 16px; }
.pdp-buy .btn-4k:disabled { background: var(--brand); opacity: 0.9; cursor: not-allowed; }
.pdp-buy__wish { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 20px; flex: none; transition: color .2s, border-color .2s; }
.pdp-buy__wish:hover { border-color: var(--ink); }
.pdp-buy__wish.is-active { color: var(--red); border-color: var(--red); }
.pdp-buy__wish.is-active .bi-heart::before { content: "\f415"; }
.notify { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; }
.notify input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; outline: none; }
.credit-list { display: grid; gap: 8px; }
.credit { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; }
.credit img { width: 84px; height: 28px; object-fit: contain; flex: none; }
.credit b { color: var(--ink); }
.pdp-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pdp-perks li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); font-size: 13px; }
.pdp-perks i { color: var(--brand-700); font-size: 18px; }
.share-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.share-row a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.share-row a:hover { border-color: var(--ink); }
@media (max-width: 575.98px) {
  .pdp-price__now { font-size: 32px; }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-buy .btn-4k { flex-basis: calc(100% - 66px); order: 2; }
  .pdp-buy__wish { order: 3; }
  .qty { order: 1; }
}

.pdp-tabs { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pdp-tabs .nav { gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--surface); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pdp-tabs .nav-link { padding: 10px 18px; border: 0; border-radius: 999px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.pdp-tabs .nav-link.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.pdp-tabs .tab-content { padding: 28px; }
@media (max-width: 575.98px) { .pdp-tabs .tab-content { padding: 18px; } }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--surface); }
.spec dt { color: var(--muted); font-weight: 400; }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 991.98px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .spec-grid { grid-template-columns: 1fr; } }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.dims div { padding: 20px; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.dims strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 30px; line-height: 1.1; }
.dims span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.prose { max-width: 820px; color: var(--text); font-size: 15px; line-height: 1.8; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose li { display: flex; gap: 10px; }
.prose li i { color: var(--brand-700); }

/* Barra fixa de compra em mobile */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1025;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform .3s;
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy img { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); object-fit: contain; mix-blend-mode: multiply; }
.sticky-buy__price { color: var(--ink); font-weight: 600; }
.sticky-buy__title { overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.sticky-buy .btn-4k { margin-left: auto; }
@media (max-width: 991.98px) { .sticky-buy { display: flex; } body.has-sticky-buy .to-top { bottom: 90px; } }

@media (max-width: 399.98px) {
  .header-logo img { height: 30px; }
  .header-main { gap: 8px; }
  .header-action { padding: 0 7px; }
}

/* Slides do hero com a mesma altura (evita espaço vazio em mobile) */
.hero-swiper .swiper-slide { height: auto; }
.hero-swiper .hero-slide { height: 100%; }
@media (max-width: 575.98px) {
  .tile-promo { padding: 20px 14px; }
  .tile-promo__title { font-size: 24px; }
  .tile-promo .btn-4k { height: 40px; padding: 0 16px; font-size: 13px; }
}

/* Preço, stock e cores alinhados no fundo de todos os cartões */
.product-card__foot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.product-card__foot .price-row { margin-top: 0; }

/* =========================================================
   Mini-cesto (dropdown do header)
   ========================================================= */
.minicart-wrap { position: static; }
@media (min-width: 576px) { .minicart-wrap { position: relative; } }
.dropdown-menu.minicart {
  width: 400px;
  margin-top: 10px !important;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(22, 32, 42, 0.16);
  overflow: hidden;
}
.minicart.show { animation: minicart-in .22s ease; }
@keyframes minicart-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.minicart__title { color: var(--ink); font-family: var(--font-display); font-size: 20px; }
.minicart__count { background: var(--surface); color: var(--muted); }
.minicart__list { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.minicart__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.minicart__item.is-new { animation: minicart-flash 1.2s ease; }
@keyframes minicart-flash { from { background: var(--brand-50); } to { background: #fff; } }
.minicart__img { width: 72px; height: 72px; border-radius: 14px; background: var(--surface); overflow: hidden; }
.minicart__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.minicart__name { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 20px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.minicart__name:hover { color: var(--brand-700); }
.minicart__meta { margin-top: 2px; color: var(--muted); font-size: 12px; }
.minicart__row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.minicart__price { color: var(--ink); font-weight: 600; }
.minicart__qty { display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--line-strong); border-radius: 999px; }
.minicart__qty button { width: 28px; height: 100%; color: var(--ink); font-size: 14px; }
.minicart__qty span { min-width: 18px; color: var(--ink); font-size: 13px; font-weight: 600; text-align: center; }
.minicart__remove { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; color: var(--muted); align-self: start; transition: background .2s, color .2s; }
.minicart__remove:hover { background: #fdecee; color: var(--red); }
.minicart__foot { display: grid; gap: 12px; padding: 16px 20px 20px; background: #fff; }
.minicart__shipping { font-size: 12px; color: var(--muted); }
.minicart__shipping strong { color: var(--ink); }
.minicart__bar { height: 4px; margin-top: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.minicart__bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .4s; }
.minicart__subtotal { display: flex; align-items: baseline; justify-content: space-between; color: var(--text); }
.minicart__subtotal strong { color: var(--ink); font-size: 20px; font-weight: 600; }
.minicart__full { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font-weight: 500; }
.minicart__full:hover { color: var(--brand-700); }
.minicart__empty { display: grid; justify-items: center; gap: 6px; padding: 32px 24px; text-align: center; color: var(--muted); }
.minicart__empty strong { color: var(--ink); font-size: 15px; }
.minicart__empty .btn-4k { margin-top: 10px; }
.minicart__empty-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; background: var(--brand-50); color: var(--brand-700); font-size: 24px; }
@media (max-width: 575.98px) {
  .dropdown-menu.minicart { position: absolute; left: 12px !important; right: 12px !important; width: auto; top: 100%; }
  .minicart__list { max-height: 50vh; }
}

/* =========================================================
   Formifri — preços profissionais (+ IVA) e produtos sob consulta
   ========================================================= */
.product-card__media > a { aspect-ratio: 3 / 4; }
.product-card__media img { padding: 8%; }
.price-vat-tag { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.price-vat { color: var(--muted); font-size: 12px; }
.price--quote { color: var(--brand-700); font-size: 15px; }
.product-card__seller { color: var(--brand); font-weight: 600; letter-spacing: 0.02em; }
.product-card--quote .product-card__quick { background: var(--brand); }
.product-card--quote .product-card__quick:hover { background: var(--brand-700); }
.promo-bar__app { gap: 12px; }
.promo-bar__app a { color: #fff; opacity: .9; }
.promo-bar__app a:hover { opacity: 1; }
.footer-contact span { display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-contact i { margin-top: 2px; }
.newsletter-4k__note a { text-decoration: underline; }

/* Hero com banners de campanha (imagem completa, texto incluído) */
.hero-swiper--banners .hero-banner { display: block; aspect-ratio: 1920 / 550; background: var(--surface); }
.hero-swiper--banners .hero-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Categorias: 8 blocos de 4 colunas, com fotos de produto em fundo branco */
.cat-grid .cat-tile { grid-column: span 3; background: var(--surface); }
.cat-grid .cat-tile img { width: 150px; height: 170px; }
@media (max-width: 991.98px) { .cat-grid .cat-tile { grid-column: span 6; } }

/* Faixa de marcas */
.brands { display: flex; align-items: center; gap: 24px; padding: 20px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.brands__title { flex: none; color: var(--ink); font-weight: 600; }
.brands__list { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brands__item img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brands__item:hover img { filter: none; opacity: 1; }
@media (max-width: 767.98px) { .brands { flex-direction: column; align-items: flex-start; padding: 18px; } .brands__list { justify-content: flex-start; } }

/* Cartão promocional em azul Formifri */
.promo-tile { background: radial-gradient(120% 90% at 100% 100%, #33a8dd 0%, var(--brand) 45%, #004f73 100%); }
.promo-tile h3 em { color: var(--accent); }

/* Categoria: cabeçalho e blocos em azul Formifri (sem fotografia de ambiente) */
.cat-hero__banner--brand { background: radial-gradient(120% 140% at 100% 0%, #33a8dd 0%, var(--brand) 40%, #004f73 100%); }
.cat-hero__banner--brand::after { background: url("../img/favicon.png") no-repeat right 48px center / 180px; opacity: .18; }
.tile-promo--brand { background: radial-gradient(120% 90% at 100% 100%, #33a8dd 0%, var(--brand) 45%, #004f73 100%); }
.tile-promo--brand::after { display: none; }
.tile-promo--brand .tile-promo__title { font-size: 28px; }
.retail-4k__promo--brand { background: radial-gradient(120% 90% at 100% 100%, #f5d2a4 0%, var(--accent) 45%, #d99a4b 100%); color: var(--ink); }
.retail-4k__promo--brand::after { display: none; }
.retail-4k__promo--brand .retail-4k__title { color: var(--ink); }
.retail-4k__eyebrow { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.retail-4k { background: var(--accent-50); }

/* Produto: destaques, contacto e imagem em fundo branco */
.pdp-price .price-vat-tag { font-size: 13px; }
.pdp-highlights { display: grid; gap: 8px; }
.pdp-highlights li { display: flex; gap: 10px; color: var(--text); }
.pdp-highlights i { color: var(--brand); }
.pdp-contact { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--brand-50); }
.pdp-contact strong { display: block; color: var(--ink); }
.pdp-contact span { color: var(--text); font-size: 13px; }
.pdp-contact a { color: var(--brand-700); font-weight: 600; }
.pdp-contact__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff !important; font-size: 20px; flex: none; }
.gallery-4k__main .swiper-slide { aspect-ratio: 4 / 5; }
.gallery-4k__main img { padding: 6%; }

/* Hero Formifri: painel azul-noite com atalhos de categoria */
.ff-hero { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 56px; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(900px 420px at 88% -10%, rgba(240, 189, 124, 0.28), transparent 60%), radial-gradient(700px 380px at -10% 120%, rgba(134, 169, 200, 0.22), transparent 60%), linear-gradient(135deg, #0b2640 0%, #143d5c 100%); color: #fff; isolation: isolate; }
.ff-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.ff-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ff-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); font-size: 13px; font-weight: 500; }
.ff-hero__eyebrow i { color: var(--accent); }
.ff-hero__title { margin: 0; color: #fff; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; }
.ff-hero__title em { color: var(--accent); font-style: italic; }
.ff-hero__lead { max-width: 480px; margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.6; }
.ff-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ff-hero__cta { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.ff-hero__cta:hover { background: #f5cc96; color: var(--ink); }
.ff-hero__ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; }
.ff-hero__ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ff-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.ff-hero__facts i { margin-right: 6px; color: var(--accent); }
.ff-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 540px; justify-self: end; padding-bottom: 22px; }
.ff-hero__tile { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(4, 16, 28, 0.28); transition: transform .25s, box-shadow .25s; }
.ff-hero__tile:nth-child(2) { transform: translateY(22px); }
.ff-hero__tile:nth-child(4) { transform: translateY(22px); }
.ff-hero__tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(4, 16, 28, 0.36); color: var(--ink); }
.ff-hero__tile:nth-child(2):hover, .ff-hero__tile:nth-child(4):hover { transform: translateY(16px); }
.ff-hero__tile img { width: 100%; aspect-ratio: 16 / 11; object-fit: contain; padding: 6px; border-radius: 12px; background: #fff; }
.ff-hero__tile span { display: flex; flex-direction: column; gap: 2px; padding: 0 4px 2px; }
.ff-hero__tile strong { font-size: 15px; font-weight: 600; }
.ff-hero__tile small { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.ff-hero__tile small i { color: var(--brand); font-size: 14px; }
@media (max-width: 991.98px) {
  .ff-hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .ff-hero__grid { max-width: none; justify-self: stretch; padding-bottom: 0; }
  .ff-hero__tile:nth-child(2), .ff-hero__tile:nth-child(4) { transform: none; }
}
@media (max-width: 575.98px) {
  .ff-hero__grid { gap: 10px; }
  .ff-hero__tile { padding: 10px; }
  .ff-hero__tile strong { font-size: 13px; }
  .ff-hero__actions .btn-4k { flex: 1 1 auto; justify-content: center; }
}

/* Header: as 9 categorias cabem numa linha em ecrãs de portátil */
@media (min-width: 992px) and (max-width: 1599.98px) { .header-nav__pro { display: none; } }
@media (min-width: 992px) and (max-width: 1399.98px) { .header-nav__links a { padding: 8px 10px; font-size: 13.5px; } }
