/*! ArtNest · Úvodní stránka 2026 (artnest-home.css) · v1
 *  Patří k artnest-home.js. Vše je pod #an-home (vyšší váha než šablona a starý Xiaomi.css),
 *  mimo něj jen pár pravidel pro rám homepage (body.an-home-on). Barvy a písma = tokens.css.
 *  Načítat v hlavičce jako POSLEDNÍ styl (za Xiaomi.css a ostatní artnest-*.css).
 */

/* ---------- 0) Rám homepage ---------------------------------------- */
/* nativní obsah Shoptetu pod novou stránkou schovat (jen když se #an-home opravdu postavil) */
html body.an-home-on #content-wrapper:has(#an-home) #content,
html body.an-home-on #content-wrapper:has(#an-home) .content-wrapper-in,
html body.an-home-on #content-wrapper:has(#an-home) .banners-row { display: none !important; }
/* video na pozadí se na homepage nepouští (57 MB) – kdyby ho stará verze skinu vložila */
html body.an-home-on .xm-page-video { display: none !important; }
html body.an-home-on #content-wrapper { overflow: visible !important; }

/* ---------- 1) Základ, tokeny, reset ------------------------------- */
#an-home {
  --an-bg: #FBF8F3; --an-paper: #FFFFFF; --an-cream: #F4EDE2;
  --an-ink: #1E1B19; --an-ink2: #5A534B; --an-ink3: #756D62;
  --an-line: #ECE4D8; --an-line2: #DCD0BE;
  --an-coral: #ED4D6E; --an-coral-d: #D43658; --an-coral-h: #BC2A4B; --an-coral-t: #C42F51; --an-coral-soft: #FCE4E9;
  --an-em: #E0365F;
  --an-ok: #1F7A50;
  --an-cobalt: #1F4FD1; --an-cobalt-soft: #E4ECFF;
  --an-disp: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --an-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --an-ease: cubic-bezier(.2, .7, .2, 1);
  display: block; position: relative; width: 100%; max-width: var(--xm-container, 1440px); margin: 0 auto;
  background: var(--an-bg); color: var(--an-ink);
  font: 400 16px/1.55 var(--an-body); letter-spacing: 0; text-align: left;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  border-radius: 18px; overflow: clip;
}
#an-home, #an-home *, #an-home *::before, #an-home *::after { box-sizing: border-box; }
html body #an-home :is(p, a, li, span, div, td, th, label, input, button, select, textarea, small, b, strong, em, s, i) { font-family: inherit; }
#an-home h1, #an-home h2, #an-home h3, #an-home p, #an-home ul, #an-home ol, #an-home li, #an-home figure { margin: 0; padding: 0; }
#an-home ul, #an-home ol { list-style: none; }
#an-home li::before, #an-home li::marker { content: none; }
#an-home a { color: inherit; text-decoration: none; }
#an-home img { display: block; max-width: 100%; height: auto; border: 0; }
#an-home button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: inherit; box-shadow: none; min-height: 0; line-height: inherit; border-radius: 0; }
#an-home h1, #an-home h2, #an-home h3 { font-family: var(--an-disp); color: inherit; text-transform: none; font-weight: 700; }
#an-home [hidden] { display: none !important; }
#an-home .an-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#an-home :focus-visible { outline: 2.5px solid var(--an-ink); outline-offset: 3px; border-radius: 8px; }

#an-home .an-wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
#an-home .an-sec { padding: clamp(56px, 7vw, 104px) 0; position: relative; }

/* ---------- 2) Typografie ------------------------------------------ */
#an-home .an-h1 { font: 700 clamp(2.5rem, 1.25rem + 4vw, 4.85rem)/.98 var(--an-disp); letter-spacing: -.035em; color: var(--an-ink); text-wrap: balance; }
#an-home .an-h2 { font: 700 clamp(2rem, 1.25rem + 2.4vw, 3.35rem)/1.02 var(--an-disp); letter-spacing: -.03em; color: var(--an-ink); text-wrap: balance; }
#an-home .an-h1 em, #an-home .an-h2 em { font-style: normal; color: var(--an-em); }
#an-home .an-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 .76rem/1 var(--an-body); letter-spacing: .16em; text-transform: uppercase; color: var(--an-coral-t); }
#an-home .an-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
#an-home .an-sub { margin-top: 14px; max-width: 60ch; font-size: clamp(1rem, .95rem + .25vw, 1.14rem); color: var(--an-ink2); text-wrap: pretty; }
#an-home .an-head { margin-bottom: clamp(24px, 3vw, 40px); }
#an-home .an-empty { grid-column: 1 / -1; padding: 30px 20px; border-radius: 16px; background: var(--an-bg); color: var(--an-ink2); text-align: center; }
#an-home .an-empty a { color: var(--an-coral-t); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#an-home .an-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--an-coral-t); white-space: nowrap; }
#an-home .an-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 3) Tlačítka -------------------------------------------- */
#an-home .an-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1 var(--an-body); white-space: nowrap;
  transition: transform .25s var(--an-ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
#an-home .an-btn:active { transform: translateY(1px); }
#an-home .an-btn--main { background: var(--an-coral-d); color: #fff; box-shadow: 0 14px 28px -16px rgba(212, 54, 88, .8); }
#an-home .an-btn--main:hover { background: var(--an-coral-h); transform: translateY(-2px); box-shadow: 0 18px 32px -16px rgba(188, 42, 75, .85); }
#an-home .an-btn--out, #an-home .an-btn--line { background: transparent; color: var(--an-ink); border-color: var(--an-line2); }
#an-home .an-btn--out:hover, #an-home .an-btn--line:hover { background: #fff; border-color: var(--an-ink); }
#an-home .an-btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, .3); }
#an-home .an-btn--on-dark:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
#an-home .an-btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
#an-home .an-btn .an-ic { width: 1.1em; height: 1.1em; }

/* ---------- 4) HERO – vitrína -------------------------------------- */
#an-home .an-hero {
  position: relative; padding: clamp(28px, 4vw, 60px) 0 clamp(40px, 5vw, 76px);
  background:
    radial-gradient(900px 520px at 82% 6%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(252, 228, 233, .55), rgba(252, 228, 233, 0) 70%),
    var(--an-bg);
}
#an-home .an-hero__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
#an-home .an-hero__copy { min-width: 0; }
#an-home .an-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--an-line); box-shadow: 0 8px 20px -14px rgba(30, 27, 25, .3);
  font: 600 .84rem/1.2 var(--an-body); color: var(--an-ink2);
}
#an-home .an-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--an-coral); box-shadow: 0 0 0 0 rgba(237, 77, 110, .5); animation: anPulse 2.4s infinite; }
#an-home .an-h1 { margin-top: 20px; }
#an-home .an-lead { margin-top: 20px; max-width: 46ch; font-size: clamp(1.02rem, .96rem + .32vw, 1.2rem); color: var(--an-ink2); text-wrap: pretty; }
#an-home .an-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#an-home .an-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: var(--an-ink2); }
#an-home .an-hero__trust li { display: flex; align-items: center; gap: 8px; }
#an-home .an-hero__trust .an-ic { color: var(--an-coral-d); width: 1.2em; height: 1.2em; }
#an-home .an-from { font-weight: 700; color: var(--an-ink); }

#an-home .an-hero__show { position: relative; min-width: 0; }
#an-home .an-stage {
  position: relative; aspect-ratio: 1 / .8; container-type: inline-size; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(40% 44% at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #F6EFE4 0%, #EFE6D8 73.8%);
  box-shadow: inset 0 0 0 1px rgba(30, 27, 25, .06), 0 50px 90px -60px rgba(30, 27, 25, .55);
}
#an-home .an-stage__room { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#an-home .an-stage__beam {
  position: absolute; left: 50%; top: -12%; width: 70cqw; height: 92%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 88%);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); filter: blur(12px); opacity: .7;
}
#an-home .an-stage__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26.2%;
  background:
    radial-gradient(46% 70% at 50% 46%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #E8DDCB, #DFD1BC);
  box-shadow: 0 -1px 0 rgba(30, 27, 25, .07);
}
#an-home .an-stage__list { position: absolute; inset: 0; z-index: 1; }
#an-home .an-ex {
  position: absolute; left: 50%; bottom: 6.5cqw; width: 56cqw; height: 72cqw; margin-left: -28cqw;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  transform-origin: 50% 100%;
  transition: transform .95s var(--an-ease), opacity .7s var(--an-ease), filter .7s var(--an-ease);
}
#an-home .an-ex__fig { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; width: calc(var(--w) * 56cqw); height: calc(var(--h) * 54cqw); margin-bottom: -1.6cqw; }
#an-home .an-ex__fig img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 2.2cqw 2.2cqw rgba(30, 27, 25, .26)); }
#an-home .an-ex__plinth {
  position: relative; z-index: 1; width: 30cqw; height: 13cqw; border-radius: 0 0 1.2cqw 1.2cqw;
  background: linear-gradient(90deg, #DDD3C4 0%, #F7F2EA 26%, #FFFFFF 44%, #F1EADF 70%, #D6CAB8 100%);
  box-shadow: 0 3.4cqw 4cqw -2.4cqw rgba(30, 27, 25, .38);
}
#an-home .an-ex__plinth::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2.3cqw; height: 4.6cqw; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 38%, #FFFFFF 0%, #F4EEE4 62%, #E7DED0 100%);
  box-shadow: inset 0 -.35cqw .6cqw rgba(30, 27, 25, .08);
}
#an-home .an-ex__plinth::after {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: -2.6cqw; height: 4cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 27, 25, .22), rgba(30, 27, 25, 0)); z-index: -1;
}
#an-home .an-ex__no { position: absolute; left: 0; right: 0; top: 52%; transform: translateY(-50%); text-align: center; font: 600 1.35cqw/1 var(--an-disp); letter-spacing: .32em; color: rgba(30, 27, 25, .32); }
#an-home .an-ex.is-cur { z-index: 3; transform: none; opacity: 1; }
#an-home .an-ex.is-cur .an-ex__fig img { animation: anFloat 6.5s ease-in-out infinite; }
#an-home .an-ex.is-prev, #an-home .an-ex.is-next { z-index: 2; opacity: .96; filter: saturate(.88); cursor: pointer; }
#an-home .an-ex.is-prev { transform: translate(-36cqw, -6.5cqw) scale(.54); }
#an-home .an-ex.is-next { transform: translate(36cqw, -6.5cqw) scale(.54); }
#an-home .an-ex.is-prev:hover, #an-home .an-ex.is-next:hover { filter: none; }
#an-home .an-ex.is-off { z-index: 1; transform: translate(0, -8cqw) scale(.36); opacity: 0; pointer-events: none; }
#an-home .an-stage__arr {
  position: absolute; top: 46%; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--an-ink); box-shadow: 0 10px 24px -12px rgba(30, 27, 25, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s var(--an-ease), background-color .25s, opacity .25s;
}
#an-home .an-stage__arr:hover { transform: scale(1.08); background: #fff; }
#an-home .an-stage__arr--prev { left: 14px; }
#an-home .an-stage__arr--next { right: 14px; }
#an-home .an-stage__arr .an-ic { width: 20px; height: 20px; stroke-width: 2.2; }

#an-home .an-placard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; padding: 18px 20px 20px;
  background: #fff; border: 1px solid var(--an-line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 22px 44px -34px rgba(30, 27, 25, .4);
}
#an-home .an-placard__kicker { display: flex; align-items: center; gap: 10px; font: 700 .72rem/1.2 var(--an-body); letter-spacing: .14em; text-transform: uppercase; color: var(--an-ink3); }
#an-home .an-placard__count { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
#an-home .an-placard__name { margin-top: 8px; font: 700 clamp(1.15rem, 1rem + .55vw, 1.45rem)/1.15 var(--an-disp); letter-spacing: -.015em; color: var(--an-ink); }
#an-home .an-placard__name a:hover { color: var(--an-coral-t); }
#an-home .an-placard__note { margin-top: 6px; font-size: .9rem; color: var(--an-ink2); }
#an-home .an-placard__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#an-home .an-placard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 26px; }
#an-home .an-placard__price b { font: 700 1.5rem/1 var(--an-disp); color: var(--an-ink); letter-spacing: -.01em; }
#an-home .an-placard__price s { font-size: .9rem; color: var(--an-ink3); }
#an-home .an-stock, #an-home .an-card__stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--an-ok); }
#an-home .an-stock::before, #an-home .an-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(31, 122, 80, .14); }
#an-home .an-placard__act { display: flex; flex-wrap: wrap; gap: 8px; }
#an-home .an-placard__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
#an-home .an-placard__bar i { display: block; height: 100%; background: var(--an-coral); transform: scaleX(0); transform-origin: left; }
#an-home .an-placard.is-tick .an-placard__bar i { animation: anTick var(--an-tick, 6500ms) linear forwards; }

/* ---------- 5) Karty produktů -------------------------------------- */
#an-home .an-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#an-home .an-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #fff; color: var(--an-ink); border: 1px solid var(--an-line); border-radius: 18px;
  transition: transform .35s var(--an-ease), box-shadow .35s var(--an-ease), border-color .35s;
}
#an-home .an-card:hover { transform: translateY(-4px); border-color: var(--an-line2); box-shadow: 0 24px 44px -30px rgba(30, 27, 25, .45); }
#an-home .an-card__media { position: relative; display: block; aspect-ratio: 1; padding: 7%; background: #fff; }
#an-home .an-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--an-ease); }
#an-home .an-card:hover .an-card__media img { transform: scale(1.045); }
#an-home .an-flag { position: absolute; left: 10px; top: 10px; padding: 6px 9px; border-radius: 999px; font: 700 .66rem/1 var(--an-body); letter-spacing: .07em; text-transform: uppercase; }
#an-home .an-flag--sale { background: var(--an-coral-d); color: #fff; }
#an-home .an-flag--top { background: var(--an-ink); color: #fff; }
#an-home .an-flag--new { background: var(--an-cobalt-soft); color: var(--an-cobalt); }
#an-home .an-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid #F2ECE3; }
#an-home .an-card__name { font: 500 .92rem/1.35 var(--an-body); letter-spacing: 0; color: var(--an-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
#an-home .an-card__name a:hover { color: var(--an-coral-t); }
#an-home .an-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
#an-home .an-card__price b { font: 700 1.14rem/1.1 var(--an-disp); letter-spacing: -.01em; }
#an-home .an-card__price s { font-size: .82rem; color: var(--an-ink3); }
#an-home .an-card__stock { font-size: .76rem; }
#an-home .an-card__stock.is-off { color: var(--an-ink3); }
#an-home .an-card__stock.is-off::before { box-shadow: none; }
#an-home .an-card__add {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: auto; padding: 0 12px;
  border-radius: 999px; background: var(--an-coral-soft); color: #A8264A; font: 600 .9rem/1 var(--an-body); text-align: center;
  transition: background-color .25s, color .25s, transform .25s var(--an-ease);
}
#an-home .an-card__add:hover { background: var(--an-coral-d); color: #fff; }
#an-home .an-card__add.is-done { background: var(--an-ok); color: #fff; }
#an-home .an-card__add--more { background: transparent; color: var(--an-ink); border: 1.5px solid var(--an-line2); }
#an-home .an-card__add--more:hover { background: var(--an-ink); color: #fff; border-color: var(--an-ink); }
#an-home .an-card__add .an-ic { width: 1.05em; height: 1.05em; }
#an-home .an-card--mini .an-card__body { padding: 10px 12px 12px; gap: 4px; }
#an-home .an-card--mini .an-card__name { font-size: .84rem; }
#an-home .an-card--mini .an-card__price b { font-size: 1.02rem; }
#an-home .an-card--sk { pointer-events: none; padding-bottom: 16px; }
#an-home .an-sk { display: block; height: 12px; margin: 12px 14px 0; border-radius: 6px; background: linear-gradient(90deg, #F1EBE1 25%, #F9F5EF 50%, #F1EBE1 75%); background-size: 200% 100%; animation: anSk 1.4s linear infinite; }
#an-home .an-sk--img { height: auto; aspect-ratio: 1; margin: 0; border-radius: 0; }
#an-home .an-sk--short { width: 45%; }
#an-home .an-sk--price { width: 130px; height: 26px; margin: 0; }
#an-home .an-sk--row { height: 64px; margin: 0; border-radius: 14px; opacity: .25; }

/* ---------- 6) Dárkovač -------------------------------------------- */
#an-home .an-finder { padding-top: clamp(8px, 2vw, 24px); }
#an-home .an-finder__box {
  position: relative; overflow: hidden; padding: clamp(22px, 4vw, 56px); border-radius: 32px;
  background: #fff; border: 1px solid var(--an-line); box-shadow: 0 50px 90px -70px rgba(30, 27, 25, .45);
}
#an-home .an-finder__box::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(237, 77, 110, .16), rgba(237, 77, 110, 0)); pointer-events: none;
}
#an-home .an-finder__ctl { display: grid; gap: 14px; margin-bottom: 22px; }
#an-home .an-chips { display: grid; gap: 10px; min-width: 0; }
#an-home .an-chips__lbl { font: 700 .74rem/1 var(--an-body); letter-spacing: .14em; text-transform: uppercase; color: var(--an-ink3); }
#an-home .an-chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
#an-home .an-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--an-line2); background: #fff;
  font: 600 .92rem/1 var(--an-body); color: var(--an-ink); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--an-ease);
}
#an-home .an-chip:hover { border-color: var(--an-ink); }
#an-home .an-chip[aria-pressed="true"] { background: var(--an-ink); border-color: var(--an-ink); color: #fff; }
#an-home .an-finder__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; padding-top: 18px; border-top: 1px dashed var(--an-line2); }
#an-home .an-finder__count { font-size: .95rem; color: var(--an-ink2); }
#an-home .an-finder__count b { color: var(--an-ink); font-weight: 700; }
#an-home .an-finder__res { transition: opacity .2s; }
#an-home .an-finder__res.is-busy { opacity: .45; }
#an-home .an-finder__more { margin-top: 24px; text-align: center; }

/* ---------- 7) Kolekce --------------------------------------------- */
#an-home .an-cats { padding-top: clamp(40px, 5vw, 72px); }
#an-home .an-cats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 158px; grid-auto-flow: dense; gap: 12px; }
#an-home .an-cat {
  position: relative; display: flex; align-items: flex-end; min-width: 0; padding: 16px; overflow: hidden; isolation: isolate;
  border-radius: 20px; color: #fff; transition: transform .4s var(--an-ease), box-shadow .4s var(--an-ease);
}
#an-home .an-cat:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(30, 27, 25, .6); }
#an-home .an-cat--big { grid-column: span 2; grid-row: span 2; padding: clamp(18px, 2.4vw, 30px); }
#an-home .an-cat__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--an-ease); }
#an-home .an-cat--photo { background: #2A2622; }
#an-home .an-cat--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 16, 0) 38%, rgba(20, 18, 16, .78)); }
#an-home .an-cat:hover .an-cat__img { transform: scale(1.06); }
#an-home .an-cat__txt { position: relative; min-width: 0; }
#an-home .an-cat__txt b { display: block; font: 700 clamp(1rem, .9rem + .45vw, 1.28rem)/1.1 var(--an-disp); letter-spacing: -.01em; text-wrap: balance; }
#an-home .an-cat__txt small { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.3; opacity: .86; }
#an-home .an-cat--big .an-cat__txt b { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.35rem); }
#an-home .an-cat--big .an-cat__txt small { font-size: .95rem; }
#an-home .an-cat__go {
  position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--an-ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--an-ease);
}
#an-home .an-cat:hover .an-cat__go, #an-home .an-cat:focus-visible .an-cat__go { opacity: 1; transform: none; }
#an-home .an-cat__cut { position: absolute; z-index: -1; right: -4%; top: 10%; width: 82%; height: 58%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .32)); transition: transform .8s var(--an-ease); }
#an-home .an-cat:hover .an-cat__cut { transform: scale(1.06) rotate(-3deg); }
#an-home .an-cat--ink { background: radial-gradient(120% 90% at 75% 15%, #45403A 0%, #1E1B19 62%); }
#an-home .an-cat--sun { background: linear-gradient(145deg, #FFE27A 0%, #FFC64A 55%, #FFAF34 100%); color: var(--an-ink); }
#an-home .an-cat--slate { background: radial-gradient(120% 90% at 30% 10%, #3A4047 0%, #22262B 70%); }
#an-home .an-cat--coral { background: radial-gradient(120% 100% at 80% 10%, #F57791 0%, #D43658 60%, #B72A4B 100%); }
#an-home .an-cat__glyph { position: absolute; right: 6px; top: -22px; z-index: -1; font: 800 9.5rem/1 var(--an-disp); color: rgba(255, 255, 255, .2); }

/* ---------- 8) Tohle teď letí -------------------------------------- */
#an-home .an-picks { background: linear-gradient(180deg, var(--an-bg) 0%, var(--an-cream) 100%); }
#an-home .an-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
#an-home .an-tab {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--an-line2); background: transparent;
  font: 600 .92rem/1 var(--an-body); color: var(--an-ink2); transition: background-color .2s, color .2s, border-color .2s;
}
#an-home .an-tab:hover { border-color: var(--an-ink); color: var(--an-ink); }
#an-home .an-tab[aria-selected="true"] { background: var(--an-ink); border-color: var(--an-ink); color: #fff; }

/* ---------- 9) Gravírování ----------------------------------------- */
#an-home .an-gravir {
  color: #EDE7DD; overflow: hidden; isolation: isolate;
  background: radial-gradient(1000px 520px at 85% 0%, #2E3339 0%, rgba(46, 51, 57, 0) 70%), #1B1E22;
}
#an-home .an-gravir::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#an-home .an-gravir .an-h2 { color: #fff; }
#an-home .an-gravir .an-h2 em { color: #FF8FA6; }
#an-home .an-gravir .an-kicker { color: #F6A9B9; }
#an-home .an-gravir .an-sub { color: #CFC7BB; }
#an-home .an-gravir__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
#an-home .an-gravir__copy { min-width: 0; }
#an-home .an-steps { display: grid; gap: 14px; }
#an-home .an-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
#an-home .an-step__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); font: 700 .95rem/1 var(--an-disp); color: #fff; }
#an-home .an-steps li > span { font-size: .94rem; color: #BFB7AB; line-height: 1.45; }
#an-home .an-steps li > span > b { display: block; margin-bottom: 2px; font-weight: 600; color: #fff; font-size: 1rem; }
#an-home .an-gravir .an-cta { margin-top: 30px; }
#an-home .an-gravir__demo { min-width: 0; }
#an-home .an-slate {
  position: relative; container-type: inline-size; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 0 auto;
  background:
    radial-gradient(120% 90% at 28% 18%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .87 0 0 0 0 .9 0 0 0 .13 0'/%3E%3C/filter%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .045' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .7 0 0 0 0 .73 0 0 0 0 .77 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23l)'/%3E%3Crect width='400' height='400' filter='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    linear-gradient(160deg, #3B4046 0%, #2A2E33 55%, #23272B 100%);
  clip-path: polygon(2% 1.5%, 24% 0, 51% 1.2%, 77% 0, 98.5% 1%, 100% 26%, 98.8% 52%, 100% 78%, 98.6% 98.6%, 74% 100%, 49% 98.8%, 23% 100%, 1% 98.5%, 0 74%, 1.4% 49%, 0 24%);
}
#an-home .an-slate__frame { position: absolute; inset: 13%; border-radius: 50%; border: .55cqw solid rgba(232, 230, 226, .42); box-shadow: inset 0 .3cqw .4cqw rgba(0, 0, 0, .45), 0 .2cqw 0 rgba(255, 255, 255, .06); }
#an-home .an-slate__txt {
  position: absolute; left: 16%; right: 16%; top: 47%; transform: translateY(-50%); text-align: center;
  font: italic 400 clamp(6cqw, calc(112cqw / var(--len, 10)), 13.5cqw)/1.1 "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color: rgba(236, 233, 228, .88); letter-spacing: .01em; overflow-wrap: anywhere;
  text-shadow: 0 .25cqw 0 rgba(255, 255, 255, .1), 0 -.25cqw .1cqw rgba(0, 0, 0, .7);
}
#an-home .an-slate__year { position: absolute; left: 0; right: 0; bottom: 24%; text-align: center; font: 600 3.4cqw/1 var(--an-body); letter-spacing: .5em; text-indent: .5em; color: rgba(236, 233, 228, .55); text-shadow: 0 -.2cqw .1cqw rgba(0, 0, 0, .6); }
#an-home .an-slate__field { display: block; width: 100%; max-width: 440px; margin: 20px auto 0; }
#an-home .an-slate__field > span { display: block; margin-bottom: 8px; font-size: .84rem; color: #CFC7BB; }
#an-home .an-slate__field input {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; font: 500 1rem/1 var(--an-body); outline: none; box-shadow: none; margin: 0;
  transition: border-color .2s, box-shadow .2s;
}
#an-home .an-slate__field input:focus { border-color: #FF8FA6; box-shadow: 0 0 0 4px rgba(255, 143, 166, .2); }
#an-home .an-slate__note { max-width: 440px; margin: 10px auto 0; font-size: .78rem; color: #A39A8E; }
#an-home .an-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
#an-home .an-rail > .an-card { flex: 0 0 172px; scroll-snap-align: start; }
#an-home .an-gravir__rail { grid-column: 1 / -1; }
#an-home .an-gravir .an-card { border-color: transparent; }

/* ---------- 10) Tři světy ------------------------------------------ */
#an-home .an-worlds__grid { display: grid; gap: 16px; }
#an-home .an-world {
  position: relative; display: flex; flex-direction: column; min-height: 500px; padding: 26px; overflow: hidden; isolation: isolate;
  border-radius: 26px; color: #fff; transition: transform .4s var(--an-ease), box-shadow .4s var(--an-ease);
}
#an-home .an-world:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(30, 27, 25, .7); }
#an-home .an-world--ink { background: radial-gradient(130% 80% at 85% 0%, #49433C 0%, #1E1B19 62%); }
#an-home .an-world--sun { background: linear-gradient(160deg, #FFE47F 0%, #FFCB4F 48%, #FFB03A 100%); color: var(--an-ink); }
#an-home .an-world--night { background: #0F0C19; }
#an-home .an-world__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .9s var(--an-ease); }
#an-home .an-world--night::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 10, 22, .35) 0%, rgba(12, 10, 22, .1) 35%, rgba(12, 10, 22, .9) 78%); }
#an-home .an-world:hover .an-world__bg { transform: scale(1.05); }
#an-home .an-world__vis { display: flex; align-items: center; justify-content: center; height: 150px; margin: 14px 0 4px; }
#an-home .an-world__cut { width: auto; height: auto; max-width: 86%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .4)); transform: rotate(-5deg); transition: transform .9s var(--an-ease); }
#an-home .an-world--sun .an-world__cut { transform: rotate(4deg); filter: drop-shadow(0 22px 24px rgba(120, 70, 0, .35)); }
#an-home .an-world:hover .an-world__cut { transform: rotate(0) scale(1.05); }
#an-home .an-world__txt h3 { font: 700 clamp(1.5rem, 1.2rem + .8vw, 1.9rem)/1.05 var(--an-disp); letter-spacing: -.02em; color: inherit; }
#an-home .an-world__txt p { margin-top: 10px; max-width: 36ch; font-size: .95rem; line-height: 1.5; opacity: .86; }
#an-home .an-world__list { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
#an-home .an-world__list li a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s;
}
#an-home .an-world__list li a:hover { background: rgba(255, 255, 255, .2); }
#an-home .an-world--sun .an-world__list li a { background: rgba(255, 255, 255, .55); }
#an-home .an-world--sun .an-world__list li a:hover { background: rgba(255, 255, 255, .85); }
#an-home .an-world__list img { width: 48px; height: 48px; padding: 3px; border-radius: 10px; background: #fff; object-fit: contain; }
#an-home .an-world__list span { font-size: .84rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#an-home .an-world__list b { font: 700 .95rem/1 var(--an-disp); white-space: nowrap; }
#an-home .an-world__cta { align-self: flex-start; margin-top: 16px; background: #fff; color: var(--an-ink); }
#an-home .an-world__cta:hover { transform: translateY(-2px); }
#an-home .an-world--sun .an-world__cta { background: var(--an-ink); color: #fff; }

/* ---------- 11) Služby a kontakt ----------------------------------- */
#an-home .an-service { border-top: 1px solid var(--an-line); }
#an-home .an-service__in { display: grid; gap: 28px; align-items: start; }
#an-home .an-srvs { display: grid; gap: 12px; }
#an-home .an-srv { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 3px 14px; height: 100%; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--an-line); transition: border-color .25s, transform .3s var(--an-ease); }
#an-home a.an-srv:hover { border-color: var(--an-line2); transform: translateY(-2px); }
#an-home .an-srv__ic { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--an-coral-soft); color: var(--an-coral-d); }
#an-home .an-srv > b { font-weight: 700; font-size: 1rem; }
#an-home .an-srv > span { font-size: .9rem; color: var(--an-ink2); line-height: 1.45; }
#an-home .an-help { padding: 28px; border-radius: 26px; background: var(--an-ink); color: #fff; }
#an-home .an-help__k { font: 700 .74rem/1 var(--an-body); letter-spacing: .14em; text-transform: uppercase; color: #F6A9B9; }
#an-home .an-help__t { margin: 10px 0 16px; font: 700 clamp(1.4rem, 1.15rem + .8vw, 1.8rem)/1.1 var(--an-disp); letter-spacing: -.02em; }
#an-home .an-help__t em { font-style: normal; color: #FF8FA6; }
#an-home .an-help__row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
#an-home .an-help__row .an-ic { width: 22px; height: 22px; color: #F6A9B9; }
#an-home .an-help__row b { display: block; font-weight: 600; }
#an-home .an-help__row small { display: block; margin-top: 2px; font-size: .82rem; color: #B9B1A6; }
#an-home .an-help__row:hover b { text-decoration: underline; text-underline-offset: 3px; }
#an-home .an-help__co { margin-top: 12px; font-size: .78rem; color: #9D958A; }

/* ---------- 12) Odhalování a animace ------------------------------- */
#an-home .an-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--an-ease), transform .8s var(--an-ease); }
#an-home .an-rv.is-in { opacity: 1; transform: none; }
#an-home .an-rv-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--an-ease), transform .7s var(--an-ease), box-shadow .4s var(--an-ease); }
#an-home .an-rv-stagger.is-in > * { opacity: 1; transform: none; }
#an-home .an-rv-stagger.is-in > :nth-child(2) { transition-delay: .06s; }
#an-home .an-rv-stagger.is-in > :nth-child(3) { transition-delay: .12s; }
#an-home .an-rv-stagger.is-in > :nth-child(4) { transition-delay: .18s; }
#an-home .an-rv-stagger.is-in > :nth-child(5) { transition-delay: .24s; }
#an-home .an-rv-stagger.is-in > :nth-child(6) { transition-delay: .3s; }
#an-home .an-rv-stagger.is-in > :nth-child(7) { transition-delay: .36s; }
#an-home .an-rv-stagger.is-in > :nth-child(8) { transition-delay: .42s; }
#an-home .an-rv-stagger.is-in > :nth-child(9) { transition-delay: .48s; }
#an-home .an-rv-stagger.is-in > .an-cat:hover, #an-home .an-rv-stagger.is-in > li > .an-srv:hover { transition-delay: 0s; }
#an-home .an-rv-stagger.is-in > .an-cat:hover { transform: translateY(-4px); }
/* vstup hero */
#an-home .an-hero__copy > * { animation: anUp .9s var(--an-ease) both; }
#an-home .an-hero__copy > :nth-child(2) { animation-delay: .06s; }
#an-home .an-hero__copy > :nth-child(3) { animation-delay: .14s; }
#an-home .an-hero__copy > :nth-child(4) { animation-delay: .22s; }
#an-home .an-hero__copy > :nth-child(5) { animation-delay: .3s; }
#an-home .an-hero__show { animation: anRise 1.1s var(--an-ease) .1s both; }
@keyframes anUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes anRise { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes anFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1cqw); } }
@keyframes anTick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes anSk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes anPulse { 0% { box-shadow: 0 0 0 0 rgba(237, 77, 110, .5); } 70% { box-shadow: 0 0 0 9px rgba(237, 77, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 77, 110, 0); } }

/* ---------- 13) Rozvržení podle šířky ------------------------------ */
@media (max-width: 719px) {
  #an-home { border-radius: 0; }
  #an-home .an-cta .an-btn { flex: 1 1 auto; padding: 0 18px; }
  #an-home .an-hero .an-cta { padding-right: 30px; }   /* plovoucí záložka „24h AKCE" skinu je u pravého okraje */
  #an-home .an-hero__trust { gap: 8px 16px; font-size: .86rem; }
  #an-home .an-stage { aspect-ratio: 1 / .92; border-radius: 22px; }
  #an-home .an-ex { width: 66cqw; margin-left: -33cqw; height: 84cqw; bottom: 7cqw; }
  #an-home .an-ex__fig { width: calc(var(--w) * 66cqw); height: calc(var(--h) * 62cqw); }
  #an-home .an-ex__plinth { width: 36cqw; height: 15cqw; }
  #an-home .an-ex__no { font-size: 1.8cqw; }
  #an-home .an-ex.is-prev { transform: translate(-46cqw, -7cqw) scale(.5); }
  #an-home .an-ex.is-next { transform: translate(46cqw, -7cqw) scale(.5); }
  #an-home .an-stage__floor { height: 25%; }
  #an-home .an-stage__arr { width: 40px; height: 40px; top: auto; bottom: 12px; }
  #an-home .an-stage__arr--prev { left: 10px; }
  #an-home .an-stage__arr--next { right: 10px; }
  #an-home .an-placard { padding: 16px 16px 18px; }
  #an-home .an-chips__row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * clamp(22px, 4vw, 56px)); padding: 2px clamp(22px, 4vw, 56px) 6px; scrollbar-width: none; }
  #an-home .an-chips__row::-webkit-scrollbar { display: none; }
  #an-home .an-chip { min-height: 42px; padding: 0 16px; font-size: .9rem; }
  #an-home .an-finder__box { border-radius: 24px; }
  #an-home .an-picks__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 4px clamp(16px, 4vw, 40px) 12px; scrollbar-width: none; }
  #an-home .an-picks__grid::-webkit-scrollbar { display: none; }
  #an-home .an-picks__grid > .an-card { flex: 0 0 68%; scroll-snap-align: center; }
  #an-home .an-picks__grid > .an-empty { flex: 1 0 100%; }
  #an-home .an-cat__go { opacity: .92; transform: none; width: 32px; height: 32px; right: 10px; top: 10px; }
  #an-home .an-cat__glyph { font-size: 7.5rem; }
  #an-home .an-world { min-height: 470px; padding: 22px; }
  #an-home .an-slate { max-width: 340px; }
}
@media (min-width: 720px) {
  #an-home .an-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  #an-home .an-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
  #an-home .an-srvs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #an-home .an-chips { grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  #an-home .an-placard { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 18px 24px 20px; }
  #an-home .an-placard__buy { flex-direction: column; align-items: flex-end; justify-content: center; }
  #an-home .an-placard__price { justify-content: flex-end; }
  #an-home .an-rail > .an-card { flex-basis: 186px; }
}
@media (min-width: 900px) {
  #an-home .an-worlds__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  #an-home .an-hero__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  #an-home .an-hero { min-height: min(820px, calc(100svh - var(--xm-header-h, 180px))); display: flex; align-items: center; }
  #an-home .an-hero > .an-wrap { width: 100%; }
  #an-home .an-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  #an-home .an-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
  #an-home .an-gravir__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  #an-home .an-service__in { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
  #an-home .an-stage__arr { opacity: 0; }
  #an-home .an-hero__show:hover .an-stage__arr, #an-home .an-stage__arr:focus-visible { opacity: 1; }
}
@media (hover: none) { #an-home .an-stage__arr { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #an-home *, #an-home *::before, #an-home *::after { animation: none !important; transition-duration: .01ms !important; }
  #an-home .an-rv, #an-home .an-rv-stagger > * { opacity: 1; transform: none; }
}
@media print {
  #an-home .an-stage__arr, #an-home .an-finder, #an-home .an-slate__field { display: none !important; }
}
