/* LuckySafety – detail produktu (Step) */
.type-detail .p-param-block .social-buttons-wrapper { display: none !important; }

/* Související soubory v Popisu */
.type-detail .ls-related-files { margin-top: 36px; }
.type-detail .ls-related-files ul { list-style: none; padding: 0; margin: 0; }
.type-detail .ls-related-files li { margin: 0 0 8px; }

/* Větší mezery mezi oddíly popisu */
.type-detail #description .basic-description h2,
.type-detail #description .basic-description h3,
.type-detail #description .ls-related-files h3 { margin-top: 36px; margin-bottom: 14px; line-height: 1.3; }
.type-detail #description .basic-description > h2:first-child,
.type-detail #description .basic-description > h3:first-child,
.type-detail #description .ls-ratings + h2,
.type-detail #description .ls-ratings + h3 { margin-top: 0; }

/* Hodnocení obchodu */
.type-detail .ls-ratings {
  display: grid; grid-template-columns: minmax(170px, 1fr) 3fr; gap: 20px; align-items: center;
  margin: 0 0 32px; padding: 20px; border-radius: 12px; background: #f6eedd; border: 1px solid #ecdcb9;
}
.type-detail .ls-ratings p { margin: 0; }
.type-detail .ls-ratings__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8a6d2f; }
.type-detail .ls-ratings__total { margin-top: 6px !important; font-size: 15px; color: #111; }
.type-detail .ls-ratings__total b { display: block; font-size: 34px; line-height: 1; font-weight: 800; }
.type-detail .ls-ratings__sub { margin-top: 6px !important; font-size: 12px; line-height: 1.4; color: #555; }
.type-detail .ls-ratings__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.type-detail .ls-rating {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: #fff;
  border: 1px solid transparent; box-shadow: 0 1px 2px rgba(0,0,0,.05);
  color: #111 !important; text-decoration: none !important; line-height: 1.2;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.type-detail a.ls-rating:hover { transform: translateY(-2px); border-color: #D0A754; box-shadow: 0 6px 16px rgba(138,109,47,.15); }
.type-detail .ls-rating__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.type-detail .ls-rating__name { font-size: 13px; font-weight: 700; }
.type-detail .ls-rating__ext { color: #b0b0b0; display: inline-flex; transition: color .15s; }
.type-detail a.ls-rating:hover .ls-rating__ext { color: #D0A754; }
.type-detail .ls-rating__score { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.type-detail .ls-rating__score b { font-size: 24px; font-weight: 800; }
.type-detail .ls-rating__score span { font-size: 12px; color: #666; }
.type-detail .ls-rating__stars { position: relative; display: inline-block; align-self: flex-start; font-size: 14px; line-height: 1; letter-spacing: 1px; color: #e2e2e2; }
.type-detail .ls-rating__stars::before { content: "★★★★★"; }
.type-detail .ls-rating__stars span { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #D0A754; }
.type-detail .ls-rating__stars span::before { content: "★★★★★"; }
.type-detail .ls-rating__bar { display: block; height: 6px; margin: 4px 0 4px; border-radius: 3px; background: #eee; overflow: hidden; }
.type-detail .ls-rating__bar span { display: block; height: 100%; border-radius: 3px; background: #D0A754; }
.type-detail .ls-rating__count { font-size: 12px; color: #777; }
@media (max-width: 1199px) {
  .type-detail .ls-ratings { grid-template-columns: 1fr; gap: 14px; }
  .type-detail .ls-ratings__summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .type-detail .ls-ratings__title { flex: 0 0 100%; }
  .type-detail .ls-ratings__total { margin-top: 0 !important; }
  .type-detail .ls-ratings__total b { display: inline; font-size: 26px; margin-right: 4px; }
  .type-detail .ls-ratings__sub { margin-top: 0 !important; }
}
@media (max-width: 767px) {
  .type-detail .ls-ratings { padding: 16px; }
  .type-detail .ls-ratings__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Poznámka pod Častými dotazy (text, který není otázkou) */
.type-detail .ls-faq-note { margin: 4px 0 20px; padding: 14px 16px; border-left: 3px solid #D0A754; border-radius: 0 8px 8px 0; background: #faf6ec; }
.type-detail .ls-faq-note > :last-child { margin-bottom: 0; }

/* Diskuze skrytá (pojistka proti probliknutí) */
.type-detail [data-testid="tabDiscussion"] { display: none !important; }

/* Časté dotazy – rozbalovací */
.type-detail .ls-faq { margin: 0 0 20px; border-top: 1px solid #e3e3e3; }
.type-detail .ls-faq__item { border-bottom: 1px solid #e3e3e3; }
.type-detail .ls-faq__q {
  position: relative; list-style: none; cursor: pointer; padding: 14px 36px 14px 0; font-weight: 700;
}
.type-detail .ls-faq__q::-webkit-details-marker { display: none; }
.type-detail .ls-faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; line-height: 1;
}
.type-detail .ls-faq__item[open] > .ls-faq__q::after { content: "−"; }
.type-detail .ls-faq__a { padding: 0 0 14px; }
.type-detail .ls-faq__a > :last-child { margin-bottom: 0; }

/* Lišta rychlých odkazů (nad záložkami) */
.type-detail .ls-fast-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 40px;
  margin: 0 0 24px; padding: 20px 28px; background: #f5f5f5; color: #111;
}
.type-detail .ls-fast-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0;
  color: #111 !important; text-decoration: none !important; text-transform: uppercase;
  font-size: 15px; line-height: 1.3; white-space: nowrap;
}
.type-detail .ls-fast-link__text { border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.type-detail .ls-fast-link:hover .ls-fast-link__text,
.type-detail .ls-fast-link.is-active .ls-fast-link__text { border-bottom-color: #111; }
.type-detail .ls-fast-link__icon { flex: 0 0 auto; }
@media (max-width: 767px) {
  .type-detail .ls-fast-links { display: block; padding: 4px 16px; margin-left: -10px; margin-right: -10px; }
  .type-detail .ls-fast-link {
    display: flex; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 15px;
    white-space: normal; border-bottom: 1px solid #d9d9d9;
  }
  .type-detail .ls-fast-link:last-child { border-bottom: 0; }
  .type-detail .ls-fast-link .ls-fast-link__text,
  .type-detail .ls-fast-link.is-active .ls-fast-link__text { border-bottom-color: transparent; padding-bottom: 0; }
}

/* Parametry pod obrázkem (desktop od 992 px) */
@media (min-width: 992px) {
  .type-detail .p-image-wrapper .p-param-block { margin: 24px 20px 0; padding-top: 20px; border-top: 1px solid #e3e3e3; }
  .type-detail .p-image-wrapper .p-param-block .detail-parameters-wrapper,
  .type-detail .p-image-wrapper .p-param-block .detail-parameters { width: 100%; }
}

/* Tabulka velikostí (rozbalovací) */
.type-detail .ls-size-chart { margin: 32px 0 24px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; clear: both; }
.type-detail .ls-size-chart__head {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 48px 16px 18px;
  list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; color: #111;
}
.type-detail .ls-size-chart__head::-webkit-details-marker { display: none; }
.type-detail .ls-size-chart__head svg { color: #D0A754; flex: 0 0 auto; }
.type-detail .ls-size-chart__head::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; line-height: 1;
}
.type-detail .ls-size-chart[open] > .ls-size-chart__head::after { content: "−"; }
.type-detail .ls-size-chart[open] > .ls-size-chart__head { border-bottom: 1px solid #eee; }
.type-detail .ls-size-chart__body { padding: 16px; }
.type-detail .ls-size-chart__body img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* Podobné produkty – odlišené od Souvisejících zlatavým podkladem */
.type-detail .ls-alternative {
  margin: 0 0 32px; padding: 24px; border-radius: 12px; background: #f6eedd; border: 1px solid #ecdcb9; clear: both;
}
.type-detail .ls-alternative__title { margin: 0 0 18px; }
.type-detail .ls-alternative .products { margin-bottom: 0; }
.type-detail .ls-alternative .product .p { background: #fff; }
.type-detail .ls-alternative .browse-p { margin-top: 12px; text-align: center; }
@media (max-width: 767px) {
  .type-detail .ls-alternative { padding: 16px 12px; margin-left: -10px; margin-right: -10px; border-radius: 0; border-left: 0; border-right: 0; }
}
.type-detail [data-testid="tabAlternativeProducts"] { display: none !important; }
