/*
Theme Name: BB Bags
Description: Tema proprio leve para bb-bags.pt. Dez linguas por rotas, formulario em tres passos ligado ao plugin BB Leads, consentimento antes do Google. Sem construtor de paginas. Direcao visual 0.4.1, variante vintage e castanhos, textos nas 10 linguas, fotos otimizadas.
Version: 0.4.1
Requires PHP: 8.1
Text Domain: bbbags
*/

/* BB Bags Design Direction Stylesheet
   Base architecture: bb-headwear.com
   Editorial direction: Quiet luxury, high-contrast neutral palette, single signature accent
*/

:root {
  --bg-white: #FFFFFF;
  --bg-ivory: #F2EFE9;
  --bg-pedestal: #FAF9F6;
  --ink-black: #0B0B0B;
  --ink-body: #333333;
  --ink-muted: #6B6B6B;
  --line-hair: #E6E5E1;
  --line-dark: #262626;
  --accent-pine: #1E352B;
  --accent-pine-hover: #15261F;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Work Sans', system-ui, -apple-system, sans-serif;

  --wrap-max: 1320px;
  --pad-x: 48px;
  --sec-y: 128px;
  --radius: 0px;

  /* Compatibilidade com o tema 0.1.x */
  --bg: var(--bg-white);
  --soft: var(--bg-ivory);
  --card: var(--bg-white);
  --ink: var(--ink-black);
  --ink2: var(--ink-body);
  --mut: var(--ink-muted);
  --line: var(--line-hair);
  --acc: var(--ink-black);
  --acc2: var(--accent-pine);
  --ok: #2f7a4a;
  --err: #b3261e;
  --f1: var(--font-serif);
  --f2: var(--font-sans);
  --w: var(--wrap-max);
  --r: 0px;
  --radius: 0px;

  /* Extensao pele 0.3.0 */
  --leather-cognac: #8C5230;
  --leather-cognac-hover: #744225;
  --leather-cognac-edge: #63371E;
  --leather-tabaco: #4B3629;
  --leather-tabaco-hover: #3B2A1F;
  --leather-tabaco-edge: #312219;
  --leather-preto: #181716;
  --leather-preto-hover: #100F0E;
  --leather-preto-edge: #2B2927;
  --leather-stitch: #B68B65;
  --tex-cognac: url('assets/leather-aged-cognac-512.webp');
  --tex-tabaco: url('assets/leather-aged-tabaco-512.webp');
  --tex-preto: url('assets/leather-aged-chocolate-512.webp');
  --tex-preto-band: url('assets/leather-aged-chocolate-1200.webp');
  --tex-tabaco-band: url('assets/leather-aged-tabaco-1200.webp');
  --tex-stitch: url('assets/pesponto-vintage.svg');
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-white);
  color: var(--ink-black);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.serif em {
  font-style: italic;
  font-weight: 300;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Buttons and Discreet CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink-black);
  color: var(--bg-white);
  border: 1px solid var(--ink-black);
  border-radius: var(--radius);
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
  background: var(--accent-pine);
  border-color: var(--accent-pine);
}

.btn.ghost {
  background: transparent;
  color: var(--ink-black);
  border-color: var(--ink-black);
}

.btn.ghost:hover {
  background: var(--ink-black);
  color: var(--bg-white);
}

.btn.light {
  background: var(--bg-white);
  color: var(--ink-black);
  border-color: var(--bg-white);
}

.btn.light:hover {
  background: var(--bg-ivory);
  border-color: var(--bg-ivory);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-black);
  border-bottom: 1px solid var(--ink-black);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-link:hover {
  color: var(--accent-pine);
  border-color: var(--accent-pine);
}

/* BB Bags: Extensao Pele 0.3.0 */
.stitch {
  display: block;
  width: 100%;
  height: 6px;
  background-image: var(--tex-stitch);
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.85;
}

.leather-edge {
  position: relative;
  border-top: 3px solid var(--leather-cognac-edge);
  box-shadow: 0 18px 44px rgba(24, 23, 22, 0.05);
}

.leather-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 4px;
  background: var(--leather-cognac) var(--tex-cognac) repeat;
  background-size: 256px 256px;
}

.leather-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--leather-tabaco) var(--tex-tabaco) repeat;
  background-size: 220px 220px;
  color: #F2EFE9;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--leather-tabaco-edge);
  box-shadow: 0 4px 12px rgba(24, 23, 22, 0.14);
}

.leather-tag::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px dashed rgba(242, 239, 233, 0.34);
  pointer-events: none;
}

.leather-tag.cognac {
  background: var(--leather-cognac) var(--tex-cognac) repeat;
  background-size: 220px 220px;
  border-color: var(--leather-cognac-edge);
}

.btn-leather {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--leather-preto) var(--tex-preto) repeat;
  background-size: 256px 256px;
  color: #FFFFFF;
  border: 1px solid var(--leather-preto-edge);
  border-radius: 0px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(24, 23, 22, 0.14);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.btn-leather::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(182, 139, 101, 0.38);
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.btn-leather:hover {
  background: var(--leather-tabaco) var(--tex-tabaco) repeat;
  background-size: 256px 256px;
  border-color: var(--leather-tabaco-edge);
}

.btn-leather:hover::after {
  border-color: rgba(242, 239, 233, 0.5);
}

.btn-leather:focus-visible {
  outline: 2px solid #1E352B;
  outline-offset: 3px;
}

.btn-leather.cognac {
  background: var(--leather-cognac) var(--tex-cognac) repeat;
  background-size: 256px 256px;
  border-color: var(--leather-cognac-edge);
}

.btn-leather.cognac:hover {
  background: var(--leather-cognac-hover) var(--tex-cognac) repeat;
}

.leather-band {
  background-color: var(--leather-preto);
  background-image: var(--tex-preto-band);
  background-size: 1200px 400px;
  background-repeat: repeat;
  color: #FFFFFF;
  border-top: 1px solid var(--leather-preto-edge);
  border-bottom: 1px solid var(--leather-preto-edge);
}

.hd .btn-leather {
  padding: 12px 22px;
  font-size: 11px;
}

.hero-r .leather-tag {
  position: absolute;
  left: 32px;
  top: 28px;
  z-index: 2;
}

.hero-r .inset {
  outline: 1px solid var(--leather-cognac);
}

.piece-frame {
  position: relative;
}

.piece:hover .piece-frame {
  border-bottom-color: var(--leather-cognac);
}

.piece-frame .leather-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}

.pl .stitch {
  margin: 28px 0 0;
}

.conf .im {
  border: 1px solid var(--leather-tabaco-edge);
}

.conf .im .leather-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}

.product-stage .leather-tag {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
}

.swatch i.tex-cognac {
  background: var(--leather-cognac) var(--tex-cognac) center/80px;
}

.swatch i.tex-tabaco {
  background: var(--leather-tabaco) var(--tex-tabaco) center/80px;
}

.swatch i.tex-preto {
  background: var(--leather-preto) var(--tex-preto) center/80px;
}


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-hair);
}

.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo span {
  font-weight: 300;
  color: var(--ink-muted);
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hd nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hd nav a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.hd nav a:hover,
.hd nav a.on {
  border-bottom-color: var(--ink-black);
}

.hd-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switch {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hd .btn {
  padding: 12px 22px;
  font-size: 11.5px;
}

.burger {
  display: none;
  width: 24px;
  height: 12px;
  border-top: 1.5px solid var(--ink-black);
  border-bottom: 1.5px solid var(--ink-black);
}

/* Split Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 760px;
  border-bottom: 1px solid var(--line-hair);
}

.hero-l {
  padding: 64px 56px 44px max(var(--pad-x), calc((100vw - var(--wrap-max)) / 2 + var(--pad-x)));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero h1 {
  font-size: clamp(46px, 4.6vw, 70px);
  line-height: 1.02;
  margin: 24px 0 24px;
  color: var(--ink-black);
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--ink-body);
  max-width: 450px;
  font-weight: 300;
  line-height: 1.65;
}

.hero .ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  border-top: 1px solid var(--line-hair);
  padding-top: 22px;
  margin-top: 44px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.hero-meta b {
  display: block;
  color: var(--ink-black);
  font-weight: 500;
  font-size: 13.5px;
  margin-top: 2px;
}

.hero-r {
  position: relative;
  background: var(--bg-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  overflow: hidden;
}

.hero-r .main-frame {
  width: 78%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-r .main-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-r .inset {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 168px;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--bg-white);
  background: var(--bg-white);
  box-shadow: 0 18px 40px rgba(11, 11, 11, 0.14);
  overflow: hidden;
}

.hero-r .inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-r .cap {
  position: absolute;
  left: 32px;
  top: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Dark Metrics Strip (copied from bb-headwear .nums) */
.nums {
  background: var(--ink-black);
  color: var(--bg-white);
}

.nums .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.num {
  padding: 46px 28px 42px;
  border-right: 1px solid var(--line-dark);
}

.num:first-child {
  padding-left: 0;
}

.num:last-child {
  border-right: 0;
}

.num .v {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 46px;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}

.num .k {
  margin-top: 14px;
  font-size: 13px;
  color: #A7A7A7;
  line-height: 1.45;
  max-width: 24ch;
}

/* Generic Editorial Sections */
section.s {
  padding: var(--sec-y) 0;
}

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

section.s.dark {
  background: var(--ink-black);
  color: var(--bg-white);
}

.sh {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.sh h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.05;
  margin-top: 16px;
}

.sh-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.sh-side p {
  color: var(--ink-body);
  font-size: 16px;
  font-weight: 300;
  max-width: 440px;
}

/* Gallery Grid (no heavy boxed cards) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

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

.piece {
  display: flex;
  flex-direction: column;
}

.piece-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-pedestal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  margin-bottom: 20px;
  overflow: hidden;
}

.piece-frame img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.45s ease;
}

.piece:hover .piece-frame img {
  transform: scale(1.03);
}

.piece-meta {
  border-top: 1px solid var(--line-hair);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.piece-meta .k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.piece-meta h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.piece-meta p {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 300;
}

.piece-meta .cta-link {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 11.5px;
}

/* Placeholder Neutral Frame for Missing Real Photos */
.photo-placeholder {
  width: 100%;
  height: 100%;
  border: 1px dashed #B9B4AA;
  background: var(--bg-pedestal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
}

.photo-placeholder b {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-black);
}

.photo-placeholder span {
  font-size: 12.5px;
  color: var(--ink-muted);
  max-width: 24ch;
  line-height: 1.45;
}

/* Atelier / Private Label Split (copied from bb-headwear .pl) */
.pl {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-white);
  border: 1px solid var(--line-hair);
}

.pl .im {
  position: relative;
  background: var(--bg-pedestal);
  display: grid;
  grid-template-rows: 1fr auto;
}

.pl .im-main {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl .im-main img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pl .im-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-hair);
}

.pl .im-strip figure {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.pl .im-strip figure:first-child {
  border-right: 1px solid var(--line-hair);
}

.pl .im-strip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex: none;
}

.pl .im-strip figcaption {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.pl .im-strip figcaption b {
  display: block;
  color: var(--ink-black);
  font-weight: 500;
  font-size: 12.5px;
}

.pl .tx {
  padding: 68px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line-hair);
}

.pl h3 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.05;
  margin: 16px 0 18px;
}

.pl .tx > p {
  color: var(--ink-body);
  font-weight: 300;
  font-size: 15.5px;
}

.spec-list {
  list-style: none;
  margin: 28px 0 36px;
  border-top: 1px solid var(--line-hair);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-hair);
  font-size: 14.5px;
}

.spec-list li span:first-child {
  color: var(--ink-muted);
  font-size: 13px;
}

.spec-list li span:last-child {
  text-align: right;
  font-weight: 400;
  color: var(--ink-black);
}

/* Confidentiality Section (copied from bb-headwear .conf) */
.conf .g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.conf .eyebrow {
  color: #8D8D8D;
}

.conf h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  margin: 18px 0 24px;
}

.conf p {
  color: #BDBDBD;
  font-weight: 300;
  font-size: 16.5px;
  max-width: 480px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
  margin-top: 42px;
}

.pillars div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.pillars div:nth-child(odd) {
  padding-right: 24px;
}

.pillars b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--bg-white);
}

.pillars span {
  color: #9A9A9A;
  font-size: 13.5px;
  font-weight: 300;
}

.conf .im {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #171717;
}

.conf .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.conf .im-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(11, 11, 11, 0.78);
  color: var(--bg-white);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Certifications Hairline Band (copied from bb-headwear .certs) */
.certs {
  border-bottom: 1px solid var(--line-hair);
  padding: 56px 0;
}

.certs .g {
  display: grid;
  grid-template-columns: 240px repeat(3, 1fr);
  align-items: center;
}

.cert-intro {
  padding-right: 24px;
}

.cert-intro p {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.cert {
  border-left: 1px solid var(--line-hair);
  padding: 8px 32px;
}

.cert b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}

.cert span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Quiet Closing CTA */
.closing-cta {
  padding: 116px 0;
}

.closing-cta .g {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.closing-cta h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  margin-top: 16px;
}

.closing-cta p {
  color: var(--ink-body);
  font-weight: 300;
  font-size: 16.5px;
  max-width: 440px;
  margin-bottom: 28px;
}

.closing-cta .ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Footer (copied from bb-headwear footer) */
footer.site-footer {
  position: relative;
  background: var(--bg-ivory);
  padding: 84px 0 36px;
  border-top: 4px solid var(--leather-tabaco);
}

footer.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 4px;
  background: var(--leather-tabaco) var(--tex-tabaco-band) repeat-x left center;
  background-size: 1200px 400px;
}

footer.site-footer .stitch {
  margin-bottom: 48px;
  opacity: 0.55;
}

.ft {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.ft .logo {
  font-size: 22px;
}

.ft p {
  color: var(--ink-muted);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.6;
}

.ft h4 {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.ft ul {
  list-style: none;
  font-size: 14px;
  line-height: 2.15;
}

.ft a:hover {
  color: var(--accent-pine);
}

.fb {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #DCD8CF;
  margin-top: 60px;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-muted);
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   PRODUCT PAGE STYLES (produto.html)
   ========================================================= */
.breadcrumb {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-hair);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

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

.breadcrumb span.sep {
  margin: 0 10px;
  color: #C2BEB5;
}

.product-hero {
  padding: 56px 0 112px;
  border-bottom: 1px solid var(--line-hair);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-stage {
  aspect-ratio: 4 / 5;
  background: var(--bg-pedestal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}

.product-stage img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

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

.thumb {
  aspect-ratio: 1;
  background: var(--bg-pedestal);
  border: 1px solid var(--line-hair);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.thumb.active {
  border-color: var(--accent-pine);
}

.thumb img.cut {
  width: 85%;
  height: 85%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.thumb img.crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-placeholder {
  padding: 6px;
  border-style: dashed;
  border-color: #B9B4AA;
}

.thumb .photo-placeholder {
  border: 0;
  padding: 6px;
}

.thumb .photo-placeholder b {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.thumb .photo-placeholder span {
  font-size: 10px;
}

.product-info {
  position: sticky;
  top: 112px;
}

.product-info h1 {
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 1.04;
  margin: 14px 0 18px;
}

.product-info .summary {
  font-size: 16px;
  color: var(--ink-body);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 28px;
}

.swatch-row {
  padding: 20px 0;
  border-top: 1px solid var(--line-hair);
}

.swatch-row .label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: block;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-hair);
  font-size: 13px;
  color: var(--ink-body);
}

.swatch.on {
  border-color: var(--accent-pine);
  color: var(--ink-black);
  font-weight: 500;
}

.swatch i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid rgba(11, 11, 11, 0.2);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.product-actions .btn {
  width: 100%;
}

.product-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 6px;
}

/* Details & Materials Trio */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.detail-item .im {
  aspect-ratio: 4 / 3;
  background: var(--bg-pedestal);
  overflow: hidden;
  margin-bottom: 18px;
}

.detail-item .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-item h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}

.detail-item p {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 300;
}

/* =========================================================
   MOBILE 390px RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  :root {
    --pad-x: 22px;
    --sec-y: 72px;
  }

  .hd {
    height: 66px;
  }

  .hd nav,
  .hd .btn,
  .hd .btn-leather,
  .lang-switch {
    display: none;
  }

  .logo span {
    display: none;
  }

  .hd-actions {
    gap: 14px;
    flex-shrink: 0;
  }

  .burger,
  .menu-btn {
    display: block;
    flex-shrink: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero .ctas .btn-leather {
    width: 100%;
  }

  .hero-r .leather-tag {
    left: 20px;
    top: 18px;
  }

  .hero-l {
    padding: 40px var(--pad-x) 36px;
  }

  .hero h1 {
    font-size: 40px;
    margin: 16px 0 18px;
  }

  .hero p.lead {
    font-size: 15.5px;
  }

  .hero .ctas {
    gap: 18px;
    margin-top: 26px;
  }

  .hero .ctas .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-top: 32px;
  }

  .hero-r {
    padding: 44px 24px 64px;
    min-height: 400px;
  }

  .hero-r .cap {
    display: none;
  }

  .hero-r .main-frame {
    width: 82%;
  }

  .hero-r .inset {
    width: 108px;
    right: 16px;
    bottom: 16px;
    border-width: 4px;
  }

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

  .num {
    padding: 28px 16px;
    border-bottom: 1px solid var(--line-dark);
  }

  .num:first-child {
    padding-left: 16px;
  }

  .num:nth-child(2n) {
    border-right: 0;
  }

  .num .v {
    font-size: 34px;
  }

  .sh {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .gallery-grid,
  .gallery-grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .pl .im-main {
    padding: 32px;
  }

  .pl .im-strip {
    grid-template-columns: 1fr;
  }

  .pl .im-strip figure:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-hair);
  }

  .pl .tx {
    padding: 36px 24px;
    border-left: 0;
    border-top: 1px solid var(--line-hair);
  }

  .conf .g {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .pillars div:nth-child(odd) {
    padding-right: 0;
  }

  .certs {
    padding: 44px 0;
  }

  .certs .g {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cert {
    border-left: 0;
    border-top: 1px solid var(--line-hair);
    padding: 20px 0 0;
  }

  .closing-cta {
    padding: 72px 0;
  }

  .closing-cta .g {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ft {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-hero {
    padding: 32px 0 64px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-stage {
    padding: 28px;
  }

  .product-thumbs {
    gap: 10px;
  }

  .product-info {
    position: static;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* WordPress extras: skip link, language switch, form, FAQ, consent, 404 */

.skip{position:absolute;left:-999px}
.skip:focus{left:12px;top:12px;z-index:99;background:#fff;padding:8px 12px;outline:2px solid var(--accent-pine);outline-offset:3px}

.btn:focus-visible,.btn-leather:focus-visible,.cta-link:focus-visible,.hd nav a:focus-visible,.bb-ls-btn:focus-visible{
  outline:2px solid var(--accent-pine);
  outline-offset:3px;
}

/* Language switch: text only, no pill */
.bb-ls{position:relative}
.bb-ls-btn{
  display:flex;align-items:center;gap:6px;
  background:transparent;border:0;padding:0;
  font-family:var(--font-sans);font-size:12px;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:var(--ink-black);cursor:pointer;
}
.bb-ls-name{display:none;font-weight:300;letter-spacing:0.08em;text-transform:none;color:var(--ink-muted)}
.bb-ls-list{
  position:absolute;right:0;top:calc(100% + 10px);
  background:#fff;border:1px solid var(--line-hair);
  list-style:none;margin:0;padding:6px 0;min-width:210px;
  max-height:70vh;overflow:auto;z-index:50;
  box-shadow:0 16px 40px rgba(11,11,11,.06);
}
.bb-ls-list a{display:flex;gap:12px;padding:8px 14px;font-size:14px;font-weight:400;letter-spacing:0}
.bb-ls-list a:hover,.bb-ls-list a:focus{background:var(--bg-ivory);outline:0}
.bb-ls-list a.on{font-weight:500}
.bb-ls-list .c{font-weight:500;width:24px;color:var(--ink-muted);letter-spacing:0.08em}

/* Burger (keeps existing .menu-btn hook in site.js) */
.menu-btn{display:none;background:none;border:0;padding:8px;cursor:pointer;color:var(--ink-black);width:36px;height:36px}
.menu-btn svg{display:none}
.menu-btn:before,.menu-btn:after{content:"";display:block;width:18px;height:1px;background:var(--ink-black);margin:5px auto}

/* FAQ (kept for existing answers, quieter than 0.1.3) */
.faq{max-width:860px;margin-top:24px}
.faq details{border-bottom:1px solid var(--line-hair);padding:4px 0}
.faq summary{cursor:pointer;list-style:none;font-family:var(--font-serif);font-size:24px;font-weight:400;letter-spacing:-0.01em;padding:20px 40px 20px 0;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:6px;top:16px;font-size:24px;font-weight:300;color:var(--ink-muted)}
.faq details[open] summary:after{content:"\2212"}
.faq details p{margin:0 0 22px;color:var(--ink-body);font-weight:300}

/* Quote form */
.qwrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start;padding:72px 0 120px}
.qform{background:#fff;border:1px solid var(--line-hair);border-radius:0;padding:36px}
.steps{display:flex;gap:8px;margin:0 0 26px;padding:0;list-style:none}
.steps li{flex:1;font:500 11.5px/1.3 var(--font-sans);letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-muted);border-top:1px solid var(--line-hair);padding-top:10px}
.steps li.on{color:var(--ink-black);border-color:var(--ink-black)}
.steps li.done{border-color:var(--accent-pine)}
.fs{border:0;margin:0;padding:0}
.fs[hidden]{display:none}
.fs legend{font-family:var(--font-serif);font-weight:300;font-size:28px;letter-spacing:-0.02em;margin-bottom:18px;padding:0}
.f{margin:0 0 18px}
.f label,.f .lb{display:block;font-weight:500;font-size:13px;letter-spacing:0.04em;margin-bottom:7px}
.f .req{color:var(--accent-pine)}
.f input[type=text],.f input[type=email],.f input[type=tel],.f input[type=number],.f input[type=date],.f select,.f textarea{
  width:100%;font:300 16px/1.4 var(--font-sans);padding:13px 14px;border:1px solid var(--line-hair);border-radius:0;background:#fff;color:var(--ink-black)
}
.f input:focus,.f select:focus,.f textarea:focus{outline:0;border-color:var(--accent-pine)}
.f .hint{font-size:13px;color:var(--ink-muted);margin-top:6px}
.f .err{font-size:13px;color:var(--err);margin-top:6px}
.f.bad input,.f.bad select,.f.bad textarea{border-color:var(--err)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips label{display:flex;align-items:center;gap:8px;border:1px solid var(--line-hair);border-radius:0;padding:10px 16px;font-weight:400;font-size:14px;cursor:pointer;margin:0}
.chips input{accent-color:var(--accent-pine)}
.chips label:has(input:checked){border-color:var(--ink-black);background:var(--bg-ivory)}
.drop{border:1px dashed #c8c4bc;border-radius:0;padding:24px;text-align:center;background:var(--bg-ivory);cursor:pointer}
.drop strong{display:block;font-weight:500}
.drop.has{border-style:solid;border-color:var(--ok);background:#f3f8f4}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:14.5px}
.chk input{margin-top:4px;accent-color:var(--accent-pine)}
.fnav{display:flex;justify-content:space-between;gap:12px;margin-top:26px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ferr{background:#fdecea;color:var(--err);padding:12px 14px;font-size:15px;margin:0 0 16px}
.side h2{font-family:var(--font-serif);font-weight:300;font-size:clamp(32px,3.4vw,48px);letter-spacing:-0.02em}
.side ol{padding-left:20px;color:var(--ink-body)}
.side li{margin-bottom:10px}
.ph-hero{padding:72px 0 0}
.prose{max-width:820px;padding:40px 0 80px;color:var(--ink-body)}
.prose h2{font-size:28px;margin-top:1.6em}
.prose table{width:100%;border-collapse:collapse;font-size:15px;margin:18px 0}
.prose th,.prose td{border-bottom:1px solid var(--line-hair);padding:12px 10px;text-align:left;vertical-align:top}
.notice{background:var(--bg-ivory);border:1px solid var(--line-hair);padding:14px 18px;font-size:15px;color:var(--ink-body);margin:0 0 26px}

/* Consent banner */
.cc{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line-hair);border-radius:0;box-shadow:0 20px 50px rgba(11,11,11,.12);padding:20px 22px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:14.5px}
.cc p{margin:0;flex:1 1 320px}
.cc .b{display:flex;gap:10px}
.cc .btn{padding:11px 18px}

[hidden]{display:none!important}
h1,h2,h3{overflow-wrap:break-word}

@media (max-width:1020px){
  .qwrap{grid-template-columns:1fr;padding-top:48px}
}
@media (max-width:900px){
  .menu-btn{display:block}
  .hd nav{display:none}
  .hd nav.open{display:block;position:absolute;top:66px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line-hair);padding:18px var(--pad-x) 28px}
  .hd nav.open ul{flex-direction:column;gap:16px}
  .hd .btn,.hd .btn-leather{display:none}
  .bb-ls{margin-left:auto}
  .row2{grid-template-columns:1fr}
  .qform{padding:24px 20px}
}


/* BB Bags: Variante Vintage e Castanhos (sobrepoe tokens do tema 0.3.0) */
:root {
  /* Novos tokens vintage */
  --vintage-cream: #F6F0E4;
  --vintage-parchment: #EDE4D3;
  --vintage-pedestal: #FBF7EE;
  --vintage-espresso: #231812;
  --vintage-ink-body: #3E2D23;
  --vintage-ink-muted: #5C4739;
  --vintage-line: #D8CCB8;
  --vintage-line-dark: #433025;

  --vintage-cognac: #7A4222;
  --vintage-cognac-hover: #63341A;
  --vintage-cognac-edge: #582E16;
  --vintage-tabaco: #4A3325;
  --vintage-tabaco-hover: #3B281C;
  --vintage-tabaco-edge: #312016;
  --vintage-chocolate: #2E1F17;
  --vintage-chocolate-edge: #433025;
  --vintage-stitch: #C9A479;
  --vintage-light-muted: #D6C7B2;

  /* Texturas relativas ao diretorio do tema/assets */
  --tex-paper: url('assets/paper-parchment-512.webp');
  --tex-cognac: url('assets/leather-aged-cognac-512.webp');
  --tex-tabaco: url('assets/leather-aged-tabaco-512.webp');
  --tex-chocolate: url('assets/leather-aged-chocolate-512.webp');
  --tex-chocolate-band: url('assets/leather-aged-chocolate-1200.webp');
  --tex-tabaco-band: url('assets/leather-aged-tabaco-1200.webp');
  --tex-stitch: url('assets/pesponto-vintage.svg');

  /* Sobreposicao direta dos tokens existentes no tema 0.3.0 */
  --bg-white: var(--vintage-cream);
  --bg-ivory: var(--vintage-parchment);
  --bg-pedestal: var(--vintage-pedestal);
  --ink-black: var(--vintage-espresso);
  --ink-body: var(--vintage-ink-body);
  --ink-muted: var(--vintage-ink-muted);
  --line-hair: var(--vintage-line);
  --line-dark: var(--vintage-line-dark);
  --accent-pine: var(--vintage-cognac);
  --accent-pine-hover: var(--vintage-cognac-hover);

  --bg: var(--vintage-cream);
  --soft: var(--vintage-parchment);
  --card: var(--vintage-cream);
  --ink: var(--vintage-espresso);
  --ink2: var(--vintage-ink-body);
  --mut: var(--vintage-ink-muted);
  --line: var(--vintage-line);
  --acc: var(--vintage-chocolate);
  --acc2: var(--vintage-cognac);

  --leather-cognac: var(--vintage-cognac);
  --leather-cognac-hover: var(--vintage-cognac-hover);
  --leather-cognac-edge: var(--vintage-cognac-edge);
  --leather-tabaco: var(--vintage-tabaco);
  --leather-tabaco-hover: var(--vintage-tabaco-hover);
  --leather-tabaco-edge: var(--vintage-tabaco-edge);
  --leather-preto: var(--vintage-chocolate);
  --leather-preto-hover: var(--vintage-tabaco);
  --leather-preto-edge: var(--vintage-chocolate-edge);
  --leather-stitch: var(--vintage-stitch);
  --tex-preto: var(--tex-chocolate);
  --tex-preto-band: var(--tex-chocolate-band);
}

body {
  background-color: var(--vintage-cream);
  background-image: var(--tex-paper);
  background-size: 512px 512px;
  background-repeat: repeat;
  color: var(--vintage-espresso);
}

.site-header {
  background: rgba(246, 240, 228, 0.96);
}

.leather-band {
  background-color: var(--vintage-chocolate);
  background-image: var(--tex-chocolate-band);
  color: var(--vintage-cream);
}

.num .v,
.conf h2,
.pillars b {
  color: var(--vintage-cream);
}

.num .k,
.conf p,
.pillars span {
  color: var(--vintage-light-muted);
}

.conf .eyebrow {
  color: var(--vintage-stitch);
}

.btn-leather {
  background: var(--vintage-chocolate) var(--tex-chocolate) repeat;
  background-size: 256px 256px;
  color: var(--vintage-cream);
  border-color: var(--vintage-chocolate-edge);
}

.btn-leather:hover {
  background: var(--vintage-tabaco) var(--tex-tabaco) repeat;
  background-size: 256px 256px;
  border-color: var(--vintage-tabaco-edge);
}

.btn-leather.cognac {
  background: var(--vintage-cognac) var(--tex-cognac) repeat;
  border-color: var(--vintage-cognac-edge);
}

.btn-leather.cognac:hover {
  background: var(--vintage-cognac-hover) var(--tex-cognac) repeat;
}

.conf .im img {
  filter: sepia(0.18) contrast(1.03) brightness(0.95);
}

/* Superficies e recortes (mockups vintage) */
section.s.parchment,
section.s.ivory {
  background-color: var(--vintage-parchment);
}

.leather-tag {
  color: var(--vintage-cream);
}

.hero-r .main-frame img,
.piece-frame img,
.pl .im-main img,
.product-stage img,
.thumb img.cut {
  mix-blend-mode: multiply;
}

.swatch i.tex-chocolate {
  background: var(--vintage-chocolate) var(--tex-chocolate) center/80px;
}

/* Fotos ainda nao tratadas: filtro CSS da especificacao */
img.vintage-photo,
img[src*="assets/img/"]:not([src*="-vintage"]) {
  filter: sepia(0.18) contrast(0.94) brightness(1.01) saturate(0.88);
}

/* Foco visivel: cognac no lugar do pinho hardcoded */
.btn-leather:focus-visible,
.btn:focus-visible,
.cta-link:focus-visible,
.hd nav a:focus-visible,
.bb-ls-btn:focus-visible,
.skip:focus {
  outline: 2px solid var(--vintage-cognac);
  outline-offset: 3px;
}

/* Formulario, consentimento e brancos hardcoded: so a cor, mesma estrutura */
.skip:focus,
.qform,
.f input,
.f select,
.f textarea,
.cc,
.hd nav.open {
  background: var(--vintage-cream);
}

.cc {
  box-shadow: 0 20px 50px rgba(35, 24, 18, 0.12);
}

.btn.ghost:hover {
  background: var(--vintage-cognac);
  border-color: var(--vintage-cognac);
  color: var(--vintage-cream);
}
