:root {
  --cart-blue: #007bff;
  --cart-indigo: #6610f2;
  --cart-purple: #6f42c1;
  --cart-pink: #e83e8c;
  --cart-red: #d94646;
  --cart-orange: #fd7e14;
  --cart-yellow: #ffc107;
  --cart-green: #28a745;
  --cart-teal: #20c997;
  --cart-cyan: #17a2b8;
  --cart-white: transparent;
  --cart-gray: #9e9e9e;
  --cart-gray2: #E2E4E5;
  --cart-gray-dark: #5B5C5D;
  --cart-medium-gray:#CDCFD1;
  --cart-primary: #298f89;
  --cart-secondary: #74563b;
  --cart-success: #28a745;
  --cart-info: #17a2b8;
  --cart-warning: #ffc107;
  --cart-danger: #d94646;
  --cart-light: #f8f9fa;
  --cart-dark: #333231;
  --cart-full-black:#0C0C0B;
  --cart-silver:#8A8D8F;
  --cart-black:#302E2C;
  --cart-chery-red:#A6192E;
  --cart-breakpoint-xs: 0;
  --cart-breakpoint-sm: 576px;
  --cart-breakpoint-md: 768px;
  --cart-breakpoint-lg: 992px;
  --cart-breakpoint-xl: 1200px;
  --cart-font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --cart-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --cart-color-line: #f3f3ef;
  --cart-swiper-navigation-size: 44px;
  --cart-swiper-theme-color: #007aff;
  --cart-cherry-red:#A6192E;

  --cart-tabs-background:#0092ca;
  --cart-tabs-text:#FFFFFF;



  --basket-total-background-color:#ffffff;
  --basket-total-block-itogo-background-color:#F2F2F2;


}

.vi-oform-basket .basket-items-list-wrapper{
  border: 0px solid black;
}
#oformCart{
  margin-bottom: 30px;
}
.gr-global .gr-main{
  background-color: #E7EFF1;
}


.vi-oform-basket h1 {
  font-size: 26px;
  color: #444444;
  margin: 0 0 20px 0;
}

/* Корзина*/
.vi-cart {
  display: flex;
  width: 100%;
  height: fit-content;
  flex-direction: column;
}


.vi-cart-box {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
}

.vi-cart-title {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--cart-gray2);
  position: sticky;
  top: 60px;
  background: var(--cart-white);
  z-index: 1;
}
.vi-cart-title__item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.vi-cart-title__item:last-child {
  display: flex;
  justify-content: flex-end;
}

.vi-cart-total {

}
.vi-cart-total__container {
  height: 100%;
  border: var(--basket-item-border);
  background-color: var(--basket-total-background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 1px -10px 26px -3px rgba(34, 60, 80, 0.2);
}
.vi-cart-total__item {
  display: flex;
  align-items: center;
}
.vi-cart-total__title {
  color: var(--cart-full-black);
}
.vi-cart-total__inner {
  display: flex;
}
.vi-cart-total__element {
  display: flex;
}
.vi-cart-total__amount {
  color: var(--cart-gray-dark);
}
.vi-cart-total__cost {
  color: var(--cart-gray-dark);
}
.vi-cart-total__discount {
  display: flex;
  color: var(--cart-gray-dark);
}
.vi-cart-total__discount span {
  color: var(--cart-gray-dark);
}
.vi-cart-total__delivery {
  display: flex;
  color: var(--cart-gray-dark);
}
.vi-cart-total__delivery span {
  color: var(--cart-gray-dark);
}
.vi-cart-total__sum {
  color: var(--cart-full-black);
}
.vi-cart-total__button {
  display: flex;
  align-items: center;
  background: var(--cart-full-black);
  color: var(--cart-white);
  text-transform: uppercase;
}

.vi-total img {
  position: relative;
  cursor: pointer;
}



.vi-cart-panel {
  display: flex;
  flex-direction: column;
}
.vi-cart-panel__item {
  /*border-bottom: 2px solid var(--cart-gray2);*/
}
.vi-cart-panel__item:last-child {
  border: none;
}
.vi-cart-panel__title {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  cursor: pointer;
}

.vi-profile {
  display: flex;
  flex-direction: column;
}
.vi-profile__item {
  display: flex;
  flex-direction: column;
}
.vi-profile__item label span {
  color: var(--cart-full-black);
}
.vi-profile__item form {
  border: 2px solid #E2E4E5;
}
.vi-profile__item input[type=text] {
  height: 100%;
  width: 100%;
  border: none;
  color: var(--cart-full-black);
  outline: none;
}
.vi-profile__item input[type=number]::placeholder {
  color: var(--cart-medium-gray);
}
.vi-profile__item input[type=number]:focus {
  border: none;
}
.vi-profile__title {
  color: var(--cart-full-black);
}
.vi-profile__input-title {
  color: var(--cart-full-black);
}
.vi-profile__input-titleform {
  width: 100%;
}
.vi-profile__input-titleforminput[type=text] {
  width: 100%;
}

.vi-profile__select {
  position: relative;
  display: inline-block;
}

.vi-select__selected {
  background-color: var(--cart-white);
  color: var(--cart-full-black);
  border: 2px solid var(--cart-gray2);
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
}

.arrow-down {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.vi-select__items {
  position: absolute;
  background-color: var(--cart-white);
  flex-direction: column;
  max-height: 0;
  overflow-y: auto;
  width: 100%;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

#bx-soa-properties .vi-cart-panel__container .form-group {
  padding: 0;
  display: flex;
  gap: 0;
  flex-direction: column;
}
#bx-soa-order .bx-soa-section .form-group {
  position: relative;
}

#bx-soa-order .bx-soa-section .form-group.valid input {
  border-color: var(--oform-input-border-color);
}

.vi-cart__container .form-group{
  width: 100% !important;
  padding-bottom: 1.6666666667rem;
}
.form-group.bx-soa-location-input-container{
  flex-direction: column;
  display: flex;
}


#bx-soa-delivery .bx-soa-pp-item-container .row{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#bx-soa-delivery .bx-soa-pp-item-container .row .delivery-card{
  width: 50%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.bx-soa-pp-company-image{
  height: 50px;
}
.vi-select-item {
  background-color: var(--cart-white);
  color: var(--cart-full-black);
  border-bottom: 2px solid var(--cart-gray2);
  border-left: 2px solid var(--cart-gray2);
  border-right: 2px solid var(--cart-gray2);
  cursor: pointer;
}

.vi-profile__select.open .vi-select__items {
  max-height: 300px;
  opacity: 1;
}

.vi-profile__select.open .arrow-down {
  transform: translateY(-50%) rotate(180deg);
}

.vi-shipment__title {
  color: var(--cart-full-black);
}

.vi-transporter {
  display: flex;
}
.vi-transporter__container {
  display: flex;
  flex-direction: column;
}
.vi-transporter__title {
  display: flex;
}
.vi-transporter__details {
  display: flex;
  flex-direction: column;
}
.vi-transporter__description {
  display: flex;
  flex-direction: column;
  color: var(--cart-gray-dark);
}
.vi-transporter__price {
  display: flex;
  flex-direction: column;
  color: var(--cart-silver);
}
.vi-transporter__costs {
  text-transform: uppercase;
  color: var(--cart-full-black);
}

.vi-payoff__title {
  color: var(--cart-full-black);
}
.vi-payoff__inner {
  display: flex;
  flex-direction: column;
}
.vi-payoff__element {
  display: flex;
}
.vi-payoff__element span {
  color: var(--cart-gray-dark);
}

.vi-bayer {
  display: flex;
  flex-direction: column;
}
.vi-bayer__title {
  color: var(--cart-full-black);
}
.vi-bayer__inner {
  display: flex;
  flex-direction: column;
}
.vi-bayer__input-title {
  color: var(--cart-full-black);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
.vi-bayer__element {
  display: flex;
  flex-direction: column;
}
.vi-bayer__element form {
  border: 2px solid #E2E4E5;
}
.vi-bayer__element input[type=text] {
  height: 100%;
  width: 100%;
  border: none;
  color: var(--cart-full-black);
  outline: none;
}
.vi-bayer__element input[type=number]::placeholder {
  color: var(--cart-medium-gray);
}
.vi-bayer__element input[type=number]:focus {
  border: none;
}
.vi-bayer__element:last-child form {
  height: 96px;
  display: flex;
  flex-direction: column;
}
.vi-bayer__element:last-child form textarea {
  height: 100%;
  border: none;
  outline: none;
  padding: unset;
}
.vi-bayer__element:last-child form textarea::placeholder {
  color: var(--cart-medium-gray);
}

.vi-checkbox-container {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
}

.vi-checkbox-custom {
  opacity: 0;
}

.vi-checkbox-background {
  width: 30px;
  height: 30px;
  border: 2px solid var(--cart-gray2);
  border-radius: 50%;
  position: absolute;
  top: 0;
  cursor: pointer;
}

.vi-checkbox-custom:checked + .vi-checkbox-background {
  background-color: #A6192E;
}

.vi-checkbox-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vi-checkbox-custom:checked + .vi-checkbox-background .vi-checkbox-inner {
  display: block;
}

.vi-cart-panel__container {
  display: block;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}

.vi-cart-panel__container.vi-show {
  max-height: 1800px;
}


.vi-total .button{
  height: 25px;
}
#bx-soa-orderSave{
  display: none;
}

.bx-soa-sidebar {
  position: sticky !important;
  bottom: 0px;
  z-index: 250;
  width: 100%;
  height: auto;

  width: 100%;
  right: 1.3888888889rem;
}


@media(min-width:993px) {


  .bx-soa-sidebar .bx-soa-cart-total {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  /*bx-soa-total-item*/
  .bx-soa-sidebar .bx-soa-cart-total .bx-soa-total-item {
    width: 100%;
  }
  .bx-soa-total-title {

    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #0C0C0B;
    padding-bottom: 0px;
    border-bottom: none;
  }

  #basket-item-list{
    margin-bottom: 10px;
  }
}
@media(max-width:1600px){
  .bx-soa-sidebar {

    width: 100%;
  }
}
@media(max-width:1023px){
  .vi-cart__item.vi-payment.vi-modify{
    margin-bottom: 0px;
  }

  .vi-cart__item.vi-payment.vi-modify .vi-cart__container{
    height: 100% !important;
    overflow: auto !important;
    display: flex;
    position: static !important;
    flex-direction: column;
  }
  .bx-soa-wrapper{
    padding-left: 0px;
  }
  .bx-soa-sidebar {
    /*position: sticky !important;*/
    bottom: 0px;
    z-index: 250;
    /*width: 100%;
    width: calc(100%);*/
  }
  .vi-cart-total__discount,.vi-cart-total__sumvi-cart-total__delivery,.vi-cart-total__sum,.vi-cart-total__cost,.vi-cart-total__cost,vi-cart-total__inner > div{
    flex-direction: row !important;
    flex-wrap: nowrap;
  }
  .vi-cart-total__cost{
    white-space: nowrap;
  }
  .bx-soa-sidebar .bx-soa-cart-total{
    align-items: stretch;
    flex-direction: column;
  }
  .vi-cart-total__title{
    width: 100%;
    text-align: center;
  }
  .vi-cart-total__item{
    align-items: start;
    flex-direction: column;
  }
  .vi-cart-total__inner{
    width: 100%;
  }
  .vi-cart-total__button{
    justify-content: center;
    width: 100%;
    background: var(--cart-white);
  }
  .vi-cart-total__button .btn{
    width: 50%;
    max-width: 280px;
    display: flex;
    justify-content: space-between;
  }
  .vi-cart-total__inner{
    justify-content: center;
  }


}
@media(min-width:770px){
  .vi-main-box .mobile-view-only{
    display: none;
  }
}

#basket-item-list,.vi-cart__item.vi-payment.vi-modify .vi-cart__container{
  background: var(--cart-white);
}


.d-none{
  display: none;
}

.vilka-filter-buttons-wrapper{
  display: none;
}
@media(max-width:993px) {
  .bx-soa-sidebar {
    width: 100%;
  }
}
@media(max-width:1023px){
  .vilka-filter-buttons-wrapper {
    width: 100%;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 30px;
    padding-top: 20px;
    gap: 40px;
  }
  .vilka-filter-button {
    position: relative;
    padding-bottom: 10px;
    color: #0C0C0B;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s ease-out;
    display: block;
    width: 50%;
  }
  .vilka-filter-button:hover {
    opacity: .7;
  }
  .vilka-filter-button:last-child {
    margin-right: 0;
  }
  .vilka-filter-button:before,
  .vilka-filter-button:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    transition: .3s ease-out;
    width: 100%;
    height: 4px;
    background: #0C0C0B;
    opacity: .2;
  }
  .vilka-filter-button:after {
    width: 0;
    opacity: 1;
  }
  .vilka-filter-button.active:after {
    width: 50%;
  }
  .vi-cart-box .vi-hidden-cart{
    display: none;
  }


  .vi-cart-total__inner .vi-cart-total__inner{
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
  }
  .vi-cart-total-title-value{
    white-space: nowrap;
  }

  #bx-soa-total.vi-cart-total .vi-cart-total__container{
    padding: 16px;
    border-radius: 0px;
    background-color: white;
    border-width: 0px !important;
    border-top: 1px solid var(--light-gray) !important;
  }

}
.vi-show{
  animation:none;
}


/* custom  */
.vi-cart-total__delivery{
  display: none !important;
}


@media(max-width: 1023px) {
  .vilka-filter-buttons-wrapper .vilka-filter-button.active {
    background: var(--cart-tabs-background);
    color: var(--cart-tabs-text);
  }
  .vilka-filter-buttons-wrapper {
    margin-bottom: 24px!important;
    border-radius: 8px;
    border: 1px solid var(--cart-tabs-background);
    overflow: hidden;
    display: grid!important;
    grid-template-columns: 1fr 1fr;
    height: 40px;
    padding: 0!important;
    gap: 0!important;
  }
  .vilka-filter-buttons-wrapper .vilka-filter-button:before,
  .vilka-filter-buttons-wrapper .vilka-filter-button:after {
    display: none;
  }
  .vilka-filter-buttons-wrapper .vilka-filter-button {
    width: 100%;
    min-width: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--basket-font-family);
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 150%;
    text-transform: uppercase;
    padding: 0;
    height: 100%;
    color: var(--black);
  }
  .vi-oform-basket h1{
    display: none;
  }

}
