/* =========================================================================
   LOJA FITNESS — design tokens
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* cor */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-soft: #F1F2EC;
  --border: #E1E4DA;
  --border-strong: #C9CEBF;

  --ink: #24261F;
  --ink-soft: #686F60;
  --ink-faint: #9BA192;

  --sage: #7C8B76;
  --sage-dark: #55624E;
  --sage-darker: #3C4636;
  --sage-pale: #DEE4D5;
  --sage-pale-2: #EDF0E6;

  --danger: #A3462B;
  --danger-bg: #F6E9E3;
  --ok: #4C6A4A;

  --accent: #C6F135;
  --accent-ink: #232B14;
  --ink-on-dark: #F4F5EE;
  --ink-on-dark-soft: rgba(244, 245, 238, 0.68);

  --grad-hero: linear-gradient(150deg, #2B3325 0%, #3C4636 48%, #55624E 100%);
  --grad-accent: linear-gradient(120deg, #C6F135 0%, #9FD84A 100%);
  --grad-fade-dark: linear-gradient(180deg, rgba(36, 38, 31, 0) 0%, rgba(20, 22, 16, .72) 100%);

  /* tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* layout */
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;
  --radius-xl: 28px;
  --shadow-s: 0 1px 2px rgba(36, 38, 31, 0.06);
  --shadow-m: 0 8px 24px rgba(36, 38, 31, 0.08);
  --shadow-l: 0 20px 48px rgba(36, 38, 31, 0.14);
  --shadow-glow: 0 14px 40px rgba(60, 70, 54, 0.28);
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 14px;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--sage-darker);
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
}

.hidden {
  display: none !important;
}

/* -------------------------------------------------------------------- */
/* Botões                                                                */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--sage-darker);
  color: #fff;
}

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

.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--sage-dark);
  color: var(--sage-darker);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 14px;
}

.btn-ghost:hover {
  color: var(--sage-darker);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger-bg);
}

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

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* -------------------------------------------------------------------- */
/* Cabeçalho / Navbar (LIQUID GLASS)                                    */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Fundo muito transparente com Blur forte para o efeito de vidro */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 248, 0.85);
  box-shadow: 0 6px 24px rgba(36, 38, 31, .08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--sage-darker);
}

.brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-hero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-s);
}

.brand .brand-mark::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(241, 242, 236, 0.6);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(225, 228, 218, 0.6);
}

.nav-link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav-link.active {
  color: #fff;
  background: var(--sage-darker);
  box-shadow: var(--shadow-s);
}

.nav-cart {
  position: relative;
}

.nav-cart .count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #fff;
}

/* -------------------------------------------------------------------- */
/* Hero — carrossel                                                      */
/* -------------------------------------------------------------------- */
.hero-carousel {
  position: relative;
  height: min(640px, 86vh);
  min-height: 460px;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 22, 16, .86) 0%, rgba(20, 22, 16, .55) 42%, rgba(20, 22, 16, .18) 75%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: var(--ink-on-dark);
  max-width: 620px;
  padding: 0 80px;
  margin-right: auto;
  margin-left: 0;
  width: 100%;
}

.hero-slide-content .eyebrow {
  color: var(--accent);
}

.hero-slide-content h1 {
  color: var(--ink-on-dark);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  margin: .3em 0 .32em;
}

.hero-slide-content p.lede {
  color: var(--ink-on-dark-soft);
  font-size: 16.5px;
  max-width: 44ch;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-carousel .btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero-carousel .btn-primary:hover {
  background: #d9fb63;
}

.hero-carousel .btn-outline {
  border-color: rgba(244, 245, 238, .4);
  color: var(--ink-on-dark);
}

.hero-carousel .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(244, 245, 238, .35);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.hero-dot span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
}

.hero-dot.is-active span {
  transform: translateX(0);
  transition: transform 6s linear;
}

.hero-arrows {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 245, 238, .35);
  background: rgba(20, 22, 16, .35);
  backdrop-filter: blur(6px);
  color: var(--ink-on-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}

.hero-arrow:hover {
  background: rgba(20, 22, 16, .6);
  border-color: var(--accent);
}

.marquee {
  background: var(--sage-darker);
  color: var(--ink-on-dark-soft);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 245, 238, .08);
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.marquee-track span::after {
  content: '✦';
  color: var(--accent);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------------------- */
/* Vitrine e Filtros                                                     */
/* -------------------------------------------------------------------- */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 20px;
  flex-wrap: wrap;
}

.chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
}

.chip.active {
  background: var(--sage-darker);
  border-color: var(--sage-darker);
  color: #fff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--surface);
  min-width: 220px;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 64px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
  border-color: var(--sage-pale);
}

.product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f5;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hangtag {
  position: absolute;
  top: 12px;
  right: -46px;
  width: 150px;
  background: var(--sage-darker);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 6px 0;
  transform: rotate(40deg);
  box-shadow: var(--shadow-s);
  opacity: 0;
  transition: opacity .2s ease;
}

.product-card:hover .hangtag {
  opacity: 1;
}

.product-info {
  padding: 16px 16px 18px;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--sage-darker);
}

.price small {
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 400;
}

.stock-low {
  font-size: 11px;
  color: var(--danger);
  font-family: var(--font-mono);
}

/* -------------------------------------------------------------------- */
/* Modal genérico                                                        */
/* -------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 38, 31, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-l);
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-l);
  padding: 30px;
  position: relative;
}

.modal.modal-wide {
  max-width: 640px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* <--- Adicione apenas esta linha */
}

.modal-close:hover {
  background: var(--surface-soft);
}

.modal-product-media {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  background: #f4f4f5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.size-select {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.size-option {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}

.size-option.selected {
  background: var(--sage-darker);
  border-color: var(--sage-darker);
  color: #fff;
}

/* Cores do produto: dots na vitrine + seletor no modal */
.product-colors {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .15);
  display: inline-block;
}

.color-dot-more {
  font-size: 10.5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.color-select {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.color-option.selected {
  border-color: var(--sage-darker);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--sage-darker);
}

/* Carrossel de fotos dentro do modal de produto */
.media-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-s);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

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

.modal-media-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.media-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .6);
  padding: 0;
  cursor: pointer;
}

.media-dot.is-active {
  background: #fff;
}

/* -------------------------------------------------------------------- */
/* Formulários & Painéis                                                 */
/* -------------------------------------------------------------------- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-hint {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.form-error {
  background: var(--danger-bg);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-size: 13px;
  margin-bottom: 14px;
}

.form-success {
  background: var(--sage-pale-2);
  color: var(--sage-darker);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-size: 13px;
  margin-bottom: 14px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px;
}

.panel+.panel {
  margin-top: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* -------------------------------------------------------------------- */
/* Verificação em duas etapas (2FA)                                     */
/* -------------------------------------------------------------------- */
.twofa-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--border);
  color: var(--ink-faint);
}
.twofa-badge.on {
  background: var(--sage-pale-2);
  color: var(--sage-darker);
}
.twofa-badge.off {
  background: var(--danger-bg);
  color: var(--danger);
}

.twofa-steps {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.7;
}

.twofa-qr-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-soft, #f7f7f5);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 18px;
  margin-bottom: 18px;
}
.twofa-qr-wrap img {
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--border);
}
.twofa-secret {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  word-break: break-all;
}

.twofa-backup-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.twofa-backup-list li {
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
  background: var(--bg-soft, #f7f7f5);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  letter-spacing: 0.5px;
}

.twofa-confirm-form {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

/* -------------------------------------------------------------------- */
/* Autenticação & Carrinho                                              */
/* -------------------------------------------------------------------- */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-m);
}

.auth-tabs {
  display: flex;
  background: var(--surface-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 26px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.auth-tab.active {
  background: var(--surface);
  color: var(--sage-darker);
  box-shadow: var(--shadow-s);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 40px 0 80px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 78px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-s);
  background: var(--surface-soft);
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 15.5px;
}

.cart-item-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 6px;
  width: fit-content;
  margin-top: 8px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 13px;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
}

.cart-item-remove {
  font-size: 11px;
  color: var(--danger);
  margin-top: 6px;
  display: inline-block;
}

.receipt {
  font-family: var(--font-mono);
  font-size: 13px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.receipt-row.total {
  border-bottom: none;
  border-top: 1px solid var(--ink);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sage-darker);
}

.receipt-row.discount span:last-child {
  color: var(--ok);
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-row input {
  flex: 1;
}

/* -------------------------------------------------------------------- */
/* Perfil & Admin                                                        */
/* -------------------------------------------------------------------- */
.avatar-editor {
  text-align: center;
  margin-bottom: 26px;
}

.avatar-editor img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2px solid var(--sage-pale);
  background: var(--surface-soft);
}

.avatar-editor-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.avatar-editor .form-hint {
  margin-top: 8px;
}

.nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
  border: 1px solid rgba(0, 0, 0, .08);
  vertical-align: -6px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 40px 0 80px;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 92px;
}

.profile-nav button {
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--radius-s);
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 13.5px;
}

.profile-nav button.active {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--sage-darker);
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--sage-pale-2);
  color: var(--sage-darker);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  padding: 32px 0 80px;
  align-items: start;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-strong);
}

.admin-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table img {
  width: 40px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-table .actions {
  display: flex;
  gap: 6px;
}

.tag-active {
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: 11px;
}

.tag-inactive {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* -------------------------------------------------------------------- */
/* Explorador de produtos (painel admin)                                */
/* -------------------------------------------------------------------- */
.explorer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.breadcrumb button {
  padding: 5px 9px;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
}

.breadcrumb button:hover {
  background: var(--surface-soft);
  color: var(--sage-darker);
}

.breadcrumb button.current {
  color: var(--ink);
  cursor: default;
}

.breadcrumb button.current:hover {
  background: transparent;
}

.breadcrumb .crumb-sep {
  color: var(--ink-faint);
  font-size: 11px;
}

.breadcrumb.drop-target button.current {
  background: var(--sage-light, #E4E9DA);
  outline: 2px dashed var(--sage-dark);
}

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.explorer-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 8px 10px;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  cursor: default;
  user-select: none;
}

.explorer-item:hover {
  background: var(--surface-soft);
  border-color: var(--border);
}

.explorer-item.drag-over {
  background: var(--sage-light, #E4E9DA);
  border-color: var(--sage-dark);
}

.explorer-item.dragging {
  opacity: .4;
}

.explorer-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--sage-dark, #8FA07A);
  margin-bottom: 6px;
}

.explorer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.explorer-icon .fa-folder {
  color: #D9B65C;
}

.explorer-item.inactive .explorer-icon img {
  opacity: .45;
}

.explorer-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.explorer-label[contenteditable="true"] {
  outline: 1px solid var(--sage-dark);
  background: var(--surface);
  border-radius: 4px;
  -webkit-line-clamp: unset;
}

.explorer-sub {
  font-size: 10.5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  margin-top: 3px;
}

.explorer-item-menu {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .12s ease;
}

.explorer-item:hover .explorer-item-menu,
.explorer-item-menu.open {
  opacity: 1;
}

.explorer-item-menu:hover {
  color: var(--sage-darker);
  background: var(--surface-soft);
}

.explorer-dropdown {
  position: absolute;
  top: 30px;
  right: 4px;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
  min-width: 152px;
  padding: 6px;
  text-align: left;
}

.explorer-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
}

.explorer-dropdown button:hover {
  background: var(--surface-soft);
}

.explorer-dropdown button.danger {
  color: var(--danger);
}

.explorer-dropdown button.danger:hover {
  background: var(--danger-bg);
}

.explorer-dropdown hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 5px 2px;
}

.mover-lista {
  max-height: 340px;
  overflow-y: auto;
  margin-top: 6px;
}

.mover-lista button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 10px;
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.mover-lista button:hover {
  background: var(--surface-soft);
}

.mover-lista button.current {
  color: var(--sage-darker);
  font-weight: 700;
}

.mover-lista button i {
  width: 16px;
  color: #D9B65C;
}

.tabs-simple {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.tabs-simple button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.tabs-simple button.active {
  background: var(--sage-darker);
  border-color: var(--sage-darker);
  color: #fff;
}

/* -------------------------------------------------------------------- */
/* Outros (Toast, Estado Vazio, etc)                                    */
/* -------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--sage-darker);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: var(--shadow-l);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: var(--danger);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.empty-state .eyebrow {
  display: block;
  margin-bottom: 10px;
}

/* =========================================================================
   Novas seções — site institucional
   ========================================================================= */

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-dark {
  background: var(--grad-hero);
  color: var(--ink-on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--ink-on-dark);
}

.section-dark .eyebrow {
  color: var(--accent);
}

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

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: .25em 0 0;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 10px 0 0;
}

.section-dark .section-head p {
  color: var(--ink-on-dark-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-tile {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  background: var(--surface-soft);
  box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.category-tile:hover img {
  transform: scale(1.07);
}

.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 16, 0) 40%, rgba(20, 22, 16, .78) 100%);
}

.category-tile-label {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
  width: 100%;
}

.category-tile-label .cat-name {
  font-family: var(--font-display);
  font-size: 19px;
  display: block;
}

.category-tile-label .cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244, 245, 238, .75);
}

.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track>* {
  scroll-snap-align: start;
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
}

.carousel-nav {
  display: flex;
  gap: 10px;
  margin-top: -4px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.carousel-btn:hover {
  background: var(--sage-darker);
  border-color: var(--sage-darker);
  color: #fff;
}

.carousel-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.section-dark .carousel-btn {
  background: transparent;
  border-color: rgba(244, 245, 238, .3);
  color: var(--ink-on-dark);
}

.section-dark .carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}

.stat-item {
  text-align: left;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--ink-on-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-on-dark-soft);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--accent);
  background: var(--sage-darker);
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  margin-bottom: 14px;
  letter-spacing: .1em;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 18px;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-soft);
}

.testimonial-name {
  font-weight: 600;
  font-size: 13px;
}

.testimonial-role {
  font-size: 11.5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.newsletter-banner {
  background: var(--grad-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  color: var(--accent-ink);
}

.newsletter-banner h2 {
  color: var(--accent-ink);
  font-size: clamp(24px, 2.8vw, 32px);
}

.newsletter-banner p {
  color: rgba(35, 43, 20, .75);
  max-width: 42ch;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(35, 43, 20, .25);
  background: rgba(255, 255, 255, .55);
  outline: none;
}

.newsletter-form .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
  white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
  background: #131a09;
}

.site-footer-rich {
  background: var(--grad-hero);
  color: var(--ink-on-dark-soft);
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(244, 245, 238, .12);
}

.footer-brand .brand {
  color: var(--ink-on-dark);
}

.footer-brand p {
  color: var(--ink-on-dark-soft);
  font-size: 13px;
  max-width: 32ch;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 245, 238, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-on-dark);
  transition: background .15s ease, border-color .15s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.footer-col h4 {
  color: var(--ink-on-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 13.5px;
  padding: 6px 0;
  color: var(--ink-on-dark-soft);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 12px;
  color: var(--ink-on-dark-soft);
  flex-wrap: wrap;
  gap: 10px;
}

.about-hero {
  padding: 84px 0 60px;
  background: var(--grad-hero);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.about-hero h1 {
  color: var(--ink-on-dark);
  font-size: clamp(32px, 5vw, 56px);
  margin: .3em 0 .35em;
}

.about-hero p {
  color: var(--ink-on-dark-soft);
  font-size: 17px;
  max-width: 54ch;
  margin: 0 auto;
}

.about-hero .eyebrow {
  color: var(--accent);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}

.about-split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-l);
}

.about-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split-media .float-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(250, 250, 248, .92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  box-shadow: var(--shadow-m);
}

.about-split-media .float-card .stat-num {
  color: var(--sage-darker);
  font-size: 26px;
}

.about-split-media .float-card .stat-label {
  color: var(--ink-soft);
}

.about-split.reverse {
  direction: rtl;
}

.about-split.reverse>* {
  direction: ltr;
}

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sage-pale-2);
  color: var(--sage-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border-strong);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-step .step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-darker);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.timeline-step h4 {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.timeline-step p {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.about-gallery>*:nth-child(1) {
  grid-row: span 2;
}

.about-gallery>*:nth-child(4) {
  grid-row: span 2;
}

.about-cta {
  text-align: center;
  padding: 70px 0 90px;
}

.about-cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.about-cta p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 10px auto 26px;
}

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 2px;
}

/* ==================================================================== */
/* Responsividade Clássica Organizada (Desktop, Tablet e Mobile)        */
/* ==================================================================== */

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

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

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

  .newsletter-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-split,
  .about-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

  .timeline::before {
    display: none;
  }

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

  .carousel-track>* {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 880px) {
  body {
    padding-bottom: 90px;
  }
  .site-footer-rich {
    padding-bottom: 100px; /* Adicionamos o espaço no rodapé para ele esticar a cor escura até o fim */
  }

  .hero-carousel {
    height: 520px;
    min-height: 420px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .cart-layout,
  .profile-layout,
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-nav {
    flex-direction: row;
    overflow-x: auto;
    position: static;
    margin-bottom: 16px;
  }

  /* ------------------------------------------------------------------ */
  /* REMOÇÃO DO ESPAÇO EM BRANCO NO TOPO                                */
  /* ------------------------------------------------------------------ */
  .site-header {
    position: absolute;
    /* Tira o header do fluxo, matando o espaço em branco */
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header .container {
    height: 0;
    padding: 0;
    overflow: visible;
    justify-content: center;
  }

  .brand {
    display: none !important;
  }

  .main-nav .nav-link span.label {
    display: none;
  }

  /* ------------------------------------------------------------------ */
  /* NAVBAR LIQUID GLASS FLUTUANTE E MENOR                              */
  /* ------------------------------------------------------------------ */
  .site-header .main-nav {
    pointer-events: auto;
    position: fixed;
    bottom: 16px;
    /* Um pouco mais baixa */
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 320px;
    /* Barra mais estreita */
    display: flex;
    justify-content: space-around;
    padding: 6px 12px;
    /* Espaçamento menor */
    z-index: 1000;
    border-radius: 999px;
    background: rgba(36, 38, 31, 0.45);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }

  .site-header .main-nav .nav-link {
    color: #fff;
    font-size: 16px;
    /* Ícones menores */
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    /* Botões menores */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-scrolled .main-nav {
    background: rgba(250, 250, 248, 0.90);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(36, 38, 31, 0.15);
  }

  .site-header.is-scrolled .main-nav .nav-link {
    color: var(--ink-soft);
  }

  .site-header .main-nav .nav-link.active,
  .site-header.is-scrolled .main-nav .nav-link.active {
    background: var(--accent) !important;
    color: var(--accent-ink) !important;
  }

  .nav-cart .count {
    top: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    font-size: 9px;
    min-width: 15px;
  }

  /* ------------------------------------------------------------------ */
  /* PAINEL ADMIN: TABELA EM FORMATO DE CARDS NO CELULAR                */
  /* ------------------------------------------------------------------ */
  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-m);
    padding: 16px;
    margin-bottom: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-s);
  }

  .admin-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    text-align: right;
  }

  .admin-table td:last-child {
    border-bottom: none;
    justify-content: center;
    padding-top: 16px;
  }

  .admin-table td .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #tbody-produtos td:nth-child(1) {
    justify-content: center;
    border-bottom: none;
    padding-bottom: 16px;
  }

  #tbody-produtos td:nth-child(1) img {
    width: 90px;
    height: auto;
    border-radius: 8px;
  }

  #tbody-produtos td:nth-child(2)::before {
    content: "Nome";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-produtos td:nth-child(3)::before {
    content: "Categoria";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-produtos td:nth-child(4)::before {
    content: "Preço";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-produtos td:nth-child(5)::before {
    content: "Tamanhos";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-produtos td:nth-child(6)::before {
    content: "Estoque";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-produtos td:nth-child(7)::before {
    content: "Status";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-cupons td:nth-child(1)::before {
    content: "Código";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-cupons td:nth-child(2)::before {
    content: "Tipo";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-cupons td:nth-child(3)::before {
    content: "Valor";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-cupons td:nth-child(4)::before {
    content: "Expira";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #tbody-cupons td:nth-child(5)::before {
    content: "Status";
    font-weight: 600;
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .tabs-simple {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tabs-simple::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 560px) {

  /* Ajusta o padding geral para as bordas do celular */
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  /* Vitrine em 2 colunas para manter formato de loja no celular */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 32px;
  }

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

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .price {
    font-size: 14px;
  }

  .hangtag {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slide-content h1 {
    font-size: 28px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .receipt-row.total {
    font-size: 14px;
  }

  .carousel-track>* {
    flex: 0 0 70%;
    min-width: 70%;
  }

  /* CORREÇÃO DO FIQUE POR DENTRO (NEWSLETTER) */
  .newsletter-banner {
    padding: 32px 20px;
    /* Reduz o espaço interno para não espremer */
  }

  .newsletter-form {
    flex-direction: column;
    /* Coloca o botão embaixo do input */
    width: 100%;
  }

  .newsletter-form .btn-primary {
    width: 100%;
    /* Faz o botão preencher o espaço bonito */
  }

  /* Modais mais compactos em telas pequenas */
  .modal {
    padding: 22px 18px;
    border-radius: var(--radius-m);
  }

  .modal.modal-wide {
    max-width: 100%;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  /* Editor de avatar um pouco mais compacto */
  .avatar-editor img {
    width: 84px;
    height: 84px;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ==================================================================== */
/* Responsividade da Seção Interativa de Medidas (Sobre)                */
/* ==================================================================== */
.modelo-3d-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.modelo-3d-viewer {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

/* Reduz o tamanho do modelo 3D em tablets e celulares */
@media (max-width: 980px) {
  .modelo-3d-wrapper,
  .modelo-3d-viewer {
    min-height: 400px;
  }
}
/* ==================================================================== */
/* Correção forçada do Espaço Branco abaixo do Footer (Mobile)          */
/* ==================================================================== */
@media (max-width: 880px) {
  body {
    padding-bottom: 0 !important;
  }
  
  .site-footer-rich {
    padding-bottom: 110px !important;
  }
}