/*
Theme Name: MAREA
Theme URI: https://demo2.intelidea.es
Description: Atelier de moda mediterranea - demo ficticio de tienda online.
Author: MAREA Atelier
Version: 3.0
License: Demo
Text Domain: marea
*/

:root {
  --crema:    #f5f0e7;
  --arena:    #e2d2ba;
  --terracota:#b25c3d;
  --terra-d:  #8c422a;
  --arcilla:  #c49a78;
  --tinta:    #231f1c;
  --oliva:    #6c6a52;
  --blanco:   #fcfaf6;
  --dorado:   #bc9456;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* ── Tipografía ─────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra-d);
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker-light { color: var(--dorado); }

/* ── Animaciones de entrada (scroll reveal) ─── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.in { opacity: 1; transform: none; transition: none; }
  .slide.active { transition: opacity 0.6s ease; }
  .hero-copy > * { animation: none !important; }
}

/* ── Botones ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--tinta);
  transition: all 0.3s ease;
  background: none;
  position: relative;
}
.btn-solid { background: var(--tinta); color: var(--blanco); }
.btn-solid:hover { background: var(--terracota); border-color: var(--terracota); }
.btn-ghost { color: var(--blanco); border-color: rgba(252,250,246,0.7); }
.btn-ghost:hover { background: var(--blanco); color: var(--tinta); border-color: var(--blanco); }
.btn-dark { color: var(--tinta); }
.btn-dark:hover { background: var(--tinta); color: var(--blanco); }
.btn-block { width: 100%; text-align: center; }

.fsmall { font-size: 0.78rem; opacity: 0.72; }

/* ── Topbar ─────────────────────────────────── */
.topbar { background: var(--tinta); color: var(--crema); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; }
.topbar-tag { color: var(--dorado); font-weight: 600; }

/* ── Cabecera ───────────────────────────────── */
.site-header {
  background: rgba(252,250,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35,31,28,0.08);
  position: sticky; top: 0; z-index: 200;
}
.header-in { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word {
  font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.38em;
  font-weight: 600; color: var(--tinta);
}
.brand-sub {
  font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(35,31,28,0.5); margin-top: 3px;
}
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--terracota); transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.cart-count {
  background: var(--terracota); color: var(--blanco); border-radius: 50%;
  min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; padding: 0 5px;
}
.nav-burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ── HERO ───────────────────────────────────── */
.hero { position: relative; height: clamp(540px, 92vh, 900px); overflow: hidden; background: var(--tinta); }
.slides { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,13,10,0.74) 0%, rgba(16,13,10,0.44) 46%, rgba(16,13,10,0.1) 100%);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: 1;
  background: linear-gradient(180deg, rgba(16,13,10,0) 0%, rgba(16,13,10,0.42) 100%);
  pointer-events: none;
}
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease; transform: scale(1.06);
}
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1.6s ease, transform 9s linear; }
.hero-ui {
  position: relative; z-index: 2; height: 100%;
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy { max-width: 700px; color: var(--blanco); }
.hero-copy > * { opacity: 0; animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-copy .kicker { animation-delay: 0.25s; }
.hero-copy h1 { animation-delay: 0.4s; }
.hero-copy .hero-sub { animation-delay: 0.55s; }
.hero-copy .hero-cta { animation-delay: 0.7s; }
.hero-copy .kicker { color: var(--terracota); font-size: 0.84rem; letter-spacing: 0.42em; margin-bottom: 20px; }
.hero-copy h1 {
  font-size: clamp(3.1rem, 10.5vw, 7.4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 34px rgba(10,8,5,0.5);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy .kicker { color: var(--terracota); font-size: 0.84rem; letter-spacing: 0.42em; margin-bottom: 20px; }
.hero-sub { margin: 26px 0 40px; font-size: 1.06rem; font-weight: 400; color: rgba(252,250,246,0.94); max-width: 470px; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 34px; bottom: 36px; z-index: 3;
  writing-mode: vertical-rl; font-size: 0.66rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: rgba(252,250,246,0.65);
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after { content: ''; width: 1px; height: 56px; background: rgba(252,250,246,0.45); animation: scrolldrop 2.2s ease-in-out infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-dots {
  position: absolute; bottom: 40px; left: 28px; display: flex; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 40px; height: 3px; border: none; background: rgba(252,250,246,0.35); cursor: pointer; padding: 0;
  transition: background 0.3s;
}
.hero-dots button.active { background: var(--dorado); }

/* ── Marquesina ─────────────────────────────── */
.marquee { background: var(--terracota); color: var(--blanco); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.marquee-track { display: inline-block; animation: mq 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; margin: 0 20px; }
.mq-dot { color: var(--dorado); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Secciones ──────────────────────────────── */
.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.section-cream { background: var(--crema); }
.section-dark { background: var(--tinta); color: var(--crema); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 20px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-title { margin-top: 6px; }
.sec-link {
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--terra-d);
  white-space: nowrap; position: relative; padding-bottom: 4px;
}
.sec-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--terra-d); transition: left 0.3s, width 0.3s; }
.sec-link:hover { color: var(--terracota); }

/* ── Tarjetas de producto ───────────────────── */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 40px 28px; }
.prod-card { position: relative; display: block; }
.prod-img { position: relative; overflow: hidden; background: var(--crema); aspect-ratio: 3/4; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-add {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--tinta); color: var(--blanco);
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 15px 0; text-align: center;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.prod-card:hover .prod-add { transform: translateY(0); }
.prod-info { padding: 18px 2px 0; }
.prod-cat { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--arcilla); font-weight: 600; }
.prod-name { font-size: 1.35rem; margin: 6px 0 4px; font-weight: 500; }
.prod-price { font-weight: 500; font-size: 0.95rem; color: var(--terra-d); letter-spacing: 0.04em; }

/* ── Toolbar tienda ─────────────────────────── */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: none; border: 1px solid rgba(35,31,28,0.25); cursor: pointer;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  padding: 10px 20px; border-radius: 999px; transition: all 0.25s;
}
.chip:hover { border-color: var(--tinta); }
.chip.active { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.shop-count { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--arcilla); }

/* ── Franja info ────────────────────────────── */
.info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.info-item h4 { font-size: 1.15rem; margin: 12px 0 6px; font-weight: 500; }
.info-item p { font-size: 0.88rem; color: rgba(35,31,28,0.7); }
.info-ico { font-size: 1.5rem; }

/* ── Page hero ──────────────────────────────── */
.page-hero {
  padding: 110px 0 92px; background: var(--crema);
  background-size: cover; background-position: center;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,13,10,0.12) 0%, rgba(16,13,10,0.3) 100%);
  pointer-events: none;
}
.page-hero-in { position: relative; z-index: 1; }
.page-hero-shop { background-color: var(--arena); }
.page-hero-shop::after { background: linear-gradient(90deg, rgba(16,13,10,0.66) 0%, rgba(16,13,10,0.34) 55%, rgba(16,13,10,0.1) 100%); }
.page-hero-plain::after { display: none; }
.page-hero-in .kicker { margin-bottom: 10px; }
.page-hero-sub { margin-top: 18px; max-width: 560px; color: rgba(35,31,28,0.78); font-size: 1.05rem; font-weight: 300; }
.page-hero-plain { background-image: none; }
.page-hero-shop .page-hero-in, .page-hero-shop .kicker, .page-hero-shop .page-hero-sub { color: var(--blanco); }

/* ── Banda editorial full-bleed ─────────────── */
.editorial {
  position: relative; height: clamp(460px, 70vh, 680px);
  background-size: cover; background-position: center;
  display: flex; align-items: center; overflow: hidden;
}
.editorial::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,13,10,0.62) 0%, rgba(16,13,10,0.3) 60%, rgba(16,13,10,0.08) 100%);
}
.editorial-in { position: relative; z-index: 1; color: var(--blanco); }
.editorial-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 3.1rem); line-height: 1.28; max-width: 760px;
}
.editorial-sign {
  display: block; margin-top: 26px; font-size: 0.74rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--dorado); font-weight: 500;
}

/* ── Colección (filas) ──────────────────────── */
.collection-list { display: flex; flex-direction: column; }
.col-row {
  display: grid; grid-template-columns: 80px 300px 1fr 40px;
  gap: 28px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid rgba(35,31,28,0.12);
  transition: background 0.3s;
}
.col-row:hover { background: rgba(178,92,61,0.05); }
.col-row.wide .col-img { width: 100%; max-width: none; }
.col-num { font-family: var(--serif); font-size: 1.7rem; color: var(--arcilla); font-weight: 500; }
.col-img { overflow: hidden; aspect-ratio: 3/4; max-width: 300px; background: var(--crema); }
.col-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.col-row:hover .col-img img { transform: scale(1.05); }
.col-name { font-size: 1.6rem; margin: 6px 0 8px; font-weight: 500; }
.col-desc { color: rgba(35,31,28,0.65); font-size: 0.92rem; max-width: 520px; margin-bottom: 10px; font-weight: 300; }
.col-arrow { font-size: 1.6rem; color: var(--terracota); transition: transform 0.3s; }
.col-row:hover .col-arrow { transform: translateX(8px); }

/* ── Nosotras ───────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-imgs { position: relative; }
.about-img.main { width: 82%; box-shadow: 28px 28px 0 var(--arena); }
.about-img.sub {
  position: absolute; right: 0; bottom: -44px; width: 46%;
  border: 8px solid var(--blanco); box-shadow: -16px 16px 0 var(--terra-d);
}
.about-copy p { margin-bottom: 18px; color: rgba(35,31,28,0.82); font-weight: 300; }
.about-copy .btn { margin-top: 14px; }

/* ── Manifiesto ─────────────────────────────── */
.manifesto { text-align: center; }
.manifesto-quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.42; max-width: 840px; margin: 28px auto 64px; font-weight: 500; font-style: italic;
}
.manifesto-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 920px; margin: 0 auto; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.7rem; color: var(--dorado); font-weight: 500; }
.stat span { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; font-weight: 400; }

/* ── Taller ─────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
.work-card { background: var(--blanco); padding: 24px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(35,31,28,0.1); }
.work-card img { aspect-ratio: 4/5; object-fit: cover; margin-bottom: 20px; }
.work-card h4 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 500; }
.work-card p { font-size: 0.9rem; color: rgba(35,31,28,0.7); font-weight: 300; }
.work-data {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 60px; padding-top: 44px; border-top: 1px solid rgba(35,31,28,0.15);
}
.wd strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--terra-d); font-weight: 500; }
.wd span { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(35,31,28,0.6); font-weight: 400; }

/* ── Equipo ─────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 54px; }
.team-card { text-align: center; }
.team-photo { overflow: hidden; margin-bottom: 22px; }
.team-photo img { aspect-ratio: 4/5; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h4 { font-size: 1.3rem; font-weight: 500; }
.team-role { display: block; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terra-d); font-weight: 600; margin: 6px 0 12px; }
.team-card p { font-size: 0.9rem; color: rgba(35,31,28,0.7); max-width: 300px; margin: 0 auto; font-weight: 300; }

/* ── Contacto ───────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-info h3 { font-size: 1.7rem; margin-bottom: 26px; font-weight: 500; }
.ci-row { margin-bottom: 22px; }
.ci-label { display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--arcilla); font-weight: 600; margin-bottom: 4px; }
.ci-map { margin-top: 30px; }
.map-box {
  background: var(--crema); border: 1px solid rgba(35,31,28,0.15);
  padding: 46px; text-align: center; position: relative;
}
.map-pin { font-size: 2rem; color: var(--terracota); display: block; }
.map-label { display: block; margin-top: 10px; font-size: 0.85rem; letter-spacing: 0.08em; }

.contact-form { background: var(--crema); padding: 42px; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 24px; font-weight: 500; }
.contact-form h3 small { font-family: var(--sans); font-size: 0.75rem; opacity: 0.6; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 14px 16px;
  border: 1px solid rgba(35,31,28,0.3); background: var(--blanco);
  font-family: var(--sans); font-size: 0.95rem; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--terracota); border-color: transparent; }
.cf-result { margin-top: 16px; font-size: 0.9rem; color: var(--terra-d); font-weight: 500; }

/* ── Producto (ficha) ───────────────────────── */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; }
.pg-main { overflow: hidden; background: var(--crema); aspect-ratio: 3/4; }
.pg-main img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pg-thumb { border: 2px solid transparent; background: none; cursor: pointer; padding: 0; aspect-ratio: 1; overflow: hidden; }
.pg-thumb.active { border-color: var(--terracota); }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }

.prod-panel { padding-top: 10px; }
.prod-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 10px 0 6px; font-weight: 500; }
.prod-price-big { font-size: 1.6rem; color: var(--terra-d); font-weight: 500; letter-spacing: 0.03em; }
.prod-desc { margin: 22px 0 26px; color: rgba(35,31,28,0.78); font-weight: 300; }

.size-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.size-label { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 46px; padding: 11px 15px; border: 1px solid rgba(35,31,28,0.3);
  background: none; cursor: pointer; font-size: 0.85rem; font-weight: 500;
}
.size-btn:hover { border-color: var(--tinta); }
.size-btn.active { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }

.prod-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.prod-stock { font-size: 0.8rem; color: var(--arcilla); }

.acc { border-top: 1px solid rgba(35,31,28,0.15); }
.acc-item { border-bottom: 1px solid rgba(35,31,28,0.15); }
.acc-head {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 19px 2px; font-family: var(--sans); font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.acc-body { display: none; padding: 0 2px 19px; font-size: 0.92rem; color: rgba(35,31,28,0.75); font-weight: 300; }
.acc-item.open .acc-body { display: block; }
.acc-item.open .acc-head span { transform: rotate(45deg); }
.acc-head span { transition: transform 0.2s; }

/* ── Carrito drawer ─────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 94vw);
  background: var(--blanco); z-index: 500;
  transform: translateX(105%); visibility: hidden; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  display: flex; flex-direction: column; box-shadow: -18px 0 50px rgba(35,31,28,0.25);
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid rgba(35,31,28,0.12); }
.cart-head h3 { font-size: 1.5rem; font-weight: 500; }
.cart-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart-empty { color: rgba(35,31,28,0.6); font-size: 0.95rem; font-weight: 300; }
.cart-empty span { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--arcilla); }
.cart-item { display: flex; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(35,31,28,0.1); }
.cart-item-img { width: 64px; height: 84px; object-fit: cover; background: var(--crema); }
.cart-item-info { flex: 1; }
.cart-item-info h5 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 2px; font-weight: 500; }
.cart-item-meta { font-size: 0.78rem; color: var(--arcilla); margin-bottom: 8px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; }
.cart-item-price { font-weight: 500; font-size: 0.92rem; }
.qty-ctl { display: flex; align-items: center; gap: 10px; }
.qty-ctl button {
  width: 26px; height: 26px; border: 1px solid rgba(35,31,28,0.3); background: none;
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.qty-ctl button:hover { border-color: var(--tinta); }
.cart-foot { padding: 20px 26px; border-top: 1px solid rgba(35,31,28,0.12); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 16px; }
.cart-note { margin-top: 12px; font-size: 0.74rem; color: var(--arcilla); text-align: center; }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(35,31,28,0.55); z-index: 490;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

/* ── Modal checkout ─────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 600; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(35,31,28,0.65);
}
.modal.open { display: flex; }
.modal-card {
  background: var(--blanco); max-width: 520px; width: 100%;
  padding: 42px; position: relative; max-height: 88vh; overflow-y: auto;
}
.modal-x { position: absolute; top: 14px; right: 18px; }
.modal-card h3 { font-size: 1.7rem; margin-bottom: 20px; font-weight: 500; }
.checkout-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(35,31,28,0.1); font-size: 0.95rem; font-weight: 300; }
.checkout-line.total { font-weight: 600; font-size: 1.15rem; border: none; margin-top: 8px; }
.checkout-msg {
  background: var(--crema); padding: 18px; margin: 20px 0;
  font-size: 0.9rem; line-height: 1.5; font-weight: 300;
}
.checkout-msg strong { color: var(--terra-d); }

/* ── Footer ─────────────────────────────────── */
.site-footer { background: var(--tinta); color: var(--crema); padding: 80px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.footer-word {
  display: block; font-family: var(--serif); font-size: 1.5rem;
  letter-spacing: 0.38em; color: var(--blanco); margin-bottom: 6px; font-weight: 600;
}
.footer-tag {
  display: block; font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(243,238,229,0.6); margin-bottom: 18px; font-weight: 400;
}
.fblurb { font-size: 0.9rem; color: rgba(245,240,231,0.65); max-width: 300px; font-weight: 300; }
.fcol h4 {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--dorado); margin-bottom: 16px; font-weight: 600;
}
.fcol p { font-size: 0.88rem; color: rgba(245,240,231,0.75); margin-bottom: 8px; font-weight: 300; }
.fcol a:hover { color: var(--dorado); }
.news-form { display: flex; margin-top: 4px; }
.news-form input {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid rgba(245,240,231,0.3);
  background: none; color: var(--crema); font-size: 0.88rem;
}
.news-form input::placeholder { color: rgba(245,240,231,0.4); }
.news-form button {
  padding: 12px 18px; background: var(--terracota); color: var(--blanco);
  border: none; cursor: pointer; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; transition: background 0.25s;
}
.news-form button:hover { background: var(--terra-d); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(245,240,231,0.15);
  font-size: 0.76rem; color: rgba(245,240,231,0.45); font-weight: 300;
}

/* ── Post card (fallback) ───────────────────── */
.post-card { margin-bottom: 50px; }
.post-card h2 { margin-bottom: 14px; }
.post-card h2 a:hover { color: var(--terracota); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1000px) {
  .info-strip, .manifesto-stats, .work-data { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 70px; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { height: clamp(500px, 80vh, 700px); }
  .hero-scroll { display: none; }
}

@media (max-width: 720px) {
  /* backdrop-filter crea un contenedor para los fixed descendientes y recortaría
     el overlay a la altura del header; lo anulamos en móvil para que sea full-screen */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(252,250,246,0.97); }
  .main-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blanco); z-index: 300;
    flex-direction: column; justify-content: center; align-items: center; gap: 34px;
    transform: translateY(-102%); transition: transform 0.35s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-burger { display: block; z-index: 310; position: relative; }
  .topbar-in { justify-content: center; }
  .topbar-tag { display: none; }
  .col-row { grid-template-columns: 44px 130px 1fr; }
  .col-arrow { display: none; }
  .col-img { max-width: 130px; }
  .work-grid, .team-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .about-img.sub { bottom: -24px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
