.tx-accommodation-cart-details-overview {
  max-width: 870px;
  border-radius: 4px;
  margin-bottom: 18px;

  p {
    padding-bottom: 16px;
  }

  .cart_detail_title,
  .book_promo,
  .line-separator.after-promo,
  .gift_vouchers,
  .gift-vouchers-consumed,
  .gift-voucher-consume-form,
  .stay_total
  {
    display: none;
  }

  .stay_detail {
    .occupant-section-title,
    .single_stay_total_label,
    .single_stay_total_price_value,
    .stay_prods_desc,
    .cart_item_nights,
    .stay_resource_desc,
    .stay_price,
    .stay_payor,
    .remove-from-cart{
      display: none;
    }

    .cart-edit-icon-wrapper { margin-left: auto; }
    .cart-edit-icon-wrapper a { display: inline-flex; height: 100%; }

    .pax_items {
      display: flex;
      margin-bottom: 8px;
      color: #444444;
      font: normal normal normal 18px/20px 'Newsreader', sans-serif;

      .pax_item {
        margin-right: 20px;
        display: flex;

        &::before {
          content: "";
          height: 50px;
          width: 35px;
        }

        label {
          color: #444444;
          font: normal normal bold 17px/20px 'Newsreader', sans-serif;
        }

        .pax_select {
          line-height: 50px;
        }
        .select-spinner {
          display: inline;
          height: 50px;

          .select-spinner-btn {
            display: none;
          }
          .test-spinner-input {
            height: 50px;
            max-width: 25px;
            color: #444444;
            font: normal normal bold 17px/20px 'Newsreader', sans-serif;
          }
        }
      }

      .pax_item:first-child {
        &::before {
          background: url('/static_assets/wabs_accommodation/Icons/dropdown-number-of-visitors-adults.svg');
          background-repeat: no-repeat;
          background-position: center;
        }
      }
      .pax_item:nth-child(2) {
        &::before {
          background: url('/static_assets/wabs_accommodation/Icons/dropdown-number-of-visitors-children.svg');
          background-repeat: no-repeat;
          background-position: center;
        }
      }
      .pax_item:nth-child(3) {
        &::before {
          background: url('/static_assets/wabs_accommodation/Icons/dropdown-number-of-visitors-babies.svg');
          background-repeat: no-repeat;
          background-position: center;
        }
      }
    }

    .extra_prod_section_desc {
      font: normal normal 500 29px/36px 'Newsreader', sans-serif;
      margin-bottom: 21px;
      color: #444444;
    }

    .stay_summary_text {
      font: normal normal bold 18px/20px 'Newsreader', sans-serif;
      margin: 15px 0;
      color: #444444;
      display: inline-block;
    }

    .cart_item_dates {
      display: inline-block;
      font: normal normal 800 17px/22px 'Newsreader', sans-serif;
      color: #7F7D7D;
      margin-left: 6px;
      margin-bottom: 15px;
    }

    .acc_content
    {
      color: #444444;

      .acc_content {
        background: #ffffff;
        padding: 30px 24px 30px 26px;
        margin-bottom: 10px;
      }

      .acc_header {
        background-color: #d08e78;
        color: #ffffff;
        padding: 18px 28px 19px 30px;
        margin: 0 0 9px 0;
        height: 65px;
        border-radius: 4px;
        display: flex;
        letter-spacing: 0;
        text-align: left;

        .acc_icon {
          order: 2;
          margin-left: auto;
        }
        .acc_title {
          order: 1;
          font: normal normal 400 23px/28px 'Newsreader', sans-serif;
        }

        .acc_icon.icon-booking-engine-arrow-top,
        .acc_icon.icon-booking-engine-arrow-down {
          color: #FFFFFF;
        }
      }

      .category_text_desc p{
        font: normal normal normal 17px/24px 'Newsreader', sans-serif;
        letter-spacing: 0px;
        margin-bottom: 0;
        padding-bottom: 0;

        &:last-child {
          padding-bottom: 28px;
        }
      }

      .extra_prod.acc_leaf {
        border-top: 1px #DCDCDC solid;
        padding: 28px 0px 28px 0px;
        flex-flow: row wrap;
        display: flex;
        align-items: center;

        &:last-child{
          border-bottom: 1px #DCDCDC solid;
        }

        .select-spinner {
          order: 3;
        }
        .extra_prod_label {
          order: 1;
          width: fit-content;
          height: fit-content;
          padding-right: 20px;
          border-right: 2px #ECECEC solid;
          font: normal normal 800 18px/30px 'Newsreader', sans-serif;
        }
        .extra_prod_price {
          order: 2;
          padding-left: 20px;
          color: #d08e78;
          font: normal normal 800 18px/30px 'Newsreader', sans-serif;
          margin-left: auto;
          margin-right: 20px;
        }
        .extra_prod_desc {
          order: 3;
          padding-top: 5px;
          p {
            font: normal normal 400 16px/20px 'Newsreader', sans-serif;
          }
        }
      }


    }

    .select-spinner {
      height: 33px;


      .select-spinner-btn {
        background: #ECECEC;
        height: 33px!important;
        width: 33px;
        line-height: initial;
        text-align: center;
        justify-content: center;
        align-items: center;

        font: normal normal normal 18px/25px 'Newsreader', sans-serif;

        .icon-booking-engine-spinner-less {
          &::before {
            content: "-";
            position: relative;
            top: -1px;
            font-weight: 700;
            font-family: 'Newsreader', sans-serif;
            font-weight: 600;
            font-size: 18px;
            opacity: 0.77;
          }
        }
        .icon-booking-engine-spinner-more {
          &::before {
            content: "+";
            position: relative;
            top: -1px;
            font-weight: 700;
            font-family: 'Newsreader', sans-serif;
            font-weight: 600;
            font-size: 18px;
            opacity: 0.77;
          }
        }

        &.empty {
          background-color: transparent;
          color: #b6b6b6;
        }
      }

      .test-spinner-input {
        max-width: 38px;
        font-size: 13px;
        background: transparent;
        font: normal normal 800 16px/30px 'Newsreader', sans-serif;
      }
    }

  }

  // Séjour flexible — Oui/Non choice buttons
  .flex-oui-non-wrapper {
    margin: 16px 0;

    .flex-oui-non-btn {
      display: flex;
      align-items: center;
      cursor: pointer;
      padding: 8px 0;
      font: normal normal normal 17px/24px 'Newsreader', sans-serif;
      color: #444444;

      .flex-oui-non-checkbox {
        width: 18px;
        height: 18px;
        border: 2px solid #444444;
        margin-right: 12px;
        flex-shrink: 0;
        display: inline-block;
        position: relative;
      }

      &.selected .flex-oui-non-checkbox::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        background-color: #d08e78;
      }
    }
  }

  // Séjour flexible section — when moved into .stay_item via JS, reset Asterio global flex layout
  .file_extra_prods_title {
    .extra_prod {
      display: block !important;
      flex-flow: unset;
      border-top: none;
      padding: 10px 0;
    }

    .extra_prod_label {
      order: unset;
      width: auto;
      border-right: none;
    }

    .extra_prod_price {
      order: unset;
      padding-left: 0;
      margin-left: 0;
      margin-right: 0;
    }

    .file_extra_prods_desc,
    .extra_prod_section_desc {
      font: normal normal normal 17px/24px 'Newsreader', sans-serif !important;
      color: #444444;
      margin-bottom: 8px;

      a {
        font-weight: normal;
        color: #444444;
        text-decoration: underline;
      }
    }
  }

  .reservation-item-seperator {
    border-bottom: 1px solid #A2A2A2;
  }

  .line-separator {
    padding: 3px;
  }
}

#acc_771 .acc_header::before,
#acc_772 .acc_header::before,
#acc_738 .acc_header::before,
#acc_739 .acc_header::before,
#acc_773 .acc_header::before {
  padding-right: 15px;
  position: relative;
  top: 5px;
}

#acc_771 {
  .acc_header::before {
    content: url("/static_assets/wabs_accommodation/Icons/optimization-festive.svg");
  }
}

#acc_772 {
  .acc_header::before {
    content: url("/static_assets/wabs_accommodation/Icons/optimization-restaurant.svg");
  }
}

#acc_738 {
  .acc_header::before {
    content: url("/static_assets/wabs_accommodation/Icons/optimzation-aperitif.svg");
  }
}

#acc_739 {
  .acc_header::before {
    content: url("/static_assets/wabs_accommodation/Icons/optimization-aperitiv.svg");
  }
}

#acc_773 {
  .acc_header::before {
    content: url("/static_assets/wabs_accommodation/Icons/optimization-romantic.svg");
  }
}

.sqs .acc_node_lvl_0:not(:last-child) {
  border-bottom: none!important;
}

//TODO possible duplicates:
// 1. everything with .select-spinner (e.g. .icon-booking-spinner-less)
// 2. .display-flex
// 3. fonts

.ast-cart-heading {
  text-align: left;
  font: normal normal bold 29px/36px 'Newsreader', sans-serif;
  color: #444444;
  letter-spacing: 0;
  padding-bottom: 15px;
}

@include media-breakpoint-down(md){
  .tx-accommodation-cart-details-overview .stay_detail {
    .acc_content .extra_prod.acc_leaf {
      .extra_prod_label {
        border: none;
        width: 100%;
      }

      .extra_prod_price {
        padding-left: 0;
      }
    }

    label.pax_select {
      display: none;
    }
    .pax_item {
      flex-grow: 1;
    }
  }
}

@include media-breakpoint-down(sm){
  .tx-accommodation-cart-details-overview .stay_detail .cart_item_dates{
    margin-left: 0;
  }
}
