/* ===================== 08 PRODUCT DETAIL ===================== */
/* Product list/detail layout, images, pricing blocks and related products */

.productDetail {
  margin-top: 20px;
}

.productDetail p {
  color: var(--color-black);
  font-size: 1em;
}

.productList {
  padding-left: 7px;
}

.productList > .row,
.productDetail > .row {
  display: flex;
}

.productList .row {
  row-gap: 18px;
}

.productList > .row > div {
  padding-left: 10px;
  padding-right: 10px;
}

.product-detail-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf8 100%);
  border: 1px solid rgba(var(--color-rgb-main), 0.14);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(var(--color-rgb-main), 0.11);
  margin-top: 0;
  overflow: hidden;
}

.product-detail-card__row {
  display: flex;
}

.product-detail-card__media-col,
.product-detail-card__content-col {
  padding: 22px;
}

.product-detail-card__media-col {
  background:
    radial-gradient(circle at 18% 12%, rgba(49, 235, 193, 0.14) 0, transparent 36%),
    linear-gradient(160deg, #ffffff 0%, #f2f6fb 100%);
  border-right: 1px solid rgba(var(--color-rgb-main), 0.1);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 0;
}

.product-detail-card__media {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.product-detail-card__media img,
.productImg a > img {
  border-radius: 0;
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.product-detail-card__media > #prod_details_big_pic {
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

.product-detail-card__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.product-detail-card__thumb {
  background: #ffffff;
  border: 1px solid rgba(var(--color-rgb-main), 0.2);
  border-radius: 10px;
  cursor: pointer;
  padding: 3px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  width: 62px;
}

.product-detail-card__thumb:hover {
  border-color: var(--bs-primary);
  transform: translateY(-1px);
}

.product-detail-card__thumb > span,
.prod_image_thumb > div {
  display: block;
  height: 52px;
}

.product-detail-card__thumb > span img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-detail-card__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.product-detail-card__copy {
  margin-top: 0;
}

.product-detail-card__copy h1,
.page_product_details .prod_details_details h1 {
  color: var(--bs-primary);
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  line-height: 1.28;
  margin: 0;
}

.product-detail-card__copy p {
  max-width: 62ch;
  line-height: 1.6;
  margin: 14px 0 0;
}

.product-detail-card__price-box {
  background-color: #f7f9fd;
  border-radius: 16px;
  margin-top: auto;
  padding: 14px 16px;
  position: static;
  text-align: left;
}

.product-detail-card__price-box p {
  margin: 0;
}

.product-detail-card__price-box .price {
  color: var(--bs-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-detail-card__price-box .priceVat {
  color: rgba(var(--color-rgb-main), 0.72);
  font-size: 1rem;
  font-weight: 400;
}

.product-detail-card__price-box .ppInfoLeft {
  color: rgba(var(--color-rgb-main), 0.8);
  font-size: 1.05rem;
  margin-top: 4px;
  text-align: left;
}

.product-detail-card__price-box .artNo {
  color: rgba(var(--color-rgb-main), 0.64);
  font-size: 1rem;
  margin-top: 6px;
}

.product-detail-card__cta {
  align-items: center;
  background: var(--bs-primary);
  border-radius: 999px;
  color: var(--color-white);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.product-detail-card__cta:hover {
  background-color: #1a2d63;
  color: var(--color-white);
  transform: translateY(-1px);
}

.prodbox {
  margin-bottom: 0;
}

.prodbox__card {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
  border: 1px solid rgba(var(--color-rgb-main), 0.1);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(var(--color-rgb-main), 0.09);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.prodbox__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(var(--color-rgb-main), 0.14);
  border-color: rgba(var(--color-rgb-main), 0.2);
}

.prodbox__media {
  align-items: center;
  background:
    radial-gradient(circle at 22% 14%, rgba(49, 235, 193, 0.16) 0, transparent 38%),
    linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid rgba(var(--color-rgb-main), 0.1);
  display: flex;
  aspect-ratio: 3 / 2;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.prodbox__media img {
  border-radius: 0;
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.prodbox__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.prodbox__title {
  line-height: 1.35;
  margin: 0;
}

.prodbox__title a {
  color: var(--bs-primary);
  display: -webkit-box;
  font-size: 1.02rem;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.prodbox__title a:hover {
  color: var(--color-darker-grey);
}

.prodbox__desc {
  color: rgba(var(--color-rgb-main), 0.78);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.prodbox__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prodbox__flag-icon {
  height: 28px;
  width: 28px;
}

.prodbox__meta {
  margin-top: auto;
}

.prodbox__price,
.prodbox__unit {
  margin: 0;
}

.prodbox__price {
  color: var(--bs-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.prodbox__vat {
  color: rgba(var(--color-rgb-main), 0.72);
  font-size: 1rem;
  font-weight: 400;
}

.prodbox__unit {
  color: rgba(var(--color-rgb-main), 0.8);
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 3px;
}

.prodbox__cta {
  align-items: center;
  background: var(--bs-primary);
  border-radius: 999px;
  color: var(--color-white);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.03em;
  margin-top: 8px;
  min-height: 40px;
  padding: 10px 12px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.prodbox__cta:hover {
  background-color: #1a2d63;
  color: var(--color-white);
  transform: translateY(-1px);
}

.col_right_detail {
  margin-left: 0;
}

.rightDetail {
  padding: 20px 0 28px;
  margin: 0;
}

.productImg {
  margin: 0;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.productImg_no-border {
  border: 0 !important;
  background: transparent;
  box-shadow: none;
}

.thumbs_bar {
  margin-top: 14px;
}

.prod_image_thumb {
  display: inline-block;
  margin-right: 0;
}

.prod_image_thumb:hover {
  cursor: pointer;
}

.prod_image_thumb > div {
  padding-bottom: 0;
}

.prod_options_row {
  margin-right: 0;
  display: flex;
  flex-wrap: wrap;
}

.options_and_cross > .row > div {
  padding-left: 10px;
  padding-right: 0;
  margin-bottom: 10px;
}

.options_and_cross {
  margin-top: 50px;
  margin-right: -20px;
  margin-left: 5px;
}

.options_and_cross > h2 {
  font-size: 1.4em;
  padding-bottom: 15px;
}

.prod_options_row .productImg::after,
.prod_crossselling_row .productImg::after {
  padding-bottom: 0;
}

.prod_options_row .productImg,
.prod_crossselling_row .productImg {
  width: 100%;
  auto: 100%;
  padding: 0 10px 150px 10px;
}

.prod_options_row .productImg im,
.prod_crossselling_row .productImg img {
  width: 100%;
}

.prod_options_row .error,
.prod_crossselling_row .error {
  position: absolute;
  bottom: 5px;
}

.prod_price_amount {
  bottom: auto;
  right: auto;
}

.rightDetail .productDetail {
  display: block;
  margin: 0;
  padding: 0;
}

.rightDetail .productDetail .productImg {
  margin: 0;
}

.rightDetail .price {
  font-size: 1.45rem;
  font-weight: bold;
}

.productDetail .prod_price_amount {
  position: static;
  text-align: left;
}

.prod_price_amount p {
  margin-bottom: 3px;
  color: var(--bs-primary);
}

.prod_price_amount p.ppInfoRight {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--bs-primary);
}

.prod_price_amount p.ppInfoLeft {
  font-size: 1em;
}

.prod_price_amount .ppInfoLeft {
  text-align: left;
}

.page_products .event_box,
.page_product_details .event_box {
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .productList {
    padding-left: 0;
  }

  .productList .row {
    row-gap: 14px;
  }

  .prodbox__title a {
    font-size: 1.08rem;
  }

  .productList > .row > div {
    padding-left: 4px;
    padding-right: 4px;
  }

  .productList .price {
    float: left;
    margin-top: 0;
  }

  .productList .ppInfo {
    clear: both;
  }

  .options_and_cross {
    margin-right: 0;
  }

  .product-detail-card {
    border-radius: 24px;
  }

  .product-detail-card__media-col,
  .product-detail-card__content-col {
    padding: 18px;
  }

  .product-detail-card__media-col {
    padding: 0;
  }
}

@media (max-width: 1199px) {
  .prodbox__body {
    padding: 14px;
  }

  .productDetail p {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .productList .row {
    row-gap: 12px;
  }

  .prodbox__card {
    border-radius: 20px;
  }

  .prodbox__body {
    padding: 14px;
  }

  .prodbox__cta {
    min-height: 38px;
  }

  .product-detail-card__row {
    display: block;
  }

  .product-detail-card__media-col {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--color-rgb-main), 0.1);
  }

  .product-detail-card__copy h1 {
    font-size: 1.35rem;
  }

  .product-detail-card__copy p {
    max-width: none;
  }

  .product-detail-card__price-box .price {
    font-size: 1.25rem;
  }

  .product-detail-card__cta {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .prodbox__title a {
    -webkit-line-clamp: 3;
  }
}
