@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");
:root {
  --paper: #f8f6f1;
  --ink: #343d32;
  --muted: #777b71;
  --accent: #606e50;
  --line: #dcded4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a57a50;
  outline-offset: 4px;
}
header {
  min-height: 104px;
  padding: 22px 0;
  margin: 0 6%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: var(--brand-size, 22px);
  letter-spacing: 2px;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  display: block;
}
.brand strong {
  font-size: 27px;
  letter-spacing: 5px;
  font-weight: 500;
}
nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
}
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(620px, 52vw, 800px);
  margin: 0 0 52px;
  background: #e8e7de;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f8f6f1fa 0%,
    #f8f6f1f5 46%,
    #f8f6f170 62%,
    #f8f6f100 80%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 46%;
  pointer-events: none;
  padding: clamp(42px, 5vw, 80px) 0 90px 6%;
  overflow-wrap: anywhere;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.2vw, 78px);
}
.hero .hero-copy p,
.hero .hero-copy small,
.hero .hero-copy .eyebrow {
  color: #4d5847;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}
h1 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -4px;
  margin: 30px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.hero-copy p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 24px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  border-radius: 2px;
}
.hero .button {
  margin: 18px 0 24px;
}
.hero small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #d9d8c9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 500px;
  border-radius: 200px 200px 0 0;
  border: 1px solid #b7bca8;
  transform: rotate(18deg);
}
.art-monogram {
  font-family: Georgia, serif;
  font-size: 270px;
  font-style: italic;
  color: #bec2ae;
  line-height: 1;
}
.art-caption {
  position: absolute;
  bottom: 60px;
  left: 35px;
  font-size: 11px;
  letter-spacing: 2px;
}
.art-caption hr {
  border: 0;
  border-top: 1px solid #a9ae98;
  margin: 15px 0;
  width: 100px;
}
.photo-note {
  position: absolute;
  bottom: 20px;
  left: 35px;
  font-size: 10px;
  color: #68705b;
}
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 6%;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.process div:first-child {
  padding-left: 0;
  border: 0;
}
.process span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.process p {
  font-size: 17px;
  margin: 12px 0 0;
}
.collection {
  padding: 90px 6%;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 400;
  margin: 16px 0 24px;
}
.section-title p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}
.filters button {
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 30px;
  font-size: 12px;
  color: var(--muted);
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 25px;
}
.product-photo {
  border: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #e8e7de;
  color: #929783;
}
.shade-1 {
  background: #e1e4db;
}
.shade-2 {
  background: #ede6dc;
}
.placeholder-mark {
  font-size: 14px;
  letter-spacing: 6px;
}
.placeholder-label {
  font-size: 10px;
  letter-spacing: 0.4px;
}
.product-arrow {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: var(--paper);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}
h3 {
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 8px;
}
.card-label p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px;
}
.contact {
  background: #e3e5dc;
  padding: 60px 6%;
  text-align: center;
}
.contact h2 {
  font-size: 48px;
}
.contact p {
  font-size: 13px;
  line-height: 1.7;
}
.contact a {
  display: inline-block;
  margin: 16px;
  font-size: 22px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 6%;
  font-size: 10px;
  letter-spacing: 1px;
}
dialog {
  border: 0;
  width: min(1000px, 94vw);
  max-height: 90vh;
  padding: 32px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
}
dialog::backdrop {
  background: #20271dc9;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head button {
  background: none;
  border: 0;
  font-size: 22px;
  padding: 10px;
}
#detail > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.configure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 25px;
}
label {
  display: block;
  font-size: 13px;
  margin: 18px 0;
}
label span {
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd0c1;
  background: #fffefa;
  border-radius: 3px;
  padding: 12px;
  margin-top: 8px;
  color: var(--ink);
}
textarea {
  min-height: 80px;
  resize: vertical;
}
.summary {
  background: #e9ece1;
  padding: 25px;
  align-self: start;
}
.summary h3 {
  margin: 16px 0;
}
.summary pre {
  font:
    12px/1.8 "DM Sans",
    Arial,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.summary .button {
  width: 100%;
  gap: 8px;
}
.hint {
  font-size: 11px;
  line-height: 1.7;
  color: #65715d;
}
#errors {
  padding-left: 18px;
  color: #8a3e2b;
  font-size: 12px;
  line-height: 1.8;
}
#copy-status {
  font-size: 12px;
}
@media (max-width: 750px) {
  header {
    min-height: 88px;
    padding: 18px 0;
    column-gap: 16px;
    margin: 0 5%;
  }
  nav {
    gap: 15px;
    font-size: 11px;
  }
  nav a:nth-child(2) {
    display: none;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand {
    font-size: clamp(16px, calc(var(--brand-size, 22px) * 0.78), 26px);
    letter-spacing: 1px;
  }
  .hero {
    --hero-photo-height: clamp(300px, 90vw, 440px);
    min-height: 740px;
    margin: 0 0 36px;
  }
  .hero::after {
    background: linear-gradient(
      to bottom,
      #f8f6f1fa 0%,
      #f8f6f1f5 calc(100% - var(--hero-photo-height)),
      #f8f6f180 calc(100% - var(--hero-photo-height) + 60px),
      #f8f6f100 calc(100% - var(--hero-photo-height) + 150px)
    );
  }
  .hero-copy {
    width: 100%;
    padding: 32px 5% calc(var(--hero-photo-height) + 20px);
  }
  .hero-copy h1 {
    font-size: clamp(38px, 9vw, 56px);
    letter-spacing: -2px;
    margin: 18px 0;
  }
  .hero-copy p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 440px;
  }
  .hero .button {
    margin: 12px 0 18px;
  }
  .hero small {
    font-size: 11px;
  }
  h1 {
    font-size: 62px;
  }
  .hero-art {
    min-height: 0;
  }
  .art-monogram {
    font-size: 220px;
  }
  .hero-art:before {
    height: 350px;
    width: 250px;
  }
  .process {
    margin: 0 5%;
    gap: 10px;
  }
  .process div {
    padding-left: 10px;
  }
  .process span {
    font-size: 8px;
  }
  .process p {
    font-size: 12px;
  }
  .collection {
    padding: 55px 5%;
  }
  .section-title {
    display: block;
  }
  h2 {
    font-size: 30px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
  }
  .card-label {
    flex-direction: column;
  }
  .card-label h3 {
    font-size: 14px;
  }
  .text-button {
    text-align: left;
    align-self: start;
  }
  .placeholder-mark {
    font-size: 10px;
    letter-spacing: 3px;
  }
  .placeholder-label {
    font-size: 9px;
  }
  .contact h2 {
    font-size: 38px;
  }
  .configure-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  dialog {
    padding: 22px;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    padding: 9px 14px;
  }
  footer {
    font-size: 8px;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.hero-art > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 1;
}
.product-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}
.product-gallery img {
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.swatch {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px;
  border-radius: 3px;
  color: var(--ink);
}
.swatch img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.swatch span {
  display: block;
  font-size: 11px;
  padding: 5px;
}
.swatch[aria-pressed="true"] {
  outline: 2px solid var(--accent);
}
.product-photo img,
.product-gallery img,
.hero-art > img,
.swatch img {
  object-fit: contain;
}
.hero-art {
  background: #e8e7de;
}
/* La foto abre la galería; Personalizar conserva su diseño y su acción. */
.gallery-open {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}
.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d4d8cd;
  border-radius: 50%;
  background: #f8f6f1f2;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 2px 8px #25302014;
}
.gallery-previous {
  left: 10px;
}
.gallery-next {
  right: 10px;
}
.gallery-position {
  position: absolute;
  bottom: 14px;
  left: 12px;
  pointer-events: none;
  font-size: 11px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 20px;
  background: #f8f6f1ed;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .product-photo .gallery-nav {
    opacity: 0;
    transition: opacity 0.15s;
  }
  .product-photo:hover .gallery-nav,
  .product-photo:focus-within .gallery-nav {
    opacity: 1;
  }
}
body.gallery-is-open {
  overflow: hidden;
}
dialog.lightbox {
  width: min(1100px, 96vw);
  max-width: none;
  max-height: 94vh;
  max-height: 94dvh;
  padding: 18px;
  background: var(--paper);
  overflow: auto;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.lightbox-toolbar h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.lightbox-close {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ink);
  color: white;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
}
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(72vh, 760px);
  height: min(72dvh, 760px);
  background: #e8e7de;
  touch-action: pan-y pinch-zoom;
}
.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox-position {
  text-align: center;
  font-size: 12px;
  margin: 12px 0 0;
  min-height: 16px;
}
.lightbox [hidden] {
  display: none;
}
@media (max-width: 750px) {
  dialog.lightbox {
    padding: 12px;
  }
  .lightbox-toolbar h2 {
    font-size: 18px;
  }
  .lightbox-stage {
    height: 65vh;
    height: 65dvh;
  }
  .gallery-nav {
    width: 44px;
    height: 44px;
  }
  .product-photo .gallery-previous {
    left: 4px;
  }
  .product-photo .gallery-next {
    right: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-photo .gallery-nav {
    transition: none;
  }
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  background: #e8e7de;
}
.hero-ready > .art-monogram,
.hero-ready > .art-caption,
.hero-ready > .photo-note {
  visibility: hidden;
}
.hero-ready > .hero-slideshow {
  visibility: visible;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}
.hero-slide-image,
.hero-slide-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide-image {
  z-index: 1;
  object-fit: contain;
  object-position: right center;
  padding-left: 22%;
}
.hero-slide-backdrop {
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.05);
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide-controls {
  position: absolute;
  bottom: 14px;
  left: 72%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d4d8cd;
  border-radius: 30px;
  background: #f8f6f1f5;
  color: var(--ink);
  box-shadow: 0 2px 10px #25302014;
  white-space: nowrap;
}
.hero-slide-controls button {
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 24px;
  min-height: 44px;
  min-width: 44px;
  font-size: 24px;
}
.hero-slide-controls [data-hero-pause] {
  font-size: 12px;
  padding: 0 12px;
}
.hero-slide-controls [data-hero-position] {
  font-size: 11px;
  padding: 0 5px;
}
.hero-slide-controls [hidden],
.hero-slide-controls[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero-art > .art-monogram {
  margin-left: 45%;
}
.hero-art > .art-caption,
.hero-art > .photo-note {
  left: 62%;
}
@media (min-width: 751px) and (max-width: 1050px) {
  .hero-copy {
    width: 49%;
    padding-left: 5%;
  }
  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .hero::after {
    background: linear-gradient(90deg, #f8f6f1fa, #f8f6f1f5 49%, #f8f6f100 85%);
  }
}
@media (max-width: 750px) {
  .hero-slide-image {
    padding-left: 0;
    object-position: center bottom;
  }
  .hero-slide-controls {
    left: 50%;
  }
  .hero-art > .art-monogram {
    margin-left: 0;
    align-self: end;
    margin-bottom: 60px;
  }
  .hero-art > .art-caption {
    left: 5%;
    bottom: 30px;
  }
  .hero-art > .photo-note {
    left: 5%;
    bottom: 12px;
  }
}

.hero-copy > * {
  pointer-events: auto;
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .product-photo .gallery-nav {
    opacity: 1;
  }
  .cards article {
    min-width: 0;
  }
  .card-label {
    overflow-wrap: anywhere;
  }
  .card-label h3 {
    font-size: 16px;
  }
  .card-label p {
    font-size: 13px;
  }
  .card-label .text-button {
    min-height: 44px;
    font-size: 13px;
  }
  .filters button {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

.selected-fabric {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}
.selected-fabric img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 3px;
}
.selected-fabric span,
.swatch span {
  overflow-wrap: anywhere;
}
.swatch {
  max-width: 100%;
}
.variant-gallery {
  position: relative;
  width: 100%;
  background: #eeede6;
  margin: 16px 0;
  touch-action: pan-y;
}
.variant-gallery > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  min-height: 100px;
  object-fit: contain;
}
.variant-gallery .gallery-nav {
  opacity: 1;
  visibility: visible;
  min-width: 44px;
  min-height: 44px;
}
.variant-gallery .gallery-position {
  pointer-events: none;
}
#customizer-original-photos[hidden] {
  display: none;
}
/* El encuadre del producto llena siempre el marco 5:4 del catálogo y sus variantes. */
.product-photo img {
  object-fit: cover;
}
.variant-gallery {
  aspect-ratio: 5 / 4;
}
.variant-gallery > img {
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: cover;
}
