/* latin-ext */
@font-face {
  font-family: 'Jockey One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jockey-one-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jockey One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jockey-one-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* cubaparfum.hu – the old Retro theme's world: Havana poster surround, burl-wood cigar box, peach paper lid.
   Palette taken from the old theme CSS (skin4). Display: Jockey One (old theme face); text: Georgia (old theme body). */
:root {
  --pink: #e395bf;        /* old outer ground */
  --pink-deep: #e09fa0;   /* old footer area */
  --peach: #f2dfd1;       /* old content ground, as it reads on screen */
  --lid-base: #fbeae2;    /* multiplied with the paper pattern it lands on --peach */
  --paper: #fbf3ea;
  --sand: #f1d7ad;
  --navy: #2c4880;        /* old headings */
  --magenta: #ce3478;     /* old highlight */
  --magenta-ink: #a3205a; /* magenta dark enough for small text on peach */
  --brick: #723f32;       /* old body text */
  --cocoa: #4d251d;
  --tobacco: #371611;
  --cream: #fdfbf8;
  --gold: #c9a25a;
  --f-display: 'Jockey One', 'Arial Narrow', sans-serif;
  --f-text: Georgia, 'Times New Roman', Times, serif;
  --lid-w: 1180px;
  --gutter: clamp(16px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--tobacco); color: var(--brick); font: 400 1.0625rem/1.65 var(--f-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
::selection { background: var(--magenta); color: var(--cream); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--navy); line-height: .98; margin: 0; letter-spacing: .01em; text-wrap: balance; text-shadow: 3px 3px 0 rgb(0 0 0 / .12); }
p { margin: 0 0 1em; text-wrap: pretty; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- ground: burl wood, Havana posters in the margins (as the old site's fixed background) ---------- */
.cuba { position: relative; min-height: 100vh; padding: 28px 0 0; background: var(--tobacco) var(--burl) center top / cover; }
@media (min-width: 1024px) { .cuba { background-attachment: fixed; } }
.poster { display: none; }
@media (min-width: 1320px) {
  .poster { display: block; position: fixed; top: 0; height: 100vh; width: calc((100vw - var(--lid-w)) / 2 + 40px); object-fit: cover; z-index: 0; }
  .poster--l { left: 0; object-position: 70% 30%; }
  .poster--r { right: 0; object-position: 35% 30%; }
}

/* ---------- the lid: peach paper box with scalloped edges ---------- */
.lid { position: relative; z-index: 1; width: min(var(--lid-w), 100% - 2 * clamp(0px, 2vw, 24px)); margin: 0 auto; background: var(--lid-base) var(--paper); background-blend-mode: multiply; box-shadow: 0 18px 50px rgb(20 6 2 / .55), 0 2px 6px rgb(20 6 2 / .35); }
.lid::before, .lid::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 10px 10px, var(--peach) 9.5px, transparent 10px) 0 0 / 20px 20px repeat-x; }
.lid::before { top: -10px; }
.lid::after { bottom: -10px; transform: scaleY(-1); background-color: transparent; }

/* ---------- split navigation with the round seal in the middle (old header) ---------- */
.lid__top { padding: 0 var(--gutter); border-bottom: 2px dashed rgb(114 63 50 / .35); }
.splitnav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 3vw, 40px); min-height: 104px; }
.splitnav__side { display: flex; gap: clamp(14px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.splitnav__side:first-child { justify-content: flex-end; }
.splitnav a:not(.seal) { display: grid; text-decoration: none; text-align: center; line-height: 1.05; }
.splitnav b { font: 400 1.45rem/1 var(--f-display); text-transform: uppercase; color: var(--brick); letter-spacing: .02em; }
.splitnav i { font-size: .8rem; color: var(--tobacco); margin-top: 3px; }
.splitnav a:hover b { color: var(--magenta); }
.splitnav__shop b { color: var(--magenta-ink); }
.seal { display: block; width: 132px; margin: -38px 0 -26px; border-radius: 50%; background: var(--cream); padding: 5px; box-shadow: 0 6px 16px rgb(55 22 17 / .35); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.seal:hover { transform: rotate(-8deg) scale(1.03); }
.seal img { border-radius: 50%; }
@media (max-width: 760px) {
  .splitnav { grid-template-columns: 1fr auto 1fr; gap: 10px; min-height: 0; padding: 8px 0 10px; }
  .splitnav__side { flex-direction: column; gap: 8px; }
  .splitnav__side:first-child { align-items: flex-end; }
  .splitnav__side:last-child { align-items: flex-start; }
  .seal { width: 84px; margin: -22px 0 -12px; }
  .splitnav b { font-size: 1.05rem; }
  .splitnav i { font-size: .7rem; }
}

/* ---------- hero: the box label – burl lid, litho label with sunburst, the two classics flanking it ---------- */
.label { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 600px) 1fr; align-items: end; margin: clamp(20px, 3vw, 36px) var(--gutter) 64px; padding: clamp(26px, 3.5vw, 46px) clamp(10px, 2vw, 26px) 54px;
  background: var(--cocoa) var(--burl) center / cover; border-radius: 6px; box-shadow: inset 0 0 0 7px var(--tobacco), inset 0 0 0 9px var(--gold), inset 0 0 0 16px rgb(55 22 17 / .55), 0 10px 28px rgb(55 22 17 / .4); }
.label__card { position: relative; z-index: 1; text-align: center; padding: clamp(30px, 4vw, 54px) clamp(22px, 3.4vw, 50px) clamp(28px, 3.5vw, 44px);
  background: var(--cream) var(--sun) center 40% / 170% auto; border: 3px double var(--brick); outline: 1px solid var(--gold); outline-offset: -11px; box-shadow: 0 12px 26px rgb(20 6 2 / .45); }
.label h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: .005em; }
.label h1 span { display: block; }
.label h1 span + span { color: var(--magenta); }
.label__sub { font: italic 1.3rem/1.3 var(--f-text); color: var(--brick); margin: .7em 0 .55em; }
.label__lead { max-width: 33em; margin: 0 auto 1.6em; color: var(--brick); }
.label__bottle { position: relative; z-index: 2; display: flex; }
.label__bottle img { width: auto; max-height: 440px; filter: drop-shadow(0 18px 18px rgb(20 6 2 / .55)); }
/* the tubes stand in the box: their feet fade into the wood instead of ending on a studio-floor edge */
.label__bottle img, .cigar img { -webkit-mask-image: linear-gradient(to bottom, #000 91%, transparent 100%); mask-image: linear-gradient(to bottom, #000 91%, transparent 100%); }
.label__bottle--l { justify-content: flex-end; margin-right: -46px; transform: rotate(-4deg); transform-origin: bottom center; }
.label__bottle--r { justify-content: flex-start; margin-left: -46px; transform: rotate(4deg); transform-origin: bottom center; }
.label__ribbon { position: absolute; z-index: 3; left: 50%; bottom: -22px; translate: -50% 0; margin: 0; white-space: nowrap; }
.label__ribbon span { display: block; padding: 10px 46px; font: 400 1.15rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--sand); background: var(--navy);
  border-block: 3px double var(--sand); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%); }
.label--404 { grid-template-columns: 1fr; justify-items: center; padding-bottom: clamp(26px, 3.5vw, 46px); }
.label--404 .label__card { max-width: 640px; }
.label__back { margin: 1.2em 0 0; font-style: italic; }
@media (max-width: 900px) {
  .label { grid-template-columns: 1fr 1fr; padding: 22px 14px 52px; }
  .label__card { grid-column: 1 / -1; grid-row: 1; }
  .label__bottle { grid-row: 2; margin: -18px 0 0; justify-content: center; }
  .label__bottle img { max-height: 280px; }
  .label__bottle--l, .label__bottle--r { margin-left: 0; margin-right: 0; }
  .label__ribbon span { padding: 9px 30px; font-size: .95rem; letter-spacing: .1em; }
}

/* ---------- bands: the cigar band is the page's one control shape ---------- */
.band { display: inline-block; text-decoration: none; filter: drop-shadow(0 3px 0 rgb(55 22 17 / .25)); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.band span { display: block; padding: 16px 40px; font: 400 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--cream); background: var(--magenta);
  border-block: 3px double rgb(253 251 248 / .8); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%); }
.band:hover { transform: translateY(-2px); color: inherit; }
.band:hover span { background: var(--navy); }
.band:focus-visible { outline: none; }
.band:focus-visible span { outline: 3px solid var(--navy); outline-offset: -8px; }
.band--small span { padding: 12px 30px; font-size: 1.02rem; }

/* ---------- section heads and dividers (old dashed rules, three stars from the seal) ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(26px, 4vw, 42px); }
.head h2, .story h2, .coupon h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.head__sub { font: italic 1.12rem/1.4 var(--f-text); color: var(--magenta-ink); margin: .5em 0 0; }
.rule { position: relative; height: 7px; margin: clamp(46px, 7vw, 84px) var(--gutter); border: 0; border-block: 1px dashed rgb(114 63 50 / .5); overflow: visible; }
.rule::after { content: "Cuba Parfüm"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 2px 18px; background: var(--peach); color: var(--magenta-ink); font: 400 .95rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .18em; }

/* ---------- the cigar box: bottles lie like cigars, each with its band ---------- */
.box { padding: 0 var(--gutter); }
.box__case { position: relative; border-radius: 8px; padding: 18px; background: var(--cocoa) var(--burl) center / cover; box-shadow: 0 16px 34px rgb(55 22 17 / .45); }
.box__case::before { content: ""; position: absolute; inset: 18px; border-radius: 3px; background: var(--cedar) 0 0 / 100% 14px no-repeat, linear-gradient(180deg, transparent 14px, #3a1a10 14px, #2a120b 60%, #1d0c07 100%); box-shadow: inset 0 14px 24px rgb(0 0 0 / .5); }
.box__row { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(4px, 1vw, 14px); align-items: end; list-style: none; margin: 0; padding: 46px 16px 22px; }
.cigar { position: relative; display: flex; justify-content: center; text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s; filter: saturate(.85) brightness(.82); }
.cigar img { max-height: 250px; width: auto; filter: drop-shadow(0 10px 10px rgb(0 0 0 / .6)); }
.cigar__band { position: absolute; left: -4px; right: -4px; bottom: 34%; padding: 6px 2px 5px; text-align: center; font: 400 .92rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy);
  background: var(--sand); border-block: 2px solid var(--gold); box-shadow: 0 2px 4px rgb(0 0 0 / .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cigar:hover, .cigar[aria-current] { transform: translateY(-18px); filter: none; }
.cigar__band { transition: background-color .3s, color .3s, transform .45s cubic-bezier(.2, .9, .25, 1.25); }
.cigar[aria-current] .cigar__band { background: var(--magenta); color: var(--cream); border-color: var(--cream); transform: scaleX(1.08); }
.cigar:focus-visible { outline: 3px solid var(--sand); outline-offset: 6px; }
.box__detail { position: relative; margin: -8px 28px 0; padding: 30px clamp(20px, 3vw, 40px) 26px; background: var(--paper); border: 1px solid rgb(114 63 50 / .25); box-shadow: 0 10px 22px rgb(55 22 17 / .2); }
.illat[hidden] { display: none; }
.illat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(24px, 4vw, 56px); align-items: center; }
.illat h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.illat__head .band { margin-top: 22px; }
.illat__kind { font-style: italic; margin: .35em 0 1.1em; }
.illat__notes { margin: 0; display: grid; gap: 12px; }
.illat__notes div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dotted rgb(114 63 50 / .45); }
.illat__notes dt { font: 400 1.05rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; color: var(--magenta-ink); }
.illat__notes dd { margin: 0; color: var(--tobacco); }
.box__all { text-align: center; margin: 22px 0 0; font-style: italic; }
@media (max-width: 900px) {
  .box { padding: 0 10px; }
  .box__case { padding: 12px; }
  .box__case::before { inset: 12px; }
  .box__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 40px 14px 20px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .box__row li { flex: 0 0 34%; scroll-snap-align: center; }
  .cigar img { max-height: 210px; }
  .cigar__band { font-size: .8rem; letter-spacing: 0; left: -2px; right: -2px; }
  .illat__notes div { grid-template-columns: 5.6em 1fr; }
  .box__detail { margin: -6px 10px 0; }
  .illat { grid-template-columns: 1fr; }
}

/* ---------- story: the company's own Havana photo as a vintage print ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: 0 var(--gutter); }
.print { margin: 0; padding: 14px 14px 18px; background: var(--cream); rotate: -2.5deg; box-shadow: 0 14px 30px rgb(55 22 17 / .32), 0 2px 4px rgb(55 22 17 / .2); }
.print img { aspect-ratio: 1; object-fit: cover; object-position: 58% 50%; width: 100%; filter: sepia(.18) contrast(1.04); }
.print figcaption { font: italic .9rem/1.45 var(--f-text); color: var(--brick); margin-top: 12px; }
.story__text .head__sub { margin: .45em 0 1.1em; }
.story__text p:not(.head__sub):not(.story__classics) { max-width: 36em; }
.hl { font-weight: 700; color: var(--magenta-ink); }
.story__classics { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 1.4em; font: 400 1.3rem/1 var(--f-display); text-transform: uppercase; color: var(--navy); }
.story__classics span + span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 .8em; background: var(--magenta); rotate: 45deg; vertical-align: .32em; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .print { max-width: 420px; justify-self: center; } }

/* ---------- categories as cigar bands ---------- */
.cats { padding: 0 var(--gutter); }
.cats__bands { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; list-style: none; margin: 0; padding: 0; }
.band--cat span { padding: 16px 36px 14px; font-size: 1.45rem; text-align: center; }
.band--cat small { display: block; margin-top: 6px; font: italic .82rem/1.2 var(--f-text); text-transform: none; letter-spacing: 0; opacity: .92; }
.band--c0 span { background: var(--navy); }
.band--c1 span { background: var(--magenta); }
.band--c2 span { background: var(--brick); }
.band--cat:hover span { background: var(--tobacco); }

/* ---------- coupon: the move to Parfumneked.hu, cut-out style ---------- */
.coupon { margin: clamp(56px, 8vw, 96px) var(--gutter) clamp(44px, 6vw, 72px); padding: clamp(30px, 4vw, 48px) clamp(20px, 4vw, 56px); text-align: center; background: var(--sand);
  border: 2px dashed var(--brick); outline: 8px solid var(--sand); }
.coupon p { max-width: 40em; margin: .9em auto 1.6em; color: var(--tobacco); }
.coupon a:not(.band) { color: var(--magenta-ink); }

/* ---------- footer: old pink footer area with the engraved emblem ---------- */
.lid__foot { position: relative; padding: clamp(36px, 5vw, 56px) var(--gutter) 34px; background: var(--pink-deep); color: var(--tobacco); text-align: center; }
.emblem { display: block; width: min(360px, 80%); margin: 0 auto 30px; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin: 0 0 12px; padding: 0; }
.foot__links a { color: var(--tobacco); font-size: .95rem; }
.foot__links a:hover { color: var(--navy); }
.foot__links--social a { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.foot__note { font-size: .88rem; margin: 18px 0 0; color: var(--tobacco); }
.cuba > .lid { margin-bottom: 0; }
