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

:root {
  --ink: #171715;
  --paper: #f8f7f4;
  --linen: #efede7;
  --muted: #77736b;
  --line: #ddd9d0;
  --clay: #b65e43;
  --moss: #687061;
  --white: #fffefa;
  --display: 'Fraunces', serif;
  --sans: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

button, input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site {
  overflow: hidden;
}

.container {
  max-width: 1360px;
  padding: 0 36px;
  margin: 0 auto;
  width: 100%;
}

.display {
  font-family: var(--display);
  letter-spacing: -0.065em;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 100px 0;
}

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

.section-head h2 {
  font: 600 clamp(30px, 4.2vw, 56px)/0.98 var(--display);
  margin: 0;
  letter-spacing: -0.04em;
}

.section-link {
  font-size: 12px;
  border-bottom: 1px solid;
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: opacity 0.2s;
}

.section-link:hover {
  opacity: 0.6;
}

/* HEADER */
.header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.header.solid {
  position: fixed;
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font: 800 19px var(--display);
  letter-spacing: -0.08em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
}

.nav a {
  font-size: 12px;
  white-space: nowrap;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.nav a:hover, .nav a.active {
  opacity: 1;
}

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

.action {
  display: inline-flex;
  gap: 5px;
  background: none;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  color: inherit;
  font-size: 22px;
  padding: 8px;
}

/* HERO */
.hero {
  min-height: 640px;
  height: min(82vh, 800px);
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: #201a14;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transform: scale(1.02);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}

.hero:hover .hero-slide.active .hero-bg {
  transform: scale(1.02);
}

.hero-copy {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: 96px;
}

.hero h1 {
  max-width: 820px;
  font: 600 clamp(32px, 4.6vw, 68px)/1.04 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 12px;
}

.hero-bottom p {
  font-size: 16px;
  max-width: 540px;
  opacity: 0.95;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.hero-nav-bar {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero-nav-bar * {
  pointer-events: auto;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-counter {
  font: 600 13px var(--display);
  letter-spacing: 0.08em;
  color: #fffe;
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 24px;
  height: 3px;
  background: #fff5;
  border: 0;
  padding: 0;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--white);
  width: 42px;
}

.hero-controls {
  display: flex;
  gap: 10px;
}

.round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fffde7e6;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.round:hover {
  background: var(--white);
  transform: scale(1.06);
}

.round:active {
  transform: scale(0.96);
}

/* TICKER / INFINITE LOOP */
.ticker {
  background: var(--ink);
  color: var(--white);
  padding: 13px 0;
  overflow: hidden;
  user-select: none;
}

.ticker-viewport {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerInfinite 26s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  flex-shrink: 0;
}

.ticker-dot {
  opacity: 0.45;
  font-size: 8px;
}

@keyframes tickerInfinite {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* CATEGORIAS CAROUSEL (4 visíveis no PC) */
.category-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

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

.category-nav-controls {
  display: flex;
  gap: 8px;
}

.category-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.category-track {
  display: flex;
  gap: 14px;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.category-card {
  position: relative;
  min-height: 270px;
  height: 280px;
  overflow: hidden;
  background: var(--white);
  border-radius: 2px;
  flex: 0 0 calc((100% - (3 * 14px)) / 4); /* Exactly 4 visible */
  box-sizing: border-box;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,0.78) 0%, rgba(15,12,8,0.2) 50%, transparent 80%);
}

.category-label {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  color: white;
  font: 600 22px var(--display);
  letter-spacing: -0.04em;
}

/* NOVA SEÇÃO: FAVORITOS DOS ARQUITETOS (3 BLOCOS PC) */
.favoritos-section {
  background: #f1eee7;
  padding: 100px 0;
  border-block: 1px solid var(--line);
}

.favoritos-grid-pc {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.favoritos-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.favoritos-intro h2 {
  font: 600 clamp(32px, 3.8vw, 48px)/1.02 var(--display);
  letter-spacing: -0.04em;
  margin: 14px 0 20px;
}

.favoritos-intro p {
  color: #4f4c45;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.favoritos-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.btn-favoritos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s;
}

.btn-favoritos:hover {
  background: #33312b;
  transform: translateY(-2px);
}

.favoritos-controls {
  display: flex;
  gap: 8px;
}

.favoritos-counter {
  font: 600 13px var(--display);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 18px;
}

.favoritos-slider-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.favoritos-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.favoritos-card {
  flex: 0 0 calc((100% - 20px) / 2); /* 2 products side by side = middle & right blocks */
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-sizing: border-box;
}

.favoritos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.favoritos-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.favoritos-media {
  aspect-ratio: 4 / 3.2;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.favoritos-media img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.favoritos-card:hover .favoritos-media img {
  transform: scale(1.06);
}

.favoritos-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.favoritos-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.favoritos-card-info h3 {
  font: 600 20px/1.2 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

.favoritos-sub {
  font-size: 12px;
  color: var(--clay);
  font-weight: 500;
  margin: 0 0 12px;
}

.favoritos-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
  flex: 1;
}

.favoritos-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  transition: gap 0.2s;
}

.favoritos-card:hover .favoritos-link {
  gap: 10px;
  color: var(--clay);
}

/* EDITORIAL */
.editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 610px;
}

.editorial-image {
  overflow: hidden;
  background: var(--white);
}

.editorial-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.editorial:hover img {
  transform: scale(1.03);
}

.editorial-copy {
  padding: clamp(34px, 6vw, 94px);
  background: #d9ddd0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editorial-copy h2 {
  max-width: 530px;
  font: 600 clamp(38px, 5.4vw, 76px)/0.92 var(--display);
  margin: 0;
  letter-spacing: -0.04em;
}

.editorial-copy p {
  max-width: 330px;
  line-height: 1.5;
  font-size: 14px;
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 18px;
}

.product-media {
  aspect-ratio: 1 / 1.15;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-media img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.55s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding-top: 13px;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.product-designer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.product-price {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  background: var(--white);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* BAND */
.band {
  padding: 100px 0;
  background: #c9c3b9;
}

.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.band h2 {
  font: 600 clamp(36px, 5.5vw, 80px)/0.92 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

.band p {
  max-width: 385px;
  line-height: 1.55;
  font-size: 15px;
}

/* CHEGAMOS A PALMAS */
.location-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.location-media img {
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.location-title {
  font: 600 clamp(44px, 7vw, 116px)/0.92 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

/* QUEM CONHECE E RECOMENDA A ARQUÊ (vídeos) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.review-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1920; /* proporção nativa dos vídeos verticais */
  min-width: 0;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}

.review-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: none;
  max-height: none;
  border: 0;
  pointer-events: none;
  display: block;
}

.review-video-views {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(23, 23, 21, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 2;
}

.review-video-views svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.review-video-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  z-index: 3;
  cursor: pointer;
}

.review-video-hit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

.review-video-product {
  font: 500 14px/1.3 var(--sans);
  color: var(--ink);
  text-align: center;
}

/* JANELA FLUTUANTE DE VÍDEO */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease);
}

.video-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.82);
}

.video-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(260px, 340px);
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.video-lightbox-video {
  position: relative;
  aspect-ratio: 1080 / 1920; /* proporção nativa dos vídeos verticais */
  max-height: 88vh;
  background: var(--ink);
}

.video-lightbox-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-lightbox-product {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}

.video-lightbox-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 8px;
}

.video-lightbox-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.video-lightbox-product h3 {
  font: 600 24px/1.15 var(--display);
  margin: 0;
  letter-spacing: -0.02em;
}

.video-lightbox-designer {
  color: var(--muted);
  font-size: 13px;
}

.video-lightbox-price {
  font-weight: 600;
  font-size: 16px;
  margin-top: 4px;
}

.video-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.video-lightbox-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid;
  padding-bottom: 3px;
  font-weight: 600;
}

.video-lightbox-actions button {
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.video-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

body.lightbox-open {
  overflow: hidden;
}

/* ARCHITECTS CAROUSEL (drag-to-scroll, B&W photos) */
.architects-section {
  padding-bottom: 100px;
  overflow: hidden;
}

.architects-section .section-head {
  padding-bottom: 38px;
}

.architects-section h2 {
  font: 600 clamp(36px, 5.2vw, 72px)/0.9 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

.architects-carousel-wrap {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding-left: 36px;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 94%, transparent 100%);
}

.architects-carousel-wrap.dragging {
  cursor: grabbing;
}

.architects-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: none;
}

.architect-card {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.architect-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #c8c4bc;
}

.architect-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: transform 0.65s var(--ease), filter 0.5s var(--ease);
  display: block;
  pointer-events: none;
}

.architect-card:hover .architect-photo img {
  transform: scale(1.05);
  filter: grayscale(60%);
}

.architect-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  gap: 10px;
}

.architect-name {
  font: 500 15px/1.3 var(--display);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.architect-card:hover .architect-name {
  color: var(--clay);
}

.architect-num {
  font: 600 11px var(--sans);
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ARCHITECT PAGE — hero layout */
.architect-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 580px;
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.architect-hero-photo {
  overflow: hidden;
  position: relative;
}

.architect-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.9s var(--ease);
}

.architect-hero:hover .architect-hero-photo img {
  transform: scale(1.04);
}

.architect-hero-copy {
  padding: clamp(48px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
}

.architect-hero-copy .eyebrow {
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  display: block;
}

.architect-hero-copy h1 {
  font: 600 clamp(36px, 5.2vw, 64px)/0.96 var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--white);
}

.architect-specialty {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin: 0 0 40px;
}

.architect-bio-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}

.architect-bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.architect-bio-label {
  font: 600 11px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 6px;
}

.architect-bio-text {
  font-size: 16px;
  line-height: 1.7;
  color: #44413c;
  margin: 0;
}

.architect-bio-text + .architect-bio-text {
  margin-top: 18px;
}

.architect-favorites-section {
  padding: 80px 0;
}

.architect-favorites-section .section-head {
  margin-bottom: 40px;
}

.architect-favorites-section h2 {
  font: 600 clamp(28px, 3.5vw, 44px)/1.0 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

/* CRIADORES PAGE — grid */
.criadores-hero {
  padding: 80px 48px 72px;
  background: var(--ink);
  color: var(--white);
  margin-bottom: 0;
}

.criadores-hero .eyebrow {
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 16px;
}

.criadores-hero h1 {
  font: 600 clamp(40px, 6vw, 84px)/0.92 var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  max-width: 700px;
}

.criadores-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0;
}

.criadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  padding: 80px 0;
}

.criadores-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}

.criadores-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #c8c4bc;
  position: relative;
}

.criadores-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.65s var(--ease), filter 0.5s var(--ease);
  pointer-events: none;
}

.criadores-card:hover .criadores-card-photo img {
  transform: scale(1.05);
  filter: grayscale(50%);
}

.criadores-card-body {
  padding: 18px 0 10px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.criadores-card-num {
  font: 600 10px var(--sans);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.criadores-card-name {
  font: 600 18px/1.2 var(--display);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.criadores-card:hover .criadores-card-name {
  color: var(--clay);
}

.criadores-card-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NEWSLETTER */
.newsletter {
  border-block: 1px solid var(--line);
  padding: 52px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.newsletter h3 {
  font: 600 34px var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

.newsletter form {
  display: flex;
  min-width: 380px;
  border-bottom: 1px solid var(--ink);
}

.newsletter input {
  flex: 1;
  border: 0;
  background: none;
  outline: 0;
  padding: 10px 0;
  font-size: 14px;
}

.newsletter button {
  background: none;
  font-size: 16px;
  padding: 10px;
}

/* FOOTER & MANIFESTO */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 74px 0 28px;
}

.footer-manifesto {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 48px;
  margin-bottom: 56px;
}

.manifesto-inner {
  max-width: 960px;
}

.manifesto-inner .eyebrow {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  display: inline-block;
}

.manifesto-text {
  font: 500 clamp(24px, 3vw, 40px)/1.32 var(--display);
  color: var(--white);
  letter-spacing: -0.03em;
  margin: 0;
  opacity: 0.94;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 70px;
}

.footer h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.55;
  margin: 0 0 20px;
}

.footer a, .footer p {
  font-size: 12px;
  line-height: 2;
  opacity: 0.82;
  margin: 0;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

/* PAGE & DETAIL */
.page {
  padding-top: 128px;
  min-height: 65vh;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 35px;
}

.category-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 370px;
  margin-bottom: 70px;
  background: var(--white);
}

.category-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-copy h1 {
  font: 600 clamp(38px, 5.4vw, 76px)/0.92 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

.category-copy p {
  max-width: 320px;
  line-height: 1.55;
  font-size: 15px;
}

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

.catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
}

.filter-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.filter-title {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.filter-sidebar a {
  padding: 9px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}

.filter-sidebar a:hover, .filter-sidebar a.active {
  color: var(--ink);
  padding-left: 6px;
  font-weight: 500;
}

.filter-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 24px 0 6px;
  color: var(--muted);
  font-weight: 600;
}

.filters {
  display: flex;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  margin-bottom: 32px;
  padding: 15px 0;
  font-size: 12px;
}

/* PRODUCT DETAIL PAGE */
.detail {
  padding: 130px 0 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
}

.detail-image {
  min-height: 580px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.detail-image img {
  max-width: 90%;
  max-height: 520px;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.detail-image:hover img {
  transform: scale(1.04);
}

.detail-copy {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.detail-copy h1 {
  font: 600 clamp(32px, 4.4vw, 58px)/1.02 var(--display);
  letter-spacing: -0.04em;
  margin: 12px 0 6px;
}

.detail-copy .designer {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.detail-copy .price {
  font-size: 22px;
  font-weight: 600;
  margin: 24px 0 20px;
  font-family: var(--display);
}

.buy {
  width: 100%;
  padding: 18px;
  background: var(--ink);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s;
}

.buy:hover {
  background: #33312b;
  transform: translateY(-2px);
}

.whatsapp {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.whatsapp:hover {
  background: #25d36612;
  border-color: #25d366;
  color: #128c7e;
}

/* PRODUCT SPECIFICATIONS BOX */
.product-description-box {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.product-description-box h3 {
  font: 600 13px var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  color: var(--ink);
}

.product-description-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #44413c;
  margin: 0 0 18px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.spec-list li {
  font-size: 13px;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: #4a4740;
}

.spec-list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* SEÇÃO PRODUTOS RELACIONADOS */
.related-section {
  padding: 80px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.related-section .section-head {
  margin-bottom: 30px;
}

/* LISTING PAGE: FAVORITOS DOS ARQUITETOS */
.favoritos-hero {
  background: #f3efe8;
  padding: 60px 48px;
  margin-bottom: 60px;
  border-left: 4px solid var(--ink);
}

.favoritos-hero h1 {
  font: 600 clamp(36px, 5.2vw, 64px)/1.02 var(--display);
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}

.favoritos-hero p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
  color: #44413c;
  margin: 0;
}

.favoritos-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.fav-catalog-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fav-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.07);
}

.fav-catalog-media {
  aspect-ratio: 16 / 11;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.fav-catalog-media img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.fav-catalog-card:hover .fav-catalog-media img {
  transform: scale(1.05);
}

.fav-catalog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fav-catalog-body h2 {
  font: 600 24px/1.2 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.fav-catalog-sub {
  font-size: 13px;
  color: var(--clay);
  font-weight: 500;
  margin: 0 0 16px;
}

.fav-catalog-desc {
  font-size: 14px;
  color: #55524b;
  line-height: 1.6;
  margin: 0 0 20px;
}

.fav-catalog-specs {
  background: #f9f8f5;
  padding: 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 1.55;
  color: #4f4c46;
}

.fav-catalog-specs strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  color: var(--ink);
}

.fav-catalog-btn {
  margin-top: auto;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: background 0.2s;
}

.fav-catalog-btn:hover {
  background: #33312b;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.float-in {
  animation: floatIn 0.85s var(--ease) both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE DESIGN & MOBILE SAFETY MARGINS */
@media (max-width: 1024px) {
  .favoritos-grid-pc {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .favoritos-intro {
    padding-right: 0;
  }
  .category-card {
    flex: 0 0 calc((100% - 14px) / 2); /* 2 per view on tablet */
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    background: var(--paper);
    opacity: 1;
    backdrop-filter: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    color: var(--ink);
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font: 500 16px var(--sans);
    color: var(--ink);
    opacity: 1;
  }
  .menu-toggle {
    display: block;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .architect-hero, .architect-bio-grid {
    grid-template-columns: 1fr;
  }
  .architect-hero-copy {
    padding: 40px 32px 48px;
  }
  .architects-carousel-wrap {
    padding-left: 24px;
  }
  .architect-card {
    flex: 0 0 220px;
  }
  .criadores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    padding: 56px 0;
  }
  .editorial, .band-inner, .category-hero, .detail-grid, .location-band {
    grid-template-columns: 1fr;
  }
  .location-band {
    gap: 28px;
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .video-lightbox-panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .video-lightbox-video {
    aspect-ratio: 9 / 13;
    max-height: 52vh;
  }
  .editorial-image {
    min-height: 400px;
  }
  .detail-image {
    min-height: 420px;
  }
  .detail-copy {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > :first-child {
    grid-column: span 2;
  }
  .favoritos-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    margin: 0 -20px;
    padding: 4px 20px 10px;
  }
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .review-video-card {
    flex: 0 0 66%;
    scroll-snap-align: start;
  }
  .architects-carousel-wrap {
    padding-left: 20px;
  }
  .architect-card {
    flex: 0 0 200px;
  }
  .architect-hero {
    grid-template-columns: 1fr;
  }
  .architect-hero-photo {
    height: 360px;
  }
  .criadores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding: 44px 0;
  }
  .criadores-hero {
    padding: 48px 20px 52px;
  }
  .container {
    padding: 0 20px; /* Safe mobile margin */
  }
  .section {
    padding: 68px 0;
  }
  .hero {
    min-height: 560px;
    height: 76vh;
  }
  .hero-copy {
    padding: 110px 0 40px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.6vw, 44px);
    line-height: 1.14;
    max-width: 60%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .hero-bottom p {
    font-size: 14px;
    max-width: 100%;
  }
  .hero-nav-bar {
    bottom: 20px;
  }
  .round {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }
  .ticker {
    padding: 11px 0;
  }
  .ticker-group {
    gap: 28px;
    padding-right: 28px;
    font-size: 10px;
  }
  .category-card {
    flex: 0 0 calc((100% - 10px) / 2);
    min-height: 200px;
    height: 220px;
  }
  .category-label {
    font-size: 17px;
    left: 14px;
    bottom: 14px;
  }
  .favoritos-section {
    padding: 68px 0;
  }
  .favoritos-card {
    flex: 0 0 100%; /* 1 card at a time on mobile */
  }
  .favoritos-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .product-grid {
    gap: 20px 10px;
  }
  .product-name {
    font-size: 13px;
  }
  .category-copy {
    padding: 28px 20px;
  }
  .page {
    padding-top: 100px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .filter-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
  .filter-title, .filter-label {
    grid-column: 1 / -1;
  }
  .newsletter {
    align-items: flex-start;
    flex-direction: column;
  }
  .newsletter form {
    min-width: 0;
    width: 100%;
  }
  .footer-manifesto {
    padding-bottom: 36px;
    margin-bottom: 40px;
  }
  .footer-grid {
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .favoritos-hero {
    padding: 32px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse, .ticker-track {
    animation: none;
  }
}

/* ======================================================================
   SACOLA / CARRINHO DE COMPRAS
   ====================================================================== */

/* Botão "adicionar rápido" sobre o card de produto */
.product-card {
  position: relative;
}

.quick-add {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 7px 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

.product-card:hover .quick-add,
.quick-add:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.quick-add:hover {
  background: var(--ink);
  color: var(--white);
}

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Controle de quantidade na página de produto */
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.qty-row label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty-control button {
  background: none;
  width: 34px;
  height: 34px;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.2s;
}

.qty-control button:hover {
  background: var(--linen);
}

.qty-control input {
  width: 44px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.spec-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.link-btn {
  background: none;
  border: none;
  color: var(--clay);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* Overlay + gaveta lateral da sacola */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 21, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  z-index: 91;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

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

body.cart-open {
  overflow: hidden;
}

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

.cart-drawer-head h2 {
  font: 600 20px var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}

.cart-close {
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  width: 32px;
  height: 32px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.cart-item-price {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  border: 1px solid var(--line);
}

.cart-item-qty button {
  background: none;
  width: 24px;
  height: 24px;
  font-size: 13px;
  color: var(--ink);
}

.cart-item-qty span {
  min-width: 16px;
  text-align: center;
  font-size: 12px;
}

.cart-item-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.cart-item-total {
  font-size: 13px;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

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

.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
}

.cart-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.cart-coupon input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink);
}

.cart-coupon button {
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: background 0.2s;
}

.cart-coupon button:hover {
  background: #33312b;
}

.cart-coupon button:disabled,
.cart-coupon input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-coupon-msg {
  font-size: 12px;
  min-height: 16px;
  margin-bottom: 8px;
  color: var(--moss);
}

.cart-coupon-msg.is-error {
  color: #b0392f;
}

.cart-totals {
  margin: 14px 0 16px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  color: #44413c;
}

.cart-totals-row.cart-discount span:first-child {
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-totals-row.cart-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 6px;
}

.cart-checkout {
  width: 100%;
  padding: 16px;
  background: #25d366;
  color: #0c3b26;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.cart-checkout:hover:not(:disabled) {
  background: #1ebe5b;
  transform: translateY(-2px);
}

.cart-checkout:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.cart-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
}

@media (max-width: 520px) {
  .cart-drawer {
    width: 100vw;
  }
  .quick-add {
    opacity: 1;
    transform: none;
    top: 8px;
    right: 8px;
    padding: 6px 8px;
  }
}

/* Internal pages keep navigation controls readable over light content. */
body:not(:has(.hero)) .header { color: var(--ink); }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.product-gallery-thumb {
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.product-gallery-thumb.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
