/* Hallmark v2 | editorial | escaparate | fotografía de interiores | acción: explorar */
/* La luz en el aparador y el contraste con el fondo verde sostienen la apertura. */
:root {
  --paper: #f8f6ee; --ink: #1c3028; --deep: #23392e; --muted: #535b4e;
  --line: #d8d7c9; --accent: #f0d5a5; --warm: #e6d9c4; --white: #fffdf7;
  --shadow: #14231dc4; --clear: transparent;
  --display: Georgia, 'Times New Roman', serif; --body: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
a { color: inherit; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; overflow-wrap: break-word; min-width: 0; }
h1, h2 { text-wrap: balance; }
img { display: block; width: 100%; object-fit: cover; }
.shell { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.mast, .foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.mast { min-height: 76px; }
.wordmark { font: 2.15rem/.9 var(--display); text-decoration: none; letter-spacing: -.08em; padding-right: .13em; }
.wordmark span { color: var(--muted); }
.mast nav { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 2rem); font-size: .875rem; }
.mast nav a { text-decoration: none; padding-block: .6rem; }
.mast nav a:hover { text-decoration: underline; }
.saved { border: 1px solid var(--line); border-radius: 99px; background: var(--clear); padding: .48rem .65rem; }
.saved[aria-pressed=true] { background: var(--deep); color: var(--white); }
.saved span { background: var(--warm); color: var(--ink); border-radius: 50%; display: inline-grid; place-items: center; min-width: 1.25rem; font-size: .75rem; padding-inline: .22rem; margin-left: .14rem; }
.hero { display: grid; overflow: clip; background: var(--deep); color: var(--white); border-radius: 3px; }
.hero-copy { padding: clamp(1.6rem, 5vw, 5.15rem); align-self: center; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 6.7rem); letter-spacing: -.066em; }
.hero p { color: var(--white); max-width: 31ch; margin-block: 1.1rem 1.45rem; }
.hero img { height: auto; aspect-ratio: 1.35; background: var(--muted); color: var(--white); object-position: center 58%; }
.primary { display: inline-block; width: fit-content; border: 1px solid var(--accent); background: var(--accent); color: var(--ink); text-decoration: none; padding: .75rem 1.15rem; border-radius: 2px; font-weight: 600; }
.primary:hover { background: var(--white); }
.primary:active, button:active { box-shadow: inset 0 0 0 1px currentColor; }
button:disabled, select:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.collection { padding-block: clamp(2.6rem, 6vw, 5.3rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.45rem; }
.collection-note { color: var(--muted); font-size: .9rem; margin: .55rem 0 0; }
h2 { font-size: clamp(2.15rem, 4.1vw, 4rem); letter-spacing: -.05em; }
.section-head label { display: flex; align-items: center; gap: .65rem; font-size: .88rem; }
select { border: 1px solid var(--line); border-radius: 2px; background: var(--white); padding: .5rem; max-width: 100%; }
.products { display: grid; gap: 1.8rem; }
.product-photo { position: relative; background: var(--warm); }
.product-photo img { aspect-ratio: 1.2; height: auto; }
.heart { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.4rem; line-height: 1; border: 1px solid var(--line); background: var(--white); }
.heart:hover, .heart[aria-pressed=true] { background: var(--accent); }
.product-category, .muted, .status { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.product-category { margin: .8rem 0 .35rem; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.036em; }
.price { margin: .5rem 0; font-weight: 650; }
.affiliate-notice { margin: .85rem 0; padding-left: .75rem; border-left: 2px solid var(--ink); font-size: .9rem; }
.text-button { background: var(--clear); border: 0; text-decoration: underline; text-underline-offset: .2rem; padding: .3rem 0; }
.text-button:hover { color: var(--muted); }
.guide { border-top: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 4rem); display: grid; gap: 1.3rem; }
.guide details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.guide summary { cursor: pointer; font-weight: 600; }
.guide p { margin: .6rem 0 .4rem; color: var(--muted); }
.foot { min-height: 100px; border-top: 1px solid var(--line); }
.foot p { font-size: .8rem; color: var(--muted); text-align: right; }
dialog { width: min(92%, 690px); max-height: 90dvh; color: var(--ink); background: var(--paper); border: 0; padding: 0; }
dialog::backdrop { background: var(--shadow); }
.close { position: absolute; right: .65rem; top: .65rem; }
.close button { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-size: 1.45rem; }
#product-detail img { width: 100%; height: auto; aspect-ratio: 1.75; }
.detail-copy { padding: 1.25rem; }
.detail-copy h2 { font-size: 2.35rem; }
@media (min-width: 620px) {
  .shell { width: min(100% - 4rem, 1280px); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (min-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); }
  .hero img { height: 100%; min-height: 490px; max-height: 650px; aspect-ratio: 1.16; }
  #product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #product-detail img { height: 100%; aspect-ratio: 1; }
  .detail-copy { padding: 3.5rem 1.5rem 1.5rem; }
}
@media (max-width: 350px) {
  .mast nav { gap: .45rem; font-size: .8rem; }
  .wordmark { font-size: 1.8rem; }
}
