/* Momentky - jediný CSS súbor. Fonty sú hostované lokálne (žiadne volania na Google). */
@font-face { font-family: Fraunces; src: url(../fonts/fraunces-ext.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: Fraunces; src: url(../fonts/fraunces.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: Fraunces; font-style: italic; src: url(../fonts/fraunces-i-ext.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: Fraunces; font-style: italic; src: url(../fonts/fraunces-i.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: Manrope; src: url(../fonts/manrope-ext.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: Caveat; src: url(../fonts/caveat-ext.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: Caveat; src: url(../fonts/caveat.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }

:root {
  --cream: #f6f1e8;
  --sand: #ece3d3;
  --paper: #fffdf9;
  --ink: #1f1a17;
  --ink-soft: #5d544d;
  --line: #d9cfbf;
  --clay: #b4583f;      /* akcent */
  --clay-dark: #96452f;
  --gold: #c9a56a;
  --night: #1c1816;
  --ok: #4c7a57;
  --err: #a8392c;
  --serif: Fraunces, 'Iowan Old Style', Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: Caveat, 'Segoe Script', cursive;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(40, 25, 15, .12), 0 10px 28px -10px rgba(40, 25, 15, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); font-weight: 350; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: 1.2rem; display: block; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.band { background: var(--sand); }
.dark { background: var(--night); color: var(--cream); }
.dark .lead { color: #c9bdb0; }
.dark .eyebrow { color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1.05em 1.9em; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; border-radius: 0; }
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn.light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.light:hover { background: var(--gold); border-color: var(--gold); }
.btn.ghost-light { background: transparent; color: var(--cream); border-color: rgba(246, 241, 232, .6); }
.btn.ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { font-weight: 600; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---------- hlavička ---------- */
.topbar { background: var(--night); color: var(--cream); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.topbar div { display: inline-block; padding: .7em 0; animation: slide 40s linear infinite; }
.topbar span { margin: 0 2.2em; }
.topbar span::before { content: '✦'; color: var(--gold); margin-right: 2.2em; margin-left: -2.2em; }
@keyframes slide { to { transform: translateX(-50%); } }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 232, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font: 400 1.5rem/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; text-decoration: none; }
.site-head nav { display: flex; gap: 28px; font-size: .9rem; }
.site-head nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-head nav a:hover { border-color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cart-link b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--clay); color: #fff; font-size: .75rem; }
.cart-link b[data-n="0"] { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
@media (max-width: 760px) { .site-head nav { display: none; } .logo { font-size: 1.2rem; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; place-items: center; padding: 90px 0 120px; color: var(--cream); background: var(--night); overflow: hidden; isolation: isolate; text-align: center; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s; }
.hero-media video.on { opacity: 1; }
.hero-media .slide { background-size: cover; background-position: center; opacity: 0; animation: kb 28s infinite; filter: blur(14px) saturate(1.1); inset: -30px; width: auto; height: auto; }
.hero-media .slide:nth-child(2) { animation-delay: 7s; }
.hero-media .slide:nth-child(3) { animation-delay: 14s; }
.hero-media .slide:nth-child(4) { animation-delay: 21s; }
@keyframes kb { 0% { opacity: 0; transform: scale(1.04); } 6% { opacity: 1; } 25% { opacity: 1; } 33% { opacity: 0; transform: scale(1.16) translate(-1.5%, -1%); } 100% { opacity: 0; } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(28, 24, 22, .45), rgba(28, 24, 22, .86)); }
.hero .quote { font: italic 400 1.05rem var(--serif); color: var(--gold); letter-spacing: .04em; margin-bottom: 1.4rem; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero h1 em { color: var(--gold); }
.hero .lead { color: #e6dccf; margin: 1.4rem auto 2.4rem; max-width: 50ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-magnets { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-magnets .magnet { position: absolute; width: clamp(84px, 11vw, 150px); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.hero-magnets .magnet:nth-child(1) { left: 6%; top: 16%; rotate: -8deg; }
.hero-magnets .magnet:nth-child(2) { left: 11%; bottom: 14%; rotate: 6deg; animation-delay: -3s; }
.hero-magnets .magnet:nth-child(3) { right: 7%; top: 13%; rotate: 7deg; animation-delay: -5s; }
.hero-magnets .magnet:nth-child(4) { right: 12%; bottom: 17%; rotate: -5deg; animation-delay: -1.5s; }
@media (max-width: 900px) { .hero-magnets .magnet:nth-child(2), .hero-magnets .magnet:nth-child(4) { display: none; } .hero-magnets .magnet { opacity: .55; top: 5% !important; } }
.video-toggle { position: absolute; right: 18px; bottom: 76px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; display: none; }
.video-toggle.on { display: block; }

.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; font-size: .9rem; }
.trust li b { display: block; font: 400 1.05rem var(--serif); }
.trust li span { color: var(--ink-soft); font-size: .82rem; }
@media (max-width: 700px) { .trust ul { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; } }

/* ---------- magnetka ---------- */
.magnet { aspect-ratio: 1; background: #ddd center/cover; border-radius: 5px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.magnet::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .08) 100%); border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; }
.magnet.retro { aspect-ratio: 5.5 / 6.5; background-color: #fffdf8; background-size: 86% auto; background-position: 50% 12%; background-repeat: no-repeat; }
.magnet.retro i { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font: 500 clamp(.7rem, 1.3vw, 1rem)/1 var(--hand); color: #3a2c25; font-style: normal; }

/* ---------- príbeh + chladnička ---------- */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story .big { font: 300 clamp(3.2rem, 8vw, 6.2rem)/1 var(--serif); color: var(--clay); display: block; margin-bottom: .2em; font-variant-numeric: tabular-nums; }
.fridge { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(100deg, #e9e6e1 0%, #f7f5f1 30%, #dedad3 100%); border-radius: 26px; box-shadow: inset 0 0 0 1px #cfc9bf, inset 14px 0 30px -18px rgba(0, 0, 0, .25), 0 30px 60px -30px rgba(40, 25, 15, .5); touch-action: none; overflow: hidden; }
.fridge::before { content: ''; position: absolute; left: 0; right: 0; top: 33%; height: 5px; background: linear-gradient(#b9b3a8, #f3f0ea); }
.fridge::after { content: ''; position: absolute; left: 5%; top: 9%; width: 9px; height: 19%; border-radius: 6px; background: linear-gradient(90deg, #a9a399, #e2ded6); box-shadow: 0 54vh 0 0 transparent; }
.fridge .handle2 { position: absolute; left: 5%; top: 39%; width: 9px; height: 30%; border-radius: 6px; background: linear-gradient(90deg, #a9a399, #e2ded6); }
.fridge .magnet { position: absolute; width: 21%; cursor: grab; transition: box-shadow .2s, scale .2s; user-select: none; }
.fridge .magnet.drag { cursor: grabbing; scale: 1.07; box-shadow: 0 24px 40px -14px rgba(40, 25, 15, .6); z-index: 5; transition: none; }
.fridge-hint { font: 500 1.25rem var(--hand); color: var(--ink-soft); text-align: center; margin-top: 14px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .fridge { max-width: 420px; margin-inline: auto; width: 100%; } }

/* ---------- ako to funguje ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 60px; left: 16%; right: 16%; height: 1px; background: var(--ink); opacity: .35; }
.steps li { text-align: center; counter-increment: s; position: relative; }
.steps .ring { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 22px; background: var(--paper) center/cover; border: 1px solid var(--ink); position: relative; display: grid; place-items: center; }
.steps .ring::after { content: counter(s); position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font: 600 .85rem/30px var(--sans); }
.steps .ring svg { width: 46px; height: 46px; stroke: var(--ink); fill: none; stroke-width: 1.4; }
.steps p { color: var(--ink-soft); max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps::before { display: none; } }

/* ---------- sady ---------- */
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
@media (max-width: 980px) { .sets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sets { grid-template-columns: 1fr; } }
.set { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: transform .35s, box-shadow .35s; text-decoration: none; }
.set:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(40, 25, 15, .55); }
.set-visual { background: var(--sand); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8%; overflow: hidden; }
.set-grid { display: grid; gap: 4%; rotate: -3deg; transition: rotate .5s, scale .5s; }
.set:hover .set-grid { rotate: 0deg; scale: 1.04; }
.set-grid.mosaic { gap: 1.5%; }
.set-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.set-body h3 { margin-bottom: .15em; font-size: 1.55rem; }
.set-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .9em; }
.set-body p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.set-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font: 400 1.7rem var(--serif); white-space: nowrap; }
.price small { font: 400 .78rem var(--sans); color: var(--ink-soft); display: block; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: var(--cream); font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .7em .9em; }
.note { color: var(--ink-soft); font-size: .92rem; margin-top: 28px; }

/* ---------- príležitosti ---------- */
.occasions { position: relative; overflow: hidden; isolation: isolate; }
.occasions video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1s; }
.occasions video.on { opacity: .35; }
.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.occ { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #333 center/cover; display: flex; align-items: flex-end; padding: 22px; text-decoration: none; color: var(--cream); }
.occ::before { content: ''; position: absolute; inset: 0; background: inherit; transition: scale 1.2s; z-index: 0; }
.occ::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(20, 15, 12, .88)); }
.occ:hover::before { scale: 1.08; }
.occ div { position: relative; z-index: 1; }
.occ h3 { margin: 0 0 .2em; font-size: 1.5rem; }
.occ p { margin: 0; font-size: .9rem; color: #d8ccbe; }
@media (max-width: 900px) { .occ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .occ { aspect-ratio: 1; padding: 14px; } .occ h3 { font-size: 1.2rem; } .occ p { display: none; } .occ-grid { gap: 10px; } }

/* ---------- kvalita ---------- */
.quality { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.specs { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs span { color: var(--ink-soft); }
.stack { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.stack .magnet { position: absolute; width: 46%; }
.stack .magnet:nth-child(1) { left: 6%; top: 8%; rotate: -9deg; }
.stack .magnet:nth-child(2) { right: 4%; top: 2%; rotate: 5deg; }
.stack .magnet:nth-child(3) { left: 14%; bottom: 2%; rotate: 4deg; }
.stack .magnet:nth-child(4) { right: 8%; bottom: 8%; rotate: -4deg; width: 40%; }
@media (max-width: 860px) { .quality { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 400 1.2rem var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 300 1.7rem var(--sans); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

.final { text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin-inline: auto; }

/* ---------- pätička ---------- */
.site-foot { background: #2b2623; color: #cfc4b7; padding: 70px 0 30px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-foot h4 { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8f8478; margin: 0 0 1.2em; }
.site-foot .big { font: 400 1.9rem/1.2 var(--serif); color: var(--cream); max-width: 14ch; margin-bottom: .6em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .6em; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid #4a433e; font-size: .8rem; color: #8f8478; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* ---------- podstránky ---------- */
.page { padding: clamp(36px, 6vw, 70px) 0 100px; }
.page h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose mark { background: #f4dcae; padding: 0 .25em; }
.notice { border: 1px solid var(--gold); background: #fbf3e2; padding: 14px 18px; font-size: .92rem; margin-bottom: 28px; }
.msg { padding: 12px 16px; margin: 14px 0; font-size: .95rem; border-left: 3px solid var(--err); background: #f7e4e0; color: #6d2118; }
.msg.ok { border-color: var(--ok); background: #e4efe5; color: #26482f; }
.msg:empty { display: none; }

/* konfigurátor */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: 10px 16px; cursor: pointer; font: 500 .92rem var(--sans); color: var(--ink); text-align: left; }
.chip small { display: block; color: var(--ink-soft); font-size: .78rem; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: #cfc4b7; }
.builder { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; margin-top: 26px; }
@media (max-width: 940px) { .builder { grid-template-columns: 1fr; } }
.drop { border: 1.5px dashed #b7aa97; background: var(--paper); padding: 26px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop.over, .drop:hover { background: #fff; border-color: var(--clay); }
.drop b { font: 400 1.3rem var(--serif); display: block; }
.drop span { color: var(--ink-soft); font-size: .9rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; margin-top: 22px; }
.slots.mosaic { grid-template-columns: minmax(0, 420px); }
.slot { position: relative; }
.slot .magnet { width: 100%; cursor: pointer; background: var(--sand); display: grid; place-items: center; color: #a5988a; font: 300 2rem var(--serif); border: 0; padding: 0; }
.slot.empty .magnet { box-shadow: none; outline: 1px dashed #b7aa97; outline-offset: -1px; }
.slot.empty .magnet::after { display: none; }
.slot canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.slot .x { position: absolute; top: -8px; right: -8px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.slot .warn { position: absolute; left: 6px; bottom: 6px; z-index: 3; background: #f4dcae; color: #5c4313; font-size: .68rem; padding: 2px 6px; pointer-events: none; }
.slot input { width: 100%; margin-top: 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: 500 1.05rem var(--hand); text-align: center; padding: 3px; color: var(--ink); }
.slots.mosaic .magnet .gridlines { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent calc(33.33% - 2px), var(--cream) calc(33.33% - 2px), var(--cream) calc(33.33% + 2px), transparent calc(33.33% + 2px), transparent calc(66.66% - 2px), var(--cream) calc(66.66% - 2px), var(--cream) calc(66.66% + 2px), transparent calc(66.66% + 2px)), linear-gradient(transparent calc(33.33% - 2px), var(--cream) calc(33.33% - 2px), var(--cream) calc(33.33% + 2px), transparent calc(33.33% + 2px), transparent calc(66.66% - 2px), var(--cream) calc(66.66% - 2px), var(--cream) calc(66.66% + 2px), transparent calc(66.66% + 2px)); }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 26px; position: sticky; top: 90px; }
.panel h2 { font-size: 1.5rem; }
.progress { height: 4px; background: var(--sand); margin: 14px 0 6px; }
.progress i { display: block; height: 100%; background: var(--clay); width: 0; transition: width .3s; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; font-size: .93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--clay); flex: none; }
.rows { margin: 16px 0; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.rows .total { font: 400 1.4rem var(--serif); border-bottom: 0; padding-top: 14px; }

/* orez */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(28, 24, 22, .82); display: none; place-items: center; padding: 16px; }
.modal.on { display: grid; }
.modal-box { background: var(--cream); padding: 22px; width: min(460px, 100%); }
.modal-box canvas { width: 100%; aspect-ratio: 1; touch-action: none; cursor: move; background: #ddd; }
.modal-box input[type=range] { width: 100%; margin: 16px 0; accent-color: var(--clay); }
.modal-box .cta-row { justify-content: flex-end; }

/* košík a pokladňa */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
@media (max-width: 940px) { .checkout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.cart-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; background: var(--sand); }
.cart-item h3 { margin: 0; }
.cart-item small { color: var(--ink-soft); }
.cart-item button { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; padding: 0; }
fieldset { border: 0; padding: 0; margin: 34px 0 0; }
legend { font: 400 1.4rem var(--serif); padding: 0; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .cart-item { grid-template-columns: 84px 1fr; } .cart-item .price { grid-column: 2; } }
label.f { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
label.f input, label.f textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #c9bda9; background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); border-radius: 0; }
label.f input:focus, label.f textarea:focus { outline: 2px solid var(--clay); outline-offset: -1px; }
.opt { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); background: var(--paper); padding: 15px 16px; margin-bottom: 10px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { margin-top: 5px; accent-color: var(--clay); }
.opt span { flex: 1; }
.opt small { display: block; color: var(--ink-soft); }
.opt b { white-space: nowrap; font-weight: 600; }
.hide { display: none !important; }
.empty-cart { text-align: center; padding: 60px 0; }

/* admin */
.admin table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin select { padding: 6px; font: inherit; }
.admin .photos { display: flex; flex-wrap: wrap; gap: 4px; max-width: 420px; }
.admin .photos a { width: 44px; }
.admin .photos img { width: 44px; height: 44px; object-fit: cover; }
.st { display: inline-block; padding: 2px 8px; font-size: .75rem; font-weight: 600; background: var(--sand); }
.st.paid, .st.production { background: #dcebdc; } .st.shipped { background: #d9e2ee; } .st.cancelled { background: #eedcd9; }

/* nábeh sekcií */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .9s, translate .9s; }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-media .slide:first-child { opacity: 1; }
  .reveal { opacity: 1; translate: 0 0; }
}
