/* HORYX · Estilos
   Paleta: negro, marfil y un dorado champaña apagado como acento. */
:root {
  --ink: #141414;
  --ink-soft: #3a3836;
  --muted: #7a756e;
  --line: #e3ddd4;
  --paper: #f6f3ee;
  --paper-2: #efebe4;
  --white: #fffdfa;
  --gold: #a8916a;        /* acento: dorado champaña */
  --gold-deep: #8a7553;
  --danger: #8c3b32;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 1.2em; font-weight: 400; }
.eyebrow.gold { color: var(--gold-deep); }
.lead { color: var(--ink-soft); max-width: 560px; margin: 0 auto 3rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 2.2em; border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; text-decoration: none; font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 400; transition: background .25s, color .25s, border-color .25s;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2b2926; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-light { color: var(--white); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.icon-btn { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: .2em .4em; color: var(--ink); }

/* Announcement + header */
.announce { background: var(--ink); color: #d9d2c5; text-align: center; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding: .75em 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246,243,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 18px; width: auto; display: block; }
.logo-word { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .38em; font-weight: 400; padding-left: .38em; }
.logo-word.small { font-size: 1.2rem; }
.nav { display: flex; gap: 36px; }
.nav a { text-decoration: none; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.cart-btn { display: flex; align-items: center; gap: .6em; background: none; border: 0; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .7rem; letter-spacing: 0; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #1c1b19; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.placeholder {
  display: flex; justify-content: center; align-items: flex-start; padding-top: 48px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(168,145,106,.22), transparent 60%),
    linear-gradient(160deg, #2a2825 0%, #161514 100%);
}
.hero-slide.placeholder span { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.35); border: 1px dashed rgba(255,255,255,.2); padding: .8em 1.4em; max-width: calc(100% - 32px); text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%); }
.hero-content { position: relative; padding-bottom: 96px; padding-top: 120px; width: 100%; }
.hero-content h1 em { color: #e6dccb; }
.hero-mark { width: 86px; height: auto; margin-bottom: 28px; opacity: .92; }
.hero-sub { max-width: 460px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 2rem; }
.hero-dots { position: absolute; right: 24px; bottom: 40px; display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,.35); }
.hero-dots button.active { background: var(--white); }

/* Sections */
.section { padding: 120px 0; }
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-text p { color: var(--ink-soft); max-width: 480px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-deep) !important; margin-top: 1.6em; }

.media-ph {
  position: relative; aspect-ratio: 4 / 5; background: var(--paper-2);
  display: grid; place-items: center; overflow: hidden;
}
.media-ph.tall { aspect-ratio: 4 / 5; }
.media-ph::after {
  content: attr(data-label); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 0 20px; max-width: 80%;
}
.media-ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); }
.media-ph img, .media-ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph:has(img)::after, .media-ph:has(video)::after, .media-ph:has(img)::before { display: none; }

.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps .media-ph { aspect-ratio: 1; margin-bottom: 24px; }
.step-n { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .4em; }
.steps p, .how-grid p { color: var(--ink-soft); font-size: .95rem; }

/* Products */
.products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.product { display: flex; flex-direction: column; background: var(--paper); position: relative; }
.product.featured { outline: 1px solid var(--gold); }
.product .media-ph { aspect-ratio: 1; background: var(--paper-2); }
.product-badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--ink); color: var(--white); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; padding: .55em 1em; }
.product.featured .product-badge { background: var(--gold); }
.product-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .2em; }
.product-desc { color: var(--ink-soft); font-size: .93rem; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: .2em 0 1em; }
.price { font-family: var(--serif); font-size: 1.6rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.saving { color: var(--gold-deep); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.options { display: flex; gap: 8px; margin: 0 0 1.2em; flex-wrap: wrap; }
.options button { flex: 1; min-width: 72px; padding: .7em .4em; border: 1px solid var(--line); background: var(--white); font-size: .8rem; line-height: 1.3; }
.options button small { display: block; color: var(--muted); font-size: .7rem; }
.options button.selected { border-color: var(--ink); }
.options button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.stock-note { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1em; min-height: 1.2em; }
.stock-note.low { color: var(--gold-deep); }
.stock-note.out { color: var(--danger); }
.product-body .btn { margin-top: auto; }
.product.is-out .media-ph { filter: grayscale(1) opacity(.7); }
.includes { list-style: none; padding: 0; margin: 0 0 1.2em; font-size: .9rem; color: var(--ink-soft); }
.includes li { padding: .3em 0 .3em 1.4em; position: relative; }
.includes li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7em; height: 1px; background: var(--gold); }

.soldout-banner { border: 1px solid var(--gold); padding: 24px 28px; margin: 0 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.soldout-banner p { margin: 0; }

/* How */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; }
.how-grid > div { border-top: 1px solid var(--line); padding-top: 24px; }

/* FAQ */
.faq { background: var(--white); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 48px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 1em 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: #bdb5a8; padding: 64px 0; font-size: .85rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-mark { width: 54px; height: auto; opacity: .9; }
.footer-logo { width: 150px; height: auto; margin: 4px 0 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(20,20,20,.45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 50;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--white); }
.empty { color: var(--muted); text-align: center; padding: 64px 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-thumb { aspect-ratio: 1; background: var(--paper-2); }
.line h4 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin: 0 0 .1em; }
.line .meta { color: var(--muted); font-size: .8rem; margin: 0 0 .5em; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { background: none; border: 0; width: 30px; height: 30px; }
.qty span { min-width: 28px; display: grid; place-items: center; font-size: .9rem; }
.line-price { font-family: var(--serif); font-size: 1.1rem; text-align: right; }
.remove { background: none; border: 0; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0 0; display: block; margin-left: auto; }
.upsell { margin: 20px 0; padding: 18px 20px; background: var(--white); border: 1px solid var(--gold); }
.upsell .eyebrow { margin-bottom: .5em; }
.upsell p { font-size: .9rem; color: var(--ink-soft); margin-bottom: .9em; }
.upsell .btn { padding: .8em 1.4em; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: .9rem; margin-bottom: 16px; }
.totals .grand { font-family: var(--serif); font-size: 1.4rem; }
.totals .note { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,20,20,.55); display: grid; place-items: start center; overflow-y: auto; padding: 40px 16px; }
.modal-card { position: relative; background: var(--paper); width: min(620px, 100%); padding: 44px 40px 40px; }
.modal-card.small { width: min(440px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; }
.checkout-summary { background: var(--white); padding: 16px 20px; margin: 0 0 24px; font-size: .9rem; }
.checkout-summary div { display: flex; justify-content: space-between; gap: 12px; }
.checkout-summary .sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-family: var(--serif); font-size: 1.2rem; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; padding: 0; }
label { display: block; font-size: .82rem; color: var(--ink-soft); margin-bottom: 14px; }
.hint { color: var(--muted); font-size: .74rem; margin-left: .3em; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: .8em .9em; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input[type=file] { padding: .65em; font-size: .85rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; }
.check input { width: auto; margin-top: .25em; }
.photo-previews { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.photo-previews img { width: 64px; height: 64px; object-fit: cover; }
.ship-note { font-size: .82rem; color: var(--gold-deep); margin: -4px 0 0; min-height: 1.2em; }
.form-error { color: var(--danger); font-size: .85rem; min-height: 1.2em; }
.done { text-align: center; }
.done .order-id { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .08em; margin: .1em 0 .3em; }
.done .steps-list { text-align: left; background: var(--white); padding: 20px 24px; margin: 24px 0; font-size: .92rem; }
.done .steps-list li { margin-bottom: .5em; }
.done .actions { display: grid; gap: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--white); padding: .9em 1.6em; font-size: .85rem; z-index: 70; transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .product-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .product.featured { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { padding-bottom: 72px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 0; }
  .modal-card { padding: 48px 20px 28px; min-height: 100%; }
  .header-inner { height: 60px; }
  .logo img { height: 15px; }
  .hero-slide.placeholder span { font-size: .6rem; padding: .6em 1em; }
  .hero-slide.placeholder { padding-top: 20px; }
  .hero-mark { width: 64px; margin-bottom: 20px; }
  .announce { font-size: .62rem; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .drawer, .toast { transition: none; }
}
