:root {
  --green-dark: #2f4d2a;
  --green-mid: #7ed269;
  --green-light: #a8fd93;
  --green-pale: #ccffb8;
  --header-dark: #0d1a0a;
  --footer-dark: #050a04;
  --black-soft: #0a0a0a;
  --black-deep: #000;
  --text-light: #ffffff;
  --text-dark: #111;
  --text-muted: #555;
  --border-light: rgba(0,0,0,0.08);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 4px;
  --max-w: min(96vw,1800px);
  --hd-w: min(94vw,1400px);
  --content-w: min(92vw,1100px);
  --ff-base: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --ff-head: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--ff-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--footer-dark);
  min-height: 100vh
}

main {
  background: linear-gradient(180deg,rgba(126,210,105,1) 0%,rgba(168,253,147,1) 35%,rgba(204,255,184,1) 70%,rgba(168,253,147,1) 100%);
  min-height: 70vh;
  position: relative;
  padding-top: 110px
}

a {
  color: var(--green-dark);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  /* Pevná barva místo blur backdrop-filter – blur byl drahý při scrollu
     a způsoboval stuttering, hlavně na slabších zařízeních. */
  background: rgba(0,50,8,0.92);
  color: var(--text-light);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.25s ease,box-shadow 0.25s ease
}

.site-header.is-scrolled {
  background: rgba(0,40,6,0.96);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25)
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Pevná výška – nezmenšujeme přes layout vlastnosti.
     Zmenšení vizuálně řeší jen logo přes transform: scale().
     Tím se výška headeru fyzicky nemění, ale logo je menší
     a působí to jako kompaktnější header. */
  min-height: 110px;
  /* contain: layout izoluje layout od zbytku stránky. */
  contain: layout style
}

.logo a {
  display: inline-flex;
  align-items: center
}

.logo img {
  height: 90px;
  width: auto;
  /* Zmenšení loga přes transform – GPU akcelerované, neforcuje reflow.
     transform-origin: left center – logo se zmenšuje k levému okraji. */
  transform-origin: left center;
  transition: transform 0.25s ease;
  will-change: transform
}

.site-header.is-scrolled .logo img {
  /* 56/90 = 0.622 – logo na ~62 % původní velikosti */
  transform: scale(0.622)
}

.main-nav {
  flex: 1
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
  align-items: center
}

.main-nav a {
  position: relative;
  color: var(--green-pale);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  display: inline-block
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: #d32f2f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.65,0,0.35,1)
}

.main-nav a:hover::after, .main-nav a.is-active::after {
  transform: scaleX(1)
}

.main-nav a:hover, .main-nav a.is-active {
  color: #fff;
  text-decoration: none
}

.has-dropdown {
  position: relative
}

.dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  position: relative;
  color: var(--green-pale);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem
}

.dropdown-toggle .caret {
  font-size: 0.7em;
  transition: transform 0.2s ease
}

.has-dropdown.is-open .dropdown-toggle .caret, .has-dropdown:hover .dropdown-toggle .caret {
  transform: rotate(180deg)
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: #d32f2f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.65,0,0.35,1)
}

.has-dropdown:hover .dropdown-toggle::after, .has-dropdown.is-open .dropdown-toggle::after, .dropdown-toggle:focus-visible::after {
  transform: scaleX(1)
}

.has-dropdown:hover .dropdown-toggle, .has-dropdown.is-open .dropdown-toggle {
  color: #fff
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(8,18,6,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease,transform 0.2s ease,visibility 0s linear 0.2s;
  z-index: 100
}

.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s
}

.dropdown li {
  margin: 0;
  padding: 0
}

.dropdown a {
  display: block;
  padding: 0.7rem 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: background 0.15s,color 0.15s
}

.dropdown a:hover, .dropdown a:focus {
  background: rgba(255,255,255,0.06);
  color: var(--green-light);
  text-decoration: none
}

.dropdown a::after {
  display: none
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--text-light);
  font-weight: 600
}

.cart-icon:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none
}

.cart-icon .count {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  font-weight: 700
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text-light);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center
}

.hamburger-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px
}

.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease,opacity 0.2s ease,top 0.25s ease
}

.hamburger-icon span:nth-child(1) {
  top: 2px
}

.hamburger-icon span:nth-child(2) {
  top: 7px
}

.hamburger-icon span:nth-child(3) {
  top: 12px
}

.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg)
}

.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0
}

.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg)
}

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -110px
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(20,40,15,0.45) 0%,rgba(126,210,105,0.45) 100%);
  z-index: 1
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 1.5rem 0;
  width: 100%
}

.hero h1 {
  color: var(--text-light);
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: -0.01em
}

/* (homepage styly přesunuty do style_home.css) */

.content-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 3rem 1.5rem
}

.content-section h1 {
  font-size: clamp(2rem,4vw,3rem);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600
}

.content-section h2 {
  font-size: 1.7rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
  text-align: center
}

.content-section h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
  font-weight: 600
}

.content-section h4 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600
}

.content-section p {
  margin-bottom: 1rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto
}

.content-section ul, .content-section ol {
  max-width: 900px;
  margin: 0 auto 1rem;
  padding-left: 1.5rem
}

.content-section li {
  margin-bottom: 0.4rem
}

.content-section table {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
  border-collapse: collapse;
  background: rgba(255,255,255,0.6)
}

.content-section table th, .content-section table td {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0,0,0,0.1)
}

.content-section table th {
  background: rgba(0,0,0,0.05);
  font-weight: 600;
  text-align: left
}

.pricelist {
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12)
}

.pricelist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  transition: filter 0.15s,box-shadow 0.15s
}

.pricelist-row:nth-child(odd) {
  background: rgba(240,255,230,0.95);
  color: #111
}

.pricelist-row:nth-child(odd) .item-name {
  color: #c62828
}

.pricelist-row:nth-child(odd) .item-desc {
  color: rgba(0,0,0,0.78)
}

.pricelist-row:nth-child(odd) .item-meta {
  color: var(--green-dark)
}

.pricelist-row:nth-child(odd) .price-static {
  color: #111
}

.pricelist-row:nth-child(even) {
  background: var(--green-dark);
  color: #fff
}

.pricelist-row:nth-child(even) .item-name {
  color: #ff6b6b
}

.pricelist-row:nth-child(even) .item-desc {
  color: rgba(255,255,255,0.85)
}

.pricelist-row:nth-child(even) .item-meta {
  color: var(--green-light)
}

.pricelist-row:nth-child(even) .price-static {
  color: #fff
}

.pricelist-row:hover {
  filter: brightness(1.05);
  box-shadow: inset 0 0 0 2px rgba(198,40,40,0.4)
}

.pricelist-row .item-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em
}

.pricelist-row .item-desc {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  margin-top: 0.25rem;
  line-height: 1.45
}

.pricelist-row .item-meta {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 0.2rem;
  font-style: italic
}

.pricelist-row .price-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #c62828;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s,transform 0.15s,box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(198,40,40,0.3)
}

.pricelist-row .price-btn:hover, .pricelist-row .price-btn:focus {
  background: #a01818;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(198,40,40,0.45);
  color: #fff
}

.pricelist-row .price-btn::after {
  content: '→';
  font-weight: 400;
  margin-left: 0.15rem;
  transition: transform 0.15s
}

.pricelist-row .price-btn:hover::after {
  transform: translateX(3px)
}

.pricelist-row .price-static {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  padding: 0.5rem 0.75rem
}

@media (max-width:600px) {
  .pricelist-row {
  grid-template-columns: 1fr;
  gap: 0.5rem
}

.pricelist-row .price-btn, .pricelist-row .price-static {
  justify-self: start
}

}

.pricelist-section {
  margin-top: 2.5rem
}

.pricelist-section h3 {
  margin-bottom: 0.5rem
}

.pricelist-section .pricelist-intro {
  font-style: italic;
  color: rgba(0,0,0,0.7);
  margin-bottom: 0.85rem;
  font-size: 0.95rem
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 1.5rem;
  margin: 2rem 0
}

.promo-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-top: 4px solid #c62828;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease,box-shadow 0.2s ease;
  position: relative;
  overflow: hidden
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14)
}

.promo-card .promo-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1
}

.promo-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.85rem;
  color: var(--green-dark);
  font-weight: 700
}

.promo-card .promo-body {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(0,0,0,0.78);
  margin-bottom: 1.25rem
}

.promo-card .promo-body p {
  margin-bottom: 0.65rem
}

.promo-card .promo-body p:last-child {
  margin-bottom: 0
}

.promo-card .promo-body strong {
  color: var(--green-dark)
}

.promo-card .promo-highlight {
  background: linear-gradient(135deg,rgba(168,253,147,0.4) 0%,rgba(204,255,184,0.5) 100%);
  border-left: 3px solid var(--green-mid);
  padding: 0.75rem 1rem;
  margin: 0.85rem 0;
  border-radius: 0 4px 4px 0;
  font-size: 0.93rem
}

.promo-card .promo-highlight strong {
  color: #c62828;
  font-size: 1.05rem
}

.promo-card .btn-cta {
  align-self: flex-start;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem
}

.promo-card.is-featured {
  background: linear-gradient(135deg,#fff 0%,#fafff5 100%);
  border-top-width: 6px;
  box-shadow: 0 6px 22px rgba(198,40,40,0.18)
}

.promo-card.is-featured::before {
  content: 'AKCE';
  position: absolute;
  top: 0;
  right: 0;
  background: #c62828;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-bottom-left-radius: 6px
}

@media (max-width:480px) {
  .promo-grid {
  gap: 1rem
}

.promo-card {
  padding: 1.5rem 1.25rem 1.25rem
}

}

.content-section img.hero-image {
  margin-bottom: 2rem;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius)
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s,color 0.15s,border-color 0.15s;
  text-decoration: none
}

.btn-primary {
  background: var(--black-deep);
  color: var(--text-light)
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--text-light);
  text-decoration: none
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark)
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--text-light);
  text-decoration: none
}

.btn-block {
  display: block;
  width: 100%
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg,#c62828 0%,#8b1818 100%);
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  border-radius: 6px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(198,40,40,0.35);
  transition: transform 0.18s,box-shadow 0.18s,background 0.18s;
  position: relative
}

.btn-cta::after {
  content: '→';
  font-weight: 400;
  font-size: 1.3rem;
  transition: transform 0.18s
}

.btn-cta:hover, .btn-cta:focus {
  background: linear-gradient(135deg,#a01818 0%,#6b0e0e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(198,40,40,0.5);
  color: #fff;
  text-decoration: none
}

.btn-cta:hover::after {
  transform: translateX(4px)
}

.btn-cta:active {
  transform: translateY(0)
}

.btn-cta.btn-block {
  display: flex;
  width: 100%
}

.btn-cta.btn-cta-sm {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  letter-spacing: 0.03em
}

.btn-cta.btn-cta-sm::after {
  font-size: 1.15rem
}

.cta-wrap {
  text-align: center;
  margin: 3rem 0 1rem;
  padding: 2rem 1rem;
  background: linear-gradient(180deg,transparent 0%,rgba(255,255,255,0.5) 100%);
  border-top: 1px solid rgba(0,0,0,0.08)
}

.cta-wrap .cta-headline {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1rem
}

.form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card)
}

.form .field {
  margin-bottom: 1rem
}

.form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  font-size: 0.9rem
}

.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(110,191,92,0.2)
}

.form textarea {
  min-height: 110px;
  resize: vertical
}

.form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem
}

.form .check input {
  width: auto;
  margin-top: 0.3rem
}

.form .alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem
}

.form .alert-error {
  background: #fdd;
  color: #800;
  border: 1px solid #faa
}

.form .alert-success {
  background: #dfd;
  color: #050;
  border: 1px solid #aea
}

.honeypot {
  position: absolute;
  left: -9999px
}

@media (max-width:600px) {
  .form .row-2 {
  grid-template-columns: 1fr
}

}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 1.5rem;
  max-width: var(--content-w);
  margin: 2rem auto;
  padding: 0 1.5rem
}

.product-card {
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s,box-shadow 0.2s
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1)
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}

.product-card .body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem
}

.product-card .price {
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1rem;
  flex: 1
}

.product-card .btn {
  margin-top: auto
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card)
}

.cart-table th, .cart-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: #111
}

.cart-table th {
  background: var(--green-pale, #e8f4e3);
  color: #111;
  font-weight: 600;
  border-bottom: 2px solid var(--green-dark, #2f4d2a)
}

.cart-table tfoot td {
  font-weight: 700;
  background: rgba(0,0,0,0.04);
  color: #111
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 0 auto
}

.site-footer {
  background: linear-gradient(180deg,rgba(168,253,147,1) 0%,rgba(60,100,50,0.92) 30%,rgba(30,50,25,0.97) 60%,var(--footer-dark) 100%);
  color: rgba(255,255,255,0.85);
  padding: 5rem 1.5rem 0;
  margin-top: 0;
  position: relative
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff
}

.footer-col ul {
  list-style: none
}

.footer-col li {
  margin-bottom: 0.4rem
}

.footer-col a {
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px;
  transition: color 0.2s ease
}

.footer-col a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #d32f2f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.65,0,0.35,1)
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none
}

.footer-col a:hover::after {
  transform: scaleX(1)
}

.social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s,background 0.15s
}

.social-links a:hover {
  transform: translateY(-2px)
}

.social-links a.fb {
  background: #1877f2
}

.social-links a.ig {
  background: #e4405f
}

.social-links a.wa {
  background: #25d366
}

.social-links a.mail {
  background: #555
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55)
}

.footer-bottom a {
  color: rgba(255,255,255,0.75)
}

.footer-bottom a:hover {
  color: var(--green-light)
}

@media (max-width:800px) {
  .footer-inner {
  grid-template-columns: 1fr 1fr
}

}

@media (max-width:480px) {
  .footer-inner {
  grid-template-columns: 1fr
}

}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black-deep);
  color: var(--text-light);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto
}

.cookie-banner.is-visible {
  display: block
}

.cookie-banner-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px
}

.cookie-banner h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--green-light)
}

.cookie-banner p, .cookie-banner #cookieDesc {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.85);
  text-align: left
}

.cookie-banner #cookieDesc p {
  margin-bottom: 0.5rem
}

.cookie-banner .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap
}

.cookie-banner .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem
}

.cookie-banner .btn-primary {
  background: var(--green-light);
  color: var(--text-dark)
}

.cookie-banner .btn-primary:hover {
  background: var(--green-mid);
  color: #fff
}

.cookie-banner .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3)
}

.cookie-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.08)
}

.cookie-settings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15)
}

.cookie-settings-inner {
  display: block;
  gap: 0
}

.cookie-cat {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08)
}

.cookie-cat:last-child {
  border-bottom: 0
}

.cookie-cat-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.85rem;
  cursor: pointer
}

.cookie-cat-label input[type=checkbox] {
  grid-row: 1 / span 2;
  align-self: start;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--green-mid)
}

.cookie-cat-label strong {
  color: #fff;
  font-size: 0.95rem
}

.cookie-cat-label small {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  line-height: 1.4
}

.cookie-settings .actions {
  padding-top: 0.85rem;
  justify-content: flex-end
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px
}

.link-button:hover {
  color: var(--green-light);
  text-decoration-color: currentColor
}

@media (max-width:900px) {
  .menu-toggle {
  display: inline-flex
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(13,26,10,0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 100px);
  overflow-y: auto
}

.main-nav.is-open {
  display: flex
}

.main-nav ul {
  flex-direction: column;
  align-items: stretch;
  padding: 0.5rem;
  gap: 0
}

.main-nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05)
}

.header-inner {
  flex-wrap: wrap
}

.has-dropdown {
  position: static
}

.dropdown-toggle {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 0.85rem 1rem 0.4rem;
  border-bottom: 0;
  border-radius: 0;
  pointer-events: none;
  cursor: default;
  color: rgba(204,255,184,0.55);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem
}

.dropdown-toggle::after {
  display: none
}

.dropdown-toggle .caret {
  display: none
}

.dropdown {
  position: static;
  background: rgba(0,0,0,0.2);
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 0.5rem;
  min-width: 0;
  max-height: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  display: block
}

.dropdown a {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-transform: none;
  letter-spacing: 0.02em
}

}

.text-center {
  text-align: center
}

.mb-1 {
  margin-bottom: 0.5rem
}

.mb-2 {
  margin-bottom: 1rem
}

.mb-3 {
  margin-bottom: 2rem
}

.mt-3 {
  margin-top: 2rem
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}

/* (Další služby – styly přesunuty do style_home.css) */

/* ===================================================================
   INFO GRID – 2-sloupcový blok (kontakt + obrázek/mapa) na pobočkových stránkách
   =================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  max-width: 1100px;
  margin: 1.5rem auto 2.5rem;
  align-items: start;
}
.info-grid > .info-col {
  background: rgba(255,255,255,0.85);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.info-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--green-dark, #2f4d2a);
  font-size: 1.15rem;
}
.info-grid h3:not(:first-child) {
  margin-top: 1.5rem;
}
.info-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-grid ul li {
  padding: 0.3rem 0;
}
.info-grid table {
  width: 100%;
  border-collapse: collapse;
}
.info-grid table th {
  text-align: left;
  padding: 0.45rem 0.85rem 0.45rem 0;
  font-weight: 600;
  color: #444;
}
.info-grid table td {
  padding: 0.45rem 0;
  color: #555;
}
.info-grid table tr:not(:last-child) th,
.info-grid table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.info-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.info-grid .map-embed {
  margin: 0;
  max-width: none;
}
@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ===================================================================
   MAP EMBED – wrapper kolem Google Maps iframe (placeholder {mapa:...})
   =================================================================== */
.map-embed {
  max-width: 900px;
  margin: 1.5rem auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ===================================================================
   IMAGE GALLERY – hlavní obrázek + thumbnaily pod ním, klik přepíná
   Použití v obsahu stránky: <div class="image-gallery"><img>...</div>
   JS v main.js postaví strukturu (main + thumbs row).
   =================================================================== */
.image-gallery {
  max-width: 900px;
  margin: 1.5rem auto;
}
.image-gallery .gallery-main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.image-gallery .gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.image-gallery .gallery-thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}
.image-gallery .gallery-thumb-img:hover {
  transform: translateY(-1px);
}
.image-gallery .gallery-thumb-img.active {
  border-color: var(--green-dark, #2f4d2a);
}

/* ===================================================================
   DETAIL PRODUKTU – galerie + info + tlačítko
   =================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.product-detail .product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-detail .gallery-main img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
}
.product-detail .gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.5rem;
}
.product-detail .gallery-thumb {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color 0.15s, transform 0.1s;
}
.product-detail .gallery-thumb:hover {
  transform: translateY(-1px);
}
.product-detail .gallery-thumb.active {
  border-color: var(--green-dark, #2f4d2a);
}
.product-detail .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail .product-info h1 {
  text-align: left;
  margin-bottom: 0.5rem;
}
.product-detail .product-info .price {
  font-size: 1.5rem;
  color: var(--green-dark);
  font-weight: 600;
  margin: 1.5rem 0;
}
.product-detail .add-to-cart-form {
  background: rgba(255,255,255,0.7);
  padding: 1.5rem;
}
.product-description {
  max-width: 900px;
  margin: 3rem auto 0;
}
@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ===================================================================
   ONLINE UČEBNA – karty/podmenu (Výuka, Učebnice, E-testy, Platby, Zkoušky)
   =================================================================== */
.classroom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 1.75rem;
}
.classroom-tabs .tab {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem 0.5rem;
  background: rgba(255,255,255,0.85);
  border: 2px solid rgba(47,77,42,0.15);
  border-radius: var(--radius);
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  text-align: center;
}
.classroom-tabs .tab:hover {
  background: rgba(168,253,147,0.4);
  border-color: rgba(47,77,42,0.4);
  transform: translateY(-1px);
}
.classroom-tabs .tab.active {
  background: #2f4d2a;
  color: #fff;
  border-color: #2f4d2a;
}
.classroom-tabs .tab-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.classroom-tabs .tab-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  background: #c62828;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.tab-content[hidden] { display: none; }
@media (max-width: 600px) {
  .classroom-tabs .tab { flex: 1 1 calc(50% - 0.3rem); min-width: 0; }
}
