/* =========================================================
   TVUJORIGINAL UI – PRODUCT DETAIL PREMIUM V3.1.3
   Jednotný detail podle schváleného vizuálního návrhu
   ========================================================= */
body.type-product.tui-pd31-ready {
  --tui-pd-ink:#2b2521;
  --tui-pd-muted:#766d66;
  --tui-pd-beige:#b6a99a;
  --tui-pd-beige-dark:#8d7560;
  --tui-pd-line:#e8e1da;
  --tui-pd-soft:#faf8f5;
  --tui-pd-personal:#fff7f6;
  --tui-pd-personal-line:#f0cbc8;
  --tui-pd-green:#84ab09;
  --tui-pd-green-dark:#739607;
  --tui-pd-shadow:0 14px 42px rgba(58,45,34,.07);
}

/* Vypnutí starých vložených vrstev – nativní Shoptet prvky zůstávají. */
body.type-product .to-stable20-left,
body.type-product .to-stable20-top-meta,
body.type-product #to-product-experience-v7,
body.type-product #tui-personalization-guide,
body.type-product .tui-pg-launcher,
body.type-product .tui-pdv3-intro,
body.type-product .tui-pdv3-guide,
body.type-product .tui-pd31-hidden-old {display:none!important;}

body.type-product.tui-pd31-ready .p-detail-inner,
body.type-product.tui-pd31-ready .p-detail {
  color:var(--tui-pd-ink);
}

/* Nadpis a úvodní informace */
body.type-product.tui-pd31-ready .p-detail-inner-header h1,
body.type-product.tui-pd31-ready .p-detail h1 {
  color:var(--tui-pd-ink);
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.025em;
}
body.type-product .tui-pd31-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 18px;
  margin:11px 0 16px;
  color:var(--tui-pd-muted);
  font-size:13px;
}
body.type-product .tui-pd31-meta__brand {
  margin-left:auto;
  color:var(--tui-pd-beige-dark);
  font-weight:700;
}
body.type-product .tui-pd31-meta .stars,
body.type-product .tui-pd31-meta .star-list,
body.type-product .tui-pd31-meta .p-rating {margin:0!important;}
body.type-product .tui-pd31-short {
  margin:0 0 18px;
  padding:0 0 18px;
  border-bottom:1px solid var(--tui-pd-line);
  color:#4f4843;
  font-size:14px;
  line-height:1.62;
}

/* Hlavní karta objednávky – jediný velký box v pravém sloupci */
body.type-product .tui-pd31-card {
  position:relative;
  margin:0 0 22px;
  padding:20px;
  background:#fff;
  border:1px solid var(--tui-pd-line);
  border-radius:10px;
  box-shadow:var(--tui-pd-shadow);
}
body.type-product .tui-pd31-card__head {
  display:grid;
  grid-template-columns:38px 1fr;
  gap:10px 12px;
  align-items:center;
  margin:0 0 18px;
}
body.type-product .tui-pd31-card__icon {
  grid-row:1 / span 2;
  width:36px;height:36px;
  color:var(--tui-pd-beige-dark);
}
body.type-product .tui-pd31-card__icon svg {width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
body.type-product .tui-pd31-card__head strong {font-size:20px;line-height:1.2;color:var(--tui-pd-ink);}
body.type-product .tui-pd31-card__head span {font-size:13px;color:var(--tui-pd-muted);}
body.type-product .tui-pd31-step {
  display:block;
  margin:16px 0 9px;
  color:var(--tui-pd-ink);
  font-size:13px;
  font-weight:800;
}


/* Úvod k variantě – nahrazuje strohé „1. Vyberte variantu“. */
body.type-product .tui-pd31-variant-intro {
  margin:2px 0 14px;
  padding:13px 14px;
  border-left:3px solid var(--tui-pd-beige);
  background:var(--tui-pd-soft);
  color:var(--tui-pd-muted);
  font-size:13px;
  line-height:1.55;
}
body.type-product .tui-pd31-variant-intro strong {
  display:block;
  margin-bottom:3px;
  color:var(--tui-pd-ink);
  font-size:14px;
  font-weight:800;
}
body.type-product .tui-pd31-variant-intro span {display:block;}

/* Varianty jako čisté volby */
body.type-product .tui-pd31-card .p-variants-block,
body.type-product .tui-pd31-card .variant-list,
body.type-product .tui-pd31-card .advanced-parameter,
body.type-product .tui-pd31-card .surcharge-parameters,
body.type-product .tui-pd31-card .detail-parameters {
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.type-product .tui-pd31-card .advanced-parameter-inner,
body.type-product .tui-pd31-card .advanced-parameter-inner.yes-before,
body.type-product .tui-pd31-card .advanced-parameter-inner.yes-after {
  border-radius:8px!important;
}
body.type-product .tui-pd31-card select,
body.type-product .tui-pd31-card input[type="text"],
body.type-product .tui-pd31-card textarea {
  min-height:46px;
  border:1px solid #dcd4cd!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:14px!important;
}

/* Personalizace – jediné barevně odlišené místo */
body.type-product .tui-pd31-personal {
  margin:18px 0 16px;
  padding:13px;
  border:1px solid var(--tui-pd-personal-line);
  border-radius:9px;
  background:linear-gradient(135deg,#fffafa 0%,var(--tui-pd-personal) 100%);
}
body.type-product .tui-pd31-personal__top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 9px;
}
body.type-product .tui-pd31-personal__title {font-size:13px;font-weight:800;color:var(--tui-pd-ink);}
body.type-product .tui-pd31-help {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 0;
  border:0;
  background:transparent;
  color:#8a654c;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
body.type-product .tui-pd31-help svg {width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
body.type-product .tui-pd31-personal__waiting {
  padding:15px;
  border:1px dashed #dfc7c4;
  border-radius:8px;
  color:#786a63;
  background:rgba(255,255,255,.65);
  font-size:13px;
  line-height:1.5;
}
body.type-product .tui-pd31-personal textarea,
body.type-product .tui-pd31-personal input[type="text"] {
  width:100%!important;
  min-height:82px!important;
  padding:12px!important;
  background:#fff!important;
  border-color:#e9beba!important;
}

/* Rychlé výhody uvnitř objednávkové karty */
body.type-product .tui-pd31-benefit-row {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  margin:14px 0 16px;
  padding:12px 4px;
  border:1px solid var(--tui-pd-personal-line);
  border-radius:8px;
  background:linear-gradient(90deg,#fffafa,#fff7f6);
}
body.type-product .tui-pd31-mini-benefit {
  min-width:0;
  padding:0 8px;
  text-align:center;
  color:#5e5149;
  font-size:10px;
  line-height:1.35;
}
body.type-product .tui-pd31-mini-benefit + .tui-pd31-mini-benefit {border-left:1px solid #ead9d5;}
body.type-product .tui-pd31-mini-benefit svg {display:block;width:24px;height:24px;margin:0 auto 5px;color:#a68e78;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
body.type-product .tui-pd31-mini-benefit strong {display:block;color:#403731;font-size:10.5px;}

/* Cena a košík */
body.type-product .tui-pd31-card .p-final-price-wrapper,
body.type-product .tui-pd31-card .price-final,
body.type-product .tui-pd31-card .price {
  border:0!important;
  box-shadow:none!important;
}
body.type-product .tui-pd31-card .price-final,
body.type-product .tui-pd31-card .p-final-price-wrapper .price-final {
  color:var(--tui-pd-ink)!important;
  font-size:28px!important;
  font-weight:800!important;
}
body.type-product .tui-pd31-card .buy-box {margin-top:10px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
body.type-product .tui-pd31-card .add-to-cart-button,
body.type-product .tui-pd31-card button.add-to-cart,
body.type-product .tui-pd31-card .btn-cart,
body.type-product .tui-pd31-card button[type="submit"] {
  min-height:52px!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#93bd0a,var(--tui-pd-green))!important;
  border-color:var(--tui-pd-green-dark)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  text-transform:uppercase;
  box-shadow:none!important;
}
body.type-product .tui-pd31-security {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:13px 0 0;
  padding:11px;
  border-radius:7px;
  background:var(--tui-pd-soft);
  color:#69594e;
  font-size:12px;
}
body.type-product .tui-pd31-security svg {width:23px;height:23px;color:#a58e77;fill:none;stroke:currentColor;stroke-width:1.6;}
body.type-product .tui-pd31-bottom-trust {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid var(--tui-pd-line);
}
body.type-product .tui-pd31-bottom-trust > div {display:flex;align-items:center;gap:8px;color:#564d47;font-size:11px;line-height:1.35;}
body.type-product .tui-pd31-bottom-trust svg {flex:0 0 auto;width:28px;height:28px;color:#a68d75;fill:none;stroke:currentColor;stroke-width:1.5;}

/* Levá informační oblast pod fotografiemi */
body.type-product .tui-pd31-left {
  margin-top:22px;
  padding:0;
  border:1px solid var(--tui-pd-line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(58,45,34,.045);
}
body.type-product .tui-pd31-left__benefits {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:16px;
  background:linear-gradient(100deg,#fcfaf7,#fff);
}
body.type-product .tui-pd31-left__benefit {display:flex;align-items:center;gap:9px;padding:0 11px;color:#514842;font-size:11px;line-height:1.35;}
body.type-product .tui-pd31-left__benefit + .tui-pd31-left__benefit {border-left:1px solid var(--tui-pd-line);}
body.type-product .tui-pd31-left__benefit svg {flex:0 0 auto;width:29px;height:29px;color:#a38d78;fill:none;stroke:currentColor;stroke-width:1.55;}
body.type-product .tui-pd31-left__benefit strong {display:block;color:#332c28;font-size:11px;}
body.type-product .tui-pd31-left__tools {padding:13px 16px;border-top:1px solid var(--tui-pd-line);border-bottom:1px solid var(--tui-pd-line);}
body.type-product .tui-pd31-left__tools .social-buttons-wrapper {display:flex!important;flex-wrap:wrap;justify-content:space-around;gap:10px;margin:0!important;padding:0!important;border:0!important;}
body.type-product .tui-pd31-left__description {padding:18px 20px;color:#514a45;font-size:13px;line-height:1.7;}
body.type-product .tui-pd31-left__description p {margin:0 0 7px;}
body.type-product .tui-pd31-left__more {display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:#836a57;text-decoration:underline;}

/* Rozbalovací osobní průvodce */
body.type-product .tui-pd31-guide {margin-top:12px;padding-top:13px;border-top:1px solid #ead9d5;}
body.type-product .tui-pd31-guide[hidden] {display:none!important;}
body.type-product .tui-pd31-guide__intro {margin:0 0 12px;color:#594f49;font-size:13px;line-height:1.55;}
body.type-product .tui-pd31-guide__intro strong {display:block;color:#332c28;font-size:14px;margin-bottom:3px;}
body.type-product .tui-pd31-guide__categories {display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px;}
body.type-product .tui-pd31-guide__categories button,
body.type-product .tui-pd31-guide__suggestions button {
  border:1px solid #dfd4cb;
  border-radius:999px;
  background:#fff;
  color:#564b44;
  cursor:pointer;
}
body.type-product .tui-pd31-guide__categories button {padding:7px 11px;font-size:11px;font-weight:700;}
body.type-product .tui-pd31-guide__categories button.is-active {background:#a98c72;border-color:#a98c72;color:#fff;}
body.type-product .tui-pd31-guide__suggestions {display:flex;flex-wrap:wrap;gap:7px;}
body.type-product .tui-pd31-guide__suggestions button {padding:8px 12px;font-size:12px;}
body.type-product .tui-pd31-guide__suggestions button:hover {border-color:#b99a82;background:#fffdfb;}
body.type-product .tui-pd31-guide__more {margin:11px 0 0;padding:0;border:0;background:transparent;color:#876c57;font-size:12px;font-weight:700;text-decoration:underline;cursor:pointer;}
body.type-product .tui-pd31-guide__status {margin-top:11px;padding:9px 11px;border-radius:6px;background:#fff;color:#6b5d55;font-size:11.5px;line-height:1.45;}
body.type-product .tui-pd31-guide details {margin-top:9px;border-top:1px solid #ead9d5;}
body.type-product .tui-pd31-guide summary {padding:11px 0;cursor:pointer;color:#51473f;font-size:12px;font-weight:800;}
body.type-product .tui-pd31-guide details > div {padding:0 0 10px;color:#675c55;font-size:12px;line-height:1.55;}
body.type-product .tui-pd31-proof {display:flex;align-items:baseline;gap:8px;margin-top:10px;color:#766960;font-size:11px;}
body.type-product .tui-pd31-proof strong {font-size:21px;color:#8b725e;}

@media (max-width:1199px) {
  body.type-product .tui-pd31-benefit-row {grid-template-columns:repeat(3,1fr);row-gap:12px;}
  body.type-product .tui-pd31-mini-benefit:nth-child(4) {border-left:0;}
  body.type-product .tui-pd31-left__benefits {grid-template-columns:repeat(2,1fr);gap:14px 0;}
  body.type-product .tui-pd31-left__benefit:nth-child(3) {border-left:0;}
}
@media (max-width:991px) {
  body.type-product .tui-pd31-card {margin-top:18px;padding:16px;border-radius:8px;}
  body.type-product .tui-pd31-meta__brand {margin-left:0;}
  body.type-product .tui-pd31-bottom-trust {grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px) {
  body.type-product .tui-pd31-card__head strong {font-size:18px;}
  body.type-product .tui-pd31-personal__top {align-items:flex-start;flex-direction:column;gap:4px;}
  body.type-product .tui-pd31-benefit-row {grid-template-columns:repeat(2,1fr);}
  body.type-product .tui-pd31-mini-benefit:nth-child(3),
  body.type-product .tui-pd31-mini-benefit:nth-child(5) {border-left:0;}
  body.type-product .tui-pd31-left__benefits {grid-template-columns:1fr;}
  body.type-product .tui-pd31-left__benefit + .tui-pd31-left__benefit {border-left:0;border-top:1px solid var(--tui-pd-line);padding-top:11px;}
}


/* V3.1.2 – jasná logika před volbou varianty */
body.type-product .tui-pd31-variant-note {
  margin:0 0 12px;
  padding:11px 12px;
  border:1px solid #ead7d2;
  border-radius:8px;
  background:#fffaf8;
  color:#5f5048;
  font-size:12px;
  line-height:1.45;
}
body.type-product .tui-pd31-variant-note strong,
body.type-product .tui-pd31-personal__waiting strong {display:block;color:#3f342e;font-size:13px;margin-bottom:3px;}
body.type-product .tui-pd31-variant-note span,
body.type-product .tui-pd31-personal__waiting span {display:block;}
body.type-product .tui-pd31-next {
  margin-top:18px;
  padding:16px 0 0;
  border-top:1px solid var(--tui-pd-line);
}
body.type-product .tui-pd31-next > strong {display:block;margin-bottom:11px;color:var(--tui-pd-ink);font-size:14px;}
body.type-product .tui-pd31-next ol {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;}
body.type-product .tui-pd31-next li {position:relative;padding:0 8px 0 30px;color:#625850;font-size:11px;line-height:1.4;}
body.type-product .tui-pd31-next li span {position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f3eee8;color:#856f5d;font-weight:800;}
@media (max-width:767px){body.type-product .tui-pd31-next ol{grid-template-columns:1fr 1fr;gap:12px;}body.type-product .tui-pd31-next li{font-size:12px;}}

/* =========================================================
   V3.1.4 AIRY – minimalistické zklidnění rozhraní
   ========================================================= */
body.type-product .tui-pd31-card {
  padding:24px 0 0!important;
  border:0!important;
  border-top:1px solid #e7e1db!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.type-product .tui-pd31-card__head {
  display:block!important;
  margin:0 0 22px!important;
}
body.type-product .tui-pd31-card__head strong {
  display:block;
  margin:0 0 6px;
  font-size:22px!important;
  font-weight:700!important;
  letter-spacing:-.02em;
}
body.type-product .tui-pd31-card__head > span:not(.tui-pd31-card__icon) {
  display:block;
  font-size:14px!important;
  line-height:1.55;
}
body.type-product .tui-pd31-card__icon {display:none!important;}
body.type-product .tui-pd31-variant-intro {
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:13px!important;
}
body.type-product .tui-pd31-variant-intro strong {
  margin-bottom:2px!important;
  font-size:14px!important;
}
body.type-product .tui-pd31-personal {
  margin:22px 0 20px!important;
  padding:18px!important;
  border:1px solid #eadbd8!important;
  border-radius:8px!important;
  background:#fffafa!important;
}
body.type-product .tui-pd31-personal__top {margin-bottom:12px!important;}
body.type-product .tui-pd31-personal__title {font-size:15px!important;}
body.type-product .tui-pd31-help {
  padding:0!important;
  font-size:12.5px!important;
  text-decoration:underline;
  text-underline-offset:3px;
}
body.type-product .tui-pd31-help svg {display:none!important;}
body.type-product .tui-pd31-variant-note {
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#6d625b!important;
}
body.type-product .tui-pd31-variant-note strong {font-size:13px!important;}
body.type-product .tui-pd31-variant-note span {display:block;margin-top:2px;font-size:12.5px;line-height:1.5;}
body.type-product .tui-pd31-personal__waiting {
  padding:12px 0 0!important;
  border:0!important;
  border-top:1px solid #eadbd8!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:12.5px!important;
}
body.type-product .tui-pd31-benefit-row,
body.type-product .tui-pd31-bottom-trust {display:none!important;}
body.type-product .tui-pd31-security {
  justify-content:flex-start!important;
  margin:14px 0 0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#756a63!important;
  font-size:11.5px!important;
  line-height:1.5;
}
body.type-product .tui-pd31-security svg {display:none!important;}
body.type-product .tui-pd31-next {
  display:block;
  margin:18px 0 0!important;
  padding:14px 0 0!important;
  border:0!important;
  border-top:1px solid #e7e1db!important;
  background:transparent!important;
}
body.type-product .tui-pd31-next summary {
  cursor:pointer;
  color:#514942;
  font-size:12.5px;
  font-weight:700;
}
body.type-product .tui-pd31-next ol {
  margin:12px 0 0 18px!important;
  padding:0!important;
  color:#6d625b;
  font-size:12.5px;
  line-height:1.65;
}
body.type-product .tui-pd31-next li {padding-left:4px!important;}
body.type-product .tui-pd31-next li span {display:none!important;}
body.type-product .tui-pd31-left {
  margin-top:24px!important;
  border:0!important;
  border-top:1px solid #e7e1db!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.type-product .tui-pd31-left__benefits {
  grid-template-columns:repeat(3,1fr)!important;
  padding:16px 0!important;
  background:transparent!important;
}
body.type-product .tui-pd31-left__benefit {
  justify-content:center;
  padding:0 14px!important;
  text-align:center;
  font-size:11.5px!important;
}
body.type-product .tui-pd31-left__benefit svg {display:none!important;}
body.type-product .tui-pd31-left__benefit strong {font-size:11.5px!important;font-weight:700!important;}
body.type-product .tui-pd31-left__tools {padding:12px 0!important;}
body.type-product .tui-pd31-left__description {padding:18px 0!important;}
body.type-product .tui-pd31-guide {
  margin-top:14px!important;
  padding-top:14px!important;
}
body.type-product .tui-pd31-guide__intro {
  margin-bottom:10px!important;
  font-size:12.5px!important;
}
body.type-product .tui-pd31-guide__categories {gap:6px!important;margin-bottom:9px!important;}
body.type-product .tui-pd31-guide__categories button {
  padding:6px 10px!important;
  font-size:11px!important;
}
body.type-product .tui-pd31-guide__suggestions {gap:6px!important;}
body.type-product .tui-pd31-guide__suggestions button {
  padding:7px 10px!important;
  font-size:11.5px!important;
}
body.type-product .tui-pd31-guide__status:empty {display:none!important;}
body.type-product .tui-pd31-guide__status {
  padding:8px 0 0!important;
  background:transparent!important;
}
@media (max-width:767px){
  body.type-product .tui-pd31-card {padding-top:20px!important;}
  body.type-product .tui-pd31-card__head strong {font-size:20px!important;}
  body.type-product .tui-pd31-personal {padding:15px!important;}
  body.type-product .tui-pd31-left__benefits {grid-template-columns:1fr!important;gap:0!important;}
  body.type-product .tui-pd31-left__benefit {padding:9px 0!important;}
  body.type-product .tui-pd31-left__benefit + .tui-pd31-left__benefit {border-left:0!important;border-top:1px solid #eee8e2!important;}
}
