/* Domio – Vzdušný detail. Native form, prices, availability and gallery retained. */
.type-detail #product-detail-form .product-top.domio-detail-ready {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "gallery heading" "gallery purchase";
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  row-gap: 22px;
  align-items: start;
  margin: 8px 0 36px;
}
.type-detail #product-detail-form .product-top.domio-detail-ready::before,
.type-detail #product-detail-form .product-top.domio-detail-ready::after { display: none; }
.type-detail #product-detail-form .domio-detail-heading { grid-area: heading; }
.type-detail #product-detail-form .domio-detail-ready > .p-image-wrapper { grid-area: gallery; }
.type-detail #product-detail-form .domio-detail-ready > .p-info-wrapper { grid-area: purchase; }
.type-detail #product-detail-form .domio-detail-ready > .domio-detail-heading,
.type-detail #product-detail-form .domio-detail-ready > .p-image-wrapper,
.type-detail #product-detail-form .domio-detail-ready > .p-info-wrapper {
  float: none;
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
.type-detail #product-detail-form .domio-detail-heading .p-detail-inner-header { margin: 0; }
.type-detail #product-detail-form .domio-detail-heading h1 {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #46535A;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.type-detail #product-detail-form .domio-detail-heading .p-code {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
}
.type-detail #product-detail-form .domio-detail-heading .p-detail-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.type-detail #product-detail-form .domio-detail-heading .p-detail-info > * { margin: 0; padding: 0; }
.type-detail #product-detail-form .domio-detail-heading .p-detail-info > *::before { content: none; }
.type-detail #product-detail-form .domio-detail-heading .stars-wrapper { flex-wrap: wrap; gap: 5px; }
.type-detail #product-detail-form .domio-detail-heading .flags { position: static; }
.type-detail #product-detail-form .domio-detail-heading .flags .flag:not(.flag-vystaveno-v-showroomu) {
  display: inline-flex !important;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 13px;
  line-height: 1.5;
}
.type-detail #product-detail-form .domio-detail-ready .p-image { margin-bottom: 16px; }
.type-detail #product-detail-form .domio-detail-ready .p-main-image { display: block; }
.type-detail #product-detail-form .domio-detail-ready .p-main-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
}
.type-detail #product-detail-form .domio-detail-ready .p-final-price-wrapper { margin-bottom: 10px; }
.type-detail #product-detail-form .domio-detail-ready .price-final {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #46535A;
}
.type-detail #product-detail-form .domio-detail-ready .price-final .pr-list-unit {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
.type-detail #product-detail-form .domio-detail-ready .price-measure { font-size: 14px; }
.type-detail #product-detail-form .domio-detail-ready .availability-value {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.type-detail #product-detail-form .domio-detail-ready .p-info-wrapper > .detail-parameters:empty { display: none; }
.type-detail #product-detail-form .domio-detail-ready .add-to-cart {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 18px 0 0;
}
.type-detail #product-detail-form .domio-detail-ready .add-to-cart .quantity {
  display: flex;
  flex: 0 0 134px;
  width: 134px;
  height: 52px;
  padding: 0;
  margin: 0;
  border: 1px solid #DCE2E1;
  border-radius: 6px;
  background: #FFFFFF;
}
.type-detail #product-detail-form .domio-detail-ready .quantity > label {
  order: 2;
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 50px;
  min-width: 0;
  margin: 0;
}
.type-detail #product-detail-form .domio-detail-ready .quantity input.amount {
  width: 44px;
  height: 50px;
  padding: 0;
  border: 0;
  margin: 0;
  background: #FFFFFF;
  color: #46535A;
  font-size: 16px;
  line-height: 50px;
  border-radius: 0;
}
.type-detail #product-detail-form .domio-detail-ready .add-to-cart .quantity .increase,
.type-detail #product-detail-form .domio-detail-ready .add-to-cart .quantity .decrease {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 50px;
  padding: 0;
  border: 0;
  margin: 0;
  background: #FFFFFF;
  color: #245B56;
}
.type-detail #product-detail-form .domio-detail-ready .quantity .decrease { order: 1; border-radius: 5px 0 0 5px; }
.type-detail #product-detail-form .domio-detail-ready .quantity .increase { order: 3; border-radius: 0 5px 5px 0; }
.type-detail #product-detail-form .domio-detail-ready .quantity .decrease:hover,
.type-detail #product-detail-form .domio-detail-ready .quantity .increase:hover { background: #EDF1F3; }
.type-detail #product-detail-form .domio-detail-ready .add-to-cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #245B56;
  border-radius: 6px;
  background: #245B56;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
}
.type-detail #product-detail-form .domio-detail-ready .add-to-cart-button:hover { background: #173E3A; border-color: #173E3A; }
.type-detail #product-detail-form .domio-detail-ready .add-to-cart-button:disabled { opacity: .55; cursor: not-allowed; }
.type-detail.disabled-add-to-cart #product-detail-form .domio-detail-ready .add-to-cart-button {
  background: #70899C;
  border-color: #70899C;
  color: #FFFFFF;
  opacity: .65;
  cursor: not-allowed;
}
.type-detail #product-detail-form .domio-delivery {
  clear: both;
  margin: 20px 0 22px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #EDF1F3;
  color: #46535A;
  font-size: 16px;
  line-height: 1.5;
}
.type-detail #product-detail-form .domio-delivery [hidden] { display: none !important; }
.type-detail #product-detail-form .domio-delivery-title { margin: 0 0 10px; font-size: 16px; line-height: 1.5; font-weight: 700; }
.type-detail #product-detail-form .domio-delivery-rates { min-height: 54px; }
.type-detail #product-detail-form .domio-delivery-rate { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 0; }
.type-detail #product-detail-form .domio-delivery-rate strong { white-space: nowrap; font-weight: 700; }
.type-detail #product-detail-form .domio-delivery-status { min-height: 54px; font-size: 16px; margin: 0; }
.type-detail #product-detail-form .domio-delivery-meta { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #D1D9DE; }
.type-detail #product-detail-form .domio-delivery-date { min-width: 0; }
.type-detail #product-detail-form .domio-delivery-date .delivery-time-label { display: block; font-size: 16px; margin: 0; }
.type-detail #product-detail-form .domio-delivery-date .delivery-time { display: block; font-size: 16px; font-weight: 700; margin: 0; }
.type-detail #product-detail-form .domio-delivery-link {
  display: flex;
  align-items: center;
  justify-self: end;
  max-width: 165px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #245B56;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.type-detail #product-detail-form .domio-detail-ready .p-short-description { margin-top: 20px; font-size: 16px; line-height: 1.6; }
.type-detail #product-detail-form .domio-detail-ready .p-short-description img { max-width: 100%; height: auto; }
.type-detail #product-detail-form .domio-detail-ready .potrebujete-poradit {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 16px;
  text-align: left !important;
  background: transparent !important;
  border-top: 1px solid #DCE2E1;
  border-radius: 0 !important;
  padding: 14px 0 0 !important;
  margin-top: 20px;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
.type-detail #product-detail-form .domio-detail-ready .potrebujete-poradit > div { float: none; width: auto; padding: 0; }
.type-detail #product-detail-form .domio-detail-ready .poradit-telefon { white-space: nowrap; }
@media (max-width: 991px) {
  .type-detail #product-detail-form .product-top.domio-detail-ready {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "heading" "gallery" "purchase";
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 0;
  }
  .type-detail #product-detail-form .domio-detail-heading h1 { font-size: 26px; }
  .type-detail #product-detail-form .domio-detail-ready .p-image { margin-bottom: 12px; }
  .type-detail #product-detail-form .domio-detail-ready .p-main-image img { max-height: 380px; }
  .type-detail #product-detail-form .domio-detail-ready .p-thumbnails-wrapper { margin-bottom: 0; }
}
@media (max-width: 479px) {
  .type-detail #product-detail-form .domio-detail-heading h1 { font-size: 24px; }
  .type-detail #product-detail-form .domio-detail-ready .p-main-image img { max-height: 300px; }
  .type-detail #product-detail-form .domio-detail-ready .price-final { font-size: 32px; }
  .type-detail #product-detail-form .domio-detail-ready .add-to-cart { gap: 10px; }
  .type-detail #product-detail-form .domio-detail-ready .add-to-cart-button { padding: 10px; font-size: 16px; }
  .type-detail #product-detail-form .domio-delivery { padding: 14px; }
  .type-detail #product-detail-form .domio-delivery-meta { gap: 12px; }
}
