/* Boxmenu – načítať za štýlmi šablóny a výberu veľkostí. */
body.type-detail .p-info-wrapper.bm-detail {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  color: #303233;
  min-width: 0;
}
body.type-detail .bm-detail > .breadcrumbs-wrapper {
  order: -4;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.type-detail .bm-detail .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: #303233;
  font-size: 12px;
}
body.type-detail .bm-detail .breadcrumbs a {
  color: inherit;
}
body.type-detail .bm-detail .breadcrumbs [data-testid="breadcrumbsLastLevel"],
body.type-detail
  .bm-detail
  .breadcrumbs
  > span:has(+ [data-testid="breadcrumbsLastLevel"])
  .navigation-bullet {
  display: none;
}
body.type-detail .bm-detail .navigation-home-icon::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("/user/documents/upload/ikonky/boxmenu-home.svg") center/contain
    no-repeat;
}
body.type-detail .bm-detail > .p-detail-inner-header {
  order: -3;
}
body.type-detail .bm-detail > .p-short-description {
  order: -2;
  margin-top: -10px;
}
body.type-detail .bm-detail > .p-detail-info {
  order: -1;
  display: flex;
  align-items: center;
  margin: 0;
  gap: 8px;
}
body.type-detail :is(.bm-detail, .bm-mobile-row) .stars-wrapper {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 6px;
}
body.type-detail :is(.bm-detail, .bm-mobile-row) .stars-label,
body.type-detail :is(.bm-detail, .bm-mobile-row) .bm-question {
  font-size: 12px;
}
body.type-detail :is(.bm-detail, .bm-mobile-row) .stars-wrapper .show-ratings {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  font-size: 0;
  overflow: hidden;
}
body.type-detail :is(.bm-detail, .bm-mobile-row) .show-ratings::before,
body.type-detail :is(.bm-detail, .bm-mobile-row) .show-ratings::after {
  display: none;
}
body.type-detail :is(.bm-detail, .bm-mobile-row) .bm-question {
  margin-left: auto;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: border-color 0.2s;
}
body.type-detail
  :is(.bm-detail, .bm-mobile-row)
  .bm-question:is(:hover, :focus-visible) {
  border-color: #303233;
}
body.type-detail .bm-detail > .detail-parameters {
  order: 1;
  margin: 8px 0 0;
}
body.type-detail .bm-detail .detail-parameters:not(:has(tr > :is(td, th))) {
  display: none;
}
body.type-detail .bm-detail .detail-parameters .variant-list {
  display: block;
}
body.type-detail .bm-detail .variant-list > :is(td, th) {
  display: block;
  width: 100%;
}
body.type-detail .bm-detail .shkRadioSelectList {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
  padding: 0;
  margin: 8px 0;
}
body.type-detail .bm-detail .shkRadioSelectList .shkRadioSelectList__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  width: 100%;
  margin: 0;
  padding: 6px 14px !important;
  box-sizing: border-box;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  background: white;
  color: #303233;
}
body.type-detail
  .bm-detail
  .shkRadioSelectList
  .shkRadioSelectList__item[aria-checked="true"] {
  border-color: #303233;
  box-shadow: inset 0 0 0 1px #303233;
}
body.type-detail .bm-detail .shkRadioSelectList__innerWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
body.type-detail .bm-detail .shkRadioSelectList__priceWrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
body.type-detail .bm-detail .bm-old {
  color: #868686;
  text-decoration: line-through;
  font-size: 12px;
}
body.type-detail .bm-detail .bm-deal {
  font-weight: 700;
  position: absolute;
  bottom: calc(100% - 8px);
  right: 70px;
  white-space: nowrap;
  background: #f9f7f6;
  color: #000;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1.2;
}
body.type-detail .bm-detail .shkRadioSelectList__innerWrap__priceMeasure {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #868686;
  text-align: right;
}
body.type-detail .bm-detail > .p-final-price-wrapper {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 0;
  background: transparent;
}
body.type-detail .bm-detail .p-final-price-wrapper .price-final {
  order: 0;
  font-size: 16px;
  color: #303233;
  font-weight: 650;
}
body.type-detail .bm-detail .p-final-price-wrapper .price-standard {
  order: 1;
  font-size: 14px;
  text-decoration: line-through;
}
body.type-detail .bm-detail .p-final-price-wrapper .price-standard > span {
  text-decoration: line-through;
}
body.type-detail .bm-detail .p-final-price-wrapper .price-standard::before {
  display: none;
}
body.type-detail
  .bm-detail
  .p-final-price-wrapper
  .price-measure:not(.bm-empty, .no-display, .noDisplay, [hidden]) {
  display: block;
  order: 2;
  flex-basis: 100%;
  color: #868686;
  font-size: 14px;
}
body.type-detail .bm-detail .price-measure.bm-empty {
  display: none;
}
body.type-detail .bm-detail > .add-to-cart {
  order: 3;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}
body.type-detail .bm-detail .add-to-cart > .quantity,
body.type-detail .bm-detail .bm-counting,
body.type-detail .bm-detail .add-to-cart-button::before,
body.type-detail .bm-detail [hidden] {
  display: none !important;
}
body.type-detail .bm-detail .add-to-cart > .add-to-cart-button {
  flex: 1;
  margin: 0;
}
body.type-detail .bm-detail .bm-counter {
  flex: 1;
  min-width: 0;
  height: var(--bm-button-height);
  display: grid;
  grid-template-columns: 20% 1fr 20%;
  overflow: hidden;
  background: #303233;
  border-radius: 5px;
}
body.type-detail .bm-counter > :is(input, button) {
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 650;
  text-align: center;
  transition: background 0.18s;
}
body.type-detail .bm-counter input {
  -moz-appearance: textfield;
}
body.type-detail .bm-counter input::-webkit-inner-spin-button {
  appearance: none;
}
body.type-detail .bm-counter > :is(input, button):is(:hover, :focus-visible) {
  background: #000;
}
body.type-detail .bm-counter button,
body.type-detail .bm-heart {
  cursor: pointer;
}
body.type-detail .bm-detail .bm-heart {
  flex: 0 0 var(--bm-button-height);
  width: var(--bm-button-height);
  min-height: var(--bm-button-height);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #f4f4f4;
  color: #303233;
  transition: background 0.2s, color 0.2s;
}
body.type-detail .bm-detail .bm-heart:is(:hover, :focus-visible) {
  background: #f0f0f0;
}
body.type-detail .bm-heart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
body.type-detail .bm-detail .bm-heart[aria-pressed="true"] {
  color: #71121b;
}
body.type-detail .bm-heart[aria-pressed="true"] svg {
  fill: #71121b;
}
body.type-detail .bm-detail > .availability-value {
  order: 4;
  font-size: 14px;
  margin: 6px 0 0;
}
body.type-detail .bm-detail .availability-label::before {
  content: "";
  display: inline-block;
  position: static;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
body.type-detail .bm-detail > .bm-delivery {
  order: 5;
  border: 0;
  margin: -8px 0 0;
  font-size: 14px;
}
body.type-detail .bm-delivery td {
  padding: 0;
  border: 0;
}
body.type-detail .bm-delivery .delivery-time-label::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 5px;
  vertical-align: text-bottom;
  background: currentColor;
  position: relative;
  top: 1px;
  mask: url("/user/documents/upload/ikonky/boxmenu-delivery.svg") center/contain
    no-repeat;
}
body.type-detail .bm-delivery .delivery-time {
  display: inline;
  margin-inline-start: 0.25em;
  text-decoration: none;
  cursor: pointer;
}
body.type-detail .bm-delivery .shipping-options {
  display: inline;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}
body.type-detail .bm-delivery .shipping-options::before {
  content: none;
}
body.type-detail .bm-delivery .delivery-time .show-tooltip {
  text-decoration: underline;
  font-weight: 700;
}
body.type-detail
  .bm-detail
  .detail-parameters
  tr:has(.shipping-options):not(:has(.delivery-time, select, input)) {
  display: none;
}
body.type-detail .bm-detail .shkRadioSelectList__innerWrap__priceSave {
  display: inline-block;
  position: absolute;
  top: -11px;
  right: 14px;
  background-color: #ffd9d9;
  color: #71121b;
  font-size: 10px;
}
body.type-detail .bm-detail > .flags-inline:not(:has(.flag:not([hidden]))) {
  display: none;
}
body.type-detail .bm-detail > [data-testid="productCardDescr"] {
  order: 3;
  display: none;
}
body.type-detail .bm-detail .social-buttons-wrapper .print,
body.type-detail .bm-detail .link-icons .dkLabFavouriteDiv {
  display: none;
}
body.type-detail
  .bm-detail
  .social-buttons-wrapper:not(:has(.link-icons
      > :not(.print, .chat, .dkLabFavouriteDiv))) {
  display: none;
}
body.type-detail .bm-detail > .flags-inline {
  order: 999;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
}
body.type-detail .bm-detail > .flags-inline .flag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 12px;
  font-size: 12px;
  text-transform: none;
  background: #f5f5f5 !important;
  color: #303233;
}
body.type-detail .bm-detail > .flags-inline .flag.flag-discount .price-save,
body.type-detail .bm-detail > .flags-inline .flag.flag-action {
  color: #303233;
}
body.type-detail .bm-detail .flag-discount .price-standard {
  display: none;
}
@media (min-width: 1200px) {
  body.type-detail #product-detail-form .product-top:has(.bm-detail) {
    padding-top: 60px;
    display: grid;
    grid-template-columns: minmax(0, 3.45fr) minmax(280px, 1fr);
    align-items: start;
    gap: clamp(24px, 2.4vw, 54px);
  }
  body.type-detail #product-detail-form .product-top:has(.bm-detail)::before,
  body.type-detail #product-detail-form .product-top:has(.bm-detail)::after,
  body.type-detail .product-top:has(.bm-detail) > div:empty {
    display: none;
  }
  body.type-detail
    .product-top:has(.bm-detail)
    > :is(.p-image-wrapper, .p-info-wrapper) {
    width: 100%;
    min-width: 0;
    padding-inline: 0;
  }
  body.type-detail .product-top:has(.bm-detail) .p-images__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body.type-detail .product-top:has(.bm-detail) .p-images__item:first-child {
    grid-column: 1/-1;
  }
  body.type-detail .product-top:has(.bm-detail) .p-images__item {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
  }
  body.type-detail .product-top:has(.bm-detail) .p-images__item img {
    display: block;
    width: 100%;
  }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  body.type-detail #product-detail-form .product-top:has(.bm-detail) {
    grid-template-columns: minmax(0, 1.59fr) minmax(374px, 1fr);
  }
}

@media (min-width: 1440px) and (max-width: 1590px) {
  body.type-detail #product-detail-form .product-top:has(.bm-detail) {
    grid-template-columns: minmax(0, 2.45fr) minmax(280px, 1fr);
  }
}

@media (min-width: 1200px) {
  body.type-detail #product-detail-form .product-top > .bm-detail {
    position: sticky;
    align-self: start;
    top: min(
      var(--bm-sticky-top, 20px),
      calc(100dvh - var(--bm-panel-height, 0px) - 16px)
    );
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body.type-detail .product-top:has(.bm-detail) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }
  body.type-detail .product-top:has(.bm-detail)::before,
  body.type-detail .product-top:has(.bm-detail)::after,
  body.type-detail .product-top:has(.bm-detail) > div:empty {
    display: none;
  }
  body.type-detail
    .product-top:has(.bm-detail)
    > :is(.p-image-wrapper, .p-info-wrapper) {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 767px) {
  body.type-detail
    .product-top:has(.bm-detail)
    > :is(.p-image-wrapper, .p-info-wrapper) {
    width: 100%;
    min-width: 0;
  }
  body.type-detail .p-info-wrapper.bm-detail {
    gap: 14px;
  }
}

/* Lomítka medzi zobrazenými úrovňami, vrátane pôvodnej mobilnej navigácie. */
body.type-detail .breadcrumbs-wrapper .breadcrumbs > span .navigation-bullet {
  display: none;
}
body.type-detail .breadcrumbs-wrapper .breadcrumbs > span::before,
body.type-detail .breadcrumbs-wrapper .breadcrumbs > span::after,
body.type-detail
  .breadcrumbs-wrapper
  .breadcrumbs
  > span
  > a:not(.navigation-home-icon)::after {
  content: none;
}
body.type-detail
  .breadcrumbs-wrapper
  .breadcrumbs
  > span:has(~ span[itemprop="itemListElement"])::after {
  content: "/";
  display: inline;
  position: static;
  margin-inline: 5px;
  padding: 0;
  background: none;
  border: 0;
  mask: none;
  font-family: inherit;
  color: #303233;
}
body.type-detail
  .p-info-wrapper.bm-detail
  .breadcrumbs-wrapper
  .breadcrumbs
  > span:has(+ [data-testid="breadcrumbsLastLevel"])::after {
  content: none;
}

.p-short-description p strong,
.p-short-description p {
  font-weight: 400;
}

body.type-detail .breadcrumbs-wrapper .breadcrumbs,
body.type-detail .breadcrumbs-wrapper .breadcrumbs :is(a, [itemprop="name"]) {
  font-size: 12px;
  color: #303233;
}
body.type-detail .breadcrumbs-wrapper .breadcrumbs a:is(:hover, :focus-visible),
body.type-detail .breadcrumbs-wrapper .breadcrumbs a:hover [itemprop="name"] {
  text-decoration: none;
}
body.type-detail
  #product-detail-form
  .bm-detail
  .shkRadioSelectList__item__name,
body.type-detail .bm-detail .bm-variants-column strong {
  font-size: 14px;
  color: #303233;
}
body.type-detail .bm-detail > .bm-more-info-container {
  order: 998;
  margin: 0;
}
body.type-detail .bm-detail .bm-more-info,
body.type-detail .bm-detail .bm-more-info-content {
  color: #303233;
}
body.type-detail .bm-detail .bm-more-info-arrow path {
  fill: #303233;
}
body.type-detail .bm-detail .availability-label.bm-unavailable {
  color: #303233 !important;
  font-weight: 400;
}
body.type-detail .bm-detail .bm-unavailable::before {
  background: #aaa;
}
body.type-detail .bm-detail .bm-in-stock {
  font-weight: 700;
}

body.type-detail .bm-detail .availability-label {
  display: inline-flex;
  align-items: center;
}
body.type-detail .bm-detail .bm-in-stock::before {
  background-color: #63736e;
}
body.type-detail
  #product-detail-form
  .p-info-wrapper
  > .bm-variant-description {
  order: 998;
  margin: 0;
}
@media (max-width: 1199px) {
  body.type-detail
    .breadcrumbs-wrapper
    .breadcrumbs
    > [data-testid="breadcrumbsLastLevel"] {
    display: none;
  }
  body.type-detail
    .breadcrumbs-wrapper
    .breadcrumbs
    > span:has(+ span[data-testid="breadcrumbsLastLevel"])::after {
    content: none;
  }
  body.type-detail #product-detail-form .bm-mobile-row {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
  }
}
