/* ===================================================================
   UNRUSH - Garage Files
   Estilos principais v2026.09.18
   =================================================================== */

/* Fontes */
@font-face {
  font-family: 'Helvena';
  src: url('fonts/Helvena-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('fonts/Helvena-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('fonts/Helvena-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('fonts/Helvena-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('fonts/Helvena-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Brigends';
  src: url('fonts/brigends.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Rushic';
  src: url('fonts/Rushic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Frintake';
  src: url('fonts/Frintake.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* Variáveis CSS */
:root {
  --ink: #10100f;
  --paper: #f1eee7;
  --soft: #ded9cf;
  --red: #d63b30;
  --red-light: #e8a398;
  --red-dark: #a92d26;
  --muted: #817d74;
  --muted-light: #b4afa6;
  --muted-dark: #57544d;
  --line: rgba(16, 16, 15, 0.18);
  --line-light: rgba(241, 238, 231, 0.4);
  --sans: 'Helvena', Arial, sans-serif;
  --racing: 'Brigends', 'Helvena', sans-serif;
  --condensed: 'Rushic', 'Helvena', sans-serif;
  --script: 'Frintake', cursive;
  
  /* Transições */
  --transition-fast: 0.15s ease;
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
  
  /* Espaçamentos */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 1000px;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.modal-open {
  overflow: hidden;
}

/* Tipografia */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

::selection {
  background: var(--red);
  color: var(--paper);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--red);
  color: var(--paper);
  font: 12px var(--racing);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 100;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 78px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: clamp(25px, 5vw, 90px);
  color: var(--paper);
  border-bottom: 1px solid rgba(241, 238, 231, 0.22);
  background: rgba(16, 16, 15, 0.24);
  backdrop-filter: blur(10px);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(16, 16, 15, 0.95);
  border-color: rgba(241, 238, 231, 0.35);
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-mark img {
  width: 120px;
  height: auto;
  transition: transform var(--transition-slow);
}

.site-header.scrolled .brand-mark img {
  width: 100px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 44px);
  margin-left: auto;
  font: 10px var(--racing);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  transition: color var(--transition), opacity var(--transition);
  opacity: 0.85;
}

.site-nav a:hover {
  color: var(--red);
  opacity: 1;
}

.site-nav a.active {
  color: var(--red);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--paper);
  opacity: 0.7;
  transition: all var(--transition);
}

.social-link:hover {
  opacity: 1;
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0;
  background: none;
  font: 10px var(--racing);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition);
}

.cart-button:hover {
  color: var(--red);
}

.cart-button b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: var(--paper);
  font: 11px var(--sans);
  transition: all var(--transition);
}

.cart-button:hover b {
  background: var(--red-dark);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================================
   BANNER DE FRETE GRÁTIS
   =================================================================== */
.free-shipping-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 5vw;
  background: var(--red);
  color: var(--paper);
  font: 11px/1.4 var(--racing);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.free-shipping-banner strong {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.free-shipping-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 2s linear;
}

.free-shipping-banner:hover::before {
  left: 100%;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  max-height: 960px;
  display: flex;
  align-items: flex-end;
  padding: 150px 8vw 86px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.78;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(16, 16, 15, 0.9) 0%, rgba(16, 16, 15, 0.5) 43%, rgba(16, 16, 15, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 16, 15, 0.82), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--red);
  font: 10px var(--racing);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font: clamp(82px, 12vw, 180px)/0.78 var(--racing);
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hero h1 em,
.section-intro h2 em,
.story-copy h2 em,
.contact h2 em {
  font-family: var(--script);
  font-style: normal;
  letter-spacing: 0;
}

.hero-description {
  max-width: 310px;
  margin: 48px 0 0;
  color: #d0cbc1;
  font-size: 16px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  padding: 15px 19px;
  font: 11px var(--racing);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.4s ease;
}

.button:hover::before {
  left: 100%;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

.button-red {
  background: var(--red);
  color: var(--paper);
}

.button-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

.text-action {
  display: inline-flex;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  font: 11px var(--racing);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.text-action:hover {
  color: var(--red);
  border-color: var(--red);
  gap: 16px;
}

.hero-meta {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 8vw;
  right: 8vw;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #b4afa6;
  font: 10px var(--racing);
  letter-spacing: 0.1em;
}

.hero-rule {
  height: 1px;
  flex: 1;
  background: rgba(241, 238, 231, 0.4);
}

/* ===================================================================
   SEÇÕES
   =================================================================== */
.section-shell {
  padding: 120px 8vw;
}

.section-intro {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start;
  gap: 26px;
}

.section-index {
  color: var(--red);
  font: 12px var(--racing);
  letter-spacing: 0.08em;
}

.section-index span {
  color: var(--muted);
}

.section-intro .eyebrow {
  margin: 0 0 22px;
}

.section-intro h2 {
  margin: 0;
  font: clamp(58px, 8vw, 120px)/0.84 var(--racing);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.section-note {
  margin: 0;
  max-width: 190px;
  color: #625f58;
  font: 24px/0.95 var(--condensed);
}

/* Coleção */
.collection {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 18px;
  margin-top: 76px;
}

.product-card {
  position: relative;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

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

.product-visual {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vw, 610px);
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #2c2a26;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-slow);
}

.product-card:not(.product-card-featured) .product-visual {
  height: clamp(330px, 34vw, 500px);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition);
}

.product-card-featured .product-visual img {
  object-position: center 30%;
}

.product-visual:hover img,
.product-visual:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.product-visual:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 16, 15, 0.7), transparent 40%);
  pointer-events: none;
}

.file-number,
.product-quick {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  color: var(--paper);
  font: 10px var(--racing);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.file-number {
  left: 18px;
}

.product-quick {
  right: 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.product-quick span {
  font: 16px var(--sans);
}

.product-visual:hover .product-quick,
.product-visual:focus-visible .product-quick {
  opacity: 1;
  transform: none;
}

.product-card-info {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
}

.product-card-info h3 {
  margin: 0;
  font: 15px var(--racing);
  font-weight: 400;
  transition: color var(--transition);
}

.product-card:hover .product-card-info h3 {
  color: var(--red);
}

.product-card-info p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-card-info strong {
  white-space: nowrap;
  font: 12px var(--racing);
  font-weight: 400;
}

/* Story Band */
.story-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--ink);
  color: var(--paper);
}

.story-image {
  min-height: 680px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  align-self: center;
  padding: 80px 10vw 80px 7vw;
}

.story-copy h2,
.contact h2 {
  max-width: 530px;
  margin: 0;
  font: clamp(48px, 6vw, 88px)/0.86 var(--racing);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.story-copy > p:not(.eyebrow) {
  max-width: 380px;
  margin: 38px 0;
  color: #c5c0b7;
  font-size: 16px;
  line-height: 1.5;
}

.story-copy .text-action {
  color: var(--paper);
}

/* Processo */
.process {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8vw;
  margin-top: 70px;
}

.process-main {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #252421;
}

.process-main img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.process-main span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: var(--paper);
  font: 10px var(--racing);
  letter-spacing: 0.1em;
}

.process-copy {
  align-self: center;
  max-width: 380px;
}

.process-copy > p {
  color: #57544d;
  font-size: 15px;
  line-height: 1.5;
}

.process-copy dl {
  margin: 45px 0 0;
  border-top: 1px solid var(--line);
}

.process-copy dl div {
  display: flex;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.process-copy dt {
  color: var(--red);
  font: 11px var(--racing);
}

.process-copy dd {
  margin: 0;
  font: 12px var(--racing);
  text-transform: uppercase;
}

/* Journal */
.journal {
  background: var(--paper);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 68px;
}

.journal-grid article img {
  width: 100%;
  height: clamp(300px, 42vw, 580px);
  object-fit: cover;
}

.journal-grid article p {
  margin: 17px 0 10px;
  color: var(--muted);
  font: 10px var(--racing);
  letter-spacing: 0.09em;
}

.journal-grid article h3 {
  margin: 0;
  font: clamp(25px, 3vw, 42px)/0.95 var(--racing);
  font-weight: 400;
}

/* Contato */
.contact {
  background: var(--red);
  color: var(--ink);
}

.contact .eyebrow {
  color: #7f2723;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8vw;
  margin-top: 60px;
}

.contact-layout > div {
  align-self: end;
  max-width: 330px;
}

.contact-layout > div > p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 30px 5vw;
  background: var(--ink);
  color: #a8a39a;
  font: 9px var(--racing);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer img {
  width: 102px;
}

.site-footer a:last-child {
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social a {
  font: 11px var(--racing);
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-social a:hover {
  opacity: 1;
}

.footer-top {
  font: 10px var(--racing);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.footer-top:hover {
  color: var(--red);
}

/* ===================================================================
   MODAL DE PRODUTO
   =================================================================== */
.modal-layer[hidden] {
  display: none;
}

.modal-layer {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 16, 15, 0.82);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(980px, 94vw);
  max-height: min(720px, 90vh);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.35s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-full);
  background: var(--paper);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
  transform: rotate(90deg);
}

.modal-photo {
  min-height: 590px;
  background: #292724;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.modal-product-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 590px;
  background: #f8f6f2;
}

.gallery-zoom-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: zoom-in;
  background: #f8f6f2;
}

.gallery-zoom-stage img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: contain;
  padding: 18px;
  transition: transform var(--transition-slow);
  transform-origin: center;
}

.modal-product-gallery:hover .gallery-zoom-stage img,
.modal-product-gallery:focus-within .gallery-zoom-stage img {
  transform: scale(1.75);
}

.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 14px;
  background: #f8f6f2;
}

.gallery-arrow {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: all var(--transition);
}

.gallery-arrow:hover {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.gallery-thumb {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 64px;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  padding: 0;
}

.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px 55px;
  overflow: auto;
}

.modal-details .eyebrow {
  margin-bottom: 25px;
}

.modal-details h2 {
  margin: 0;
  font: clamp(40px, 5vw, 68px)/0.88 var(--racing);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.modal-details > p:not(.eyebrow):not(.modal-color) {
  margin: 28px 0;
  color: #5e5a53;
  font-size: 14px;
  line-height: 1.5;
}

.modal-color {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.detail-row,
.size-picker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.detail-row strong {
  font-weight: 400;
  text-align: right;
}

.size-picker {
  align-items: center;
  margin-top: 15px;
}

.size-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.size-guide-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: 10px var(--sans);
  color: #8a8680;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color var(--transition);
}

.size-guide-toggle:hover {
  color: var(--ink);
}

.size-picker > div {
  display: flex;
  gap: 5px;
}

.size-picker button {
  width: 36px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font: 11px var(--racing);
  transition: all var(--transition);
}

.size-picker button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.size-picker button.is-selected {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

.size-guide {
  display: none;
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 16px;
  background: #f8f6f2;
  border-left: 2px solid var(--red);
  animation: slideDown 0.25s ease;
}

.size-guide.is-open {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    height: 0;
    padding: 0;
  }
  to {
    opacity: 1;
    height: auto;
    padding: 16px;
  }
}

.size-guide table {
  width: 100%;
  border-collapse: collapse;
  font: 12px var(--sans);
}

.size-guide th,
.size-guide td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.size-guide th {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 10px;
  text-transform: uppercase;
}

.size-guide-tip {
  margin: 12px 0 0;
  font: 11px/1.5 var(--sans);
  color: #8a8680;
  font-style: italic;
}

.modal-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 33px;
}

.modal-buy > strong {
  font: 16px var(--racing);
  font-weight: 400;
  white-space: nowrap;
}

/* Modal Viewers */
.modal-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 7px 14px;
  background: #f0ede8;
  border-radius: var(--radius-sm);
  font: 11px/1 var(--sans);
  color: #6b6760;
  letter-spacing: 0.02em;
}

.modal-viewers svg {
  flex-shrink: 0;
}

/* Modal Scarcity */
.modal-scarcity {
  font: 11px var(--sans);
  letter-spacing: 0.03em;
  margin: 8px 0 0;
  min-height: 18px;
  transition: color var(--transition);
  color: var(--muted);
}

.modal-scarcity.is-urgent {
  color: var(--red);
  font-weight: 600;
}

.modal-scarcity.is-ok {
  color: #5b8c5a;
}

/* Modal Upsell */
.modal-upsell {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.upsell-label {
  font: 10px var(--racing);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8680;
  margin: 0 0 14px;
}

.upsell-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.upsell-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.upsell-card:hover {
  border-color: var(--ink);
  background: #f8f6f2;
  transform: translateX(2px);
}

.upsell-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f0ede8;
}

.upsell-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.upsell-card div span:first-child {
  font: 9px var(--racing);
  letter-spacing: 0.1em;
  color: #8a8680;
}

.upsell-card div strong {
  font: 12px/1.2 var(--sans);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upsell-card div span:last-child {
  font: 11px var(--sans);
  color: var(--red);
}

/* ===================================================================
   CARRINHO
   =================================================================== */
.cart-drawer {
  position: fixed;
  z-index: 400;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  background: var(--paper);
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.2);
  transform: translateX(105%);
  transition: transform var(--transition-slow);
}

.cart-drawer.is-open {
  transform: none;
}

.cart-backdrop {
  position: fixed;
  z-index: 350;
  inset: 0;
  background: rgba(16, 16, 15, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.cart-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.cart-head .eyebrow {
  margin: 0 0 14px;
}

.cart-head h2 {
  margin: 0;
  font: 38px var(--racing);
  font-weight: 400;
}

.cart-head > button {
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
  transition: color var(--transition);
}

.cart-head > button:hover {
  color: var(--red);
}

.cart-items {
  overflow: auto;
  flex: 1;
  margin: 20px 0;
}

.cart-empty {
  padding: 40px 0;
  text-align: center;
}

.cart-empty p {
  color: var(--muted);
}

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

.cart-item-image {
  width: 54px;
  height: 66px;
  object-fit: contain;
  background: #f8f6f2;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-item-info strong {
  font: 13px var(--sans);
  font-weight: 600;
}

.cart-item-info span {
  font: 11px var(--sans);
  color: #8a8680;
}

.cart-item-price {
  font: 13px var(--racing);
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  font: 10px var(--sans);
  color: #8a8680;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  margin-top: 4px;
  width: fit-content;
  transition: color var(--transition);
}

.cart-remove:hover {
  color: var(--red);
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-quantity button {
  margin: 0;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.cart-quantity button:hover {
  background: var(--ink);
  color: var(--paper);
}

.cart-quantity span {
  margin: 0;
  color: var(--ink);
  min-width: 20px;
  text-align: center;
}

.cart-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.cart-footer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-footer strong {
  font: 16px var(--racing);
  font-weight: 400;
}

.cart-footer .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-footer small {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 11px;
}

/* Barra de frete grátis */
.shipping-progress {
  margin: 18px 0 24px;
  padding: 14px 16px;
  background: #f8f6f2;
  border-radius: var(--radius-sm);
}

.shipping-label {
  font: 11px/1.5 var(--sans);
  color: #6b6760;
  margin: 0 0 10px;
  transition: color var(--transition);
}

.shipping-label strong {
  color: var(--ink);
}

.shipping-label.is-free {
  color: #5b8c5a;
}

.shipping-label.is-free strong {
  color: #5b8c5a;
}

.shipping-track {
  height: 4px;
  background: #e2dfd8;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.shipping-bar {
  height: 100%;
  background: var(--red);
  border-radius: var(--radius-sm);
  transition: width 0.45s ease;
}

.shipping-label.is-free ~ .shipping-track .shipping-bar,
.shipping-progress:has(.is-free) .shipping-bar {
  background: #5b8c5a;
}

/* ===================================================================
   RESPONSIVIDADE
   =================================================================== */
@media (max-width: 1200px) {
  .hero {
    max-height: 800px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 18px;
  }
  
  .story-band {
    grid-template-columns: 1fr;
  }
  
  .story-image {
    min-height: 500px;
  }
  
  .story-copy {
    padding: 60px 8vw;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .process-main {
    min-height: 450px;
  }
  
  .process-main img {
    min-height: 450px;
  }
  
  .journal-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-layout > div {
    max-width: 100%;
    align-self: start;
  }
  
  .product-modal {
    grid-template-columns: 1fr;
    width: min(800px, 94vw);
  }
  
  .modal-photo {
    min-height: 450px;
  }
  
  .modal-details {
    padding: 40px 55px;
  }
  
  .modal-product-gallery {
    min-height: 450px;
  }
  
  .gallery-zoom-stage img {
    min-height: 380px;
  }
}

@media (max-width: 800px) {
  .site-header {
    height: 65px;
    padding: 0 6vw;
  }
  
  .brand-mark img {
    width: 102px;
  }
  
  .site-nav {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    display: none;
    padding: 24px 7vw 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: var(--ink);
    border-top: 1px solid #353431;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  
  .site-nav.is-open {
    display: flex;
  }
  
  .cart-button span {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .social-link {
    display: none;
  }
  
  .hero {
    min-height: 680px;
    padding: 130px 7vw 75px;
    align-items: flex-end;
  }
  
  .hero-image {
    object-position: 58% center;
  }
  
  .hero-shade {
    background: 
      linear-gradient(90deg, rgba(16, 16, 15, 0.76), rgba(16, 16, 15, 0.12)),
      linear-gradient(0deg, rgba(16, 16, 15, 0.9), transparent 65%);
  }
  
  .hero h1 {
    font-size: 22vw;
  }
  
  .hero-description {
    margin-top: 38px;
  }
  
  .hero-actions {
    flex-wrap: wrap;
    gap: 22px;
  }
  
  .hero-meta {
    left: 7vw;
    right: 7vw;
    bottom: 24px;
    font-size: 9px;
  }
  
  .section-shell {
    padding: 78px 7vw;
  }
  
  .section-intro {
    grid-template-columns: 35px 1fr;
    gap: 15px;
  }
  
  .section-note {
    grid-column: 2;
    margin-top: 24px;
    font-size: 22px;
  }
  
  .section-intro h2 {
    font-size: 17vw;
  }
  
  .product-grid {
    display: block;
    margin-top: 48px;
  }
  
  .product-card,
  .product-card-featured {
    margin-bottom: 42px;
  }
  
  .product-visual,
  .product-card:not(.product-card-featured) .product-visual {
    height: 112vw;
    max-height: 560px;
  }
  
  .product-quick {
    opacity: 1;
    transform: none;
  }
  
  .product-card-info h3 {
    font-size: 13px;
  }
  
  .product-card-info p {
    font-size: 11px;
  }
  
  .story-band,
  .process-grid,
  .contact-layout {
    display: block;
  }
  
  .story-image {
    min-height: 110vw;
  }
  
  .story-copy {
    padding: 75px 7vw 85px;
  }
  
  .story-copy h2,
  .contact h2 {
    font-size: 17vw;
  }
  
  .process-grid {
    margin-top: 48px;
  }
  
  .process-main,
  .process-main img {
    min-height: 110vw;
  }
  
  .process-copy {
    padding-top: 42px;
  }
  
  .journal-grid {
    display: block;
    margin-top: 48px;
  }
  
  .journal-grid article {
    margin-bottom: 48px;
  }
  
  .journal-grid article img {
    height: 110vw;
  }
  
  .contact-layout {
    margin-top: 45px;
  }
  
  .contact-layout > div {
    margin-top: 40px;
  }
  
  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 28px 7vw;
    gap: 22px 12px;
  }
  
  .site-footer a:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .site-footer a:first-child img {
    width: 80px;
    margin: 0 auto;
  }
  
  .site-footer a:last-child {
    text-align: left;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .product-modal {
    display: block;
    width: 92vw;
    max-height: 90vh;
    overflow: auto;
  }
  
  .modal-photo,
  .modal-photo img {
    min-height: 95vw;
    height: 95vw;
  }
  
  .modal-details {
    padding: 40px 7vw 45px;
  }
  
  .modal-details h2 {
    font-size: 15vw;
  }
  
  .modal-buy {
    align-items: stretch;
    flex-direction: column;
  }
  
  .modal-buy .button {
    width: 100%;
  }
  
  .cart-drawer {
    padding: 30px 7vw;
  }
  
  .cart-head h2 {
    font-size: 32px;
  }
  
  .modal-product-gallery,
  .modal-product-gallery img {
    min-height: 95vw;
    height: 95vw;
  }
  
  .gallery-zoom-stage img {
    padding: 18px;
  }
  
  .gallery-controls {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 10px;
  }
  
  .gallery-arrow {
    width: 40px;
    height: 40px;
  }
  
  .gallery-thumb img {
    height: 52px;
  }
  
  .upsell-items {
    grid-template-columns: 1fr 1fr;
  }
  
  .upsell-card img {
    width: 44px;
    height: 44px;
  }
  
  .modal-upsell {
    margin-top: 20px;
    padding-top: 16px;
  }
  
  .shipping-progress {
    margin: 14px 0 18px;
  }
}

@media (max-width: 480px) {
  :root {
    --ink: #10100f;
    --paper: #f1eee7;
    font-size: 14px;
  }
  
  .hero {
    padding: 120px 5vw 60px;
  }
  
  .hero h1 {
    font-size: 28vw;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .button {
    padding: 12px 16px;
    font-size: 10px;
  }
  
  .section-shell {
    padding: 60px 5vw;
  }
  
  .section-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .section-index {
    text-align: left;
  }
  
  .section-note {
    grid-column: auto;
    margin-top: 16px;
    font-size: 20px;
  }
  
  .product-grid {
    gap: 32px;
  }
  
  .product-visual,
  .product-card:not(.product-card-featured) .product-visual {
    height: 120vw;
  }
  
  .story-image {
    min-height: 120vw;
  }
  
  .story-copy {
    padding: 60px 5vw 70px;
  }
  
  .process-main,
  .process-main img {
    min-height: 120vw;
  }
  
  .journal-grid article img {
    height: 120vw;
  }
  
  .product-modal {
    width: 96vw;
    max-height: 94vh;
  }
  
  .modal-photo,
  .modal-photo img {
    min-height: 92vw;
    height: 92vw;
  }
  
  .modal-details {
    padding: 32px 5vw 40px;
  }
  
  .modal-details h2 {
    font-size: 18vw;
  }
  
  .modal-description {
    margin: 20px 0 !important;
  }
  
  .modal-color {
    margin: 0 0 20px !important;
  }
  
  .modal-buy {
    margin-top: 24px;
  }
  
  .modal-upsell {
    margin-top: 20px;
    padding-top: 16px;
  }
  
  .size-picker {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .size-picker > div {
    justify-content: space-between;
  }
  
  .size-picker button {
    flex: 1;
    max-width: 70px;
  }
  
  .cart-drawer {
    width: 100vw;
    padding: 24px 5vw;
  }
  
  .cart-item {
    grid-template-columns: 44px 1fr auto;
  }
  
  .cart-item-image {
    width: 44px;
    height: 54px;
  }
  
  .cart-item-price {
    grid-column: 2 / -1;
    justify-self: end;
  }
  
  .cart-quantity {
    grid-column: 3;
    grid-row: 1;
  }
  
  .contact-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .free-shipping-banner {
    padding: 10px 4vw;
    font-size: 10px;
  }
  
  .site-footer {
    padding: 24px 5vw;
    gap: 16px;
  }
  
  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .footer-top {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}

/* ===================================================================
   ANIMAÇÕES E TRANSITIES ESPECÍFICAS
   =================================================================== */

/* Animação de pulse para o botão do carrinho */
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.cart-button.added-to-cart b {
  animation: cartPulse 0.4s ease;
}

/* Animação de loading */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Transição suave para o header */
.site-header {
  will-change: background, border-color;
}

/* ===================================================================
   UTILITÁRIOS
   =================================================================== */

/* Classes de utilidade */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scrollbar customizado */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f6f2;
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-dark);
}

/* Foco visível */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Reduzir motion para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
