/* Prodej vajec – styl "Wiejski poranek" (směr A). Sdílený i administrací (základní prvky). */
:root {
  --bg: #f7f1e3;
  --card: #fffdf8;
  --ink: #22301f;
  --muted: #5e6a58;
  --green: #2f5d3a;
  --green-dark: #244a2e;
  --terra: #c8642f;
  --line: #e3d9c4;
  --ok-bg: #e4efe0; --ok-t: #25502f;
  --low-bg: #fbe6d3; --low-t: #9a4715;
  --danger: #b3462b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(34, 48, 31, .08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--green-dark); line-height: 1.1; margin: 0; }
a { color: inherit; }
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:textarea:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 93, 58, .15); }
textarea { min-height: 80px; resize: vertical; }
label { display: block; font-weight: 700; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
button { cursor: pointer; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 10px 18px; font-weight: 700; transition: transform .12s, box-shadow .15s, background .15s; }
button:hover { box-shadow: var(--shadow); }
button:active { transform: scale(.98); }
button.primary { background: var(--green); border-color: var(--green); color: #fff; }
button.primary:hover { background: var(--green-dark); }
button.accent { background: var(--terra); border-color: var(--terra); color: #fff; }
button.small { padding: 5px 10px; font-size: .85em; }
button:disabled { opacity: .6; cursor: wait; }
.hint { color: var(--muted); font-size: .9em; }
.errors { color: var(--danger); padding-left: 18px; margin: 8px 0; }
.box, .card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; }
.box { margin: 12px 0; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok-t); }
.badge-low { background: var(--low-bg); color: var(--low-t); }
.stav-nova { color: #a06000; } .stav-zaplacena { color: #1a7a2e; } .stav-vyrizena { color: #555; } .stav-zrusena { color: var(--danger); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .85em; text-transform: uppercase; letter-spacing: .04em; }
.num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.stat { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; min-width: 140px; font-size: .9em; color: var(--muted); }
.stat b { display: block; font-size: 1.5em; color: var(--ink); font-family: var(--font-display); }

/* ---------- Veřejný web ---------- */
.site { max-width: 1180px; margin: 0 auto; padding: 0 20px 96px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1.5px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--green-dark); text-decoration: none; }
.brand svg { flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-left { min-width: 0; }
.brand { min-width: 0; } .brand-text { min-width: 0; }
@media (min-width: 601px) { .brand-text { white-space: nowrap; } }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; white-space: nowrap; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); background: var(--card); font-size: 13px; font-weight: 800; text-decoration: none; transition: background .15s, color .15s; }
.admin-link:hover { background: var(--green); color: #fff; }
.admin-link.logged { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(34, 48, 31, .2); }
.build { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .02em; white-space: nowrap; opacity: .8; }
.site-footer .credit { opacity: .75; } .site-footer .credit a { color: inherit; font-weight: 700; }
.build a { color: var(--green); text-decoration: none; } .build a:hover { text-decoration: underline; }
/* Mobil: jen ozubené kolečko (zelené = přihlášený správce/řidič); kam vede, určuje role (roleLink v i18n.js) */
@media (max-width: 600px) { .build { display: none; } .admin-link span:last-child { display: none; } .admin-link { width: 36px; padding: 0; justify-content: center; flex-shrink: 0; } }
#lang-switch label { display: inline; margin: 0; font-weight: 600; }
#lang-switch select { width: auto; padding: 8px 12px; border-radius: 999px; font-size: 14px; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); margin: 14px 0; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .15s; }
.hero-actions .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green); color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.nest { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 28px; min-height: 280px; display: flex; align-items: flex-end; justify-content: center; padding: 56px 20px 26px; overflow: hidden; }
.nest-label { position: absolute; top: 18px; left: 20px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nest-count { position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--terra); }
.nest-eggs { display: flex; align-items: flex-end; gap: 0; }
.nest-eggs svg { margin: 0 -6px; filter: drop-shadow(0 8px 10px rgba(34, 48, 31, .12)); animation: float 5s ease-in-out infinite; }
.nest-eggs svg.kure-scene { animation: none; margin: 0; width: 100%; max-width: 460px; height: auto; filter: none; }
.nest-eggs svg:nth-child(2) { animation-delay: -1.3s; } .nest-eggs svg:nth-child(3) { animation-delay: -2.6s; } .nest-eggs svg:nth-child(4) { animation-delay: -3.9s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1.5deg); } }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.shop { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.product { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product.selected { border-color: var(--green); }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.egg-tile { width: 88px; height: 100px; border-radius: 16px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.product h3 { font-size: 22px; }
.product .desc { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-size: 20px; font-weight: 800; } .price span { font-size: 13px; font-weight: 600; color: var(--muted); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: none; border-radius: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.stepper button:last-child { color: var(--terra); }
.stepper input { width: 60px; height: 44px; border: none; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); border-radius: 0; text-align: center; font-weight: 800; font-size: 17px; padding: 0; background: transparent; box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number] { -moz-appearance: textfield; appearance: textfield; }

.summary { position: sticky; top: 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.summary h3 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.summary .lines { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; }
.summary .sep { height: 1px; background: var(--line); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-family: var(--font-display); font-size: 30px; font-weight: 700; transition: transform .2s; }
.summary .total b.bump { transform: scale(1.08); }
.summary .payhint { font-size: 13px; color: var(--muted); text-align: center; }

.choice { display: flex; flex-direction: column; gap: 8px; }
.choice label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
.choice label:has(input:checked) { border-color: var(--green); background: #f3f8f1; }
.choice input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; flex-shrink: 0; }
.choice .grow { flex-grow: 1; } .choice small { color: var(--muted); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.form-card h2 { font-size: 24px; }
.submit-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.submit-row button { height: 54px; padding: 0 28px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 36px 0 8px; border-top: 1.5px solid var(--line); margin-top: 32px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ok-bg); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature b { display: block; font-size: 16px; } .feature p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.about { margin-top: 12px; }
.about ul { margin: 6px 0 0; padding-left: 20px; }
.site-footer { margin-top: 36px; padding: 18px 20px; border-radius: 14px; background: var(--green-dark); color: #e9f0e4; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.suggest-wrap { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.suggest button { display: block; width: 100%; text-align: left; border: none; border-radius: 0; background: transparent; padding: 12px 14px; font-weight: 600; box-shadow: none; border-bottom: 1px solid var(--line); }
.suggest button:last-child { border-bottom: none; }
.suggest button:hover, .suggest button.active { background: var(--ok-bg); }
.suggest small { display: block; color: var(--muted); font-weight: 500; }
.minimap { display: block; position: relative; height: 190px; margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: #e8efe3; cursor: pointer; }
.minimap-tiles { position: absolute; left: 50%; top: 50%; width: 768px; height: 768px; will-change: transform; }
.minimap-tiles img { position: absolute; width: 256px; height: 256px; }
.minimap-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; background: var(--accent, #c8553d); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); transform: rotate(-45deg); }
.minimap-pin::after { content: ''; position: absolute; left: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.minimap-zoom { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 10px; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.minimap-attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #333; background: rgba(255,255,255,.75); padding: 1px 5px; border-radius: 6px; }
.minimap-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: .9em; font-weight: 700; }
.minimap-links a { color: var(--ok-t); }
.mobile-bar { display: none; }
.field-error, .field-error input:not([type=radio]) { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(179, 70, 43, .15); }
.products.field-error, .choice.field-error { border-radius: var(--radius); outline: 2px solid var(--danger); outline-offset: 6px; }
.field-msg { display: block; color: var(--danger); font-weight: 700; font-size: .88em; margin-top: 6px; }
.cookie-bar { position: fixed; left: 12px; bottom: 12px; z-index: 30; max-width: 420px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; }
.cookie-bar a { color: var(--green); font-weight: 700; } .cookie-bar button { white-space: nowrap; }
@media (max-width: 600px) { .cookie-bar { left: 8px; right: 8px; bottom: 82px; max-width: none; } }
.consent { font-size: 12px; color: var(--muted); margin: 6px 0 0; } .consent a { color: var(--green); }
.float-go { display: none; position: fixed; right: 20px; bottom: 20px; z-index: 25; height: 54px; padding: 0 22px; border-radius: 999px; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(34, 48, 31, .25); animation: floatIn .3s ease; }
.float-go.show { display: inline-flex; }
.float-go .badge-n { background: #fff; color: var(--danger); border-radius: 999px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.status-card { max-width: 640px; margin: 24px auto; }
.status-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }

/* vstupní animace */
.reveal { opacity: 0; transform: translateY(12px); animation: reveal .6s ease forwards; }
.reveal:nth-child(2) { animation-delay: .08s; } .reveal:nth-child(3) { animation-delay: .16s; } .reveal:nth-child(4) { animation-delay: .24s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nest-eggs svg, .reveal { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop > * { min-width: 0; }
  .summary { position: static; }
  .features { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .site { padding: 0 16px 110px; }
  .form-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .product { min-width: 0; }
  .product-bottom { flex-wrap: wrap; }
  .site .photo-band { margin-left: -16px; margin-right: -16px; }
  .product { padding: 14px; }
  .egg-tile { width: 64px; height: 76px; }
  .nest { min-height: 220px; padding-top: 52px; }
  .topbar-right .brand-text { display: none; }
  /* Mobil: horní Objednat je nadbytečné (dole je pevná lišta), popisek jazyka se skryje, ať se hlavička vejde */
  .topbar { gap: 8px; padding: 12px 0; }
  .topbar-left { gap: 8px; }
  .topbar .hero-actions { display: none !important; }
  #lang-switch label { font-size: 0; }
  #lang-switch select { font-size: 13px; padding: 8px 6px; max-width: 38vw; }
  .topbar-right { flex-shrink: 0; }
  .brand { font-size: 17px; line-height: 1.1; flex: 1 1 auto; }
  .theme-select { flex-shrink: 0; }
  .float-go.show { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1.5px solid var(--line); box-shadow: 0 -8px 24px rgba(34, 48, 31, .08); }
  .mobile-bar .amount { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
  .mobile-bar .sub { font-size: 12px; color: var(--muted); }
  .mobile-bar button { flex-grow: 1; height: 50px; }
}

/* Vzhledy (themes/*.css): výchozí vzhled fotky neukazuje, motivy je zapínají */
.hero-photo, .photo-band { display: none; }

.theme-select { width: auto; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1.5px solid var(--green); color: var(--green); background: var(--card); }
@media (max-width: 600px) { .theme-select { font-size: 11px; padding: 5px 6px; max-width: 96px; } }

/* Slepička na vejcích (slepice.js) – sedí na rohu rámečku „O našich vejcích“; barvy si nastavuje každý vzhled */
:root { --hen-light: #ffffff; --hen-shade: #d9d3c8; --hen-wing-light: #fbfaf6; --hen-wing-shade: #cfc8bb; --hen-line: #6a5a48; --hen-outline: .9; --hen-comb: #b8201c; --hen-beak: #c98a12; --hen-egg-1: #e9c9a0; --hen-egg-2: #f6efe1; --hen-egg-3: #d9a06a; }
.about { position: relative; }
.hen { position: absolute; right: 18px; top: -86px; width: 140px; z-index: 4; line-height: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .12)); }
.hen svg { width: 100%; height: auto; }
@media (max-width: 600px) { .hen { width: 104px; right: 8px; top: -64px; } .about { margin-top: 34px; } }

/* Sezónní overlay (seasons/x.css + sezona.js): vrstva s částicemi přes celou stránku, girlanda v rohu hlavičky */
.season-layer { position: fixed; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.season-layer .p { position: absolute; top: -6vh; will-change: transform; animation: season-fall var(--dur, 14s) linear infinite; animation-delay: var(--delay, 0s); opacity: var(--op, .85); }
.season-layer .p svg { width: var(--size, 18px); height: var(--size, 18px); display: block; animation: season-spin var(--spin, 6s) ease-in-out infinite alternate; }
@keyframes season-fall { 0% { transform: translate(0, 0); } 25% { transform: translate(var(--sway, 20px), 28vh); } 50% { transform: translate(0, 56vh); } 75% { transform: translate(calc(var(--sway, 20px) * -1), 84vh); } 100% { transform: translate(0, 112vh); } }
@keyframes season-spin { from { transform: rotate(-25deg); } to { transform: rotate(25deg); } }
.season-layer .rise { top: auto; bottom: -6vh; animation-name: season-rise; }
@keyframes season-rise { 0% { transform: translate(0, 0); } 50% { transform: translate(var(--sway, 20px), -55vh); } 100% { transform: translate(0, -110vh); } }
.hero { position: relative; }
.season-garland { position: absolute; right: -6px; top: -26px; width: 210px; pointer-events: none; z-index: 4; line-height: 0; }
.season-garland svg { width: 100%; height: auto; display: block; }
.season-garland .sway { transform-origin: 100% 0; animation: season-sway 5s ease-in-out infinite alternate; }
@keyframes season-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@media (max-width: 600px) { .season-garland { width: 140px; top: -18px; right: -4px; } .season-layer .p { --size: 14px; } }
@media (prefers-reduced-motion: reduce) { .season-layer { display: none; } .season-garland .sway { animation: none; } }

/* Balíčky v objednávce (6 / 10 / 30 ks): dlaždice s platem, počtem a cenou */
.product.has-packs { grid-column: 1 / -1; max-width: 620px; }
.packs-label { font-weight: 700; font-size: 14px; color: var(--muted); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: -4px; }
.pack { position: relative; border: 2px solid var(--line); border-radius: 16px; background: var(--card); padding: 12px 8px 10px; text-align: center; cursor: pointer; font: inherit; color: inherit; box-shadow: none; height: auto; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pack:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pack.selected { border-color: var(--green); box-shadow: 0 0 0 3px var(--ok-bg); }
.pack.selected::after { content: '✓'; position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pack svg { width: 100%; height: 92px; display: block; margin: 0 auto 6px; }
.pack .n { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.pack .n small { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 3px; }
.pack .p { font-weight: 800; font-size: 16px; margin-top: 4px; color: var(--green-dark); white-space: nowrap; }
.pack .tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--terra); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.product-bottom.other-qty { margin-top: 4px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.product-bottom.other-qty .lbl { font-weight: 700; font-size: 14px; color: var(--muted); }
.line-total { margin-left: auto; }
@media (max-width: 600px) { .packs { gap: 8px; } .pack { padding: 10px 6px 8px; } .pack .n { font-size: 22px; } .pack svg { height: 70px; } .pack .p { font-size: 14px; } .pack .tag { font-size: 10px; } }

/* Kartička svátku: místní zvyky a kousek historie (svatky.js) */
.holiday-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 14px 18px; border: 1.5px solid var(--sea-a, var(--line)); border-radius: var(--radius); background: var(--sea-b, var(--card)); color: var(--ink); }
.holiday-card[hidden] { display: none; }
.holiday-icon { font-size: 30px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.holiday-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--sea-c, var(--green-dark)); }
.holiday-body p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.holiday-body details { margin-top: 6px; } .holiday-body summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--sea-c, var(--green)); }
.holiday-body details p { color: var(--muted); }
@media (max-width: 600px) { .holiday-card { padding: 12px 14px; gap: 10px; } .holiday-icon { font-size: 24px; } }

/* Počasí v místě zákazníka (nebo na farmě): ikona, teplota, popis, tlačítko „u mě“ */
.weather { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 14px; color: var(--muted); max-width: 100%; }
.weather[hidden] { display: none; }
.weather .w-ico { font-size: 20px; line-height: 1; }
.weather b { color: var(--ink); font-size: 16px; white-space: nowrap; }
.weather .w-btn { border: none; background: var(--ok-bg); color: var(--ok-t); border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; height: auto; box-shadow: none; white-space: nowrap; }
.weather .w-txt { min-width: 0; }
@media (max-width: 600px) { .weather { font-size: 13px; gap: 6px; } }

/* Galerie v hlavičce (galerie.js): prolínání snímků, pomalé přiblížení, tón a měkké okraje do barev šablony */
.hero-photo.gallery { cursor: zoom-in; }
.hero-photo.gallery .hero-photo-inner { display: none; }
.hero-photo .slide { position: absolute; inset: -4%; background-position: center 35%; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.6s ease; will-change: opacity, transform; }
.hero-photo .slide.on { opacity: 1; }
.hero-photo .slide.on.kb-a { animation: g-kb-a 8s ease-in-out forwards; }
.hero-photo .slide.on.kb-b { animation: g-kb-b 8s ease-in-out forwards; }
@keyframes g-kb-a { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
@keyframes g-kb-b { from { transform: scale(1.06) translate(1.5%, -1%); } to { transform: scale(1) translate(0, 0); } }
/* zapití do šablony: jemný tón barev šablony a okraje přecházející do pozadí stránky */
.hero-photo .g-tint { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(160deg, var(--green) 0%, transparent 45%, transparent 60%, var(--terra) 100%); opacity: .16; mix-blend-mode: soft-light; }
.hero-photo .g-tint::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 60px 18px var(--bg); opacity: .55; }
.hero-photo .g-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-size: 13px; font-weight: 700; color: #fff; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(6px); transition: opacity .8s ease .4s, transform .8s ease .4s; pointer-events: none; }
.hero-photo .g-caption.show { opacity: 1; transform: none; }
.hero-photo .g-dots { position: absolute; left: 0; right: 0; bottom: 38px; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.hero-photo .g-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: rgba(255, 255, 255, .35); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); cursor: pointer; transition: transform .2s, background .2s; }
.hero-photo .g-dots button.on { background: #fff; transform: scale(1.25); }
.hero-photo .g-open { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: none; background: rgba(0, 0, 0, .35); color: #fff; font-size: 16px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.hero-photo:hover .g-open { opacity: 1; }
.hero-photo::after { z-index: 2; }
.g-lightbox { border: none; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.g-lightbox::backdrop { background: rgba(10, 12, 8, .88); }
.g-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.g-lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.g-lightbox figcaption { color: #fff; font-weight: 700; text-align: center; padding: 0 12px; }
.g-lightbox button { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.g-lightbox .g-prev { left: 14px; } .g-lightbox .g-next { right: 14px; }
.g-lightbox .g-close { top: 14px; right: 14px; transform: none; font-size: 26px; width: 42px; height: 42px; }
@media (max-width: 600px) { .hero-photo .g-dots { bottom: 34px; } .hero-photo .g-caption { font-size: 12px; bottom: 12px; } .hero-photo .g-open { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-photo .slide { transition: none; animation: none !important; } }

/* ---- kontaktní formulář ---- */
.contact { margin-top: 28px; scroll-margin-top: 80px; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; cursor: pointer; }
.consent-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--green); }
.consent-check a { color: var(--green); }
.contact .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact .actions button { height: 50px; padding: 0 26px; }
.k-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; background: #f3efe4; }
.k-msg.ok { background: #e4f1e1; color: #245331; } .k-msg.bad { background: #fbe3e0; color: #8a2a20; }
/* ---- patička s právními informacemi ---- */
.site-footer { flex-direction: column; gap: 10px; }
.site-footer a { color: inherit; }
.site-footer .foot-row { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; }
.site-footer .legal { font-size: 13px; opacity: .9; justify-content: flex-start; align-items: center; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); }
.site-footer .legal .legal-title { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; opacity: .8; }
.site-footer .legal a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .legal .credit { margin-left: auto; }
