/* ==========================================================================
   TIWSHIRTS — ESTILOS OFICIAIS DA HOME (ZERO SUPPORT.JS / ZERO FOUC)
   ========================================================================== */
@font-face {
  font-family: 'Lemon Milk';
  src: url('/assets/fonts/lemon_milk/LEMONMILK-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('/assets/fonts/lemon_milk/LEMONMILK-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('/assets/fonts/lemon_milk/LEMONMILK-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel/Cinzel-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080808;
  --surface: #121212;
  --surface-2: #0d0d0d;
  --text: #F5F5F5;
  --dim: #A1A1AA;
  --muted: #9A9AA3;
  --sand: #C5A880;
  --green-brand: #2D5A27;
  --green-aa: #4ade80;
  --danger: #f87171;
  --warn: #f59e0b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --mono: 'JetBrains Mono', monospace;
  --display: 'Lemon Milk', sans-serif;
  --serif: 'Cinzel', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(197, 168, 128, 0.45); }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: var(--green-brand); color: var(--text); }
a { color: var(--sand); }
a:hover { color: var(--text); }
a, button, summary { touch-action: manipulation; }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; animation: none; }
}

.eyebrow {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green-aa);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.eyebrow-sand {
  color: var(--sand);
}

/* Navbar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 5vw;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.25) 75%, transparent);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav-brand img { height: 30px; width: auto; }
.nav-brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.15em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #D1D1D6;
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-b2b { color: var(--sand); font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-rad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 8, 8, 0.16) 0%, rgba(8, 8, 8, 0.72) 100%);
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.42) 0%, transparent 26%, transparent 64%, rgba(8, 8, 8, 0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--sand);
  margin: 0 0 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}
.hero-logo {
  width: min(440px, 68vw);
  height: auto;
  margin: 0 auto;
  display: block;
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--text);
  margin: 24px auto 0;
  max-width: 620px;
  font-style: italic;
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}
.hero-sub span {
  color: #D4D4DC;
  font-size: 0.68em;
  font-style: normal;
  letter-spacing: 0.03em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-cta {
  text-decoration: none;
  padding: 16px 32px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.hero-cta:hover { color: var(--bg); opacity: 0.92; }
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  z-index: 2;
}

/* Lookbook */
.section-lookbook { padding: 110px 5vw 100px; }
.section-head { margin-bottom: 52px; }
.lookbook-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}
.look-card {
  position: relative;
  grid-column: span 1;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.look-card.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}
.look-card-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.look-card-media {
  position: absolute;
  inset: 0;
  display: flex;
}
.look-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.look-card-media.split img:first-child { width: 50%; }
.look-card-media.split img:last-child {
  width: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.look-card-btn:hover .look-card-media img,
.look-card-btn:focus-visible .look-card-media img {
  transform: scale(1.05);
}
.look-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.05) 36%, transparent 60%);
  pointer-events: none;
}
.look-card-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  pointer-events: none;
}
.look-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sand);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.look-card-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
}
.look-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.look-card-price {
  font-family: var(--mono);
  font-size: 12px;
  color: #D4D4DC;
  margin-top: 0;
}
.look-card-cta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* Below-the-fold performance */
#linhas, #manual, #atacado, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* Linhas & Modelagem */
.section-linhas {
  padding: 80px 5vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.linhas-head { margin-bottom: 40px; }
.linhas-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.linhas-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 700px;
  margin: 0;
  line-height: 1.6;
}
.linhas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.linha-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-2);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.linha-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.linha-media img { width: 100%; height: 100%; object-fit: cover; }
.linha-price-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-brand);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 600;
}
.linha-body { display: flex; flex-direction: column; flex-grow: 1; }
.linha-name {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}
.linha-desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
  margin: 0 0 16px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: auto;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 11px;
  min-width: 260px;
}
.size-table th {
  text-align: left;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #B4B4BC;
}
.size-table td {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.size-table td:first-child { font-weight: 600; }

.linhas-measure-tip {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--surface-2);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 4px;
}
.linhas-measure-head {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.linhas-measure-tip p {
  margin: 0;
  font-size: 13px;
  color: #B4B4BC;
  line-height: 1.6;
}

/* Pote Showcase */
.showcase-pote-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.showcase-hero-img {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}
.showcase-hero-img img, .showcase-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-side { display: flex; flex-direction: column; gap: 16px; }
.showcase-side-img {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex: 1;
  min-height: 160px;
}
.showcase-details {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 14px 18px;
}
.showcase-thumbs { display: flex; gap: 10px; flex-shrink: 0; }
.showcase-thumbs img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.showcase-copy {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #B4B4BC;
  line-height: 1.6;
}

/* Manual & Atacado */
.section-manual {
  padding: 120px 5vw;
  position: relative;
  overflow: hidden;
}
.manual-bg { position: absolute; inset: 0; }
.manual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
}
.manual-bg-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 8, 8, 0.97) 0%, rgba(8, 8, 8, 0.78) 55%, rgba(8, 8, 8, 0.58) 100%);
}
.manual-body { position: relative; z-index: 2; max-width: 640px; }
.manual-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 52px);
  margin: 0 0 20px;
  text-transform: uppercase;
  line-height: 1.1;
}
.manual-copy {
  color: #B4B4BC;
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 32px;
}
.btn-alabaster {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.btn-alabaster:hover { color: var(--bg); opacity: 0.92; }

.section-atacado {
  padding: 80px 5vw;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(45, 90, 39, 0.08) 0%, transparent 100%);
  text-align: center;
}
.atacado-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.atacado-copy {
  font-size: 14px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.btn-green-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--green-brand);
  color: var(--text);
  border: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
}
.btn-green-lg:hover { filter: brightness(1.08); }

/* Footer */
.site-footer {
  padding: 70px 5vw 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.1em;
}
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.footer-link {
  display: block;
  text-decoration: none;
  color: #D1D1D6;
  font-size: 13px;
  margin-bottom: 6px;
}
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.footer-bottom a { text-decoration: none; }

/* Floating Coupon & Cart Pills */
.float-coupon-pill {
  position: fixed;
  bottom: 78px;
  right: 24px;
  z-index: 89;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(12, 12, 12, 0.94);
  color: var(--green-aa);
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.float-coupon-pill.visible { display: flex; }

.float-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--green-brand);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.float-cart-count {
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 700;
}

/* Modal Backdrops */
.tiw-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 4, 4, 0.94);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tiw-backdrop.open { display: flex; }
.tiw-backdrop--cart { z-index: 120; }
.tiw-backdrop--b2b { z-index: 110; }

/* Editorial Gallery Product Modal */
.tiw-modal-shell {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: min(1240px, 94vw);
  height: min(88vh, 800px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.72fr 1fr;
}
.tiw-modal-gallery {
  position: relative;
  background: #060606;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.tiw-modal-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.tiw-modal-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pm-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: #D1D1D6;
  letter-spacing: 0.08em;
}
.tiw-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.tiw-nav-arrow:hover { background: rgba(197, 168, 128, 0.22); border-color: var(--sand); }
.tiw-thumb-strip {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: #0A0A0A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  flex-shrink: 0;
}
.pm-thumb-btn {
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.45;
  width: 54px;
  height: 54px;
  overflow: hidden;
}
.pm-thumb-btn.active { opacity: 1; border: 2px solid var(--sand); }
.pm-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiw-modal-sidebar {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  min-height: 0;
}
.pm-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 0;
  letter-spacing: 0.1em;
}
.pm-action-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--sand);
  font-family: var(--mono);
  font-size: 10.5px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.pm-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 8px;
}
.pm-desc {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #A1A1AA;
  line-height: 1.65;
  margin: 0;
}
.pm-buy-box {
  margin-top: auto;
  background: #0B0B0B;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pm-buy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}
.pm-buy-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.pm-price { font-family: var(--display); font-size: 18px; color: var(--text); }
.pm-swatch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pm-swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pm-swatch {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  overflow: hidden;
}
.pm-swatch.unavailable { opacity: 0.45; }
.pm-swatch.unavailable::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 50%;
  height: 2px;
  background: rgba(245, 158, 11, 0.88);
  transform: rotate(-35deg);
  pointer-events: none;
}
.pm-lines { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-line-btn {
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #B4B4BC;
  cursor: pointer;
  border-radius: 4px;
}
.pm-line-btn.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.pm-line-btn.unavailable {
  opacity: 0.62;
  border-style: dashed;
}
.pm-line-btn.unavailable.active {
  opacity: 0.94;
  background: #1e1a14;
  border-color: var(--warn);
  color: var(--text);
}
.pm-combo-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 4px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pm-combo-alert-msg {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #fbbf24;
  line-height: 1.45;
}
.pm-combo-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pm-fix-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.45);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 4px;
  cursor: pointer;
}
.pm-fix-btn:hover {
  background: rgba(197, 168, 128, 0.2);
  border-color: var(--sand);
}
.pm-sizes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-size-guide-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.pm-size-guide-btn:hover { color: var(--text); }
.pm-size-guide-panel {
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 11px;
}
.sg-wrap { display: flex; flex-direction: column; gap: 9px; }
.sg-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sg-tab {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.sg-tab.active {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--bg);
  font-weight: 700;
}
.sg-note { font-size: 11px; color: var(--dim); line-height: 1.45; }
.sg-table-wrap { width: 100%; overflow-x: auto; }
.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 10.5px;
}
.sg-table th, .sg-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 7px;
  text-align: left;
}
.sg-table th { color: var(--sand); font-size: 9.5px; letter-spacing: 0.04em; }
.sg-table td { color: var(--text); }
.sg-table tr.sg-row-active td {
  background: rgba(197, 168, 128, 0.16);
  color: #fff;
  font-weight: 700;
}
.sg-how {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sg-svg {
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px;
}
.sg-how-text { font-size: 10.5px; color: var(--dim); line-height: 1.5; }
.sg-how-text strong { color: var(--text); }
.sg-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
}
.pm-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-size-btn {
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #B4B4BC;
  cursor: pointer;
}
.pm-size-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pm-size-btn.imm { border-color: rgba(74, 222, 128, 0.45); color: var(--green-aa); }
.pm-size-btn.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}
.pm-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
}
.pm-status-badge.imm {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green-aa);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.pm-status-badge.d3 {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.pm-status-badge.pre {
  background: rgba(197, 168, 128, 0.14);
  color: var(--sand);
  border: 1px solid rgba(197, 168, 128, 0.35);
}
.pm-btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
}
.pm-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pm-bag-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(197, 168, 128, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.pm-bag-btn:hover {
  border-color: var(--sand);
  color: var(--sand);
  background: rgba(197, 168, 128, 0.08);
}
.pm-bag-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lead-lines {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lead-line-sub { color: var(--muted); }
.home-toast {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 150;
  background: #18181c;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--green-aa);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(360px, calc(100vw - 48px));
}
.home-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.pm-ship-box {
  padding: 10px;
  background: #090909;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.pm-trust {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

/* Cart Drawer & B2B Modal */
.tiw-drawer-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.drawer-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
}
.cart-item-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  padding: 12px;
}
.qty-ctrl {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
}
.cart-box-panel {
  margin-top: 12px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.tiw-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
}
.tiw-input:focus { border-color: var(--sand); }
.tiw-input-mono { font-family: var(--mono); font-size: 12px; }
.ck-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ck-grid-name-cpf {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
}
.ship-opt-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px 11px;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg);
  color: #D1D1D6;
  text-align: left;
}
.ship-opt-btn.active {
  border-color: var(--green-aa);
  background: rgba(74, 222, 128, 0.12);
  color: var(--green-aa);
}
.ip-banner {
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-aa);
  line-height: 1.5;
}
.lgpd-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 11.5px;
  color: #D1D1D6;
  line-height: 1.45;
  cursor: pointer;
}
.lgpd-box input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--green-aa);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .linhas-grid { grid-template-columns: 1fr; }
  .showcase-pote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .site-nav { padding: 14px 4vw; }
  .nav-links { gap: 14px; font-size: 10.5px; }
  .tiw-modal-shell {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }
  .tiw-modal-gallery {
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .tiw-modal-stage { height: 48vh; min-height: 280px; }
  .tiw-modal-sidebar { padding: 18px; overflow-y: visible; }
}
@media (max-width: 768px) {
  .nav-links a.hide-sm { display: none; }
  .lookbook-grid { grid-template-columns: 1fr; }
  .look-card, .look-card.wide {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }
}
@media (max-width: 480px) {
  .site-nav { padding: 12px 16px; }
  .nav-brand img { height: 22px; }
  .nav-brand span { font-size: 16px; }
  .nav-links { gap: 10px; font-size: 9.5px; }
  .ck-grid-2, .ck-grid-name-cpf { grid-template-columns: 1fr; }
  .tiw-drawer-card { padding: 20px 16px; }
}
