.is-active-route-frontend-detail-page {

  .cms-section-sidebar {
    .cms-section-sidebar-sidebar-content.col-lg-4.col-xl-3,
    .cms-section-sidebar-main-content.col-lg-8.col-xl-9 {
      @include media-breakpoint-up(lg) {
        width: 50%;
      }
    }

    .cms-section-sidebar-sidebar-content {
      @include media-breakpoint-up(lg) {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
      }
    }

    .product-heading-name-container {
      .lage {
        font-size: rfs-value(22px);
      }

      h1 {
        padding: .4rem 0;
        font-size: rfs-value(28px);
        margin: 0;
      }

      .weinlinie {
        color: $primary;
        font-size: rfs-value(22px);

        &::before {
          content: open-quote;
        }

        &::after {
          content: close-quote;
        }
      }
    }

    .cms-section-sidebar-main-content .cms-block-gallery-buybox {
      padding: 0 20px;

      @include media-breakpoint-up(lg) {
        .product-detail-media {
          display: none;
        }
        .product-detail-buy {
          width: 100%;
          background-color: $light-gray-300;
          padding: 2rem 2.5rem 3rem;
          line-height: normal;

          p {
            margin-bottom: 0;
          }

          .buy-widget-container {
            display: flex;
            flex-wrap: nowrap;
            justify-content: flex-end;
            align-items: stretch;
            gap: 1rem;

            width: 50%;
            float: right;

            .input-group {
              flex: 0 0 4rem;

              .form-select {
                border: 2px solid $primary;
              }

              input[type="hidden"] {
                flex: 0;
              }
            }

            .btn-buy {
              flex: 1 0 auto;
              font-size: rfs-value(15px);
              padding: .25rem 1rem;

              .fa-cart {
                font-size: rfs-value(22px);
                margin-right: 1rem;
              }
            }
          }

          .product-detail-price {
            font-size: rfs-value(40px);
            line-height: 100%;
            font-family: $font-secondary;
            font-weight: 400;
            margin-bottom: 1.5rem;
          }

          .product-detail-price-unit, .product-detail-tax-container {
            font-size: rfs-value(15px);
          }
        }
      }


      .product-detail-delivery-information {
        padding: 2rem 0;
        margin: 0;

        .delivery-information {
          .delivery-status-indicator {
            border-radius: 0;
            height: 13px;
            width: 13px;
          }
        }
      }

      ul#buybox-benefits {
        background: white;
        margin: 0;
        padding: 1.5rem;
        list-style: none;
        display: grid;
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr;
        font-size: rfs-value(15px);
        line-height: rfs-value(20px);

        > li {
          display: flex;
          gap: 0.5rem;

          svg {
            flex-shrink: 0;
          }
        }
      }
    }
  }

  .tab-content {
    padding: 0;
    background-color: transparent;
  }

  #wine-info {
    background-color: $light-beige;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 2rem;
    margin: 0 0 2.5rem;

    h4 {
      font-family: $font-primary;
      font-size: rfs-value(18px);
      margin: 0;
    }

    p {
      padding-top: 0.5rem;
      font-size: rfs-value(15px);
      margin: 0;
    }
  }

  .product-detail-properties-container {
    margin: 0;
    background-color: $light-beige;
    padding: 1rem 2rem;

    h3 {
      text-transform: uppercase;
      font-family: $font-primary;
      font-size: rfs-value(18px);
      padding: 0;
      margin: 0 0 1.5rem;
    }

    table.product-detail-properties-table {
      padding: 0;
      display: inline-block;
      tr {
        border-bottom: 1px solid;
      }

      tr:last-child {
        border-bottom: none;
      }

      th {
        padding-right: 2.5rem;
      }
      td {
        padding-right: 1rem;
        color: $dark;
      }

      th, td {
        background: transparent;
      }

      th.properties-label {
        font-family: $font-primary;
      }
    }
  }

  .card-tabs {
    .card-header {
      padding: 0;
    }

    .nav-item {
      margin: 0;
    }

    .card-body {
      padding: 0;
    }
  }
}

//.is-ctl-product {
//  nav[aria-label="breadcrumb"] {
//    display: none;
//  }
//
//  .product-detail {
//    padding-top: 2.5rem;
//    @include media-breakpoint-up(md) {
//      padding-top: 3.5rem;
//    }
//
//    .product-detail-content {
//      .product-detail-delivery-information:not(:has(p)) {
//        display: none;
//      }
//
//      .product-detail-price-container {
//        p.product-price.product-detail-price {
//          @include font-size(40px);
//          margin: 0;
//        }
//      }
//
//      .buy-widget-container {
//        flex-flow: nowrap;
//      }
//
//      .product-detail-tax-container {
//        p.product-detail-tax {
//          font-size: 0.75rem;
//
//          a.product-detail-tax-link {
//            color: $body-color;
//
//            &:hover {
//              color: $primary;
//            }
//          }
//        }
//      }
//    }
//
//    .product-detail-cross-selling {
//      h2 {
//        @extend %special-headline;
//      }
//    }
//  }
//}
//
//
//#productDetailPageBuyProductForm {
//  .row.g-2.mt-0.justify-content-end {
//    justify-content: flex-start !important;
//    padding-left: calc((var(--bs-gutter-x) * .25) + 25%) !important;
//
//    .paypal-buttons {
//      width: 189px;
//    }
//  }
//
//  .btn-buy {
//    width: 189px;
//  }
//}