/* ==========================================================
   Rare Finding — Storefront
   Design System
   ========================================================== */

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

:root {

  /* Marca */
  --primary: #F59206;
  --primary-dark: #D97D00;
  --secondary: #FFBA00;

  /* Base */
  --black: #000000;
  --footer-bg: #141414;
  --bg: #FAFAF8;
  --bg-alt: #F4F4F2;
  --card: #FFFFFF;

  --text: #1A1A1A;
  --text-muted: #8A8A8A;
  --text-on-dark: #F5F5F5;
  --text-on-dark-muted: rgba(245, 245, 245, 0.55);

  --border: #EDEDEB;
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Tipografia */
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Utilitários */
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.2s ease;
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
}

/* ===================== Botões ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-light {
  background: var(--card);
  color: var(--black);
}

.btn-light:hover {
  background: var(--primary);
  color: var(--white, #fff);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--text-on-dark);
}

.btn-dark {
  background: var(--black);
  color: var(--text-on-dark);
}

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

.btn-secondary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-whatsapp {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-whatsapp:hover {
  background: var(--primary);
  color: #fff;
}

.btn:disabled {
  background: #E9E9E9;
  color: #B0B0B0;
  cursor: not-allowed;
}

/* ===================== Navbar ===================== */

.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.navbar__link:hover {
  color: var(--primary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--transition);
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.navbar__icon-btn:hover {
  background: var(--bg-alt);
}

.navbar__icon-btn svg {
  width: 18px;
  height: 18px;
}

.navbar__cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.navbar__account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.navbar__account-avatar--fallback {
  background: var(--primary);
  color: #fff;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}

@media (min-width: 861px) {
  .navbar__account-link {
    width: auto;
    height: 36px;
    border-radius: 999px;
    padding: 6px 6px 6px 12px;
    gap: 8px;
    display: inline-flex;
    align-items: center;
  }

  .navbar__account-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
}

@media (max-width: 860px) {
  .navbar__account-name {
    display: none;
  }
}

@media (max-width: 860px) {

  .navbar__logo img {
    height: 28px;
  }

  .navbar__icon-btn {
    width: 30px;
    height: 30px;
  }

  .navbar__icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .navbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
  }

  .navbar__burger {
    justify-self: start;
  }

  .navbar__logo {
    justify-self: center;
  }

  .navbar__actions {
    justify-self: end;
  }

   .navbar__links {
    display: none;
}
}

/* ---- Dropdown "Loja" (desktop) ---- */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.navbar__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.navbar__dropdown.is-open .navbar__dropdown-trigger svg {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}

.navbar__dropdown.is-open .navbar__dropdown-menu {
  display: flex;
}

.navbar__dropdown-item {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.navbar__dropdown-item:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.navbar__dropdown-item--all {
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 4px;
  padding-bottom: 12px;
}

/* ---- Botão hambúrguer (só mobile) ---- */
.navbar__burger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.navbar__burger svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .navbar__burger {
    display: flex;
  }
}

/* ---- Overlay do menu mobile ---- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 300;
  display: none;
}

.mobile-menu-overlay.is-open {
  display: block;
}

/* ---- Menu mobile (drawer off-canvas, lado direito) ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: min(320px, 86vw);
  background: var(--card);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.mobile-menu__link-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu__link-label svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
}

.mobile-menu__accordion-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.mobile-menu__accordion-trigger.is-open svg {
  transform: rotate(180deg);
}

.mobile-menu__accordion-panel {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px 12px;
}

.mobile-menu__accordion-panel.is-open {
  display: flex;
}

.mobile-menu__sublink {
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.mobile-menu__sublink:hover {
  color: var(--primary);
}

/* ===================== Footer ===================== */

.footer {
  background: var(--footer-bg);
  color: var(--text-on-dark-muted);
  padding: 56px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer__brand img {
  height: 20px;
  width: auto;
}

.footer__tagline {
  font-size: 13px;
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  display: grid;
  place-items: center;
  color: var(--text-on-dark-muted);
  transition: border-color var(--transition), color var(--transition);
}

.footer__social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer__social a svg {
  width: 16px;
  height: 16px;
}

.footer__social a .social-icon-svg {
  fill: currentColor;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 13.5px;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--text-on-dark);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 12px;
}

.footer__contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

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

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

/* ===================== Seções genéricas ===================== */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--black);
  color: var(--text-on-dark);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 30px;
  font-weight: 500;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}


/* ===================== Hero ===================== */

.hero {
  background: var(--black);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/BGsite2.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.1) 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 420px;
}

.hero__kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero__title {
  font-family: 'Playball', cursive;
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.hero__title em {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
}

.hero__subtitle {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  max-width: 420px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  max-width: 420px;
}

.hero__stars {
  color: var(--secondary);
  letter-spacing: 2px;
}

@media (max-width: 860px) {

  .hero {
    padding: 0;
    min-height: 100vh;
  }

  /* Fundo mobile: espaço vazio em cima (texto) + anel visível em baixo */
  .hero__bg {
    background-image: url('../img/BGsite_mobile.webp');
    background-position: top center;
    background-size: cover;
  }

  /* Sem degradê — a imagem já tem preto sólido onde o texto vai ficar */
  .hero__bg::after {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 100vh;
    gap: 0;
    align-items: flex-start;
    padding-top: 60px;
  }

  .hero__kicker {
    font-size: 10.5px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero__rating {
    max-width: 100%;
    font-size: 12px;
    padding-top: 18px;
    flex-wrap: wrap;
  }

  .hero__inner > div:last-child:not(.hero__text) {
    display: none;
  }
}

/* ===================== Cards de Produto ===================== */

.products-grid, 
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}


.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.12);
}

.product-card__image {
  aspect-ratio: 1;
  background: var(--bg-alt);
}

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

.product-card__body {
  padding: 16px 18px 20px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 6px;
}

.product-card__price {
  font-size: 13px;
  color: var(--text-muted);
}

.product-card__price strong {
  color: var(--text);
  font-weight: 700;
}

.see-all-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.see-all-link svg {
  width: 14px;
  height: 14px;
}

.see-all-bottom  {
  display: none;
}

@media (max-width: 1024px) {
  .products-grid, 
  .store-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Destaque da home: 6 no desktop, 4 em telas menores */
  .products-grid--featured .product-card:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 580px) {
  .products-grid, 
  .store-products-grid {
    grid-template-columns:  repeat(2, 1fr)  !important;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  .product-card__body {
    padding: 10px 12px 14px;
  }

  .product-card__name {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .product-card__price {
    font-size: 12px;
  }

  .see-all-link {
    font-size: 11px;
  }

  .see-all-link svg {
    width: 12px;
    height: 12px;
  }

   /* Esconde o link "Ver Todos" do cabeçalho no mobile */
  .section-header .see-all-link {
    display: none;
  }

  .section-header {
    align-items: flex-start;
  }

  /* Mostra o botão no fim da grid */
  .see-all-bottom {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .see-all-bottom .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

}



/* ===================== Seção de destaque (split) ===================== */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 460px;
  overflow: hidden;
}

.split-section > div {
  min-width: 0;
}

.split-section__text {
  padding: 40px 60px 40px calc(max(0px, (100vw - 1240px) / 2) + 24px);
}

.split-section__text h2 {
  font-size: 34px;
  margin-bottom: 18px;
  max-width: 380px;
  color: var(--text-on-dark);
}

.split-section__text p {
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
  max-width: 380px;
  margin-bottom: 28px;
}

.split-section__image {
  height: 100%;
  overflow: hidden;
}

.split-section__image {
  height: 460px;
  background-image: url('../img/CTA.webp');
  background-size: cover;
  background-position: center right; 
  background-repeat: no-repeat;
}

@media (max-width: 860px) {
  .split-section {
    display: block;
    position: relative;
    min-height: 600px;
    background-image: url('../img/CTA_mobile.webp');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  /* A imagem deixa de ser um bloco à parte — o texto passa a viver sobre o fundo */
  .split-section__image {
    display: none;
  }

  .split-section__text {
    position: relative;
    padding: 48px 24px 0;
  }

  .split-section__text h2 {
    font-size: 26px;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .split-section__text p {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .split-section__text .btn {
    width: auto;
  }
}

/* ===================== Como Funciona ===================== */

.steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
  flex-wrap: wrap;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  width: 120px;
}

.step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--secondary);
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .step {
    width: 100%;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    position: relative;
  }

  /* Linha vertical conectando um passo ao próximo */
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 56px;
    left: 27px;
    width: 1px;
    height: calc(100% + 32px - 56px);
    background: var(--border);
    z-index: 0;
  }

  .step__circle {
    width: 56px;
    height: 56px;
    font-size: 12px;
    margin: 0;
    flex-shrink: 0;
  }

  .step__body {
    padding-top: 0;
  }

  .step__title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .step__desc {
    font-size: 12.5px;
  }
}

/* ===================== Clientes Satisfeitos (fotos) ===================== */

.testimonial-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.testimonial-photos__frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.15);
}

.testimonial-photos__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-photos__arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-photos__arrow:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.testimonial-photos__arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .testimonial-photos__frame {
    max-width: 320px;
  }

  .testimonial-photos__arrow {
    width: 36px;
    height: 36px;
  }
}

/* Bolinhas — mesma classe, só ajusto a margem */
.testimonial__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.testimonial__dot.is-active {
  background: var(--primary);
}

/* ===================== FAQ ===================== */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-item__question svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item__answer-inner {
  padding: 0 22px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ===================== Breadcrumb ===================== */

.breadcrumb {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .current {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* ===================== Página de Produtos ===================== */
.store-page {
  padding: 56px 0 72px;
}

.page-title-block h1 {
  font-size: 42px;
  margin: 0 20px  20px 0;
}

.store-search-box {
  position: relative;
  margin-bottom: 32px;
}

.store-search-box input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--card);
}

.store-search-box input:focus {
  outline: none;
  border-color: var(--primary);
}

.store-search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.store-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.store-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.store-pagination a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}

.store-pagination a:hover {
  background: var(--bg-alt);
}

.store-pagination a.is-active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.store-pagination a.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.store-pagination__arrow svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 860px) {

  .breadcrumb {
    font-size: 11.5px;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .store-page {
    padding: 24px 0 48px;
  }

  .page-title-block {
    padding: 0 4px;
  }

  .page-title-block h1 {
    font-size: 24px;
  }

  .store-search-box {
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .store-search-box input {
    padding: 13px 16px 13px 42px;
    font-size: 13.5px;
  }

  .store-search-box svg {
    left: 19px;
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 560px) {

  .container {
    padding:16px;
  }

  .store-pagination {
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
  }

  .store-pagination a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ===================== Página de Produto ===================== */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 32px 0 60px;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 12px;
}

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

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.575);
  border: none;
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}

.gallery-arrow:hover {
  background: #fff;
}

.gallery-arrow--left {
  left: 12px;
}

.gallery-arrow--right {
  right: 12px;
}

.gallery-arrow svg {
  width: 18px;
  height: 18px;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-alt);
}

.product-gallery__thumb.is-active {
  border-color: var(--primary);
}

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

.product-info__category {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-info__title {
  font-size: 34px;
  margin-bottom: 10px;
}

.product-info__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.feature-list__item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.option-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.size-btn {
  padding: 11px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.size-btn.is-active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.qty-stepper--inline {
  margin-bottom: 0 !important;
}

.qty-stepper button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  color: var(--text);
}

.qty-stepper button:hover {
  color: var(--primary);
}

.qty-stepper span {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.summary-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.summary-box .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
}

.summary-box .info-row.total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.summary-box .free-shipping {
  color: #15803D;
  font-weight: 600;
}

.btn-buy {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 13px;
}

/* ===================== Tooltip de guia de tamanho ===================== */

.option-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  margin-bottom: 10px;
}

.option-label-row .option-label {
  margin-bottom: 0;
}

.size-info-btn {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.size-info-btn:hover,
.size-info-btn.is-open {
  color: var(--primary);
  background: var(--bg-alt);
}

.size-info-btn svg {
  width: 15px;
  height: 15px;
}

.size-info-tooltip {
  position: absolute;
  top: 26px;
  left: 0;
  z-index: 30;
  width: 300px;
  max-width: 80vw;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.size-info-tooltip.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.size-info-tooltip__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.size-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}

.size-info-row:first-of-type {
  border-top: none;
}

.size-info-row strong {
  color: var(--text);
}

.size-info-badge {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--icon-orange-bg, #FEF1E4);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.size-info-tooltip__note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

@media (max-width: 560px) {
  .size-info-tooltip {
    left: auto;
    right: 0;
  }
}

@media (hover: hover) {
  .option-label-row:hover .size-info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 40px;
  }

  .product-gallery__main {
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
  }

  .gallery-arrow {
    width: 34px;
    height: 34px;
  }

  .gallery-arrow svg {
    width: 15px;
    height: 15px;
  }

  .product-gallery__thumbs {
    gap: 8px;
    margin-bottom: 4px;
  }

  .product-info__category {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .product-info__title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .product-info__subtitle {
    font-size: 13.5px;
    margin-bottom: 18px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
    margin-bottom: 18px;
  }

  .feature-list__item {
    font-size: 12.5px;
  }

  .option-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .size-options {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }

  .size-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .qty-stepper {
    margin-bottom: 18px;
  }

  .qty-stepper button {
    width: 38px;
    height: 38px;
  }

  .qty-stepper span {
    width: 34px;
    font-size: 13.5px;
  }

  .summary-box {
    padding: 16px;
    margin-bottom: 16px;
  }

  .summary-box .info-row {
    font-size: 13px;
    padding: 6px 0;
  }

  .summary-box .info-row.total {
    font-size: 14px;
  }

  .btn-buy {
    padding: 15px;
  }
}

/* ===================== Checkout ===================== */

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.checkout-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
}

.checkout-card h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.checkout-item-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-item-row img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
}

.checkout-item-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.checkout-item-row__meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===================== Modal de Pagamento ===================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px;
}

body {
  overflow-x: hidden;
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-card__header h2 {
  font-size: 22px;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--bg-alt);
}

.modal-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 12px;
}

.modal-step__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.payment-method-option {  
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.payment-method-option.is-selected {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.payment-method-option__logo {
  height: 48px !important;;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  object-fit: contain;
}

.payment-method-option__number {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.payment-holder-note {
  text-align: start;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.payment-holder-note strong {
  color: var(--text);
  font-weight: 600;
}

/* ===================== Campo de telefone com prefixo fixo ===================== */

.phone-input-group {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.phone-input-group input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ===================== Upload do comprovativo com botão de remover ===================== */

.upload-dropzone {
  position: relative;
}

.upload-dropzone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  cursor: pointer;
}

.upload-dropzone__label:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.upload-dropzone__label input {
  display: none;
}

.upload-dropzone__label svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.upload-dropzone__text {
  font-size: 13.5px;
  color: var(--text);
}

.upload-dropzone__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.upload-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}

.upload-remove-btn:hover {
  background: var(--badge-cancelled-fg, #B91C1C);
}

.upload-remove-btn svg {
  width: 13px;
  height: 13px;
}

/* ===================== Botão com estado de loading ===================== */

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.btn.is-loading svg.spinner {
  animation: spin 0.8s linear infinite;
}

/* ===================== Localização (Província / Cidade / Bairro) ===================== */

.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control:disabled {
  background-color: var(--bg-alt);
  color: var(--text-muted);
  cursor: not-allowed;
}




/* ===================== Campo de telefone com prefixo fixo ===================== */

.phone-input-group {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.phone-input-group input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}



@media (max-width: 860px) {

  /* ===================== Checkout ===================== */

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checkout-card {
    padding: 20px;
    border-radius: var(--radius-sm);
  }

  .checkout-card h2 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .checkout-item-row {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .checkout-item-row img {
    width: 48px;
    height: 48px;
  }

  .checkout-item-row__name {
    font-size: 13px;
  }

  .checkout-item-row__meta {
    font-size: 12px;
  }

  /* ===================== Modal de Pagamento ===================== */

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 22px;
  }

  .modal-card__header h2 {
    font-size: 18px;
  }

  .modal-step {
    font-size: 13px;
    margin: 16px 0 10px;
  }

  .payment-method-grid {
    gap: 8px;
  }

  .payment-method-option {
    padding: 12px 6px;
  }

  .payment-method-option__logo {
    height: 32px !important;
    margin-bottom: 8px;
  }

  .payment-method-option__number {
    font-size: 11px;
  }

  .payment-holder-note {
    font-size: 11.5px;
  }

  .upload-dropzone {
    padding: 20px;
  }

  .upload-dropzone__text {
    font-size: 13px;
  }

  .upload-dropzone__hint {
    font-size: 11.5px;
  }

  /* ===================== Formulários da Loja ===================== */

  .form-group {
    margin-bottom: 14px;
  }

  .form-control {
    padding: 12px 14px;
    font-size: 13.5px;
  }
}

/* ===================== Formulários da Loja ===================== */

.form-group {
  margin-bottom: 18px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--transition), background var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--card);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.option-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-method-option {
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.payment-method-option.is-selected {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.payment-method-option__logo {
  height: 20px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 8px;
  object-fit: contain;
}

.payment-method-option__number {
  font-size: 11.5px;
  color: var(--text-muted);
  word-break: break-all;
}

/* ===================== Página de Sucesso ===================== */

.success-page {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid #15803D;
  border-radius: var(--radius-sm);
  color: #15803D;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}

.success-icon svg {
  width: 26px;
  height: 26px;
}

.success-page h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.success-page p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.success-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}

.success-box .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
}

.status-pending-review {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.btn-whatsapp-full {
  width: 100%;
  justify-content: center;
  background: #22C55E;
  color: #fff;
  padding: 15px;
}

.btn-whatsapp-full:hover {
  background: #16A34A;
}


/* ===================== Hero de Página Institucional ===================== */

.page-hero {
  background: var(--black);
  color: var(--text-on-dark);
  text-align: center;
  padding: 80px 24px;
}

.page-hero__kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: 38px;
  color: var(--text-on-dark);
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===================== Blocos de Conteúdo ===================== */

.content-block {
  padding: 56px 0;
}

.content-block + .content-block {
  border-top: 1px solid var(--border);
}

.content-block__inner {
  max-width: 760px;
  margin: 0 auto;
}

.content-block__title {
  font-size: 28px;
  margin-bottom: 16px;
}

.content-block__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-block__text + .content-block__text {
  margin-top: 14px;
}

/* ===================== Valores (cards com ícone) ===================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value-card {
  text-align: center;
  padding: 24px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.value-card__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 26px;
  height: 26px;
}

/* ===================== Porque Comprar Conosco ===================== */

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.reason-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.reason-item span {
  font-size: 13.5px;
  color: var(--text);
}

/* ===================== Mapa ===================== */

.map-embed {
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===================== CTA final ===================== */

.cta-section {
  background: var(--black);
  color: var(--text-on-dark);
  text-align: center;
  padding: 64px 24px;
}

.cta-section h2 {
  font-size: 30px;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

/* ===================== Artigo Legal (Política/Termos) ===================== */

.legal-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-article h2 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-article ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-article li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-article ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-article ol li {
  margin-bottom: 8px;
}

.legal-article strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 860px) {

  /* ===================== Página de Sucesso ===================== */

  .success-page {
    padding: 60px 24px;
  }

  .success-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
  }

  .success-icon svg {
    width: 22px;
    height: 22px;
  }

  .success-page h1 {
    font-size: 22px;
  }

  .success-page p {
    font-size: 13.5px;
    margin-bottom: 22px;
  }

  .success-box {
    padding: 16px;
    margin-bottom: 20px;
  }

  .success-box .info-row {
    font-size: 13px;
  }

  .btn-whatsapp-full {
    padding: 14px;
  }

  /* ===================== Hero de Página Institucional ===================== */

  .page-hero {
    padding: 56px 20px;
  }

  .page-hero__title {
    font-size: 26px;
  }

  .page-hero__subtitle {
    font-size: 13.5px;
  }

  /* ===================== Blocos de Conteúdo ===================== */

  .content-block {
    padding: 36px 0;
  }

  .content-block__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .content-block__text {
    font-size: 13.5px;
  }

  /* ===================== Valores (cards com ícone) ===================== */

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ===================== Porque Comprar Conosco ===================== */

  .reason-item {
    padding: 14px 16px;
  }

  .reason-item span {
    font-size: 13px;
  }

  /* ===================== Mapa ===================== */

  .map-embed {
    height: 240px;
  }

  /* ===================== CTA final ===================== */

  .cta-section {
    padding: 48px 20px;
  }

  .cta-section h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  /* ===================== Artigo Legal (Política/Termos) ===================== */

  .legal-article {
    padding: 36px 0 56px;
  }

  .legal-article h2 {
    font-size: 17px;
    margin: 26px 0 10px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 13.5px;
  }
}

@media (max-width: 560px) {

  .value-card {
    padding: 18px 10px;
  }

  .value-card__icon {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
  }

  .value-card__icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {

  .values-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .value-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
  }

  .value-card__icon {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ===================== Página 404 ===================== */

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page__icon {
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.error-page__icon svg {
  width: 28px;
  height: 28px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.error-page__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.error-page__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 32px;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.error-page__search {
  width: 100%;
  max-width: 420px;
}


/* ===== Alertas (checkout) ===== */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
}

.alert-error,
.alert-danger {
  background: #FEF2F2;
  color: #B91C1C;
}

.alert-success {
  background: #F0FDF4;
  color: #15803D;
}

.alert-warning {
  background: #FFFBEB;
  color: #B45309;
}

.alert-info {
  background: #EFF6FF;
  color: #1D4ED8;
}

/* ===== Telefone com prefixo fixo ===== */
.phone-input-group {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.phone-input-group input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ===== Localização (Província / Cidade) ===== */
.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control:disabled {
  background-color: var(--bg-alt);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== Upload do comprovativo com botão de remover ===== */
.upload-dropzone {
  position: relative;
}

.upload-dropzone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  cursor: pointer;
}

.upload-dropzone__label:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.upload-dropzone__label input {
  display: none;
}

.upload-dropzone__label svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.upload-dropzone__text {
  font-size: 13.5px;
  color: var(--text);
}

.upload-dropzone__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.upload-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}

.upload-remove-btn:hover {
  background: #B91C1C;
}

.upload-remove-btn svg {
  width: 13px;
  height: 13px;
}

/* ===== Botão com estado de loading ===== */
.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.btn.is-loading svg.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Overlay de espera do pagamento ===== */
.waiting-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn.is-loading svg.spinner {
  animation: spin 0.8s linear infinite;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted, #888);
  margin-top: 6px;
  line-height: 1.4;
}


/* Bloco de Especificações do Produto */
.product-specs {
    margin: 16px 0;
}

.product-specs__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-specs__item {
    font-size: 14px;
    color: var(--text-muted, #555);
}

/* Divisor e Títulos Relacionados */
.product-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0 48px;
}

.product-related-title {
    margin-bottom: 28px;
}

.product-related-grid {
    margin-bottom: 20px;
}


/* ==========================================================
   Rare Finding — Store Layout & Sidebar Filters Extensions
   ========================================================== */

.store-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

.store-filter-group {
  margin-bottom: 30px;
}

.store-filter-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 15px;
}

.store-filter-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-filter-list a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.store-filter-list a:hover,
.store-filter-list a.is-active {
  color: var(--primary);
  font-weight: 600;
}

.filter-count {
  font-size: 12px;
  color: var(--text-muted);
}

.store-range-input {
  width: 100%;
  cursor: pointer;
  accent-color: var(--primary);
  border: none;
}

.price-output-text {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.btn-filter-submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 12px;
}

.store-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.store-search-box {
  flex: 1;
  position: relative;
  margin-bottom: 0 !important;
}

.store-sort-box select {
  height: 100%;
  min-width: 180px;
}

.store-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.store-search-box input {
  padding-left: 42px !important;
}

/* ---- Drawer de filtros: cabeçalho, corpo e rodapé ---- */
/* Por defeito (desktop) o sidebar é estático e header/footer do drawer ficam ocultos */
.store-drawer-header,
.store-drawer-footer {
  display: none;
}

.store-drawer-body {
  padding: 0;
}

/* ---- Botão "Filtrar" (só existe/aparece em mobile) ---- */
.store-filter-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.store-filter-trigger:hover {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text);
}

.store-filter-trigger svg,
.store-filter-trigger i {
  color: var(--text);
}

/* ---- Abas da página "Minha Conta" ---- */
.account-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.account-tab-btn {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.account-tab-btn:hover {
  color: var(--text);
}

.account-tab-btn.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---- Drawer de detalhes do pedido (conta do cliente) ---- */
.order-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 400;
  display: none;
}

.order-drawer-overlay.is-open {
  display: block;
}

.order-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background: var(--card);
  z-index: 401;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.order-drawer.is-open {
  transform: translateX(0);
}

.order-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.order-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

/* ---- Overlay do drawer de filtros da loja ---- */
.store-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 300;
  display: none;
}

.store-drawer-overlay.is-open {
  display: block;
}

/* Responsividade Mobile para a Loja e Filtros */
@media (max-width: 860px) {
  .store-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Sidebar de filtros vira drawer off-canvas, ancorado à esquerda */
  .store-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: min(340px, 86vw);
    background: var(--card);
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
    z-index: 301;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
  }

  .store-sidebar.is-open {
    transform: translateX(0);
  }

  .store-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .store-drawer-header h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
  }

  .store-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }

  /* O botão inline dentro do bloco de preço fica escondido; usa-se o do rodapé fixo */
  .store-desktop-only-submit {
    display: none;
  }

  .store-drawer-footer {
    display: block;
    flex-shrink: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--card);
  }

  .store-drawer-footer .btn-filter-submit {
    margin-top: 0;
  }

  /* Trava o scroll da página por trás do drawer aberto */
  body.drawer-open {
    overflow: hidden;
  }

  /* ---- Barra superior: busca em linha própria, filtros + ordenação lado a lado ---- */
  .store-top-bar {
    flex-wrap: wrap;
  }

  .store-search-box {
    flex-basis: 100%;
    order: 1;
  }

  .store-filter-trigger {
    display: inline-flex;
    order: 2;
    flex: 1;
  }

  .store-sort-box {
    order: 3;
    flex: 1;
  }

  .store-sort-box select {
    width: 100%;
    min-width: 0;
  }
}