/* ==========================================================================
   Info tlacitko + rozbalovaci karta u dopravy a platby
   (kosik i stranka Doprava a platba). Otevira se kliknutim - funguje i na mobilu.
   ========================================================================== */

.choice-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin: -6px -4px -6px -2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7f9c70;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

/* stary eshop.css dava tlacitkum v .choice-list "width:auto; float:right; margin-left:20px" */
.choice-list li .choice-info-toggle,
.choice-list li .choice-info-close {
  float: none;
  width: 30px;
  height: 30px;
  margin-left: 0;
}

.choice-list li .choice-info-close {
  width: 32px;
  height: 32px;
}

.choice-info-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
}

.choice-info-toggle:hover,
.choice-info-toggle:focus-visible {
  color: #3f6230;
  background: #eef4ea;
  outline: none;
}

.choice-info-toggle:focus-visible {
  box-shadow: 0 0 0 2px #a9c79a;
}

.choice-info-toggle.active {
  color: #ffffff;
  background: #4c703b;
}

.choice-info-card {
  position: relative;
  margin: 2px 14px 14px;
  padding: 14px 16px 16px;
  background: #ffffff;
  border: 1px solid #d5e3cc;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(48, 71, 37, 0.10);
  color: #3d3d3d;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  cursor: default;
  animation: choiceInfoIn 0.18s ease-out;
}

.choice-info-card[hidden] {
  display: none !important;
}

.choice-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px -6px 8px 0;
}

.choice-info-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.choice-info-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #213518;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.choice-info-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b6b6b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.choice-info-close:hover,
.choice-info-close:focus-visible {
  color: #213518;
  background: #eef4ea;
  outline: none;
}

/* Popis z administrace - prebiti globalnich velikosti (p 17px, #content li 17px) */
.choice-info-card .choice-info-body,
.choice-info-card .choice-info-body p,
.choice-info-card .choice-info-body li,
.choice-info-card .choice-info-body div,
.choice-info-card .choice-info-body span {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #3d3d3d;
  font-weight: 400;
}

.choice-info-card .choice-info-body > :first-child { margin-top: 0; }
.choice-info-card .choice-info-body > :last-child { margin-bottom: 0; }
.choice-info-card .choice-info-body p { margin: 0 0 8px; }
.choice-info-card .choice-info-body ul,
.choice-info-card .choice-info-body ol { margin: 0 0 8px; padding-left: 20px; }
.choice-info-card .choice-info-body li { padding-left: 0 !important; list-style: disc; }
.choice-info-card .choice-info-body strong,
.choice-info-card .choice-info-body b { font-weight: 600; color: #222222; }
.choice-info-card .choice-info-body a { color: #3f6230; text-decoration: underline; }
.choice-info-card .choice-info-body h1,
.choice-info-card .choice-info-body h2,
.choice-info-card .choice-info-body h3,
.choice-info-card .choice-info-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #213518;
}

.choice-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.choice-info-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  background: #eef4ea;
  border-radius: 999px;
  color: #304725;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes choiceInfoIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .choice-info-card { animation: none; }
  .choice-info-toggle { transition: none; }
}

/* --------------------------------------------------------------------------
   Stranka Doprava a platba (tabulky .dopla)
   -------------------------------------------------------------------------- */

.dopla td.dopla-icon-cell {
  width: 56px;
  vertical-align: middle;
}

.dopla img.dopla-icon {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
}

.dopla td.dopla-name {
  vertical-align: middle;
  font-size: 16px;
  font-weight: 500;
  color: #222222;
}

.dopla td.dopla-name .choice-info-toggle {
  margin-left: 2px;
}

.dopla tr.dopla-info-row > td {
  padding: 0 !important;
  border-top: 0 !important;
}

.dopla tr.dopla-info-row .choice-info-card {
  margin: 0 0 12px;
}
