:root {
  --ink: #17201e;
  --paper: #f7f3eb;
  --white: #fffdfa;
  --mint: #20c9b3;
  --mint-soft: #dff2ed;
  --green: #2f806c;
  --green-dark: #087d6f;
  --purple: #51457f;
  --purple-dark: #302852;
  --purple-soft: #e8e3f2;
  --line: rgba(13, 23, 20, .18);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
.sr-only, .honeypot {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-150%);
  background: var(--ink); color: white; padding: 10px 14px; border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: 80px; padding: 0 clamp(20px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--mint) 0 45%, var(--green) 45% 78%, var(--purple) 78% 100%);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 42px); font-size: .86rem; font-weight: 700; }
.main-nav a { position: relative; padding: 11px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--green); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav .nav-highlight { background: var(--mint); padding: 9px 16px; border-radius: 999px; }
.main-nav .nav-highlight::after { display: none; }
.main-nav .nav-highlight:hover { background: var(--green); color: white; }
.menu-button { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  position: relative; min-height: calc(100svh - 80px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  max-width: var(--max); margin: 0 auto; padding: clamp(55px, 7vw, 105px) clamp(20px, 4vw, 64px);
  gap: clamp(35px, 7vw, 105px); align-items: center;
}
.hero-grid {
  position: absolute; z-index: -2; inset: 0;
  background-image: linear-gradient(rgba(66,80,132,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(0,151,110,.1) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -3; width: 42vw; height: 42vw; min-width: 500px; min-height: 500px;
  left: -14vw; top: -19vw; border-radius: 50%; background: var(--mint-soft); filter: blur(2px);
}
.eyebrow, .section-kicker { text-transform: uppercase; font-size: .72rem; letter-spacing: .18em; font-weight: 700; }
.eyebrow { display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 34px; height: 8px; background: var(--green); display: inline-block; }
.hero h1 {
  margin: 22px 0 28px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(4.6rem, 8.6vw, 9.2rem); line-height: .84; letter-spacing: -.052em;
}
.hero h1 em { color: var(--green); font-weight: 400; }
.hero-intro { max-width: 690px; font-size: clamp(1.08rem, 1.45vw, 1.36rem); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 44px; }
.hero-notes span { border: 1px solid var(--ink); border-radius: 999px; padding: 7px 12px; font-size: .72rem; font-weight: 700; background: rgba(255,254,248,.55); }
.button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 0 25px; font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--mint); box-shadow: 0 12px 30px rgba(0,151,110,.18); }
.button-primary:hover { color: white; background: var(--green); }
.button-dark { color: white; background: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; color: white; background: var(--purple); font-size: .78rem; }
.button-dark:hover { background: var(--purple-dark); }
.button-light { background: var(--white); color: var(--green-dark); }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 700; }
.text-button { border: 0; background: transparent; border-bottom: 1px solid currentColor; padding: 0 0 3px; font-weight: 700; cursor: pointer; }

.hero-visual { position: relative; min-height: 670px; display: grid; place-items: center; isolation: isolate; }
.hero-shape { position: absolute; z-index: -2; }
.shape-green { width: 82%; height: 78%; background: var(--green); right: 0; top: 7%; clip-path: polygon(21% 0, 100% 16%, 90% 100%, 0 82%); }
.shape-purple { width: 62%; height: 58%; border: 10px solid var(--purple); left: 2%; bottom: 0; transform: rotate(-9deg); }
.hero-logo-ghost { position: absolute; z-index: -1; width: 92%; opacity: .14; transform: rotate(-13deg); filter: brightness(0) invert(1); }
.latest-cover {
  position: relative; z-index: 3; width: min(69%, 455px); padding: 13px; background: var(--white);
  box-shadow: 22px 28px 0 var(--purple), 0 36px 80px rgba(13,23,20,.28); transform: rotate(2.2deg); transition: transform .35s ease;
}
.latest-cover:hover { transform: rotate(-1deg) translateY(-10px); }
.latest-cover img { width: 100%; }
.cover-label { position: absolute; right: -35px; top: 24px; padding: 9px 14px; background: var(--mint); border: 1px solid var(--ink); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.floating-note { position: absolute; z-index: 4; border: 1px solid var(--ink); background: var(--paper); padding: 13px; font-size: .68rem; line-height: 1.15; letter-spacing: .14em; font-weight: 700; box-shadow: 7px 7px 0 var(--mint); }
.note-one { left: 0; top: 13%; transform: rotate(-5deg); }
.note-two { right: 1%; bottom: 13%; background: var(--mint); box-shadow: 7px 7px 0 var(--purple); transform: rotate(5deg); }

.marquee { overflow: hidden; background: var(--purple); color: white; border-block: 1px solid var(--ink); }
.marquee > div { width: max-content; display: flex; align-items: center; gap: 22px; padding: 13px 0; animation: marquee 27s linear infinite; font-size: .78rem; letter-spacing: .16em; font-weight: 700; }
.marquee i { color: var(--mint); font-style: normal; }
@keyframes marquee { to { transform: translateX(-46%); } }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 10vw, 155px) clamp(20px, 4vw, 64px); }
.section-kicker { margin-bottom: 24px; color: var(--green-dark); }
.section-kicker.light { color: var(--mint); }
.entry-heading { display: grid; grid-template-columns: 1fr minmax(280px, 410px); column-gap: 60px; align-items: end; }
.entry-heading .section-kicker { grid-column: 1 / -1; }
.entry-heading h2, .latest h2, .section-heading h2, .art-mail h2, .manifesto h2, .shop h2, .visit h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: .95;
}
.entry-heading h2 { margin: 0; font-size: clamp(3.4rem, 6.6vw, 7.2rem); }
.entry-heading > p { font-size: 1.12rem; margin: 0 0 10px; }
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.entry-card {
  min-height: 365px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 25px;
  display: flex; flex-direction: column; text-align: left; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.entry-card::before { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid currentColor; border-radius: 50%; right: -75px; top: -75px; opacity: .35; transition: transform .4s ease; }
.entry-card:hover { transform: translateY(-8px); box-shadow: 0 16px 0 rgba(13,23,20,.1); z-index: 2; }
.entry-card:hover::before { transform: scale(1.35); }
.entry-mint { background: var(--mint); }
.entry-green { background: var(--green); color: white; }
.entry-paper { background: var(--white); }
.entry-purple { background: var(--purple); color: white; }
.entry-number { font-size: .7rem; letter-spacing: .15em; font-weight: 700; }
.entry-card > div { margin-top: auto; max-width: 270px; }
.entry-card p { text-transform: uppercase; font-size: .7rem; letter-spacing: .13em; font-weight: 700; margin: 0 0 10px; }
.entry-card h3 { font-family: var(--serif); font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1; font-weight: 400; margin: 0; }
.entry-arrow { position: absolute; right: 23px; bottom: 21px; font-size: 1.8rem; }

.latest { max-width: none; background: var(--mint-soft); display: grid; grid-template-columns: minmax(350px, .9fr) minmax(0, 1.1fr); gap: clamp(60px, 9vw, 145px); align-items: center; padding-inline: max(clamp(20px,4vw,64px), calc((100vw - var(--max))/2 + 64px)); }
.latest-collage { position: relative; min-height: 660px; display: grid; place-items: center; }
.latest-collage img { position: relative; z-index: 3; width: min(65%, 430px); box-shadow: 20px 24px 0 var(--green), -18px -18px 0 var(--purple); transform: rotate(-2deg); }
.collage-frame { position: absolute; border: 3px solid; }
.frame-one { inset: 3% 12% 8% 2%; border-color: var(--purple); transform: rotate(7deg); }
.frame-two { inset: 14% 1% 1% 17%; border-color: var(--green); transform: rotate(-5deg); }
.latest-collage > span { position: absolute; z-index: 4; left: 0; bottom: 10%; background: var(--paper); border: 1px solid var(--ink); padding: 13px 17px; font-size: .72rem; letter-spacing: .16em; font-weight: 700; line-height: 1.25; }
.latest-date { text-transform: uppercase; font-weight: 700; letter-spacing: .15em; font-size: .75rem; color: var(--purple); }
.latest h2 { margin: 14px 0 28px; font-size: clamp(3.5rem, 6.4vw, 7rem); }
.latest-copy > p:not(.latest-date) { max-width: 650px; font-size: 1.12rem; }
.latest-list { list-style: none; padding: 0; margin: 35px 0 38px; border-top: 1px solid var(--ink); }
.latest-list li { display: flex; gap: 22px; border-bottom: 1px solid var(--ink); padding: 15px 0; font-weight: 600; }
.latest-list span { color: var(--green-dark); font-size: .72rem; letter-spacing: .12em; }

.archive { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 440px); gap: 55px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(3.4rem, 6.5vw, 7rem); }
.section-sidecopy p { color: rgba(13,23,20,.72); margin: 0 0 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 58px 0 38px; }
.filter { border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 9px 18px; cursor: pointer; font-size: .82rem; font-weight: 700; }
.filter.active, .filter:hover { background: var(--green); color: white; border-color: var(--green); }
.issues-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 22px; }
.issue-card { min-width: 0; transition-delay: var(--delay, 0ms); }
.issue-cover { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; padding: 15px; background: var(--card-bg, var(--white)); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--card-shadow, var(--mint)); transition: transform .3s ease, box-shadow .3s ease; }
.issue-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,23,20,.88), transparent 45%); opacity: 0; transition: opacity .25s ease; z-index: 1; }
.issue-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.issue-open { position: absolute; left: 18px; right: 18px; bottom: 17px; z-index: 2; display: flex; justify-content: space-between; color: white; font-weight: 700; opacity: 0; transform: translateY(10px); transition: .25s ease; }
.issue-cover:hover { transform: translate(-4px,-4px); box-shadow: 14px 14px 0 var(--card-shadow, var(--mint)); }
.issue-cover:hover::before { opacity: 1; }
.issue-cover:hover img { transform: scale(1.03); }
.issue-cover:hover .issue-open { opacity: 1; transform: none; }
.issue-meta { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 19px; }
.issue-meta span { font-size: .68rem; color: var(--green-dark); letter-spacing: .14em; font-weight: 700; }
.issue-meta h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.52rem; line-height: 1.05; }
.issue-meta p { margin: 0; font-size: .74rem; text-align: right; color: rgba(13,23,20,.62); }

.art-mail { max-width: none; background: var(--purple); color: white; position: relative; overflow: hidden; }
.art-mail::before { content: "ARTE CORREO"; position: absolute; top: -4vw; left: -1vw; font-family: var(--serif); font-size: 15vw; line-height: 1; color: rgba(255,255,255,.035); white-space: nowrap; }
.art-mail-inner { display: grid; grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr); gap: clamp(55px, 8vw, 125px); align-items: center; position: relative; }
.mail-visual { min-height: 740px; position: relative; display: grid; place-items: center; }
.mail-orbit { position: absolute; border: 2px solid; border-radius: 50%; }
.orbit-one { width: 88%; height: 58%; border-color: var(--mint); transform: rotate(22deg); }
.orbit-two { width: 70%; height: 82%; border-color: var(--green); transform: rotate(-32deg); }
.envelope { width: min(84%, 520px); aspect-ratio: 1.35; position: relative; z-index: 3; margin-top: 110px; filter: drop-shadow(18px 26px 0 rgba(13,23,20,.22)); }
.envelope-back { position: absolute; inset: 0; background: var(--paper); border: 2px solid var(--ink); }
.envelope-front { position: absolute; inset: 0; z-index: 6; background: var(--mint-soft); border: 2px solid var(--ink); clip-path: polygon(0 38%, 50% 72%, 100% 38%, 100% 100%, 0 100%); }
.envelope-front::after { content: "HABITUARTE · CORREO MENSUAL"; position: absolute; left: 24px; bottom: 18px; color: var(--ink); font-size: .62rem; letter-spacing: .14em; font-weight: 700; }
.mail-piece { position: absolute; z-index: 2; border: 2px solid var(--ink); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 700; }
.piece-print-one { width: 42%; height: 80%; left: 5%; top: -40%; background: var(--green); color: white; transform: rotate(-8deg); }
.piece-print-two { width: 42%; height: 82%; right: 7%; top: -42%; background: var(--mint); transform: rotate(7deg); }
.piece-original { width: 43%; height: 67%; left: 29%; top: -52%; background: var(--paper); transform: rotate(1deg); font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.piece-original::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--mint), var(--green) 45%, var(--purple) 46% 58%, transparent 59%); opacity: .7; }
.piece-original span { position: relative; z-index: 2; }
.piece-poem { width: 34%; height: 55%; right: 14%; top: -28%; background: var(--white); transform: rotate(-2deg); font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.sticker { position: absolute; z-index: 7; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; }
.sticker-one { right: 5%; top: 23%; background: var(--mint); transform: rotate(12deg); }
.sticker-two { left: 12%; bottom: 6%; background: var(--purple-soft); transform: rotate(-10deg); }
.mail-logo { position: absolute; z-index: 7; width: 28%; left: 3%; bottom: 4%; transform: rotate(-17deg); }
.mail-tag { margin: 0; font-size: .76rem; letter-spacing: .3em; font-weight: 700; color: var(--mint); }
.art-mail h2 { margin: 12px 0 27px; font-size: clamp(3.7rem, 6.2vw, 6.9rem); }
.mail-intro { max-width: 650px; font-size: 1.14rem; color: rgba(255,255,255,.82); }
.mail-content-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 38px 0; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.mail-content-grid > div { min-height: 125px; padding: 18px; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); display: flex; flex-direction: column; justify-content: space-between; }
.mail-content-grid strong { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--mint); font-weight: 400; }
.mail-content-grid span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; line-height: 1.25; }
.mail-price-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; margin-bottom: 35px; }
.mail-price { border: 2px solid var(--mint); padding: 13px 20px; transform: rotate(-2deg); }
.mail-price strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.mail-price span { font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; }
.mail-price-row p { max-width: 330px; font-size: .82rem; color: rgba(255,255,255,.7); }
.mail-form { border-top: 1px solid rgba(255,255,255,.35); padding-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mail-form label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; margin-bottom: 16px; }
.mail-form input:not([type="checkbox"]), .mail-form select { width: 100%; margin-top: 7px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: white; border-radius: 0; padding: 13px 14px; outline: none; }
.mail-form input::placeholder { color: rgba(255,255,255,.5); }
.mail-form select option { color: var(--ink); }
.mail-form input:focus, .mail-form select:focus { border-color: var(--mint); box-shadow: 0 0 0 2px rgba(0,236,187,.2); }
.check-label { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: rgba(255,255,255,.76); }
.check-label input { margin-top: 4px; accent-color: var(--mint); }
.button-mail { width: 100%; color: var(--ink); background: var(--mint); margin-top: 3px; }
.button-mail:hover { background: white; }
.form-note { font-size: .72rem; color: rgba(255,255,255,.57); margin: 12px 0 0; }

.manifesto { position: relative; }
.manifesto-mark { position: absolute; right: 3%; top: 10%; font-family: var(--serif); font-size: 25rem; color: var(--mint-soft); line-height: 1; z-index: -1; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: clamp(55px, 9vw, 145px); }
.manifesto h2 { margin: 0; font-size: clamp(3.6rem, 6.8vw, 7.4rem); }
.manifesto-copy { font-size: 1.06rem; }
.manifesto-copy p { margin: 0 0 25px; }
.pullquote { font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.7rem); line-height: 1.13; color: var(--green-dark); }

.shop { max-width: none; background: var(--green); color: white; display: grid; grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr); gap: clamp(50px, 8vw, 120px); padding-inline: max(clamp(20px, 4vw, 64px), calc((100vw - var(--max)) / 2 + 64px)); }
.shop h2 { font-size: clamp(3.5rem, 6.3vw, 6.9rem); margin: 0 0 28px; }
.shop-intro > p { max-width: 560px; font-size: 1.1rem; color: rgba(255,255,255,.82); margin-bottom: 35px; }
.shop-categories { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.category-card { min-height: 235px; padding: 28px; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); display: flex; flex-direction: column; transition: background .25s ease; }
.category-card:hover { background: var(--purple); }
.category-card span { color: var(--mint); font-size: .7rem; letter-spacing: .15em; font-weight: 700; }
.category-card h3 { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; margin: auto 0 8px; }
.category-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .88rem; }

.visit { display: grid; grid-template-columns: minmax(350px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(60px, 10vw, 160px); }
.visit-art { position: relative; min-height: 590px; border: 1px solid var(--ink); overflow: hidden; display: grid; place-items: center; background: var(--mint); }
.visit-gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(66,80,132,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(66,80,132,.45) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(500px) rotateX(58deg) scale(1.7); transform-origin: center bottom; }
.visit-art::after { content: ""; position: absolute; width: 130%; height: 130%; border: 3px solid var(--purple); border-radius: 50%; transform: rotate(-20deg); }
.visit-art img { width: 62%; position: relative; z-index: 2; }
.visit-art > span { position: absolute; z-index: 3; font-size: .65rem; letter-spacing: .18em; font-weight: 700; background: var(--paper); border: 1px solid var(--ink); padding: 8px 10px; }
.visit-art > span:nth-of-type(1) { left: 18px; top: 18px; }
.visit-art > span:nth-of-type(2) { right: 18px; top: 18px; background: var(--purple); color: white; }
.visit-art > span:nth-of-type(3) { right: 18px; bottom: 18px; }
.visit h2 { margin: 0 0 22px; font-size: clamp(3.7rem, 6.3vw, 7.1rem); }
.visit-copy > p { max-width: 620px; font-size: 1.18rem; }
.visit address { margin: 34px 0; font-family: var(--serif); font-size: 1.8rem; line-height: 1.23; color: var(--green-dark); }
.visit-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.site-footer { position: relative; background: var(--ink); color: white; padding: 55px clamp(20px, 4vw, 64px) 42px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; font-size: .82rem; }
.footer-colorbar { position: absolute; top: 0; left: 0; right: 0; height: 10px; display: grid; grid-template-columns: 2fr 1fr .75fr; }
.footer-colorbar span:nth-child(1) { background: var(--mint); }
.footer-colorbar span:nth-child(2) { background: var(--green); }
.footer-colorbar span:nth-child(3) { background: var(--purple); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 58px; filter: drop-shadow(0 0 1px white); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.footer-brand span { color: rgba(255,255,255,.58); }
.footer-contact { display: flex; gap: 24px; }
.footer-contact a:hover { color: var(--mint); }
.site-footer > p { margin: 0; color: rgba(255,255,255,.55); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.reader-body { height: 100vh; overflow: hidden; background: #222; }
.reader-header { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; background: var(--paper); border-top: 5px solid var(--mint); border-bottom: 1px solid var(--line); }
.reader-header .brand img { width: 38px; height: 38px; }
.reader-title { font-size: .85rem; font-weight: 700; text-align: center; }
.reader-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.reader-close { width: 40px; height: 40px; display: grid; place-items: center; font-size: 2rem; line-height: 1; }
.reader-main { height: calc(100vh - 68px); }
.reader-main iframe { width: 100%; height: 100%; border: 0; background: var(--paper); }

.reader-mobile-help { display:none; padding:18px; background:var(--paper); border-bottom:1px solid var(--line); text-align:center; }
.reader-mobile-help strong, .reader-mobile-help span { display:block; }
.reader-mobile-help span { margin:4px 0 12px; color:rgba(23,32,30,.68); font-size:.9rem; }

.reader-fallback { min-height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding: 30px; background: var(--paper); }
.reader-fallback h1 { font-family: var(--serif); font-weight: 400; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--mint-soft); }
.thanks-card { width: min(720px, 100%); background: var(--paper); border: 1px solid var(--ink); padding: clamp(35px, 7vw, 80px); text-align: center; box-shadow: 18px 18px 0 var(--purple); }
.thanks-card img { width: 125px; margin: 0 auto 25px; }
.thanks-card h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 6rem); line-height: .95; margin: 0 0 25px; }
.thanks-card p { max-width: 520px; margin: 0 auto 30px; font-size: 1.05rem; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr 430px; gap: 30px; }
  .hero-visual { min-height: 600px; }
  .entry-grid { grid-template-columns: 1fr 1fr; }
  .issues-grid { grid-template-columns: repeat(3, 1fr); }
  .art-mail-inner { grid-template-columns: 1fr; }
  .mail-visual { min-height: 700px; max-width: 720px; width: 100%; margin-inline: auto; }
  .shop { grid-template-columns: 1fr; }
}

@media (max-width: 790px) {
  .site-header { min-height: 72px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav .nav-highlight { padding: 13px 0; background: transparent; border-radius: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero h1 { font-size: clamp(4.3rem, 18vw, 6.8rem); }
  .hero-visual { min-height: 560px; }
  .latest-cover { width: 62%; }
  .entry-heading, .section-heading, .latest, .manifesto-grid, .visit { grid-template-columns: 1fr; }
  .entry-heading .section-kicker { grid-column: auto; }
  .entry-heading > p { margin-top: 22px; }
  .latest-collage { min-height: 560px; }
  .section-heading { align-items: start; }
  .issues-grid { grid-template-columns: repeat(2, 1fr); }
  .mail-content-grid { grid-template-columns: 1fr 1fr; }
  .mail-visual { min-height: 610px; }
  .shop { padding-inline: 20px; }
  .shop-categories { grid-template-columns: 1fr 1fr; }
  .visit-art { min-height: 440px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .reader-header { grid-template-columns: 1fr auto; }
  .reader-title { display: none; }
}

@media (max-width: 520px) {
  .brand span { font-size: 1.15rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 455px; }
  .latest-cover { width: 68%; box-shadow: 12px 16px 0 var(--purple), 0 25px 60px rgba(13,23,20,.25); }
  .cover-label { right: -18px; }
  .floating-note { font-size: .55rem; padding: 9px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 270px; }
  .latest-collage { min-height: 440px; }
  .latest-collage img { width: 66%; box-shadow: 12px 16px 0 var(--green), -10px -10px 0 var(--purple); }
  .issues-grid { grid-template-columns: 1fr; }
  .issue-cover { aspect-ratio: 4 / 5; }
  .mail-visual { min-height: 490px; }
  .envelope { width: 92%; margin-top: 80px; }
  .mail-piece { border-width: 1px; }
  .piece-original { font-size: 1rem; }
  .piece-poem { font-size: .85rem; }
  .mail-content-grid { grid-template-columns: 1fr 1fr; }
  .mail-price-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .shop-categories { grid-template-columns: 1fr; }
  .category-card { min-height: 185px; }
  .reader-header .brand span { display: none; }
  .reader-actions .button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==============================
   HABITUARTE V3 · Editorial accesible
   Paleta: 70% neutros, 20% tinta y 10% acentos del logo.
   ============================== */
body {
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 5%, rgba(81,69,127,.055), transparent 23rem),
    var(--paper);
}
.site-header { min-height: 76px; }
.site-header::before { height: 4px; background: linear-gradient(90deg, var(--mint) 0 38%, var(--green) 38% 68%, var(--purple) 68% 100%); }
.main-nav .nav-highlight { background: var(--purple-soft); color: var(--purple-dark); border: 1px solid rgba(81,69,127,.35); }
.main-nav .nav-highlight:hover { background: var(--purple); color: white; }

.hero { min-height: auto; padding-top: clamp(62px,7vw,105px); padding-bottom: clamp(82px,9vw,130px); }
.hero-grid { opacity: .55; mask-image: linear-gradient(to right, black, transparent 80%); }
.hero::after { background: var(--purple-soft); opacity: .62; width: 34vw; height: 34vw; min-width: 380px; min-height: 380px; }
.hero h1 { font-size: clamp(4.2rem, 7.7vw, 8.1rem); line-height: .9; max-width: 850px; }
.hero h1 em { color: var(--purple); }
.hero-intro { max-width: 700px; color: rgba(23,32,30,.82); }
.hero-notes span { background: rgba(255,253,250,.85); border-color: rgba(23,32,30,.45); }
.button-primary { background: var(--mint); color: var(--ink); box-shadow: 0 10px 24px rgba(23,32,30,.12); }
.button-primary:hover { background: var(--purple); color: white; }
.shape-green { background: var(--mint-soft); border: 2px solid var(--green); }
.shape-purple { border-width: 7px; opacity: .85; }
.hero-logo-ghost { opacity: .09; filter: none; }
.latest-cover { box-shadow: 18px 22px 0 var(--purple), 0 32px 75px rgba(23,32,30,.2); }
.cover-label { background: var(--white); border-color: var(--purple); color: var(--purple-dark); }
.floating-note { box-shadow: 6px 6px 0 var(--purple-soft); }
.note-two { background: var(--mint-soft); box-shadow: 6px 6px 0 var(--purple); }

.marquee { background: var(--ink); }
.marquee i { color: var(--mint); }
.section { padding-top: clamp(82px,9vw,135px); padding-bottom: clamp(82px,9vw,135px); }
.section-kicker { color: var(--purple); }
.entry-heading h2, .latest h2, .section-heading h2, .art-mail h2, .manifesto h2, .shop h2, .visit h2 { line-height: 1; }
.entry-heading h2, .section-heading h2 { font-size: clamp(3.1rem,5.7vw,6rem); }

.entry-grid { gap: 14px; border: 0; }
.entry-card {
  min-height: 310px;
  border: 1px solid rgba(23,32,30,.35);
  background: var(--white);
  box-shadow: 0 0 0 transparent;
}
.entry-card::after { content:""; position:absolute; left:0; right:0; top:0; height:8px; background: var(--accent, var(--mint)); }
.entry-card::before { opacity: .13; }
.entry-card:hover { box-shadow: 0 14px 32px rgba(23,32,30,.1); }
.entry-mint { --accent: var(--mint); }
.entry-green { --accent: var(--green); color: var(--ink); }
.entry-paper { --accent: var(--purple); }
.entry-purple { --accent: linear-gradient(90deg,var(--purple),var(--mint)); color: var(--ink); }
.entry-card p { color: var(--purple); }
.entry-card h3 { font-size: clamp(1.8rem,2.35vw,2.55rem); }

.latest { background: var(--white); border-block: 1px solid var(--line); }
.latest::before { content:""; position:absolute; left:0; right:0; height:100%; pointer-events:none; background: linear-gradient(90deg, rgba(223,242,237,.55), transparent 48%); }
.latest { position:relative; }
.latest-collage img { box-shadow: 16px 20px 0 var(--mint), -14px -14px 0 var(--purple); }
.frame-two { border-color: var(--mint); }
.latest h2 { font-size: clamp(3.2rem,5.7vw,6.1rem); }
.latest-list span { color: var(--purple); }

.filter.active, .filter:hover { background: var(--purple); border-color: var(--purple); }
.issue-cover { box-shadow: 7px 7px 0 var(--card-shadow, var(--purple-soft)); }
.issue-cover:hover { box-shadow: 11px 11px 0 var(--card-shadow, var(--purple-soft)); }
.issue-meta span { color: var(--purple); }

.art-mail {
  background: var(--white);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.art-mail::before { color: rgba(81,69,127,.04); }
.art-mail-inner { align-items: start; }
.mail-visual { position: sticky; top: 110px; }
.orbit-one { border-color: var(--mint); opacity: .68; }
.orbit-two { border-color: var(--purple); opacity: .72; }
.envelope-front { background: var(--purple-soft); }
.piece-print-one { background: var(--green); }
.piece-print-two { background: var(--mint); }
.mail-tag { color: var(--green-dark); }
.art-mail h2 { font-size: clamp(3.35rem,5.75vw,6.3rem); }
.mail-intro { color: rgba(23,32,30,.82); font-size: 1.15rem; }
.mail-support { max-width: 650px; border-left: 4px solid var(--purple); padding-left: 18px; color: var(--purple-dark); font-weight: 600; }
.mail-content-grid { border-color: rgba(23,32,30,.25); }
.mail-content-grid > div { border-color: rgba(23,32,30,.25); background: rgba(247,243,235,.62); }
.mail-content-grid strong { color: var(--purple); }
.mail-content-grid span { color: var(--ink); }
.mail-reasons { margin: 0 0 34px; border-top: 1px solid var(--line); }
.mail-reasons article { display:grid; grid-template-columns: 42px 1fr; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.mail-reasons article > span { font-size:.7rem; letter-spacing:.14em; color:var(--purple); font-weight:700; padding-top:5px; }
.mail-reasons h3 { margin:0 0 3px; font-family:var(--serif); font-size:1.45rem; font-weight:400; }
.mail-reasons p { margin:0; color:rgba(23,32,30,.68); font-size:.88rem; }
.mail-price { border-color: var(--purple); color: var(--purple-dark); background: var(--purple-soft); transform: none; }
.mail-price-row p { color: rgba(23,32,30,.7); }
.mail-form { border:1px solid rgba(23,32,30,.24); background:var(--paper); padding:26px; }
.form-intro h3 { font-family:var(--serif); font-size:2rem; font-weight:400; margin:0 0 4px; }
.form-intro p { margin:0 0 22px; color:rgba(23,32,30,.68); font-size:.9rem; }
.mail-form label { color: var(--ink); }
.mail-form input:not([type="checkbox"]), .mail-form select { background:var(--white); color:var(--ink); border-color:rgba(23,32,30,.35); border-radius:4px; }
.mail-form input::placeholder { color:rgba(23,32,30,.43); }
.mail-form input:focus, .mail-form select:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(81,69,127,.13); }
.check-label { color:rgba(23,32,30,.72); }
.check-label input { accent-color: var(--purple); }
.button-mail { background:var(--purple); color:white; }
.button-mail:hover { background:var(--green-dark); }
.form-note { color:rgba(23,32,30,.6); }

.manifesto-mark { color: var(--purple-soft); opacity:.7; }
.pullquote { color: var(--purple-dark); }

.shop { background: var(--ink); }
.shop-intro > p { color: rgba(255,255,255,.78); }
.category-card:hover { background: var(--purple-dark); }
.category-card span { color: var(--mint); }

.visit-art { background: var(--purple-soft); min-height: 520px; }
.visit-art::after, .visit-gridlines { display:none; }
.cafe-social-card { width:min(78%,500px); position:relative; z-index:2; background:var(--white); border:1px solid var(--ink); padding:clamp(28px,5vw,58px); box-shadow:16px 16px 0 var(--mint); }
.cafe-social-card img { width:42%; margin:14px auto 20px; }
.cafe-social-card p { font-family:var(--serif); font-size:clamp(1.55rem,2.5vw,2.3rem); line-height:1.12; margin:20px 0; }
.cafe-social-card a { display:inline-flex; gap:8px; align-items:center; font-weight:700; border-bottom:1px solid currentColor; }
.cafe-label { display:inline-block; font-size:.67rem; letter-spacing:.13em; font-weight:700; color:var(--purple); }
.visit h2 { font-size: clamp(3.3rem,5.7vw,6.2rem); }
.visit address { color: var(--purple); }

.footer-colorbar { height:7px; }
.thanks-page { background: var(--purple-soft); }

@media (max-width: 1120px) {
  .mail-visual { position:relative; top:auto; }
}
@media (max-width: 790px) {
  body { font-size:16.5px; }
  .hero h1 { font-size:clamp(3.8rem,16vw,6rem); }
  .entry-grid { gap:10px; }
  .mail-form { padding:20px; }
  .cafe-social-card { width:84%; }
}
@media (max-width: 520px) {
  .hero { padding-top:55px; }
  .hero h1 { font-size:clamp(3.55rem,16.5vw,5.2rem); }
  .hero-intro { font-size:1.02rem; }
  .entry-card { min-height:225px; }
  .mail-content-grid > div { min-height:110px; padding:14px; }
  .mail-reasons h3 { font-size:1.25rem; }
  .cafe-social-card { width:90%; padding:26px; box-shadow:10px 10px 0 var(--mint); }
}


/* ===== TIENDA V4 ===== */
.store { max-width: none; padding-inline: max(clamp(20px, 4vw, 64px), calc((100vw - var(--max)) / 2 + 64px)); background: #f5f0e7; color: var(--ink); }
.store-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: clamp(40px, 8vw, 120px); align-items: end; margin-bottom: 54px; }
.store h2 { margin: 0; font-size: clamp(3.8rem, 7vw, 7.6rem); max-width: 900px; }
.store-intro-copy > p { font-size: 1.08rem; line-height: 1.65; margin: 0 0 24px; }
.store-logistics { display: flex; flex-wrap: wrap; gap: 10px; }
.store-logistics span { padding: 9px 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 700; background: white; }
.store-featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); min-height: 440px; background: var(--ink); color: white; margin-bottom: 48px; overflow: hidden; }
.store-featured img { width: 100%; height: 100%; object-fit: cover; }
.store-featured > div { padding: clamp(34px, 5vw, 74px); display: flex; flex-direction: column; justify-content: center; }
.store-featured-label { color: var(--mint); font-size: .72rem; letter-spacing: .18em; font-weight: 700; }
.store-featured h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 4.8rem); line-height: .98; margin: 14px 0 22px; }
.store-featured p:last-child { color: rgba(255,255,255,.76); line-height: 1.6; }
.store-toolbar { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.store-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.store-filter { appearance: none; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 10px 15px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.store-filter:hover, .store-filter.active { background: var(--ink); color: white; }
#store-result-count { margin: 0; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.product-card { background: white; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 11px 11px 0 var(--mint); }
.product-image-button { position: relative; padding: 0; border: 0; background: #ece8df; cursor: pointer; aspect-ratio: 4 / 4.6; overflow: hidden; }
.product-image-button img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image-button img { transform: scale(1.025); }
.product-badge { position: absolute; left: 12px; top: 12px; background: var(--paper); border: 1px solid var(--ink); padding: 7px 9px; font-size: .63rem; letter-spacing: .09em; font-weight: 800; text-transform: uppercase; }
.product-info { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-category { color: var(--green-dark); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin: 0 0 7px; }
.product-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; margin: 0 0 8px; }
.product-artist { margin: 0 0 18px; color: var(--muted); font-size: .78rem; }
.product-card-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 15px; }
.product-price { font-weight: 800; font-size: 1.02rem; }
.product-detail-button { border: 0; background: transparent; font: inherit; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.store-note { margin-top: 50px; border: 1px solid var(--ink); padding: 24px 28px; display: grid; grid-template-columns: 260px 1fr; gap: 35px; align-items: start; background: var(--mint-soft); }
.store-note strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.store-note p { margin: 0; line-height: 1.6; }
.product-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.product-modal.open { display: block; }
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(18,20,22,.72); backdrop-filter: blur(6px); }
.product-modal-card { position: relative; width: min(1050px, calc(100vw - 34px)); max-height: calc(100vh - 34px); overflow: auto; margin: 17px auto; background: var(--paper); border: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); }
.product-modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--ink); background: var(--paper); font: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.product-modal-media { background: #ece7dd; min-height: 620px; }
.product-modal-media img { width: 100%; height: 100%; min-height: 620px; object-fit: contain; display: block; }
.product-modal-copy { padding: clamp(38px, 5vw, 72px) clamp(28px, 4vw, 58px); }
.product-modal-category { color: var(--green-dark); font-size: .7rem; letter-spacing: .15em; font-weight: 800; text-transform: uppercase; margin: 0 0 12px; }
.product-modal-copy h2 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: .95; margin: 0 0 12px; }
.product-modal-artist { font-weight: 700; color: var(--purple-dark); }
.product-modal-description { line-height: 1.62; margin: 24px 0; }
.product-specs { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.product-specs dt { color: var(--muted); font-size: .78rem; }
.product-specs dd { margin: 0; font-weight: 700; font-size: .84rem; }
.product-variant-group { margin: 20px 0; }
.product-variant-group label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.product-variant-group select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--ink); background: white; font: inherit; }
.product-modal-price { font-family: var(--serif); font-size: 2.3rem; margin: 28px 0 20px; }
.product-modal-note { font-size: .75rem; color: var(--muted); line-height: 1.5; }
body.modal-open { overflow: hidden; }
@media (max-width: 1120px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .store-heading, .store-featured { grid-template-columns: 1fr; }
  .store-featured { min-height: 0; }
  .store-featured img { aspect-ratio: 16 / 10; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-modal-card { grid-template-columns: 1fr; }
  .product-modal-media, .product-modal-media img { min-height: 380px; max-height: 55vh; }
  .store-note { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .store { padding-inline: 16px; }
  .store-toolbar { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image-button { aspect-ratio: 4 / 4.1; }
  .product-card h3 { font-size: 1.9rem; }
  .product-modal-card { width: calc(100vw - 16px); margin: 8px auto; max-height: calc(100vh - 16px); }
}

@media (max-width: 790px) {
  .reader-body { overflow:auto; background:var(--paper); }
  .reader-header { position:sticky; top:0; z-index:20; height:64px; padding:0 12px; }
  .reader-main { height:calc(100vh - 64px); display:flex; flex-direction:column; }
  .reader-mobile-help { display:block; flex:0 0 auto; }
  .reader-main iframe { min-height:70vh; flex:1 1 auto; }
  .reader-actions #download-link { display:none; }
  .reader-actions #open-link { display:inline-flex; }
}

/* --- Ajustes finales Habituarte v4.2 --- */
.mail-visual {
  min-height: 0;
  display: block;
}

.mail-photo-frame {
  position: sticky;
  top: 110px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 18px;
  box-shadow: 18px 18px 0 rgba(255,255,255,0.08);
}

.mail-scene-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.visit-art {
  position: relative;
  min-height: 590px;
  border: none;
  overflow: hidden;
  display: block;
  background: transparent;
}

.visit-art::after {
  display: none;
}

.visit-facade-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--ink);
}

.visit-photo-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .18em;
  font-weight: 700;
  background: rgba(245,242,236,0.92);
  color: var(--ink);
  padding: 9px 12px;
  border: 1px solid var(--ink);
}

@media (max-width: 900px) {
  .mail-photo-frame {
    position: relative;
    top: auto;
    padding: 14px;
    box-shadow: 10px 10px 0 rgba(255,255,255,0.08);
  }

  .visit-art {
    min-height: 0;
  }

  .visit-facade-photo {
    aspect-ratio: 4 / 4.8;
  }
}
