:root {
  --ink: #0b0b0b;
  --ink-2: #161616;
  --ink-3: #222222;
  --line: #2e2e2e;
  --paper: #f6f4f0;
  --muted: #b9b4ac;
  --dim: #8a857e;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --radius: 4px;
  --gutter: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Wordmark ---------- */
.mark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.mark b { font-family: var(--sans); font-weight: 600; letter-spacing: .32em; margin-right: -.32em; font-size: 22px; }
.mark i { font-family: var(--serif); font-style: normal; font-size: 10px; letter-spacing: .04em; margin-top: 4px; color: var(--paper); }
.mark.lg b { font-size: clamp(44px, 12vw, 88px); }
.mark.lg i { font-size: clamp(15px, 3.6vw, 24px); margin-top: 10px; }

/* the small label of the posts: FURIO tag with a rule on each side */
.tag { display: inline-flex; align-items: center; gap: 10px; }
.tag::before, .tag::after { content: ""; width: 18px; height: 2px; background: var(--paper); }
.tag span { background: var(--ink); padding: 6px 12px 5px; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.tag span b { font-weight: 600; letter-spacing: .3em; margin-right: -.3em; font-size: 12px; }
.tag span i { font-family: var(--serif); font-style: normal; font-size: 6px; margin-top: 3px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 11, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--paper); }
.cart-btn { justify-self: end; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cart-btn:hover { border-color: var(--paper); }
.cart-btn .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--paper); color: var(--ink); display: inline-grid; place-items: center; font-size: 11px; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) {
  .top nav { display: none; }
  .menu-btn { display: inline-block; justify-self: start; }
  .top.open nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); }
  .top.open nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; }
}

/* ---------- Post-style titles ---------- */
.title { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0; }
.title.xl { font-size: clamp(38px, 9vw, 76px); }
.title.lg { font-size: clamp(28px, 6vw, 46px); }
.title.md { font-size: clamp(22px, 4.4vw, 30px); }
.rule { display: block; width: 64%; max-width: 280px; height: 2px; background: var(--paper); margin: 16px auto 0; }
.left .rule { margin-left: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 17px; max-width: 46ch; }

/* ---------- Photo panels (the posts) ---------- */
.panel { position: relative; overflow: hidden; background: var(--ink-2); }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.9); }
.panel > .inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px var(--gutter); gap: 18px; }

.hero { min-height: min(86vh, 760px); }
.hero .inner { min-height: min(86vh, 760px); }
.hero .bio { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 15px; color: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 2px solid var(--paper); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: transparent; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.head { text-align: center; margin-bottom: 40px; }
.head.left { text-align: left; }

/* ---------- Product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: block; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile:hover { border-color: var(--paper); }
.tile .ph { aspect-ratio: 1 / 1; position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.tile .ph .over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 12px; }
.tile .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; }
.tile .meta p { margin: 0; color: var(--muted); font-size: 14px; }
.tile .meta strong { font-size: 20px; font-weight: 800; white-space: nowrap; }
.skel { background: linear-gradient(90deg, var(--ink-2), var(--ink-3), var(--ink-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.tile.skel { aspect-ratio: 1 / 1.18; border: 0; }
.note { color: var(--muted); text-align: center; }
.error { color: #ffb4a8; }

/* ---------- Flavors ---------- */
.flavors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 640px) { .flavors { grid-template-columns: 1fr; } }
.flavors li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.flavors li b { font-weight: 700; font-size: 16px; }
.flavors li span { color: var(--dim); font-size: 14px; }
.flavors li.autor b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 19px; }
.flavors li.autor b::after { content: "de autor"; font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--muted); color: var(--muted); border-radius: 999px; padding: 2px 8px; margin-left: 10px; vertical-align: 3px; }

/* ---------- Split panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .panel { min-height: 380px; border-radius: var(--radius); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fact h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.fact p { margin: 0; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 40px 0 80px; align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 0; } }
.pdp .shot { position: relative; aspect-ratio: 1 / 1; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 860px) { .pdp .shot { margin: 0 calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 4 / 3; } }
.pdp .shot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.pdp .shot .tag { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); }
.pdp h1 { margin: 0; }
.price { font-size: 30px; font-weight: 800; margin: 14px 0 6px; }
.desc { color: var(--muted); margin: 0 0 24px; }
.desc p { margin: 0 0 8px; }
.pick { display: grid; gap: 14px; margin: 0 0 24px; }
.pick label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pick label em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dim); }
.pick select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 52px; padding: 0 44px 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f6f4f0' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--paper); }
.pick select:focus { outline: 2px solid var(--paper); outline-offset: 2px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 44px; height: 50px; background: none; border: 0; cursor: pointer; font-size: 20px; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.hint { color: var(--dim); font-size: 14px; margin: 12px 0 0; min-height: 1.4em; }
.crumb { padding: 22px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.crumb a { color: var(--muted); text-decoration: none; }

/* ---------- Club ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: var(--ink-2); min-width: 0; }
.plan.top-tier { border-color: var(--paper); }
.plan h3 { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.plan .p { font-size: 30px; font-weight: 800; }
.plan .p small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.plan .d { color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--paper); }
.plan .cta { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; }
.plan.skel { min-height: 380px; border: 0; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ink); border-left: 1px solid var(--line); z-index: 41; display: flex; flex-direction: column; }
.drawer[hidden], .scrim[hidden] { display: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer header h2 { margin: 0; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.lines { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img, .line .noimg { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); background: var(--ink-2); }
.line h3 { margin: 0; font-size: 15px; }
.line ul { list-style: none; margin: 4px 0 8px; padding: 0; color: var(--dim); font-size: 13px; }
.line .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.line .qty button { width: 34px; height: 34px; font-size: 16px; }
.line .rm { background: none; border: 0; color: var(--dim); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }
.line .warn { color: #ffb4a8; font-size: 13px; margin: 4px 0 0; }
.drawer footer { border-top: 1px solid var(--line); padding: 18px var(--gutter) 22px; display: grid; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-size: 15px; }
.sum.total { font-size: 18px; font-weight: 800; }
.small { color: var(--dim); font-size: 13px; margin: 0; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 18px; justify-items: center; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.foot .links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin: 28px 0 18px; }
.foot .links a { color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.foot .links a:hover { color: var(--paper); }
.foot p { color: var(--dim); font-size: 13px; margin: 0; }
/* ---------- Carta completa ---------- */
.carta { display: grid; gap: 48px; }
.fam-t { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.flavors li p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.temp { margin-top: 8px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.flavors li { padding: 18px 0; }

/* ---------- Cursiva italiana ---------- */
.title em, .bio em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.title em { font-size: 1.12em; }
.flavors li b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; }

/* ---------- Portada: botones abajo ---------- */
.hero .inner { justify-content: center; padding-bottom: 140px; }
.hero-cta { position: absolute; left: 0; right: 0; bottom: 48px; padding: 0 var(--gutter); }

/* ---------- Portada más cálida ---------- */
.hero > img { filter: brightness(.82) saturate(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 11, 11, .35) 0%, rgba(11, 11, 11, .15) 45%, rgba(11, 11, 11, .6) 100%); }
.hero > .inner { z-index: 1; }
.hero .title { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero .mark { text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }

/* ---------- Carta plegable ---------- */
.carta { gap: 0; border-top: 1px solid var(--line); }
details.fam { border-bottom: 1px solid var(--line); }
details.fam > summary.fam-t { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 22px 0; border: 0; font-size: 14px; }
details.fam > summary.fam-t::-webkit-details-marker { display: none; }
details.fam > summary.fam-t small { margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: none; color: var(--dim); }
details.fam > summary.fam-t::after { content: "+"; font-family: var(--sans); font-size: 22px; font-weight: 400; line-height: 1; width: 22px; text-align: center; }
details.fam[open] > summary.fam-t::after { content: "−"; }
details.fam > summary.fam-t:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
details.fam .flavors { padding-bottom: 18px; }

/* ---------- Portada: tipografía más chica ---------- */
.hero .mark.lg b { font-size: clamp(30px, 7vw, 52px); }
.hero .mark.lg i { font-size: clamp(12px, 2.4vw, 16px); margin-top: 8px; }
.hero .title.hero-t { font-size: clamp(28px, 5.6vw, 46px); margin-top: 14px; }

/* ---------- Portada: espacio y encabezado sin logo repetido ---------- */
.hero .title.hero-t { margin-top: 40px; }
.top .mark { transition: opacity .3s ease; }
body.at-top .top .mark { opacity: 0; pointer-events: none; }

/* ---------- Identidad Petróleo ---------- */
:root {
  --ink: #12343f;
  --ink-2: #183f4b;
  --ink-3: #1e4a57;
  --line: #2b5664;
  --paper: #ede3d1;
  --muted: #c9c0ae;
  --dim: #a9b8bb;
  --gold: #cdb27a;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", Georgia, "Times New Roman", serif;
}
.top { background: rgba(18, 52, 63, .94); }
.mark b, .tag span b { font-family: var(--display); font-weight: 500; letter-spacing: .24em; margin-right: -.24em; }
.mark i, .tag span i { font-family: var(--serif); font-style: italic; color: var(--gold); }
.mark i { font-size: 12px; }
.title { font-family: var(--display); font-weight: 500; letter-spacing: .06em; }
.title em, .bio em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; }
.rule { background: var(--gold); }
.eyebrow { color: var(--gold); }
.btn { background: var(--gold); border-color: var(--gold); color: #12343f; }
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: #12343f; }
.cart-btn .count { background: var(--gold); color: #12343f; }
.fam-t { border-bottom-color: var(--gold); }
.flavors li.autor b::after { border-color: var(--gold); color: var(--gold); }
.panel > img { filter: brightness(.55) saturate(.85); }
.hero > img { filter: brightness(.8) saturate(1); }
.hero::after { background: linear-gradient(to bottom, rgba(18, 52, 63, .4) 0%, rgba(18, 52, 63, .15) 45%, rgba(18, 52, 63, .7) 100%); }
.tile .ph img { filter: brightness(.7); }
