/* Skryj pouze pokud je aktivní nové UI */
body.has-variant-ui select.hidden-split-parameter,
body.has-variant-ui select.parameter-id-24,
body.has-variant-ui select.parameter-id-27,
body.has-variant-ui .detail-parameters-block {
  display: none !important;
}

/* Sekce variant */
.variants-section { margin-bottom: 32px; }
.variants-label { font-weight: 700; font-size: 17px; margin-bottom: 7px; }
.variants-note {
  color: #ba5833; font-size: 15px; display: flex; align-items: center;
  gap: 8px; margin: 12px 0;
}
.variants-note svg { width: 18px; height: 18px; fill: #ba5833; }

/* MLETÍ (Chips) */
.variant-chips {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px;
}
.variant-chip {
  border-radius: 8px;
  border: 1.5px solid #e6e2da;
  background: #fff;
  padding: 7px 22px;
  font-weight: 600;
  color: #714f2a;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.13s, background 0.13s, color 0.13s;
  box-shadow: 0 1px 2.5px rgba(0,0,0,0.03);
}
.variant-chip.active {
  background: #FFF8E9;
  color: #8b5a2b;
  border-color: #a86d1a;
  font-weight: 700;
}
.variant-chip:hover:not(.active) {
  border-color: #d4a15c;
  background: #f2e9dc;
}

/* BALENÍ (Cards) */
.variant-cards {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.variant-card {
  background: #fff;
  border: 2px solid #e6e2da;
  border-radius: 8px;
  box-shadow: 0 2.5px 12px rgba(168,109,26,0.04);
  padding: 17px 22px 24px 22px;
  min-width: 120px; max-width: 148px; min-height: 180px;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  transition: box-shadow 0.14s, border-color 0.12s, background 0.14s;
  position: relative;
}
.variant-card.active {
  border-color: #a86d1a;
  box-shadow: 0 5px 25px rgba(168,109,26,0.14), 0 1px 6px rgba(168,109,26,0.08);
  background: #FFF8E9;
}
.variant-card:hover:not(.active) {
  border-color: #c59b6d;
  background: #fcf5ea;
}
.variant-card .variant-icon {
  margin-bottom: 12px; margin-top: 3px;
  width: 42px; height: 42px; object-fit: contain; display: block;
}
.variant-card .variant-amount {
  font-size: 22px; font-weight: 700; color: #222; margin-bottom: 2px; line-height: 1;
}
.variant-card .variant-price {
  color: #a86d1a; font-weight: 700; font-size: 17px; margin-bottom: 2px;
}
.variant-card .variant-per100 {
  color: #94816b; font-size: 13px; font-weight: 500; margin-bottom: 4px;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.18;
}
.variant-card .badge {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: #20c661; color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 999px; padding: 5px 19px; min-width: 96px;
  text-align: center; box-shadow: 0 2px 8px rgba(50,140,80,0.15);
  z-index: 2; pointer-events: none; border:none; letter-spacing: 0.2px;
}
.variant-card .discount-badge-outer {
  position: absolute;
  left: 50%; bottom: -16px; transform: translateX(-50%);
  background: #bb8837; color: #fff; font-size: 14px; font-weight: 700;
  border-radius: 999px; padding: 6px 16px; min-width: 50px;
  box-shadow: 0 2px 8px rgba(168,109,26,0.12);
  z-index: 2; border: none; text-align: center; pointer-events: none; letter-spacing: 0.2px;
}
@media (max-width: 600px) {
  .variant-cards { gap: 4px; }
  .variant-card { padding: 10px 4px 17px 4px; min-width: 88px; max-width: 120px; min-height: 135px; }
  .variant-card .variant-amount { font-size: 14px; }
  .variant-card .variant-price { font-size: 11px; }
  .variant-card .variant-per100 { font-size: 10px; }
  .variant-card .badge { font-size: 9px; min-width: 45px; padding: 2px 7px; }
  .variant-card .discount-badge-outer { font-size: 10px; min-width: 30px; padding: 2px 7px; bottom: -10px; }
  .variant-card .variant-icon { width: 28px; height: 28px; }
}
