/* h1 */
.p-detail-inner h1 {
    margin-bottom: 15px 0 10px 0;
}

/* p-image */
.p-detail-inner .p-image {
  margin-top: 25px;
}

/* short desc */
.p-detail-inner .p-short-description {
  background: var(--colors-surface-secondary);
  padding: 20px;
  margin: 12px 0;
  border-radius: 4px;
}

.p-detail-inner .p-short-description p {
  margin: 6px 0;
}

/* social-buttons */
.social-buttons-wrapper {
    margin: 20px 0;
}
.social-buttons-wrapper .link-icon {
  display: flex;
  column-gap: 10px;
  padding: 0;
  margin: 0;
}
.social-buttons-wrapper .link-icons {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
}
.link-icon:before {
  margin: 0;
}

/* detail params */
.description-inner table.detail-parameters {
  width: 100%;
}
.description-inner .detail-parameters tr:nth-child(odd) {
  background: var(--colors-surface-secondary);
}
.description-inner .detail-parameters th, .description-inner .detail-parameters td {
  padding: 6px;
}
.description-inner .detail-parameters th {
    color: inherit;
}
.detail-parameters tr:last-child td, .detail-parameters tr:last-child th {
    padding-bottom: 6px;
}
.tab-content .detail-parameters td {
    font-weight: 600;
}

/* tabs */
.shp-tabs-holder {
  padding: 4px 4px 0 4px;
  border-radius: 4px;
}
.shp-tabs, .shp-tabs-holder {
  background-color: #000;
  color: var(--color-text-bright);
  border-radius: 4px 4px 0 0;
}
.shp-tab-link {
  background-color: inherit;
  color: inherit;
  border-radius: 4px 4px 0 0;
  margin: 0px 4px;
}
.active .shp-tab-link, .shp-tab-link:hover {
  border-color: #000;
}
.shp-tabs-holder ul.shp-tabs li a {
  padding: 10px;
}

/* price box*/
.detail-buy {
  background: var(--colors-surface-secondary);
  border-radius: 4px;
}
.detail-buy {
  padding: 20px;
  margin-bottom: 20px;
}
.detail-buy-top {
  /*text-align: center;*/
  display:flex;
  flex-wrap: wrap;
  justify-content:space-around;
  gap: 5px;
}
.detail-buy-bottom {
  display:flex;
  flex-wrap: wrap;
  justify-content:space-around;
}
.availability-value {
  font-size: 20px;
}
.p-final-price-wrapper, .add-to-cart {
  padding: 6px;
  margin: 0!important;
}
.price-measure {
  padding: 0;
  margin: 0!important;
}
.quantity {
  border-color: var(--color-border-primary);
  background: white;
  font-size: 16px;
  font-weight: 600;
  padding-right: 20px;
}
button.btn.btn-conversion {
  border-color: var(--color-border-primary);
  border-radius: 0 4px 4px 0;
}
.quantity .decrease, .quantity .increase {
  background-color: white;
  border-color: var(--color-border-primary);
  color: inherit;
}
.quantity .decrease:hover, .quantity .increase:hover {
  background-color: var(--color-kaxl-bright);
}
.quantity input {
  text-align: center;
  width: 60px;
}
.availability-label:before {
  content: "Dostupnost: ";
}

/* code */
.p-code-label:before {
  content: "|";
  display: inline-block;
  font-size: 14px;
  padding: 0 1ex;
}

/* manufacturer desc */
.manufacturerDescription {
  background: var(--color-kaxl-bright-tertiary);
  border-radius: 4px;
  padding: 15px;
}
.manufacturerDescription p {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
   /* p-image */
  .p-detail-inner .p-image {
    margin-top: 0;
  } 
}

.price-save {
  color: white;
  font-weight: 600;
  background: red;
  padding: 6px;
  border-radius: 4px;
  margin: 4px;
}

/* p-detail-info */
.p-detail-info {
  gap: 6px;  
}

/* flags */
.p-detail-info .flag {
  max-width: 10em;
}

/* gifts */
.p-gifts-wrapper {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
}
.p-gifts-wrapper .p-gifts-heading {
  font-weight: 500;
}
.p-gifts-wrapper .p-gift-image {
  width: 65px;
}
.p-gifts-wrapper .p-gift-name a {
  font-size: 15px;
  color: var(--color-text-dark);
  text-decoration: underline;
}
.p-gifts-wrapper .p-gift-name a:hover {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

/* products-related */
.products-related-header {
  background-color: #000;
  color: var(--color-text-bright);
  padding: 10px;
  border-radius: 4px;
  font-size: 18px;
}

.products-block.products .p .name {
  font-weight: 700;
}
.products-block .p-bottom .prices {
  align-self: center;
}