/* Detail produktu: dostupnost, doruceni a kod jako "pilulky" nad h1 */
.type-detail .p-detail-inner-header h1 {
  font-weight: 500;
}

.type-detail .br-p-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.65rem;
}

.type-detail .br-p-detail-meta__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.type-detail .br-p-detail-meta__item--availability {
  background: #e6f4ea;
  color: #146c2e;
}

.type-detail .br-p-detail-meta__item--delivery {
  background: #e8eef8;
  color: #154a8a;
}

.type-detail .br-p-detail-meta__item--code {
  background: #eceff1;
  color: #37474f;
}

/* Radek "Wodoodpornosc" z .br-parametry-clone (kopie za kod, JS) */
.type-detail .br-p-detail-meta__waterproof {
  display: inline-flex;
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.type-detail .br-p-detail-meta__waterproof span {
  display: none !important;
}

.type-detail .br-p-detail-meta__waterproof > li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  background: #e3f2fd;
  color: #1565c0;
}

/* Skryj puvodni radky v detail-parameters, kdyz je metadata vytazena nahoru */
.type-detail table.detail-parameters.br-detail-params--meta-promoted tbody tr:has(.availability-label),
.type-detail table.detail-parameters.br-detail-params--meta-promoted tbody tr.delivery-time-row,
.type-detail table.detail-parameters.br-detail-params--meta-promoted tbody tr.p-code {
  display: none;
}


.type-detail .br-help-choose-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 8px 20px;
    height: auto;
    line-height: inherit;
    font-weight: 500;
    color: #053348;
    background: #fff;
    border: 1px solid #053348;
    border-radius: 4px;
    cursor: pointer;
  }
  
  @media (hover: hover) {
    .type-detail .br-help-choose-btn:hover {
      background: #f5f8fa;
    }
  }
  
  .type-detail .br-help-choose-btn--no-cart {
    margin-top: 12px;
  }
  
  .p-to-cart-block .add-to-cart-button
  {
      width: 100%;
      background-color: #053348 !important;
      color: white !important;
  }
  .p-to-cart-block .add-to-cart-button:hover
  {
      color: #053348 !important;
      background-color: #abcdca !important;
  
  }


  /* Tři výhody pod hlavičkou produktu (HTML např. z new-product.html) */
.type-detail .br-product-benefits {
    margin: 0 0 1.5rem;
  }
  
  .type-detail .br-product-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  
  @media (max-width: 640px) {
    .type-detail .br-product-benefits__grid {
      grid-template-columns: 1fr;
    }
  }
  .type-detail .benefitBanner__picture
  {
      max-width: 40px !important;
  }
  .type-detail .br-product-benefits__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.15rem 0.85rem;
    text-align: center;
    background: #e5f1f3;
    border-radius: 16px;
  }
  
  .type-detail .br-product-benefits__icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    object-fit: contain;
  }
  
  .type-detail .br-product-benefits__title {
    margin: 0px !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    color: #000;
  }
  
  .type-detail .br-product-benefits__subtitle {
    margin: 0px !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    color: #000;
  }
  /* Pod „Poraďte mi“ – vybrané kategorie (PL text, JS wt-redesign.js) */
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust,
  body.in-chytre-kliky.type-detail .br-p-cart-trust {
    margin-top: 6px;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__signals,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__signals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #146c2e;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__rule,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__rule {
    margin: 0 0 1rem;
    border: 0;
    border-top: 1px solid #cfd8dc;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__faq,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__item,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__item {
    display: flex;
    align-items: anchor-center;
    gap: 0.65rem;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__icon,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-top: 2px;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__text,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__text {
    margin: 0px !important;
    font-size: 14px;
    line-height: 1.45;
    color: #37474f;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__text strong,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__text strong {
    color: #000;
    font-weight: 700 !important;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__heureka,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__heureka {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    justify-content: flex-start;
    margin: 0;
    padding-top: 0.15rem;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__heureka-img,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__heureka-img {
    display: block;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center;
  }
  
  body.in-vanocni-aroma-oleje.type-detail .br-p-cart-trust__heureka-text,
  body.in-chytre-kliky.type-detail .br-p-cart-trust__heureka-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
  }
  
  .br-no-reception {
    margin: 60px 0;
  }
  
  .br-no-reception__inner {
    background: #abcdca;
    border-radius: 26px;
    padding: clamp(32px, 3vw, 40px) 32px;
  }
  
  .br-no-reception__head {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 18px;
  }
  
  .br-no-reception__title {
    margin: 0 0 8px;
    color: #053348;
    font-size: clamp(26px, 3.2vw, 32px);
    line-height: 1.05;
  }
  
  .br-no-reception__lead {
    color: #053348;
    font-size: 17px;
    line-height: 1.5;
  }
  
  .br-no-reception__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  
  @media (min-width: 760px) {
    .br-no-reception__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }
  }
  
  @media (min-width: 1100px) {
    .br-no-reception__grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 22px;
      max-width: 1100px;
      margin: auto;
    }
  }
  
  .br-no-reception__item {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
  }
  
  .br-no-reception__itemTitle {
    margin: 0;
    color: #053348;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 1.15;
  }
  
  .br-no-reception__box {
    background: #053348;
    color: #fff;
    border-radius: 22px;
    padding: 18px 18px;
    text-align: center;
    font-size: 17px;
    line-height: 1.5;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
    min-height: 140Px;
    transition: transform 0.3s ease-in-out;
    align-content: center;
  }
  .br-no-reception__box:hover {
    transform: scale(1.04);
  }
  
  @media (max-width: 768px) {
    .br-no-reception__box {
      min-height: inherit;
    }
  }


/* Varianty jako dlaždice (select.hidden-split-parameter → JS wt-redesign.js) */
.type-detail .br-variant-tiles {
    position: relative;
    margin: 0 0 1rem;
  }
  
  .type-detail .br-variant-tiles__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1rem;
    margin-bottom: 0.65rem;
  }
  
  .type-detail .br-variant-tiles__head .variant-label {
    margin: 0;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #37474f;
  }
  
  .type-detail .br-variant-tiles__help {
    font-size: 14px;
    font-weight: 400;
    color: #154a8a;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
  }
  
  .type-detail .br-variant-tiles__help:hover {
    color: #0d355f;
  }
  
  .type-detail .br-variant-tiles__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .type-detail .br-variant-tiles__opt {
    flex: 1 1 auto;
    min-width: 4.25rem;
    max-width: fit-content;
    margin: 0;
    padding: 0.55rem 0.75rem;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    color: #37474f;
    background: #fff;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  }
  
  .type-detail .br-variant-tiles__opt:hover {
    border-color: #90a4ae;
  }
  
  .type-detail .br-variant-tiles__opt.is-selected {
    color: #154a8a;
    background: #e8eef8;
    border-color: #154a8a;
  }
  
  .type-detail .br-variant-tiles__opt:focus-visible {
    outline: 2px solid #154a8a;
    outline-offset: 2px;
  }
  
  .type-detail .br-variant-tiles__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }


  .heureka-recommended-href, .garance-spokojenosti
  {
    display: none !important;
  }


/* Popup „Poraďte mi s výběrem“ (produkt, JS wt-redesign.js) */
.br-help-choose-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: none;
}

.br-help-choose-modal.is-open {
  display: grid;
  place-items: center;
}

.br-help-choose-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(5, 51, 72, 0.72);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.br-help-choose-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.br-help-choose-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  background: #fff;
  color: #053348;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (hover: hover) {
  .br-help-choose-modal__close:hover {
    background: #f5f8fa;
  }
}

.br-help-choose-modal__title {
  margin: 0 2.25rem 0.85rem 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: #053348;
}

.br-help-choose-modal__body {
  margin: 0;
}

.br-help-choose-modal__line {
  margin: 0 0 0.65rem;
  font-size: 16px;
  line-height: 1.45;
  color: #37474f;
}

.br-help-choose-modal__line:last-child {
  margin-bottom: 0;
}

.br-help-choose-modal__line a {
  color: #154a8a;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.br-help-choose-modal__line a:hover {
  color: #0d355f;
}

.type-detail .br-help-choose-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 8px 20px;
  height: auto;
  line-height: inherit;
  font-weight: 500;
  color: #053348;
  background: #fff;
  border: 1px solid #053348;
  border-radius: 4px;
  cursor: pointer;
}

@media (hover: hover) {
  .type-detail .br-help-choose-btn:hover {
    background: #f5f8fa;
  }
}

.type-detail .br-help-choose-btn--no-cart {
  margin-top: 12px;
}