/* ==========================================================================
   ANTONIO FILIPPI DE CASTRO — Minimalist White Gallery Design System
   Paleta: Galeria contemporânea branca, cinza neutro, grafite e preto puro
   ========================================================================== */

:root {
  /* Cores — Galeria Branca Minimalista */
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --surface: #ffffff;
  --surface-warm: #f5f5f5;
  --border: #e6e6e6;
  --border-strong: #cccccc;

  --text: #111111;
  --text-muted: #555555;
  --text-subtle: #888888;

  --accent-terracotta: #111111;
  --accent-terracotta-dark: #000000;
  --accent-olive: #333333;

  /* Tipografia Contemporânea */
  --font-serif: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ritmo e medidas */
  --container: 1220px;
  --header-h: 76px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--body-size, 15px);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

main {
  display: flex;
  flex-direction: column;
}

.section {
  padding: clamp(18px, 3vw, var(--section-pad, 48px)) 0;
  border-bottom: 1px solid var(--border);
}

/* Tipografia Editorial */
.eyebrow {
  margin: 0 0 10px;
  font-size: var(--eyebrow-size, 11px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.section-header {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-header-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: end;
}

.section-header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--section-title-size, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section-subtitle {
  margin: 0;
  font-size: var(--section-subtitle-size, 16px);
  color: var(--text-muted);
  max-width: 52ch;
}

.section-subtitle-centered {
  max-width: 660px;
  margin: 14px auto 0;
  text-align: center;
  white-space: pre-line;
}

.section-subtitle-tight {
  line-height: 0.9;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--btn-radius, 2px);
  font-size: var(--btn-font-size, 11px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 220ms var(--ease), color 220ms var(--ease),
    border-color 220ms var(--ease), opacity 220ms var(--ease);
}

.btn-primary {
  background-color: var(--text);
  color: var(--surface);
  border-color: var(--text);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-dark);
  border-color: var(--accent-terracotta-dark);
  opacity: 0.86;
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text);
  background-color: rgba(0, 0, 0, 0.03);
}

.btn-full {
  width: 100%;
}

.text-link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 200ms var(--ease);
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0.4;
  transition: opacity 200ms var(--ease);
}

.text-link:hover {
  color: var(--text);
}

.text-link:hover::after {
  opacity: 1;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--header-bg, rgba(255, 255, 255, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
}

.hero-tagline {
  margin: 0 auto var(--hero-gap, 32px);
  font-family: var(--font-serif);
  font-size: var(--hero-title-size, 41px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  max-width: 28ch;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: var(--nav-size, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 200ms var(--ease);
}

.nav-ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--text-muted);
  transition: color 200ms var(--ease), transform 200ms var(--ease);
}

.nav-ig-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.main-nav a:hover {
  color: var(--text);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.lang-btn {
  border: none;
  background: none;
  padding: 4px 2px;
  color: var(--text-subtle);
  transition: color 200ms var(--ease);
}

.lang-btn .lang-currency {
  opacity: 0.7;
  margin-left: 2px;
}

.lang-btn.is-active,
.lang-btn:hover {
  color: var(--text);
  font-weight: 600;
}

.lang-divider {
  color: var(--border-strong);
}

.bag-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.bag-trigger:hover {
  border-color: var(--text);
  background-color: var(--bg-alt);
}

.bag-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background-color: var(--text);
  color: var(--surface);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  background: transparent;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--text);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   1. HERO EDITORIAL CENTRALIZADO
   ========================================================================== */
.hero {
  background-color: var(--bg);
  padding-top: clamp(40px, 5vw, 68px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy .eyebrow {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-visual {
  margin: 0;
  width: 100%;
  max-width: 1220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-alt);
  border: none;
  box-shadow: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption {
  width: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 12px;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.caption-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  white-space: nowrap;
}

.caption-title {
  text-align: right;
  color: var(--text-muted);
}

/* ==========================================================================
   2. LOJA — CARDS LIMPOS, SEM MOLDURA, CENTRALIZADOS
   ========================================================================== */
.shop-section {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(var(--shop-cols, 3), minmax(0, 1fr));
  gap: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 36px);
}

.edition-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: stretch;
}

.edition-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
  margin-bottom: 18px;
}

.edition-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.edition-image-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background-color: var(--bg-alt);
  box-shadow: none;
  overflow: hidden;
  aspect-ratio: var(--card-aspect, 3 / 2);
}

.edition-image-btn.is-portrait {
  aspect-ratio: 4 / 5;
}

.edition-image-btn .edition-original-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg-alt);
  transition: transform 700ms var(--ease);
}

.edition-image-btn .edition-original-img.is-room-mockup,
.edition-modal-visual .edition-original-img.is-room-mockup {
  object-fit: contain;
}

.edition-card:hover .edition-image-btn .edition-original-img {
  transform: scale(1.022);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  opacity: 0;
  transition: opacity 220ms var(--ease), background-color 180ms var(--ease), transform 220ms var(--ease);
  z-index: 2;
}

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

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

.edition-carousel:hover .carousel-arrow,
.edition-carousel:focus-within .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background-color: #ffffff;
  border-color: rgba(17, 17, 17, 0.35);
}

@media (hover: none) {
  .carousel-arrow {
    opacity: 0.84;
  }
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
}

.carousel-dot {
  width: 8px;
  height: 14px;
  padding: 6px 0;
  border: none;
  background-color: #d4d3cf;
  background-clip: content-box;
  transition: width 260ms var(--ease), background-color 260ms var(--ease);
}

.carousel-dot:hover {
  background-color: #888888;
}

.carousel-dot.is-active {
  width: 22px;
  background-color: var(--text);
}

.edition-meta-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.edition-price-footer {
  display: none;
  text-align: center;
  font-size: var(--card-price-size, 15.5px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--text);
  /* Preço mais próximo da descrição do tecido, sem deslocar o botão abaixo */
  margin: -18px 0 34px;
}

body[data-card-layout="zara-centered"] .edition-meta-top .edition-price {
  display: none;
}

body[data-card-layout="zara-centered"] .edition-price-footer {
  display: block;
}

body[data-card-layout="zara-centered"] .edition-title {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-card-layout="split-sides"] .edition-meta-top {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  margin-bottom: 6px;
}

.edition-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--card-title-size, 19px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text);
}

.edition-price {
  font-size: var(--card-price-size, 15.5px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
}

.edition-specs {
  margin: 0 0 4px;
  font-size: var(--card-meta-size, 12px);
  color: var(--text-subtle);
  text-align: center;
}

.edition-specs-line {
  margin: 0 0 18px;
  font-size: var(--card-meta-size, 12px);
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
}

/* Seletor de Tecido / Papel no Card */
.fabric-selector {
  margin-top: auto;
  margin-bottom: 12px;
  text-align: center;
}

.fabric-selector-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.fabric-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 6px;
}

.support-switch-row {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.support-switch-pill {
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
}

.support-switch-pill.is-active {
  border-color: var(--text);
  background-color: var(--text);
  color: var(--surface);
}

.fabric-pill {
  padding: 8px 6px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  border-radius: 2px;
  font-size: var(--fabric-pill-size, 12px);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.fabric-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.fabric-pill.is-selected {
  border-color: var(--text);
  background-color: var(--text);
  color: var(--surface);
}

.fabric-sensory-inline {
  margin: 10px 0 14px;
  min-height: 36px;
  font-size: var(--fabric-sensory-size, 12.5px);
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  padding: 0;
  border: none;
}

.carousel-quick-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms var(--ease), background-color 180ms var(--ease);
  z-index: 3;
}

.edition-carousel:hover .carousel-quick-btn,
.edition-carousel:focus-within .carousel-quick-btn {
  opacity: 1;
}

.carousel-quick-btn:hover {
  background-color: #ffffff;
}

.edition-actions {
  display: flex;
  justify-content: var(--shop-cta-align, center);
  align-items: center;
  margin-top: 2px;
}

.edition-actions .btn-shop-cta {
  padding: 10px 26px;
  min-width: 168px;
  font-size: var(--btn-font-size, 11px);
  letter-spacing: 0.16em;
}

body[data-shop-btn-width="compact"] .edition-actions .btn-shop-cta {
  width: auto;
  min-width: 164px;
}

body[data-shop-btn-width="medium"] .edition-actions .btn-shop-cta {
  width: 72%;
}

body[data-shop-btn-width="full"] .edition-actions .btn-shop-cta {
  width: 100%;
}

body[data-shop-btn-style="outline"] .edition-actions .btn-shop-cta {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

body[data-shop-btn-style="outline"] .edition-actions .btn-shop-cta:hover {
  background-color: var(--text);
  color: var(--surface);
  border-color: var(--text);
}

body[data-shop-btn-style="solid"] .edition-actions .btn-shop-cta {
  background-color: var(--text);
  color: var(--surface);
  border: 1px solid var(--text);
}

body[data-shop-btn-style="solid"] .edition-actions .btn-shop-cta:hover {
  opacity: 0.86;
}

body[data-shop-btn-style="soft"] .edition-actions .btn-shop-cta {
  background-color: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

body[data-shop-btn-style="soft"] .edition-actions .btn-shop-cta:hover {
  background-color: var(--surface);
  border-color: var(--text);
}

/* ==========================================================================
   3. MATERIALIDADE / TECIDOS — CENTRALIZADO
   ========================================================================== */
.fabrics-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.section-compact {
  padding: clamp(20px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--border);
}

.section-header-compact {
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.fabrics-section-title {
  max-width: 100%;
  font-size: var(--compact-title-size, 26px);
  line-height: 1.2;
}

.fabrics-section-subtitle {
  max-width: 680px;
  margin: 10px auto 0;
  text-align: center;
}

.papers-section {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.papers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.section-compact .fabric-card {
  padding: clamp(18px, 2.2vw, 24px);
  gap: 10px;
}

.section-compact .fabric-card h3 {
  font-size: clamp(18px, 2vw, 21px);
}

.section-compact .fabric-sensory {
  font-size: 12.5px;
  line-height: 1.5;
}

/* Banner de capa da Loja (Carrossel automático dos mockups na ordem da loja) */
.shop-banner-wrap {
  margin: 0 auto clamp(24px, 3.5vw, 38px);
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  border: none;
  position: relative;
}

.shop-banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background-color: transparent;
}

.shop-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 720ms var(--ease);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.shop-banner-slide:first-child {
  position: relative;
}

.shop-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.shop-banner-wrap img,
.shop-banner-slide img {
  width: 100%;
  height: auto;
  max-height: var(--shop-banner-h, 680px);
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

.shop-banner-slider .carousel-arrow {
  z-index: 3;
}

.shop-banner-slider:hover .carousel-arrow {
  opacity: 1;
}

.shop-banner-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease);
}

.shop-banner-pill:hover {
  background-color: #ffffff;
}

.shop-banner-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.shop-support-filters {
  margin-bottom: 12px;
}

.shop-collection-filters {
  margin-bottom: clamp(22px, 3vw, 32px);
  gap: 8px;
}

.shop-collection-filters .filter-tab {
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.shop-empty-note {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.shop-meta-strip {
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  text-align: center;
}

.shop-meta-strip .about-meta-item h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  color: var(--text-subtle);
}

.shop-meta-strip .about-meta-item p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Preview Passe-Partout Simulado (30 x 40 cm / moldura 50 x 42 cm sem corte) */
.paper-mat-stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.6vw, 24px);
  background: radial-gradient(circle at 50% 42%, #f1efe9 0%, #e7e3da 100%);
  box-sizing: border-box;
}

.paper-mat-frame {
  background-color: #fbfaf6;
  padding: 15% 12%;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.14), inset 0 0 0 1px rgba(17, 17, 17, 0.08);
  max-width: 84%;
  max-height: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-mat-bevel {
  padding: 3px;
  background: linear-gradient(135deg, #d7d2c8 0%, #f5f3ed 100%);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-mat-bevel img {
  display: block;
  max-width: 100%;
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.edition-modal-visual .paper-mat-bevel img {
  max-height: 320px;
}

.paper-mat-badge {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a554c;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.portfolio-adobe-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.fabric-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.fabric-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.fabric-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

.fabric-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.fabric-sensory {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.fabric-profile {
  width: 100%;
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

/* ==========================================================================
   4. ACERVO AUTORAL (//NATURE & //DOCUMENTARY)
   ========================================================================== */
.portfolio-section {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 200ms var(--ease);
}

.filter-tab:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-tab.is-active {
  background-color: var(--text);
  border-color: var(--text);
  color: var(--surface);
}

.portfolio-statement {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.portfolio-item {
  grid-column: span 4;
  margin: 0;
}

.portfolio-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alt);
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
}

.portfolio-thumb.is-4x3 {
  aspect-ratio: 4 / 3;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.portfolio-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  background-color: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.portfolio-card-btn:hover .portfolio-thumb img {
  transform: scale(1.03);
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 2px;
}

.portfolio-meta h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}

.portfolio-meta span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

.portfolio-location {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.portfolio-more-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   5. SOBRE
   ========================================================================== */
.about-section {
  background-color: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.about-portrait {
  margin: 0;
}

.portrait-frame,
.about-portrait-frame {
  border: none;
  padding: 0;
  background-color: transparent;
}

.portrait-frame img,
.about-portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}

.about-portrait figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-subtle);
}

.about-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.about-top-row .eyebrow {
  margin: 0;
}

.subtle-pill {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-olive);
  background-color: var(--surface-warm);
  padding: 4px 10px;
  border-radius: 999px;
}

.about-artist-name {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: var(--about-name-size, 28px);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-style: normal;
  color: var(--text);
}

.about-lead {
  margin: 0 0 20px;
  font-size: var(--about-lead-size, 18px);
  line-height: 1.6;
  color: var(--text);
}

.about-paragraphs p {
  margin: 0 0 16px;
  color: var(--text-muted);
  max-width: 60ch;
}

.about-paragraphs p:last-child {
  margin-bottom: 0;
}

.about-contact-centered {
  margin-top: clamp(32px, 4.5vw, 52px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-contact-centered .about-contact-links {
  justify-content: center;
}

.about-meta-grid {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-meta-item h3 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.about-meta-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.about-contact-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--bg-alt);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-brand p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 48ch;
}

.footer-contacts {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-contacts .text-link {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.04em;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 12px;
  color: var(--text-subtle);
}

/* ==========================================================================
   CARRINHO LATERAL (DRAWER)
   ========================================================================== */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background-color: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(440px, 100vw);
  height: 100dvh;
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
}

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

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

.drawer-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.icon-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.icon-close:hover {
  border-color: var(--text);
  background-color: var(--bg-alt);
}

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

.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.cart-empty h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

.cart-empty p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 84px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.cart-item-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item-meta {
  margin: 4px 0 12px;
  font-size: 12px;
  color: var(--text-subtle);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 15px;
}

.qty-control span {
  min-width: 26px;
  text-align: center;
  font-size: 12px;
}

.cart-remove-btn {
  border: none;
  background: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-decoration: underline;
}

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

.drawer-footer {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}

.subtotal-row strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.drawer-shipping-note {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text-subtle);
}

/* ==========================================================================
   MODAIS (DETALHE DE OBRA, PROJETO, LIGHTBOX & CHECKOUT)
   ========================================================================== */
.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop-dark {
  background-color: rgba(12, 12, 12, 0.94);
}

.modal-lightbox-layer {
  z-index: 110;
}

.modal-card {
  position: relative;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}

.modal-edition {
  max-width: 900px;
}

.modal-project {
  max-width: 1060px;
}

.modal-checkout {
  max-width: 660px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.modal-subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.edition-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.edition-modal-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.edition-modal-carousel .carousel-arrow {
  opacity: 0.88;
}

.edition-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.edition-modal-thumb {
  padding: 0;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  opacity: 0.65;
  transition: opacity 200ms var(--ease), border-color 200ms var(--ease);
}

.edition-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edition-modal-thumb:hover {
  opacity: 0.92;
  border-color: var(--border-strong);
}

.edition-modal-thumb.is-active {
  opacity: 1;
  border-color: var(--text);
}

.edition-modal-visual {
  width: 100%;
  padding: 0;
  border: none;
  background-color: var(--bg-alt);
  overflow: hidden;
}

.edition-modal-visual .edition-original-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background-color: var(--bg-alt);
  box-shadow: none;
}

.edition-modal-visual.is-portrait .edition-original-img {
  aspect-ratio: 4 / 5;
}

.edition-modal-info {
  text-align: center;
}

.edition-modal-info .edition-specs,
.edition-modal-info .edition-desc,
.edition-modal-info .fabric-selector,
.edition-modal-info .fabric-sensory-inline,
.edition-modal-finish {
  text-align: center;
}

.edition-modal-info .fabric-pills {
  justify-content: center;
}

.edition-modal-info .fabric-sensory-inline {
  margin-left: auto;
  margin-right: auto;
  max-width: 44ch;
}

.edition-modal-info h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
}

.edition-modal-price {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 14px;
}

.edition-modal-finish {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.edition-modal-finish h4 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.edition-modal-finish p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox-inner {
  position: relative;
  width: min(1040px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.lightbox-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.lightbox-figure {
  margin: 0;
  max-width: 820px;
  width: 100%;
}

.lightbox-figure img {
  margin: 0 auto;
  max-height: 74dvh;
  width: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
}

.lightbox-caption h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

.lightbox-caption p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox-note {
  max-width: 40ch;
  text-align: right;
}

.lightbox-caption-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.lightbox-counter {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Galeria do Projeto (//DOCUMENTARY) */
.project-modal-header {
  padding-right: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}

.project-modal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.project-cover-banner {
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  aspect-ratio: 16 / 9;
}

.project-cover-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-block + .project-gallery-block {
  margin-top: 32px;
}

.project-block-label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-photo-btn {
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.project-photo-btn:hover img {
  transform: scale(1.04);
}

.project-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #111111;
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Checkout Simulado */
.checkout-summary {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13.5px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}

.checkout-summary-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-section {
  border: none;
  padding: 0;
  margin: 0;
}

.form-section legend {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 12px;
  color: var(--text-muted);
}

.field input,
.field select {
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  border-radius: 2px;
  font-size: 14px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--text);
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gateway-option {
  cursor: pointer;
}

.gateway-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gateway-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  border-radius: 2px;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.gateway-box strong {
  font-size: 14px;
}

.gateway-box small {
  font-size: 12px;
  color: var(--text-muted);
}

.gateway-option input:checked + .gateway-box {
  border-color: var(--text);
  background-color: var(--bg-alt);
}

.cart-free-shipping {
  font-size: 12px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  color: var(--text-muted);
  border-radius: 2px;
}

.cart-free-shipping.is-unlocked {
  color: var(--text);
  border-color: var(--border-strong);
}

.shipping-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shipping-option {
  cursor: pointer;
  position: relative;
}

.shipping-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shipping-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  border-radius: 2px;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.shipping-box-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.shipping-box-top strong {
  font-size: 13.5px;
}

.shipping-box-price {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.shipping-box small {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.shipping-option input:checked + .shipping-box {
  border-color: var(--text);
  background-color: var(--bg-alt);
}

.checkout-intl-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.checkout-intl-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.checkout-intl-notice p {
  margin: 0;
}

.checkout-summary-sub {
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  margin-top: 6px;
  padding-top: 8px;
}

.checkout-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #9e3d2b;
  background-color: rgba(158, 61, 43, 0.08);
  color: #7c2d1e;
  font-size: 13px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .shipping-methods-grid,
  .gateway-grid {
    grid-template-columns: 1fr;
  }
}

.order-receipt {
  margin: 0 0 28px;
  padding: 18px 20px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: 14px;
}

.order-receipt dt {
  color: var(--text-subtle);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  align-self: center;
}

.order-receipt dd {
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (min-width: 1025px) {
  .edition-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

@media (max-width: 1024px) {
  .section-header-split,
  .about-grid,
  .edition-modal-grid {
    grid-template-columns: 1fr;
  }

  .editions-grid,
  .fabrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-item {
    grid-column: span 6;
  }

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

  .project-videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .brand-name {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .brand-name {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-image-wrap {
    aspect-ratio: 3 / 2;
  }

  .hero-caption {
    flex-direction: column;
    gap: 4px;
  }

  .caption-title {
    text-align: left;
  }

  .shop-banner-wrap {
    max-width: 100%;
  }

  .shop-banner-wrap img {
    max-height: 420px;
  }

  .shop-meta-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .carousel-quick-btn {
    opacity: 1;
  }

  .editions-grid,
  .fabrics-grid,
  .papers-grid,
  .about-meta-grid,
  .form-row,
  .gateway-grid,
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    grid-column: span 12;
  }

  .lightbox-caption-right {
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .lightbox-inner {
    flex-direction: column;
  }

  .lightbox-caption {
    flex-direction: column;
  }

  .lightbox-note {
    text-align: left;
  }

  .lightbox-nav {
    display: none;
  }
}

/* Simulação de Tela Vertical Mobile dentro do Modo Estúdio (390px) */
body.studio-mobile-preview {
  background-color: #1c1c1e;
}

body.studio-mobile-preview .site-header,
body.studio-mobile-preview main,
body.studio-mobile-preview .site-footer {
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 64px rgba(0, 0, 0, 0.45);
}

body.studio-mobile-preview.studio-open .site-header,
body.studio-mobile-preview.studio-open main,
body.studio-mobile-preview.studio-open .site-footer {
  margin-right: 455px;
}

body.studio-mobile-preview .main-nav {
  display: none;
}

body.studio-mobile-preview .mobile-menu-btn {
  display: inline-flex;
}

body.studio-mobile-preview .editions-grid,
body.studio-mobile-preview .fabrics-grid,
body.studio-mobile-preview .papers-grid,
body.studio-mobile-preview .shop-meta-strip,
body.studio-mobile-preview .about-grid,
body.studio-mobile-preview .about-meta-grid {
  grid-template-columns: 1fr !important;
}

body.studio-mobile-preview .portfolio-item {
  grid-column: span 12 !important;
}

body.studio-mobile-preview .shop-banner-wrap img {
  max-height: 280px;
}
