a {
  color: black;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

a:hover,
a:focus {
  color: var(--color-main);
}

.cart-confirm-btn:hover,
.cart-checkout-btn:hover {
  color: white;
}

.form-control {
  background-color: white !important;
}

.rounded {
  border-radius: 14px;
}

.border {
  border: 1px solid hsla(228, 14%, 93%, 1);
}

.delete-all_container {
  padding: 20px 25px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.cart-product_link {
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}
.cart-product_link-red:hover {
  color: red;
  transition: var(--transition);
}

.cart-product_link:hover svg path {
  stroke: red;
  transition: var(--transition);
}

.favorite_icon,
.delete-all_icon {
  margin-right: 25px;
}

.product-cart_container {
  display: flex;
  justify-content: space-between;
  padding: 40px 40px 40px 20px;
  border-radius: 14px;
  align-items: center;
  gap: 30px;
}

.product-cart_product {
  display: flex;
  align-items: center;
  gap: 30px;
}

.product-cart_desc {
  display: flex;
  flex-direction: column;
}

.product-cart_name,
.proudct-cart_price {
  margin-bottom: 15px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}

.proudct-cart_price {
  white-space: nowrap;
  display: block;
  margin-bottom: 33px;
}

.product-cart_code {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: rgba(99, 99, 99, 1);
  margin-bottom: 15px;
}

.product-cart_btn {
  display: flex;
  gap: 55px;
}

@media (max-width: 991px) {
  .product-cart_btn {
    gap: 40px;
  }
}

.product-cart_btn-quantity {
  display: flex;
  justify-content: flex-end;
}
.popup-cart__quantity {
  padding: 0px;
}
.cart-product_quantity,
.form-control-quantity,
.product-quantity {
  border: none;
  background-color: transparent;
}
.product-quantity {
  border-radius: 5px;
  background: #ffffff;
  width: 100%;
  /* height: 30px; */
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}
.cart-product_gift {
  position: relative;
  /* top: 75px; - ломает в checkout */
  padding: 40px 20px;
  margin-top: 70px;
  min-width: 370px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1200px) {
  .cart-product_gift {
    position: sticky;
    top: 100px;
  }
}
.cart-product_gift-conteiner {
  padding: 14px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-panel-cart);
}

.cart-confirm-btn {
  padding: 20px;
  background: var(--color-main);
  color: white;
  margin-bottom: 30px;
  width: 100%;
  border: none;
  display: block;
}

.cart-product_label {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.cart-product_label:nth-child(1) {
  margin-bottom: 5px;
}

.cart-gift-certificate_conteiner {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 20px;
}

.cart-order_totals {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}
.cart-order_products {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cart-order_total {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}
.cart-order_product {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;
}
.panel-heading {
  padding: 24px 45px 30px 45px;
}

.cart-checkout_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cart-checkout_link > a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-checkout_link > .text-h3.collapsed:hover,
.cart-checkout_link > .text-h3.collapsed:focus {
  color: var(--color-main);
}

.panel-heading,
.panel-group .panel-heading + .panel-collapse > .panel-body {
  background-color: unset !important;
  border: unset !important;
}

.panel-body {
  padding: 25px;
}

.contant-payment_container {
  margin-bottom: 40px;
}

.cart-checkout-btn {
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  color: white;
  max-width: 340px;
  padding: 18px;
  display: block;
  text-wrap: nowrap;
  margin: 0 auto;
}

.panel-group .panel {
  border-radius: 20px;
  margin-bottom: 15px;
}

.cart-delivery_container {
  margin-bottom: 30px;
}

.cart-checkout_select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  border: 1px solid #ece9e9;
  width: 100%;
  padding: 12px 12px 12px 74px;
  position: relative;
  margin-bottom: 30px;
  background-image: url(../../../../../image/cart/caret-down.png);
  background-repeat: no-repeat;
  background-position: right;
  background-position-x: 95%;
}

.cart-delivery_radio {
  direction: rtl;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 39px;
}

.cart-delivery_radio-label {
  display: flex;
  flex-direction: column;
  text-align: end;
}

.radio-not-checked {
  border: 1px solid rgba(222, 224, 229, 1);
}

.radio-checked {
  border: 1px solid var(--color-main);
}

.review-header {
  border-bottom: 1px solid #e9e7e7;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.review-header-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}
.review-header-btn {
  height: 100%;
  padding: 15px 20px;
  background-color: var(--color-main);
  color: #fff;
  border-radius: 15px;
  border: none;
  cursor: pointer;
}
.review-header-btn:hover {
  background-color: var(--hover-add);
}
input[type='radio'] {
  display: none;
}

input[type='radio'].visible-radio {
  display: block;
}

.review-row {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: start;
}

.review-star-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-inline: 20px;
}
@media (max-width: 510px) {
  .review-star-row {
    padding-inline: 0 !important;
  }
}

.review-label {
  margin-left: 20px;
  margin-bottom: 15px !important;
}

input[type='radio'] + label {
  display: flex;
  cursor: pointer;
}

input[type='radio'] + label:before {
  content: '';
  display: flex;
  position: relative;
  border-radius: 50%;
  border: 1.5px solid rgba(222, 224, 229, 1);
  width: 20px;
  height: 20px;
  margin: 0;
}

input[type='radio']:checked + label:before {
  background-image: url('../../../../../image/cart/radio-check.png');
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-main);
}

.google-map_container {
  padding: 10px;
}

#google_map {
  min-height: 324px;
  background-image: url(../../../../../image/cart/google-map.png);
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 30px;
}

.cart-together {
  position: relative;
}

.cart-together_input-btn {
  position: relative;
}

input#cart-together {
  padding: 12px 163px 12px 12px;
}

.cart-together_btn {
  position: absolute;
  height: 37px;
  width: 155px;
  right: 20px;
  top: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-together_container {
  margin-bottom: 30px;
}

.input-container {
  margin-bottom: 10px;
}

.input-container input[type='checkbox']:not(old) {
  opacity: 1;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
}

.input-container label {
  position: relative;
}

.input-container label::after {
  /* content: ""; */
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 3px;
  border: 1px solid black;
  transform: rotate(0);
  pointer-events: none;
  text-align: center;
  color: #fff;
}

.input-container input[type='checkbox']:checked + label:after {
  /* content: "\2713"; */
  color: var(--color-main);
}

.cart-use-gift_container .input-container label::after {
  bottom: -2px;
  right: 3px;
}

.cart-use-gift_container {
  display: flex;
  gap: 5px;
  margin-bottom: 25px;
}

label[for='use-gift'],
label[for='use-gift'] + span {
  flex: 1 0 auto;
}

.cart-together_title {
  display: block;
  margin-bottom: 30px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
}

.cart-payment_radio {
  padding: 20px 36px 20px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.cart-delivery-addres_radio {
  padding: 20px 36px 20px 36px;
  display: flex;
  align-items: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.text-main-color {
  color: var(--color-main);
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background: var(--color-main);
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(246, 246, 246, 1);
  border: 1px solid rgba(232, 232, 232, 1);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(246, 246, 246, 1);
  border: 1px solid rgba(232, 232, 232, 1);
  cursor: pointer;
}

.slidecontainer {
  display: none;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
}
.slidecontainer.active {
  display: flex;
}

.range-value {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(229, 229, 229, 1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-saved {
  background-color: var(--color-panel-cart);
  border: none;
}

.cart-info-saved {
  margin: unset;
  width: 123px !important;
  position: relative;
  top: 15px;
  display: block !important;
}

.cart-info-saved:hover,
.cart-info-saved:focus {
  color: white !important;
}

.proudct-cart_price_container_mob {
  display: none;
}

.cart-info-saved-mob {
  display: none;
}

.contant-payment_container .col-md:nth-last-child(1) {
  margin-bottom: 40px;
}

.cart-payment_radio img,
.cart-delivery-addres_radio img {
  height: 24px;
  object-fit: contain;
}

.cart-delivery-radio_conteiner {
  display: flex;
  gap: 20px;
}

.ukrposhta_conteiner label,
.ukrposhta_conteiner select,
.ukrposhta_conteiner .row {
  margin-bottom: 20px;
}

.input-container label[for='remember-addres']::after {
  content: '';
  position: absolute;
  top: 0px;
  left: -25px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid black;
  transform: rotate(0);
  pointer-events: none;
  text-align: center;
  color: #fff;
}

.customCheckbox {
  display: flex;
}

/* responsive */
@media (max-width: 767px) {
  .favorite_icon,
  .delete-all_icon {
    margin-right: 20px;
  }

  .product-cart_btn {
    justify-content: space-between;
  }

  .favorite_text {
    flex: 1 0 auto;
  }

  .panel-heading {
    padding: 24px 20px;
  }

  .panel-body {
    padding: 10px;
  }

  .contant-payment_container .col-md {
    margin-bottom: 16px;
  }

  .panel-title {
    display: flex;
    flex-direction: column;
  }

  /* .cart-checkout_link  {
        margin-bottom: 20px;
    } */

  /* .cart-info-saved {
        display: none !important;

    } */

  /* .cart-info-saved-mob {
        display: block;
        width: 120px;
    } */

  .cart-checkout_saved {
    margin-bottom: 24px;
  }

  /* .cart-info-saved-mob {
        margin: 0 auto;
    } */

  /* .cart-delivery_radio {
        margin-bottom: 24px;
    } */

  .cart-payment_radio,
  .cart-delivery-addres_radio {
    padding: 20px;
    gap: 10px;
  }

  .cart-payment_radio label,
  .cart-delivery-addres_radio label {
    text-wrap: nowrap;
  }
}
@media (max-width: 650px) {
  .proudct-cart_price_container {
    display: none;
  }
  .proudct-cart_price_container_mob {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  .product-cart_container,
  .product-cart_product {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cart-info-saved {
    display: none;
  }
  .cart-info-saved-mob {
    width: 123px;
    margin: 0px auto;
    padding: 13px;
    transition: var(--transition);
    cursor: pointer;
  }
  .cart-info-saved-mob:hover {
    background: var(--hover-add);
    transition: var(--transition);
  }
}

.test-star {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-review {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.btn-review-back {
  max-height: 56px;
  padding: 15px 30px;
  background-color: transparent;
  color: #000;
  border: 1px solid #e9e7e7;
}

.btn-review-send {
  max-height: 56px;
  padding: 15px 30px;
  background-color: var(--color-main);
  color: #fff;
  border: 1px solid var(--color-main);
  transition: var(--transition);
}
.btn-review-send:hover {
  background-color: var(--hover-add);
}
@media (max-width: 510px) {
  .btn-review-send,
  .btn-review-back {
    padding: 11px 22px;
    border-radius: 20px;
  }
}
.empty-review {
  margin-top: 60px;
  margin-bottom: 20px;
}

.empty-review-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 0px;
}

.empty-review-description {
  max-width: 455px;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 15px;
}

.radio-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
  text-align: center;
  margin-bottom: 0px;
  /* Збільшує розмір іконки */
}

.radio-wrapper input[type='radio'] {
  display: none; /* Приховує стандартний радіо інпут */
}

.radio-wrapper .custom-radio {
  position: relative;
  display: inline-block;
}

.radio-wrapper input[type='radio']:checked + .custom-radio::before {
  content: '\f005'; /* Unicode символ для зірочки */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: gold;
  /* font-size: 60px; */
}

.radio-wrapper .custom-radio::before {
  content: '\f006'; /* Unicode символ для порожньої зірочки */
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  color: grey;
  /* font-size: 30px; */
}
@media (min-width: 320px) {
  .radio-wrapper .custom-radio::before {
    font-size: 25px;
  }
}
@media (min-width: 440px) {
  .radio-wrapper .custom-radio::before {
    font-size: 30px;
  }
}
@media (min-width: 510px) {
  .radio-wrapper .custom-radio::before {
    font-size: 40px;
  }
}
@media (min-width: 610px) {
  .radio-wrapper .custom-radio::before {
    font-size: 40px;
  }
}
@media (min-width: 768px) {
  .radio-wrapper .custom-radio::before {
    font-size: 50px;
  }
}
@media (min-width: 900px) {
  .radio-wrapper .custom-radio::before {
    font-size: 60px;
  }
}

.rate-text {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .rate-text {
    font-size: 12px !important;
  }
}
.review-text-area {
  height: 180px !important;
}

.cart {
  padding: 0 15px;
}

.count-p {
  left: 20px !important;
  top: 5px !important;
}

@media (max-width: 576px) {
  .count-p {
    left: 5px !important;
    top: 5px !important;
  }
}

.cart-container {
  display: flex;
  gap: 50px;
}
.cart-container > #content {
  width: 100%;
}
.cart-product_gift-mobile-btn {
  display: none;
}
@media (max-width: 1199px) {
  .cart-container {
    flex-direction: column;
  }
  .cart-product_gift {
    margin-top: 0px;
  }
}
@media (max-width: 576px) {
  .cart-product_gift-sticky {
    position: sticky;
    /* bottom: -20px; */
    bottom: -190px;
    background-color: white;
    box-shadow: 0 0 24px 0 rgba(99, 99, 99, 0.26);
    transition: all 0.5s ease-in-out;
  }
  .cart-product_gift-sticky.active {
    bottom: -20px;
  }
  .cart-product_gift {
    padding: 24px 20px;
  }
  .cart-product_gift-conteiner {
    order: 2;
  }
  .cart-confirm-btn {
    order: 1;
  }
  .cart-order_total {
    order: 3;
  }
  .cart-product_gift-mobile-btn {
    background-color: var(--color-main);
    padding: 8px 48px;
    border-radius: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    margin-inline: auto;
  }
  .mobile-arrow {
    transition: all 0.3s ease-in;
    line-height: 1;
    font-size: 11px;
  }
}

.related-products__title {
  color: #2d2d32;
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  margin: 40px 0 20px;
}
.related-products__block {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.related-products__card {
  position: relative;
  padding: 15px;
  background: #fff;
  transition: 0.2s ease-in-out;
  border-radius: 16px;
  border: 1px solid #ededed;
  /* height: 100%; */
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  flex-direction: column;
  flex: 1 1 25%;
  max-width: calc(25% - 15px);
  justify-content: space-between;
}
.related-products__card:hover {
  border-color: #fff;
  box-shadow: 0 0 12px rgb(152 162 179 / 15%), 0 0 4px rgb(152 162 179 / 15%),
    0 0 2px rgb(152 162 179 / 15%);
}
.related-products__card a {
  display: block;
  text-decoration: none;
}
.related-products__card-button {
  padding: 10px 20px;
  background: var(--color-main);
  color: white;
  margin-top: 20px;
  width: 100%;
  border: none;
  display: block;
  border-radius: 14px;
  text-align: center;
  transition: var(--transition);
}
.related-products__card-button:hover {
  background: var(--hover-add);
  color: white;
}
@media (max-width: 992px) {
  .related-products__card {
    flex: 1 1 33%;
    max-width: calc(33% - 12px);
  }
}
@media (max-width: 576px) {
  .related-products__card {
    flex: 1 1 50%;
    max-width: calc(50% - 10px);
  }
}
