/* Kouzlo mechu a barev – vzhled webu. Barvy, písma a rozměry se mění jen tady nahoře. */

@font-face {
  font-family: "Playpen Sans";
  src: url("/fonts/playpen-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playpen Sans";
  src: url("/fonts/playpen-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  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;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  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;
}

:root {
  --cream: #fbf8ef;
  --cream-2: #f3eedf;
  --paper: #fffdf7;
  --ink: #3a3f2a;
  --ink-soft: #6c7059;
  --moss: #66773a;
  --moss-deep: #4f5f28;
  --moss-tint: #e7edcf;
  --leaf: #a7bd73;
  --line: #e7e0cc;
  --berry: #7b8f45;
  --danger: #a33a2a;
  --display: "Playpen Sans", "Comic Sans MS", cursive;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(58, 63, 42, 0.04), 0 10px 30px -14px rgba(58, 63, 42, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* Nepravidelné tvary fotek */
  --shape-a: 46% 54% 42% 58% / 58% 44% 56% 42%;
  --shape-b: 28px 64px 32px 72px / 60px 30px 70px 34px;
  --shape-c: 58% 42% 52% 48% / 46% 56% 44% 54%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--moss-deep);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--moss-deep);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
:focus-visible {
  outline: 2.5px solid var(--moss);
  outline-offset: 3px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--moss-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Dekorace smějí přesahovat přes okraj sekce, ale nikdy ven z okna. */
main,
.wave-band {
  overflow-x: clip;
}
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.narrow {
  width: min(760px, 100% - 2 * var(--gutter));
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.8em;
}
.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
}
.hint,
small {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.ico-heart {
  display: inline-block;
  vertical-align: -0.1em;
  width: 0.82em;
  height: 0.82em;
  color: currentColor;
}

/* Ručně kreslené dekorace */
.sprig {
  pointer-events: none;
}
.doodle {
  position: absolute;
  width: 26px;
  color: var(--moss);
  opacity: 0.75;
  pointer-events: none;
}
.wash {
  position: absolute;
  z-index: -1;
  background: no-repeat center / 100% 100%;
  pointer-events: none;
}
.wash-green {
  background-image: url("/img/wash-green.svg");
}
.wash-sand {
  background-image: url("/img/wash-sand.svg");
}
.wash-soft {
  background-image: url("/img/wash-soft.svg");
}
.shape-a {
  border-radius: var(--shape-a);
}
.shape-b {
  border-radius: var(--shape-b);
}
.shape-c {
  border-radius: var(--shape-c);
}
/* Fotka, která se na okrajích rozpije do podkladu */
.soft-edge {
  -webkit-mask: url("/img/maska.svg") no-repeat center / 100% 100%;
  mask: url("/img/maska.svg") no-repeat center / 100% 100%;
}

/* Tlačítka a odkazy */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border: 1.5px solid var(--moss);
  border-radius: 999px;
  background: var(--moss);
  color: #fff;
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(79, 95, 40, 0.75);
}
.btn svg {
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-ghost {
  background: transparent;
  color: var(--moss-deep);
}
.btn-ghost:hover {
  background: var(--moss-tint);
  color: var(--moss-deep);
  box-shadow: none;
}
.btn-lg {
  min-height: 56px;
  padding-inline: 34px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}
.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover {
  color: var(--moss-deep);
}
.link-danger:hover {
  color: var(--danger);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--moss-deep);
  white-space: nowrap;
}
.link-arrow svg {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Horní pruh a hlavička */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--moss-tint);
  color: var(--moss-deep);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px var(--gutter);
  text-align: center;
}
.announce .ico-heart {
  flex: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
}
.header-inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 156px;
}
/* Logo je nahoře velké jako v návrhu a při rolování se zmenší do úzké lišty. */
.brand img {
  height: 132px;
  width: auto;
  transition: height 0.45s var(--ease);
}
.site-header {
  transition: box-shadow 0.4s var(--ease);
}
.header-inner {
  transition: min-height 0.45s var(--ease);
}
.site-header.is-small .brand img {
  height: 62px;
}
.site-header.is-small .header-inner {
  min-height: 74px;
}
.site-header.is-small {
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current]::after {
  transform: scaleX(1);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--moss-deep);
  cursor: pointer;
  transition: background 0.2s;
}
.tool svg {
  width: 26px;
  height: 26px;
}
.tool:hover {
  background: var(--moss-tint);
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--moss-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.cart-count[hidden] {
  display: none;
}
.nav-toggle {
  display: none;
}

/* Úvod: text vlevo, vpravo kompozice – mech rozpitý v akvarelu, nálepka trička, ruční poznámky */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(16px, 3vw, 40px) clamp(40px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.06;
  margin-bottom: 0.2em;
}
.hero h1 .ico-heart {
  width: 0.6em;
  height: 0.6em;
  vertical-align: 0.05em;
}
.nowrap {
  white-space: nowrap;
}
.hero-tag {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--moss);
  margin-bottom: 0.8em;
}
.hero-sub {
  max-width: 27em;
  color: var(--ink-soft);
  margin-bottom: 1.8em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
.hero-art {
  position: relative;
  isolation: isolate;
  padding: clamp(30px, 5vw, 64px) clamp(10px, 2vw, 24px) clamp(40px, 6vw, 80px);
}
.hero-art .wash-sand {
  inset: 6% 0 0 10%;
}
.hero-art .wash-green {
  inset: 0 18% 30% -2%;
  opacity: 0.8;
}
.hero-img {
  width: 100%;
  transform: rotate(-2deg);
}
/* Malý obrázek rozpitý do akvarelové skvrny (místo kulaté nálepky) */
.sticker {
  position: absolute;
  display: block;
  isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.sticker::before {
  content: "";
  position: absolute;
  inset: -14% -18%;
  z-index: -1;
  background: url("/img/wash-green.svg") no-repeat center / 100% 100%;
  opacity: 0.75;
}
.sticker img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  -webkit-mask: url("/img/maska.svg") no-repeat center / 100% 100%;
  mask: url("/img/maska.svg") no-repeat center / 100% 100%;
}
.sticker-sun {
  width: clamp(110px, 15vw, 190px);
  left: -2%;
  bottom: 2%;
  transform: rotate(-8deg);
}
a.sticker:hover {
  transform: rotate(-3deg) scale(1.03);
}
.note {
  position: absolute;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.25;
  color: var(--moss-deep);
}
.hand-arrow {
  position: absolute;
  width: 54px;
  color: var(--moss);
}
.note-paint {
  left: 26%;
  bottom: -2%;
}
.note-paint .hand-arrow {
  left: -62px;
  top: -6px;
  transform: scaleX(-1) rotate(10deg);
}
.note-moss {
  right: 2%;
  top: 0;
  text-align: right;
}
.note-moss .hand-arrow {
  right: 30px;
  top: 22px;
  transform: rotate(20deg);
}
.art-sprig {
  position: absolute;
  width: clamp(60px, 8vw, 110px);
}
.art-sprig-r {
  right: -4%;
  bottom: 4%;
  transform: scaleX(-1) rotate(-36deg);
}
.art-sprig-l {
  left: -4%;
  bottom: 0;
  transform: rotate(-30deg);
}
.art-heart-1 {
  top: 12%;
  left: 8%;
  width: 22px;
}
.art-heart-2 {
  top: 6%;
  right: 8%;
  width: 20px;
}

/* Nadpis sekce: ručně psaný, tah štětce pod ním, odkaz vpravo */
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.section-title h2,
.section-title h1 {
  margin: 0;
}
.scribble {
  display: block;
  width: 150px;
  height: 14px;
  margin: 2px 0 0 -2px;
  color: var(--leaf);
}
.section-title p {
  margin: 0.6em 0 0;
  color: var(--ink-soft);
  max-width: 38em;
}
.section-title .link-arrow {
  margin-bottom: 4px;
}

/* Police s výrobky */
.shelf {
  padding-block: clamp(28px, 4vw, 52px);
}

/* Karta výrobku – fotka v jemně nepravidelném rámu, popis přímo pod ní */
.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f6f1e6;
  border-radius: 22px 26px 20px 28px / 26px 20px 28px 22px;
}
.grid > .card:nth-child(4n + 2) .card-media {
  border-radius: 26px 20px 28px 22px / 20px 28px 22px 26px;
}
.grid > .card:nth-child(4n + 3) .card-media {
  border-radius: 20px 28px 24px 22px / 28px 22px 20px 26px;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}
.card-media .card-alt {
  opacity: 0;
}
.card:hover .card-media img {
  transform: scale(1.04);
}
.card:hover .card-media .card-alt {
  opacity: 1;
}
.badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--moss-deep);
  font-size: 0.76rem;
  font-weight: 600;
}
.badge-muted {
  color: var(--ink-soft);
}
.card-name {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--moss-deep);
}
.card-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.price {
  font-weight: 600;
}
.card-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: clamp(26px, 3vw, 40px) clamp(14px, 2vw, 26px);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Kreativní kousky z přírody: dvě fotky v nepravidelných tvarech a akvarelová skvrna s textem */
.nature {
  position: relative;
  padding-block: clamp(30px, 5vw, 60px);
}
.nature-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: clamp(12px, 1.8vw, 22px);
  align-items: center;
}
.nature-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.4;
}
.nature-photo + .nature-photo {
  aspect-ratio: 1.08;
}
.nature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.nature-photo:hover img {
  transform: scale(1.04);
}
.nature-photo.shape-a {
  border-radius: 150px 30px 28px 130px / 130px 28px 30px 150px;
}
.nature-photo.shape-b {
  border-radius: 30px 90px 28px 34px / 34px 70px 30px 28px;
}
.nature-note {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(34px, 4vw, 56px) clamp(14px, 2vw, 24px);
  text-align: center;
}
.nature-note .wash-soft {
  inset: -8% -14%;
}
.nature-note p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.3;
  color: var(--moss-deep);
  margin: 0;
}
.note-sprig {
  position: absolute;
  width: 54px;
  right: -6%;
  top: -10%;
  transform: scaleX(-1) rotate(-10deg);
}

/* Od nápadu po balíček */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(44px, 7vw, 90px);
}
.story-art {
  position: relative;
  isolation: isolate;
  padding: clamp(16px, 3vw, 36px);
}
.story-art .wash-green {
  inset: -4% -6% -2% -8%;
}
.story-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.sticker-crab {
  width: clamp(96px, 12vw, 150px);
  right: -2%;
  top: 2%;
  transform: rotate(9deg);
}
.story-sprig {
  position: absolute;
  left: -4%;
  bottom: -4%;
  width: clamp(54px, 7vw, 96px);
  transform: rotate(-26deg);
}
.story-steps h2 {
  margin: 0;
}
.story-steps ol {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}
.story-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}
.step-no {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--leaf);
}
.story-steps h3 {
  margin-bottom: 0.2em;
}
.story-steps p {
  color: var(--ink-soft);
  margin: 0;
}

/* Přání na míru */
.wish {
  padding-block: 0 clamp(10px, 2vw, 24px);
}
.wish-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(36px, 5vw, 64px) clamp(30px, 6vw, 84px);
}
.wish-card .wash-soft {
  inset: 0;
}
.wish-card h2 {
  margin-bottom: 0.3em;
}
.wish-card p:last-child {
  max-width: 36em;
  margin: 0;
  color: var(--ink-soft);
}
.wish-card .btn {
  flex: none;
}
.wish-heart {
  right: 6%;
  top: 14%;
  width: 22px;
}

/* Vlnitý akvarelový pás nad patičkou */
.wave-band {
  position: relative;
  isolation: isolate;
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(44px, 6vw, 72px);
  text-align: center;
  color: var(--moss-deep);
}
.wave-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/wash-soft.svg") no-repeat center / 120% 140%;
  -webkit-mask: url("/img/vlna.svg") no-repeat center / 100% 100%;
  mask: url("/img/vlna.svg") no-repeat center / 100% 100%;
}
.wave-copy {
  position: relative;
  width: min(640px, 100%);
  margin-inline: auto;
}
.wave-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
.wave-line {
  width: 100%;
  margin: 4px auto 0;
  color: var(--moss);
  opacity: 0.8;
}
.wave-sub {
  margin: 6px 0 0;
  color: var(--ink-soft);
}
.wave-sprig {
  position: absolute;
  bottom: 6%;
  width: clamp(56px, 8vw, 110px);
}
.wave-sprig-l {
  left: clamp(4px, 5vw, 80px);
  transform: rotate(-48deg);
}
.wave-sprig-r {
  right: clamp(4px, 5vw, 80px);
  transform: scaleX(-1) rotate(-48deg);
}
.wave-heart-1 {
  left: 16%;
  top: 46%;
}
.wave-heart-2 {
  left: 30%;
  top: 34%;
  width: 18px;
}
.wave-heart-3 {
  right: 17%;
  top: 44%;
}

/* Patička */
.site-footer {
  background: var(--cream-2);
  padding: clamp(40px, 6vw, 72px) 0 26px;
}
.footer-inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer-brand img {
  width: 150px;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 26em;
}
.site-footer h2 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 12px;
}
.footer-inner a {
  display: block;
  padding: 4px 0;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-inner a:hover {
  color: var(--moss);
  text-decoration: underline;
}
.footer-legal {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: clamp(28px, 4vw, 50px) auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer-legal a {
  color: inherit;
}

/* Hlavičky podstránek */
.page-head {
  padding: clamp(30px, 5vw, 64px) 0 clamp(16px, 2.4vw, 28px);
}
.page-head h1 {
  margin-bottom: 0.25em;
}
.page-head .lead {
  margin: 0;
}
.prose h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  margin-top: 1.5em;
}
.prose li {
  margin-bottom: 0.4em;
}
.empty {
  color: var(--ink-soft);
}

/* Kategorie – krátký nadpis, popis a nálepka s fotkou */
.cat-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(26px, 4vw, 52px) clamp(18px, 3vw, 32px);
}
.cat-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin: 0;
}
.cat-tag {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--moss);
  margin: 0.6em 0 0.3em;
}
.cat-hero-copy p:last-child {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}
.sticker-cat {
  position: relative;
  flex: none;
  width: clamp(110px, 14vw, 170px);
  transform: rotate(6deg);
  margin-right: clamp(0px, 3vw, 40px);
}
.cat-grid {
  padding-top: clamp(10px, 2vw, 20px);
}

/* Detail výrobku */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding-top: clamp(18px, 3vw, 40px);
  align-items: start;
}
.gallery {
  position: sticky;
  top: 100px;
}
.gallery-main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 1;
}
.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery-main img.is-active {
  opacity: 1;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  opacity: 1;
  border-color: var(--moss);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crumbs {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.crumbs a {
  color: inherit;
}
.product-info h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 0.15em;
}
.product-short {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 0.7em;
}
.product-price {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.8em;
}
.avail {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: var(--moss-tint);
  font-size: 0.96rem;
  line-height: 1.5;
}
.avail-sold {
  background: var(--cream-2);
}
.buy {
  margin: 22px 0 26px;
}
.sizes {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.sizes legend {
  font-weight: 800;
  padding: 0;
  margin-bottom: 10px;
}
.sizes legend span {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-list label {
  position: relative;
  cursor: pointer;
}
.size-list input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.size-list span {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.size-list label:hover span {
  border-color: var(--moss);
}
.size-list input:checked + span {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: var(--cream);
}
.size-list input:focus-visible + span {
  outline: 2.5px solid var(--moss);
  outline-offset: 3px;
}
.buy-row {
  display: flex;
  gap: 10px;
}
.buy-row .btn {
  flex: 1;
}
.qty input,
.cart-qty input {
  width: 76px;
  height: 56px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-align: center;
  font: 700 1.05rem var(--body);
  color: var(--ink);
}
.product-desc {
  margin-bottom: 18px;
}
.acc {
  border-top: 1px solid var(--line);
}
.acc:last-of-type {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 2px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--moss);
  transition: transform 0.3s var(--ease);
}
.acc[open] summary::after {
  transform: rotate(45deg);
}
.acc ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: var(--ink-soft);
}
.acc li {
  margin-bottom: 6px;
}
.related {
  padding-top: clamp(60px, 9vw, 120px);
}

/* Formuláře */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field-wide {
  grid-column: 1 / -1;
}
.field > span {
  font-weight: 700;
  font-size: 0.94rem;
}
input:not([type="radio"], [type="checkbox"], [type="file"], [type="hidden"]),
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 1rem var(--body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(90, 110, 44, 0.16);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0 18px;
  font-size: 0.96rem;
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--moss-deep);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(24px, 4vw, 40px);
}
legend {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--moss-deep);
  padding: 0;
  margin-bottom: 12px;
}
.form-card {
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.form-small {
  max-width: 480px;
}
.form-card .hint {
  margin: 14px 0 0;
}
.alert {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: #fbe9e4;
  border: 1px solid #efc4b8;
  color: #6e2416;
  margin-bottom: 20px;
}
.alert p,
.alert ul {
  margin: 0 0 4px;
}
.notice {
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--moss-tint);
}
.notice p {
  margin: 0;
}
.error {
  color: var(--danger);
}
.contact-direct {
  margin-top: 24px;
  font-weight: 700;
}

/* Košík a objednávka */
.cart-layout,
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}
.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-lines li {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-lines li:first-child {
  border-top: 1px solid var(--line);
}
.cart-thumb img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}
.cart-line-info {
  display: grid;
  gap: 2px;
}
.cart-line-info a {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
  text-decoration: none;
}
.cart-line-info span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.cart-qty input {
  height: 46px;
}
.cart-sum {
  min-width: 90px;
  text-align: right;
}
.summary {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.summary h2 {
  font-size: 1.7rem;
}
.summary dl,
.pay-data,
.order-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 18px;
}
.summary dd,
.pay-data dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
.order-meta dd {
  margin: 0;
}
.order-meta dt,
.pay-data dt {
  color: var(--ink-soft);
}
.summary .total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 800;
}
.mini-lines {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.mini-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.mini-lines li span:last-child {
  white-space: nowrap;
  font-weight: 700;
}
.mini-lines .total {
  border-bottom: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.options {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.option:has(input:checked) {
  border-color: var(--moss);
  background: #f6f8ea;
}
.option input {
  width: 20px;
  height: 20px;
  accent-color: var(--moss-deep);
}
.option-body {
  display: grid;
}
.option-price {
  font-weight: 800;
  white-space: nowrap;
}
.empty-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(30px, 6vw, 70px) 0;
  text-align: center;
}
.empty-state .sprig {
  width: 80px;
}
.empty-state p {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--moss-deep);
  margin: 0;
}

/* Potvrzení objednávky */
.pay-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  margin-bottom: clamp(28px, 5vw, 48px);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.pay-data {
  margin: 0;
  font-size: 1.05rem;
}
.pay-data dd {
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.qr {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.qr svg {
  width: 210px;
  height: 210px;
  border-radius: 14px;
}
.order h2 {
  font-size: 1.7rem;
}
.order-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.order-list a {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-new {
  background: #fdeecb;
  color: #7a5200;
}
.status-paid,
.status-making {
  background: var(--moss-tint);
  color: var(--moss-deep);
}
.status-shipped,
.status-done {
  background: #dfeaf5;
  color: #244a6e;
}
.status-cancelled {
  background: #f1e3e0;
  color: #7a3324;
}
.logout {
  margin-top: 30px;
}

/* O nás */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 80px);
}
.about-media {
  position: relative;
  isolation: isolate;
  padding: clamp(14px, 3vw, 36px);
}
.about-media .wash-sand {
  inset: -4% -6%;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Krátká zpráva po akci */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  transform: translate(-50%, 20px);
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--moss-deep);
  color: var(--cream);
  font-weight: 700;
  box-shadow: 0 16px 40px -14px rgba(30, 40, 10, 0.6);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast a {
  color: #e6efc4;
  margin-left: 10px;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast[hidden] {
  display: none;
}

/* Jemné objevení karet při rolování – jen kde to prohlížeč umí a uživatel si animace nevypnul. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
    }
  }
  .hero-copy > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.16s;
  }
  .hero-copy > :nth-child(5) {
    animation-delay: 0.24s;
  }
  .hero-art {
    animation: rise 1.1s 0.1s var(--ease) both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Tablety */
@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .cart-layout,
  .checkout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .nature-row {
    grid-template-columns: 1fr 1fr;
  }
  .nature-note {
    grid-column: 1 / -1;
    padding-block: 34px;
  }
}

/* Telefony na šířku a menší tablety */
@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    min-height: 72px;
  }
  .brand img {
    height: 84px;
  }
  .header-inner {
    min-height: 100px;
  }
  .site-header.is-small .brand img {
    height: 50px;
  }
  .site-header.is-small .header-inner {
    min-height: 64px;
  }
  .header-tools {
    justify-self: end;
  }
  .nav-toggle {
    display: grid;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--gutter) 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(58, 63, 42, 0.35);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .nav a::after {
    display: none;
  }
  .hero,
  .story,
  .product,
  .about-hero {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
  }
  .hero-copy {
    order: 2;
  }
  .hero-art {
    order: 1;
    padding-inline: 0;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-art {
    max-width: 440px;
    margin-inline: auto;
  }
  .gallery {
    position: static;
  }
  .wish-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .note-paint {
    left: 30%;
  }
  .pay-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .wave-heart-2 {
    display: none;
  }
}

/* Telefony */
@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .announce {
    font-size: 0.82rem;
    gap: 8px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4 {
    gap: 12px;
  }
  .card-name {
    font-size: 1rem;
  }
  .nature-row {
    grid-template-columns: 1fr;
  }
  .nature-photo,
  .nature-photo + .nature-photo {
    aspect-ratio: 1.3;
  }
  .nature-sprig {
    display: none;
  }
  .cart-lines li {
    grid-template-columns: 76px 1fr auto;
    gap: 10px 14px;
  }
  .cart-thumb img {
    width: 76px;
    height: 76px;
  }
  .cart-thumb {
    grid-row: span 2;
  }
  .cart-line-info {
    grid-column: 2 / -1;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .order-list a {
    grid-template-columns: 1fr auto;
  }
  .option {
    grid-template-columns: auto 1fr;
  }
  .option-price {
    grid-column: 2;
  }
  .buy-row {
    flex-wrap: wrap;
  }
  .wave-sprig {
    width: 48px;
    bottom: 2%;
  }
  .wave-heart-1,
  .wave-heart-3 {
    top: 18%;
  }
}

/* Režim úprav na stránce (vidí jen správkyně) */
.edit-bar {
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100vw - 24px);
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: var(--moss-deep);
  color: #fff;
  font-size: 0.92rem;
  box-shadow: 0 16px 40px -14px rgba(30, 40, 10, 0.6);
}
.edit-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.edit-bar a:hover {
  background: rgba(255, 255, 255, 0.24);
}
.edit-status.is-error {
  color: #ffd5c8;
}
[data-edit] {
  outline: 1.5px dashed rgba(102, 119, 58, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
  min-width: 1ch;
  display: inline-block;
}
.btn [data-edit],
.link-arrow [data-edit] {
  outline-color: rgba(255, 255, 255, 0.7);
}
.link-arrow [data-edit] {
  outline-color: rgba(102, 119, 58, 0.55);
}
[data-edit]:hover {
  background: rgba(231, 237, 207, 0.6);
}
[data-edit]:focus {
  outline: 2px solid var(--moss);
  background: rgba(255, 255, 255, 0.85);
}
[data-edit-img] {
  outline: 2px dashed rgba(102, 119, 58, 0.6);
  outline-offset: -6px;
}
.edit-img-btn {
  position: absolute;
  z-index: 5;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--moss-deep);
  color: #fff;
  font: 600 0.82rem var(--body);
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(30, 40, 10, 0.6);
}

/* Vlastní návrh – průvodce. Kroky se ukazují podle toho, co zákazník vybral (bez JavaScriptu přes :has). */
.wizard-head {
  padding-block: clamp(26px, 4vw, 52px) clamp(10px, 2vw, 20px);
}
.wizard-head .lead {
  max-width: 40em;
  margin-top: 0.6em;
}
.wizard {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.step {
  margin: 0;
  max-width: 900px;
}
.step legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 16px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  background: var(--moss-tint);
  font-size: 1.1rem;
}
.step-label {
  font-weight: 600;
  margin: 18px 0 10px;
}
.wizard [data-for],
.wizard [data-for-custom],
.wizard [data-group] {
  display: none;
}
.wizard:has(input[name="group"][value="obleceni"]:checked) [data-group~="obleceni"],
.wizard:has(input[name="group"][value="mech"]:checked) [data-group~="mech"] {
  display: block;
  animation: rise 0.5s var(--ease) both;
}
.groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 250px));
  gap: 14px;
}
.group .kind-card strong {
  font-size: 1.3rem;
}
.kinds {
  display: flex !important;
  flex-wrap: wrap;
}
.kinds .kind {
  width: min(170px, calc(50% - 6px));
}
.wizard:has(input[name="kind"][value="body"]:checked) [data-for~="body"],
.wizard:has(input[name="kind"][value="tricko"]:checked) [data-for~="tricko"],
.wizard:has(input[name="kind"][value="mech-obraz"]:checked) [data-for~="mech-obraz"],
.wizard:has(input[name="kind"][value="mech-kolecka"]:checked) [data-for~="mech-kolecka"],
.wizard:has(input[name="kind"][value="jine"]:checked) [data-for~="jine"] {
  display: block;
  animation: rise 0.5s var(--ease) both;
}
.wizard:has(input[name="moss_size"][value="vlastni"]:checked) [data-for-custom] {
  display: grid;
  margin-top: 14px;
  max-width: 420px;
}
.kinds {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.kind input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.kind-card {
  display: grid;
  gap: 2px;
  padding: 8px 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 22px 26px 20px 24px / 24px 20px 26px 22px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.kind-card img,
.kind-blank {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 6px;
  background: #f6f1e6;
}
.kind-blank {
  display: grid;
  place-items: center;
  color: var(--moss);
}
.kind-blank svg {
  width: 40px;
  height: 40px;
}
.kind-card strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--moss-deep);
}
.kind-card small {
  font-size: 0.8rem;
}
.kind:hover .kind-card {
  transform: translateY(-2px);
}
.kind input:checked + .kind-card {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px var(--moss-tint);
}
.kind input:focus-visible + .kind-card,
.chip input:focus-visible + span {
  outline: 2.5px solid var(--moss);
  outline-offset: 3px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.chip small {
  font-size: 0.8rem;
}
.chip:hover span {
  border-color: var(--leaf);
}
.chip input:checked + span {
  border-color: var(--moss);
  background: var(--moss-tint);
}
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex: none;
}
.swatch[data-free] {
  background: conic-gradient(#9cc84a, #c9962a, #9c2f6f, #4a7bb5, #9cc84a);
}
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.upload-drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 24px 30px 22px 28px / 28px 22px 30px 24px;
  background: var(--paper);
  color: var(--moss-deep);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.upload-drop:hover {
  border-color: var(--leaf);
  background: #fbfcf4;
}
.upload-drop span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.thumb {
  position: relative;
}
.thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}
.thumb button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--moss-deep);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.draw-box canvas {
  width: 100%;
  aspect-ratio: 600 / 420;
  border: 1.5px solid var(--line);
  border-radius: 24px 30px 22px 28px / 28px 22px 30px 24px;
  background: #fffdf7;
  touch-action: none;
  cursor: crosshair;
}
.draw-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.pen {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.pen.is-on {
  box-shadow: 0 0 0 2.5px var(--moss);
}
.tool-btn {
  margin-left: 4px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: 500 0.88rem var(--body);
  cursor: pointer;
}
.inspiration {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 20px;
  background: var(--moss-tint);
  justify-self: start;
}
.inspiration img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
}
.inspiration div {
  display: grid;
}
.quote-reply {
  white-space: pre-wrap;
}
@media (max-width: 860px) {
  .kinds {
    grid-template-columns: repeat(3, 1fr);
  }
  .media-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .kinds {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Štítky na kartách a filtr galerie */
.tag {
  display: inline-block;
  padding: 1px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.tag-sale {
  border-color: var(--moss);
  background: var(--moss);
  color: #fff;
}
.tag-muted {
  opacity: 0.7;
}
.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.filters-row a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.filters-row a:hover {
  color: var(--moss-deep);
  background: var(--moss-tint);
}
.filters-row a[aria-current] {
  color: var(--moss-deep);
  background: var(--moss-tint);
}
.filters-row .filters-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--moss-deep);
  font-weight: 600;
}
.gallery-main {
  aspect-ratio: 4 / 5 !important;
  background: #f6f1e6 !important;
}
.ppl-btn { margin-top: 8px; justify-self: start; min-height: 42px; padding-block: 8px; }
.ppl-dialog { width: min(1000px, calc(100vw - 16px)); max-width: none; height: min(720px, calc(100dvh - 16px)); max-height: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; }
.ppl-dialog[open] { display: flex; flex-direction: column; }
.ppl-dialog::backdrop { background: rgb(40 40 30 / .45); }
.ppl-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; }
.ppl-dialog #ppl-parcelshop-map { flex: 1; min-height: 0; }

/* Dlaždice Vlastní návrh na konci sekce */
.card-wish .card-media {
  display: grid;
  place-items: center;
  isolation: isolate;
  background: transparent;
  border: 1.5px dashed var(--leaf);
}
.card-wish .wash-soft {
  inset: 8%;
}
.card-wish-copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}
.card-wish-copy strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--moss-deep);
}
.card-wish-sprig {
  width: 40px;
  transform: rotate(-20deg);
}
.card-wish:hover .card-media {
  border-color: var(--moss);
}
.step-sub { margin: 14px 0 8px; }
.copy-link { margin-top: 18px; min-height: 42px; padding-block: 8px; } .notice-inline { padding: 14px 20px; margin-bottom: 24px; } .price-from { font-size: 0.6em; font-weight: 500; color: var(--ink-soft); } .cart-group + .cart-group { margin-top: 36px; } .cart-group h2 { font-size: 1.6rem; margin-bottom: 0.1em; }

/* Galerie výrobku: fotka se vždy vejde celá (detaily motivů jsou na šířku). */
.gallery-main img {
  object-fit: contain;
}


/* Skryté části formuláře (např. adresa při výběru boxu) – .fields má vlastní display. */
.fields[hidden] { display: none; }
