@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ── Design tokens ── */
:root {
  --green:       #389b29;
  --green-dark:  #1e5c14;
  --green-light: #46a937;
  --text:        #222;
  --text-light:  #555;
  --bg:          #f8f6f0;
  --cream:       #f8f6f0;
  --cream-dark:  #ede9de;
  --white:       #fff;
  --shadow:      0 2px 12px rgba(0,0,0,.10);
  --radius:      6px;
  --max:         1100px;
  --gap:         clamp(1rem, 3vw, 2rem);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }

/* ── Layout wrapper ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ━━━━━━━━━━━━━━━━━━━ HEADER ━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem var(--gap);
  max-width: calc(var(--max) + 2 * var(--gap));
  margin: 0 auto;
}
.site-logo img { height: 52px; width: auto; }
.site-logo:focus-visible { outline: 2px solid var(--green); }

nav ul { list-style: none; display: flex; gap: clamp(.4rem, 2vw, 1.6rem); flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  font-size: .95rem;
  padding: .25rem .1rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav a:hover, nav a.active { color: var(--green); border-bottom-color: var(--green); }

.header-phone {
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
  font-size: .95rem;
}
.header-phone:hover { color: var(--green); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem var(--gap);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: .7rem 0; border-bottom: 1px solid #eee; font-size: 1rem; }
  nav a:last-child { border-bottom: none; }
  .header-phone { font-size: .85rem; order: 2; }
  .nav-toggle { order: 3; }
}

/* ━━━━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  min-height: clamp(280px, 45vh, 460px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center top;
}
/* Karusel vrstvy — ovládá JS */
.hero-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity .8s ease-in-out;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 5rem) var(--gap);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-content-inner {
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3.5rem);
  display: block;
  width: 100%;
  color: #000;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ━━━━━━━━━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-block;
  padding: .7rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .1s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-sm { padding: .45rem 1.1rem; font-size: .85rem; }

/* ━━━━━━━━━━━━━━━━━━━ SECTIONS ━━━━━━━━━━━━━━━━━━━ */
.section { padding: clamp(2.5rem, 6vw, 5rem) var(--gap); }
.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 2rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--green);
  display: inline-block;
}
.section-white { background: var(--white); }
.section-bg { background: var(--cream-dark); }

/* ━━━━━━━━━━━━━━━━━━━ TILES (výroba) ━━━━━━━━━━━━━━━━━━━ */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tile {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.tile-body { padding: 2rem 1.4rem 1.5rem; flex: 1; }
.tile h3 { font-size: 1.05rem; font-weight: 400; margin-bottom: .4rem; color: var(--green-dark); display: flex; align-items: center; gap: .5rem; }
.tile p { font-size: .9rem; color: var(--text-light); }
.tile-icon, .card-icon { color: var(--green); flex-shrink: 0; }

/* ━━━━━━━━━━━━━━━━━━━ PRODUCT CARDS ━━━━━━━━━━━━━━━━━━━ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: .5rem; color: var(--green-dark); display: flex; align-items: center; gap: .5rem; }
.card-body p { font-size: .9rem; color: var(--text-light); flex: 1; margin-bottom: 1.2rem; }

/* ━━━━━━━━━━━━━━━━━━━ NEWS (aktuality preview) ━━━━━━━━━━━━━━━━━━━ */
.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.news-date {
  font-size: .8rem;
  color: var(--text-light);
  white-space: nowrap;
  padding-top: .15rem;
  min-width: 85px;
}
.news-body h4 { font-size: 1rem; font-weight: 400; margin-bottom: .2rem; }
.news-body p { font-size: .9rem; color: var(--text-light); }
.badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  padding: .15rem .6rem;
  border-radius: 20px;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-orange { background: #d97706; }
.news-more { margin-top: 1.5rem; text-align: right; }

/* ━━━━━━━━━━━━━━━━━━━ PAGE HERO (vnitřní stránky) ━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gap);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 1px;
}
.page-hero p { font-weight: 300; margin-top: .4rem; opacity: .9; }

/* ━━━━━━━━━━━━━━━━━━━ CONTENT BOX ━━━━━━━━━━━━━━━━━━━ */
.content-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}
.content-box h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--green);
}
.content-box p, .content-box li { font-size: .95rem; color: var(--text); margin-bottom: .5rem; }
.content-box ul { padding-left: 1.4rem; }
.content-box a { color: var(--green); }

/* ━━━━━━━━━━━━━━━━━━━ MINIMLÉKÁRNA ━━━━━━━━━━━━━━━━━━━ */
.mlekarna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 640px) { .mlekarna-grid { grid-template-columns: 1fr; } }

.mlekarna-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.aktualita-box {
  background: #fffbeb;
  border-left: 4px solid #d97706;
  padding: .8rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

/* Opening hours table */
.table-basic {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.table-basic th {
  background: var(--green);
  color: var(--white);
  padding: .5rem .8rem;
  text-align: left;
  font-weight: 600;
}
.table-basic td { padding: .45rem .8rem; border-bottom: 1px solid #eee; }
.table-basic tr:last-child td { border-bottom: none; }
.table-basic tr:nth-child(even) td { background: #f9f9f7; }

/* Ceník */
.cenik-unavail { opacity: .45; text-decoration: line-through; }

/* Otevírací doba – textový pruh */
.oteviraci-pruh {
  background: var(--green);
  color: #fff;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 2rem;
}
.oteviraci-pruh strong { font-weight: 600; }
.oteviraci-label {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: .4rem;
  width: 100%;
  justify-content: center;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.35);
  margin-bottom: .2rem;
}
.mlekarna-img-full {
  max-width: 75%;
  display: block;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .mlekarna-img-full { max-width: 100%; } }

/* ━━━━━━━━━━━━━━━━━━━ KONTAKT ━━━━━━━━━━━━━━━━━━━ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem;
  border-top: 3px solid var(--green);
}
.contact-card .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--green-dark); font-weight: 600; margin-bottom: .25rem; }
.contact-card .name { font-weight: 600; font-size: .95rem; }
.contact-card .phone { font-size: .9rem; color: var(--text-light); margin-top: .2rem; }
.contact-card .phone a { color: var(--text-light); text-decoration: none; }
.contact-card .phone a:hover { color: var(--green); }
.contact-card .email { font-size: .9rem; color: var(--text-light); margin-top: .15rem; }
.contact-card .email a { color: var(--text-light); text-decoration: none; }
.contact-card .email a:hover { color: var(--green); }

.contact-address {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.contact-address h2 { font-size: 1.1rem; font-weight: 400; margin-bottom: .6rem; }
.contact-address a { color: #a8f08c; }
.contact-address p { font-size: .95rem; margin-bottom: .3rem; }

.mapa-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 480px;
}
.contact-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) { .contact-top { grid-template-columns: 1fr; } }

/* ━━━━━━━━━━━━━━━━━━━ AKTUALITY PAGE ━━━━━━━━━━━━━━━━━━━ */
.aktuality-list { display: flex; flex-direction: column; gap: 1.5rem; }
.aktualita-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.aktualita-card .card-meta { font-size: .8rem; color: var(--text-light); margin-bottom: .5rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.aktualita-card h2 { font-size: 1.1rem; font-weight: 400; margin-bottom: .5rem; }
.aktualita-card p { font-size: .95rem; color: var(--text-light); margin-bottom: .8rem; }
.aktualita-card img { margin: .8rem 0; border-radius: 4px; }
.pdf-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; text-decoration: none; color: var(--green); }
.pdf-link img { width: 18px; height: auto; }
.pdf-link:hover { color: var(--green-dark); }

/* Fotogalerie */
.galerie { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.galerie a img { width: 100px; height: 70px; object-fit: cover; border-radius: 3px; border: 2px solid transparent; transition: border-color .2s; }
.galerie a:hover img { border-color: var(--green); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: -2rem; right: 0;
  color: #fff;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: .3rem .8rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.lightbox-prev { left: -3rem; }
.lightbox-next { right: -3rem; }
@media (max-width: 640px) {
  .lightbox-prev { left: -.5rem; }
  .lightbox-next { right: -.5rem; }
}

/* ━━━━━━━━━━━━━━━━━━━ PROJEKTY ━━━━━━━━━━━━━━━━━━━ */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.project-card h2 { font-size: 1.1rem; font-weight: 400; color: var(--green-dark); margin-bottom: .8rem; }
.project-card p { font-size: .9rem; margin-bottom: .5rem; }
.project-card strong { font-weight: 600; }
.project-card img { margin-top: 1rem; max-width: 75%; display: block; margin-left: auto; margin-right: auto; }
.project-card ul { padding-left: 1.4rem; font-size: .9rem; margin-bottom: .5rem; }
.project-card li { margin-bottom: .2rem; }
.eu-note {
  font-size: .85rem;
  color: var(--text-light);
  border-top: 1px solid #e5e5e3;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  background: #1e3a16;
  color: rgba(255,255,255,.85);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gap) 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto 2rem;
}
.footer-col h4 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: .8rem; }
.footer-col p, .footer-col a { font-size: .88rem; color: rgba(255,255,255,.75); text-decoration: none; display: block; margin-bottom: .3rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: .8rem; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1) opacity(.6); }

/* ━━━━━━━━━━━━━━━━━━━ ADMIN ━━━━━━━━━━━━━━━━━━━ */
.admin-wrap {
  max-width: 820px;
  margin: 2rem auto;
  padding: 0 var(--gap);
}
.admin-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h1 { font-size: 1.1rem; font-weight: 600; }
.admin-box {
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.admin-box h2 { font-size: 1rem; font-weight: 600; color: var(--green-dark); margin: 1.5rem 0 .8rem; border-bottom: 2px solid var(--green); padding-bottom: .3rem; }
.admin-box h2:first-child { margin-top: 0; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .3rem; color: var(--text); }
input[type="text"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  margin-bottom: .8rem;
  transition: border-color .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); }
textarea { resize: vertical; }
.field-note { font-size: .8rem; color: var(--text-light); margin-top: -.5rem; margin-bottom: .8rem; }

/* Admin tables */
.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .9rem; }
.admin-table th { background: #f0f0ee; padding: .5rem .7rem; text-align: left; font-weight: 600; }
.admin-table td { padding: .4rem .5rem; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-table td input { margin-bottom: 0; }
.admin-table td input[type="checkbox"] { width: auto; }
.admin-table .btn-del {
  background: none; border: none; color: #c0392b; cursor: pointer;
  font-size: 1.2rem; padding: 0 .3rem; line-height: 1;
}
.admin-table .btn-del:hover { color: #922b21; }
.btn-add-row { margin-bottom: 1rem; }
.form-submit { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.msg-ok { color: #2a7a1e; font-weight: 600; font-size: .9rem; }
.msg-err { color: #c0392b; font-weight: 600; font-size: .9rem; }

/* Admin tabs */
.admin-tabs { display: flex; gap: .4rem; border-bottom: 3px solid var(--green-dark); margin-top: 10px; margin-bottom: 2rem; padding-bottom: 0; }
.admin-tabs a {
  padding: .75rem 2rem;
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 700;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1rem;
  border: 2px solid transparent;
  border-bottom: none;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
}
.admin-tabs a.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}
.admin-tabs a:hover:not(.active) {
  background: #e8f5e2;
  border-color: var(--green);
  color: var(--green-dark);
}

/* Admin - nabídky práce */
.zam-card { border: 1px solid #ddd; border-radius: var(--radius); margin-bottom: 1.2rem; overflow: hidden; }
.zam-card-header { background: #f5f3ee; padding: .7rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.zam-card-header strong { font-size: .95rem; }
.zam-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.zam-card-body .field-group { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 0; }
.zam-card-body label { font-size: .8rem; font-weight: 600; color: var(--text-light); }
.zam-card-body input, .zam-card-body textarea { margin-bottom: 0; }
.btn-del-card { background: none; border: 1px solid #c0392b; color: #c0392b; border-radius: 4px; padding: .2rem .6rem; cursor: pointer; font-size: .82rem; }
.btn-del-card:hover { background: #c0392b; color: #fff; }

/* Stavební materiál */
.stav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 0; }
@media (max-width: 700px) { .stav-grid { grid-template-columns: 1fr; } }
.material-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.material-list li { padding: .3rem 0; border-bottom: 1px solid #ede9de; font-size: .95rem; }
.material-list li:last-child { border-bottom: none; }
.material-note { font-size: .85rem; color: var(--text-light); margin-top: .6rem; }
.nestandart { font-size: .8rem; color: var(--text-light); }
.stav-info { display: flex; gap: 3rem; flex-wrap: wrap; }
.stav-info > div { flex: 1; min-width: 180px; }
.kontakt-table { border-collapse: collapse; font-size: .95rem; margin-top: .4rem; }
.kontakt-table td { padding: .3rem .8rem .3rem 0; }
.kontakt-table td:first-child { color: var(--text-light); }
.kontakt-table a { color: var(--text); text-decoration: none; font-weight: 600; }
.kontakt-table a:hover { color: var(--green); }

/* Ceník minimlékárny */
.cenik-wrap { margin: 0 auto 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: block; max-width: 75%; }
.cenik-nadpis { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--green-dark); padding: .5rem 1rem; margin: 0; text-align: center; }
.cenik-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cenik-table td { padding: .45rem 3.5rem; border-bottom: 1px solid #ede9de; }
.cenik-table tr:last-child td { border-bottom: none; }
.cenik-table td:first-child { font-weight: 600; }
.cenik-table td:nth-child(2) { color: var(--text-light); font-size: .88rem; white-space: nowrap; }
.cenik-table td:last-child { text-align: right; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
@media (max-width: 700px) { .cenik-wrap { max-width: 100%; } .cenik-table td { padding: .45rem .4rem; } }

/* Login form */
.login-wrap {
  max-width: 380px;
  margin: 5rem auto;
  padding: 0 var(--gap);
}
.login-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
}
.login-box h1 { font-size: 1.2rem; font-weight: 600; color: var(--green-dark); margin-bottom: 1.5rem; }
.login-box .btn { width: 100%; margin-top: .5rem; }
.login-box .msg-err { display: block; margin-bottom: .8rem; }

/* ━━━━━━━━━━━━━━━━━━━ SCROLL FADE-IN ━━━━━━━━━━━━━━━━━━━ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ━━━━━━━━━━━━━━━━━━━ TILES GRID (Co děláme) ━━━━━━━━━━━━━━━━━━━ */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 700px) { .tiles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .tiles-grid { grid-template-columns: 1fr; } }

/* ━━━━━━━━━━━━━━━━━━━ MAP EMBED ━━━━━━━━━━━━━━━━━━━ */
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; }

/* ━━━━━━━━━━━━━━━━━━━ MINIMLÉKÁRNA ADRESA ━━━━━━━━━━━━━━━━━━━ */
.mlekarna-address { font-style: normal; line-height: 1.8; margin-bottom: .8rem; }

/* ━━━━━━━━━━━━━━━━━━━ FOOTER LOGOS ━━━━━━━━━━━━━━━━━━━ */
.footer-logos { display: flex; align-items: center; }
.footer-logos img { height: 32px; filter: brightness(0) invert(1) opacity(.45); }
.footer-bottom { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .8rem; }
.footer-gdpr { text-align: center; font-size: .72rem; color: rgba(255,255,255,.35); margin: .6rem auto 0; max-width: var(--max); padding: 0 var(--gap); }
.footer-gdpr a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-gdpr a:hover { color: rgba(255,255,255,.7); }

/* ━━━━━━━━━━━━━━━━━━━ PŘÍSTUPNOST ━━━━━━━━━━━━━━━━━━━ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--green-dark);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━ UTILITIES ━━━━━━━━━━━━━━━━━━━ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
