/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/josefin-sans-300-700-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: 'Josefin Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/josefin-sans-300-700-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;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato-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;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lato-700-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lato-700-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;
}



/* starnatureparfum.hu – the old Woodmart theme's Star Nature world: blue #2e8ad6, Josefin Sans + Lato,
   and the brand's own cotton-candy artwork. Flavour colours live on the swatches (--c). */
:root {
  --blue: #2e8ad6;        /* old primary */
  --blue-ink: #1b67aa;    /* old primary darkened for text and filled controls (AA on white) */
  --mustard: #9a6d00;     /* old hero headline mustard, deepened to 3.4:1+ on the sky and clouds */
  --pink: #f4b8d0;
  --pink-band: #fdeef4;
  --sky: #bfe8f3;
  --ink: #2a2f45;
  --muted: #545b70;
  --white: #ffffff;
  --line: #ead7e1;
  --f-head: 'Josefin Sans', 'Trebuchet MS', sans-serif;
  --f-text: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --w: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.7 var(--f-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--ink); text-align: center; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- top bar and header (old Woodmart layout) ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px var(--gutter); background: var(--blue-ink); color: var(--white); font: 600 .78rem/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; }
.topbar__tag { margin: 0; }
.topbar__link { color: var(--white); text-decoration: none; }
.topbar__link:hover { text-decoration: underline; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--gutter); background: var(--white); box-shadow: 0 6px 18px rgb(42 47 69 / .08); position: relative; z-index: 2; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; gap: clamp(18px, 3vw, 36px); }
.nav__item { position: relative; font: 600 1rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); text-decoration: none; padding: 10px 2px; }
.nav__item:hover { color: var(--blue-ink); }
.nav__badge { position: absolute; top: -12px; right: -22px; padding: 3px 6px 2px; border-radius: 4px; background: #c8241c; color: var(--white); font-size: .72rem; letter-spacing: .06em; }
@media (max-width: 560px) {
  .topbar { justify-content: center; } .topbar__link { display: none; }
  .head { flex-direction: column; gap: 8px; padding-block: 12px 10px; }
  .nav__badge { position: static; margin-left: 6px; vertical-align: 2px; }
  .logo img { height: 46px; }
}

/* ---------- hero: the brand's cotton-candy sky ---------- */
.hero { position: relative; isolation: isolate; background: var(--sky); overflow: hidden; }
/* the brand artwork, mirrored so the pink sofa sits under the bottle and the copy reads over open sky */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky-art) center 62% / cover; transform: scaleX(-1); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; width: min(var(--w), 100% - 2 * var(--gutter)); margin: 0 auto; min-height: clamp(460px, 62vh, 600px); padding: 56px 0; }
.hero h1 { font-size: clamp(3.2rem, 7.4vw, 6rem); color: var(--mustard); letter-spacing: -.01em; text-shadow: 0 2px 0 rgb(255 255 255 / .8), 0 10px 30px rgb(255 255 255 / .9); }
.hero__lead { max-width: 26em; margin: 18px 0 28px; font-size: 1.2rem; color: var(--ink); text-shadow: 0 1px 12px rgb(255 255 255 / .95); }
.hero__bottle { justify-self: center; align-self: end; }
.hero__bottle img { height: clamp(260px, 40vh, 319px); width: auto; filter: drop-shadow(0 26px 22px rgb(42 47 69 / .3)); animation: float 6s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-14px) rotate(2deg); } }
.hero--404 .hero__inner { grid-template-columns: 1fr; }
.hero--404 h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; padding: 34px 0 0; text-align: center; min-height: 0; }
  .hero__lead { margin-inline: auto; }
  .hero__bottle img { height: 250px; }
  .hero::before { background-position: 24% 62%; }
}

/* ---------- pills: the rounded candy button ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 999px; background: var(--blue-ink); color: var(--white);
  font: 600 .95rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: 0 6px 14px rgb(27 103 170 / .28); transition: transform .2s, background-color .2s, box-shadow .2s; }
.pill:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 20px rgb(42 47 69 / .25); }
.pill--big { min-height: 56px; padding: 0 38px; font-size: 1.05rem; background: var(--mustard); box-shadow: 0 8px 18px rgb(154 109 0 / .3); }
.pill--small { min-height: 38px; padding: 0 18px; font-size: .82rem; }

/* ---------- flavour picker (signature) ---------- */
.flavours { padding: clamp(64px, 8vw, 104px) var(--gutter); background: var(--pink-band) var(--candy) center / cover; background-blend-mode: soft-light; }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 18px; list-style: none; margin: 34px auto 30px; padding: 0; max-width: 980px; }
.swatch { display: grid; justify-items: center; gap: 16px; padding: 6px 4px; border: 0; background: none; cursor: pointer; font: 600 .86rem/1.15 var(--f-head); color: var(--ink); text-align: center; width: 92px; }
.swatch__dot { width: 58px; height: 58px; border-radius: 50%; background: var(--c); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.swatch:hover .swatch__dot { transform: scale(1.08); }
.swatch[aria-pressed="true"] .swatch__dot { transform: scale(1.06); box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--c), 0 10px 20px color-mix(in srgb, var(--c) 40%, transparent); }
.swatch[aria-pressed="true"] .swatch__name { color: var(--blue-ink); }
.stage { --c: var(--blue); position: relative; display: grid; max-width: 920px; margin: 0 auto; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--white); box-shadow: 0 18px 44px rgb(42 47 69 / .12); }
.stage::before { content: ""; position: absolute; left: clamp(26px, 4vw, 44px); top: 50%; translate: 0 -50%; width: min(340px, 44%); aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c) 42%, var(--white)); transition: background-color .45s ease; }
.stage__item { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); }
.stage__item[hidden] { display: none; }
.stage__img { display: flex; justify-content: center; }
.stage__img img { max-height: 330px; width: auto; filter: drop-shadow(0 16px 16px rgb(42 47 69 / .22)); animation: pop .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: translateY(14px) scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }
.stage__text h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 22px; }
@media (max-width: 760px) {
  .swatches { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 12px calc(var(--gutter) + 8px) 14px; scroll-padding-inline: calc(var(--gutter) + 8px); scroll-snap-type: x proximity; }
  .swatches li { flex: 0 0 auto; scroll-snap-align: start; }
  .stage__item { grid-template-columns: 1fr; text-align: center; }
  .stage::before { left: 50%; top: 32%; translate: -50% -50%; width: 72%; }
  .stage__img img { max-height: 260px; }
}

/* ---------- sets ---------- */
.sets { padding: clamp(64px, 8vw, 104px) var(--gutter); }
.sets__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); list-style: none; margin: 36px auto 0; padding: 0; max-width: 1040px; }
.set__link { display: grid; justify-items: center; gap: 16px; height: 100%; padding: 22px 22px 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; transition: box-shadow .25s, transform .25s; }
.set__link:hover { box-shadow: 0 16px 36px rgb(42 47 69 / .12); transform: translateY(-3px); }
.set__link img { width: 100%; max-width: 440px; }
.set__title { font: 400 1.35rem/1.25 var(--f-head); }
@media (max-width: 700px) { .sets__list { grid-template-columns: 1fr; } }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); width: min(var(--w), 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; }
.story__img { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px rgb(201 149 12 / .18); }
.story h2 { text-align: left; }
.story__sub { font: 600 1.05rem/1.4 var(--f-head); color: var(--blue-ink); margin: 12px 0 20px; }
.story__text p:not(.story__sub) { color: var(--muted); max-width: 34em; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

/* ---------- categories ---------- */
.cats { padding: clamp(56px, 7vw, 96px) var(--gutter); text-align: center; background: linear-gradient(180deg, var(--white), var(--pink-band)); }
.cats__sub { font: 600 1.05rem/1.4 var(--f-head); color: var(--blue-ink); margin: 10px 0 28px; }
.cats__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.pill--cat { background: var(--white); color: var(--blue-ink); border: 2px solid var(--blue-ink); box-shadow: none; text-transform: none; letter-spacing: .02em; font-size: 1.05rem; }
.pill--cat:hover { background: var(--blue-ink); color: var(--white); }

/* ---------- footer ---------- */
.foot { padding: 52px var(--gutter) 30px; border-top: 1px solid var(--line); background: var(--white); }
.foot__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; width: min(var(--w), 100%); margin: 0 auto; }
.foot__title { font: 600 1rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--blue-ink); margin-bottom: 14px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--blue-ink); text-decoration: underline; }
.foot__brand { width: min(var(--w), 100%); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font: 600 .85rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 640px) { .foot__inner { grid-template-columns: 1fr; } }
