/* ===== OPOOS ACCORDION v1 — CSS ===== */

/* Skryti puvodniho popisu (presuneme do accordionu) */
.p-data-wrapper > .p-short-description {
  display: none !important;
}

/* Accordion kontejner */
.opoos-acc-wrap {
  margin: 16px 0 0;
  border-top: 1px solid #eee;
}

/* Jednotlivy radek */
.opoos-acc-item {
  border-bottom: 1px solid #eee;
}

/* Hlavicka radku (klikaci) */
.opoos-acc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.opoos-acc-header:hover {
  background: #fafafa;
}

.opoos-acc-header:active {
  background: #f5f5f5;
}

/* Ikona vlevo */
.opoos-acc-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: 50%;
  line-height: 1;
}

/* Nazev */
.opoos-acc-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

/* Sipka vpravo */
.opoos-acc-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eee;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.opoos-acc-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #666;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Otevreny stav — sipka otocena */
.opoos-acc-item.is-open .opoos-acc-arrow {
  transform: rotate(180deg);
}

/* Obsah (skryty ve vychozim stavu) */
.opoos-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.opoos-acc-item.is-open .opoos-acc-body {
  max-height: 1000px;
}

.opoos-acc-content {
  padding: 0 4px 20px 52px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.opoos-acc-content p {
  margin: 0 0 8px;
}

.opoos-acc-content p:last-child {
  margin-bottom: 0;
}

/* Placeholder text pro sekce bez obsahu */
.opoos-acc-placeholder {
  color: #aaa;
  font-style: italic;
  font-size: 13px;
}
