p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  pointer-events: none;
}

/* .btn-group .btn-block {
  position: relative;
} */
.none {
  display: none !important;
}

.no-scroll {
  overflow: hidden !important;
  height: 100%;
  touch-action: none;
}

html:has(.no-scroll) {
  overflow: hidden !important;
}

.oerlay_cart {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 49;
}

.cart_modal {
  width: 715px;
  padding: 25px 30px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  background-color: white;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.visible {
  right: -300%;
}

/* заголовок */
.cart_block-title {
  position: static;
  padding-bottom: 15px;
  font-size: 35px;
  line-height: 120%;
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  font-family: 'Fixel Display', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #0f0f0e;
  border-bottom: 1px solid #e0e0e0;
}

.cart_block-title-high {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart_modal-info {
  font-family: var(--second-family);
  text-transform: uppercase;
  flex: 1;
  overflow-y: auto;
}

.cart_title {
  font-weight: 400;
  font-size: 35px;
  line-height: 120%;

  color: #0f0f0e;
}

.cart_button {
  background-color: transparent;
  margin: 0;
  padding: 0;
  border: none;
}

/* карта */
.cart_order-wrapper {
  padding: 20px 0;
  max-height: 578px;
  overflow-y: auto;
}

.cart_order-wrapper--empty {
  max-height: none;
}

.cart_empty {
  text-align: center;
  padding: 60px 20px 40px;
}

.cart_empty-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  color: #0f0f0e;
  margin: 0 0 12px;
}

.cart_empty-subtitle {
  font-size: 14px;
  line-height: 150%;
  color: #5e5e5e;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.cart_empty-btn {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  padding: 12px 0;
  font-family: 'Fixel Display', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: #0f0f0e;
  border: 1px solid #0f0f0e;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cart_empty-btn:hover {
  background: #0f0f0e;
  color: #fff;
}

.cart_empty-products {
  margin-top: 20px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.cart_order-title {
  margin: 0;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #0f0f0e;
}

.cart_order {
  display: flex;
  gap: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.cart_order-img {
  width: auto;
  height: 190px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart_order-text {
  margin: 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-transform: uppercase;
}

.order_text-title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: #0f0f0e;
  line-height: 140%;
  margin-bottom: 4px;
}

.cart_color {
  font-size: 12px;
  line-height: 140%;
  color: #5e5e5e;
  margin-bottom: 2px;
}

.cart_size {
  font-size: 13px;
}

.cart_order-price {
  font-size: 14px;
  font-weight: 500;
  color: #0f0f0e;
}

.price_opacity {
  margin-right: 10px;
}

.cart-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.cart_modal-score {
  width: 36px;
  height: 36px;
  background: transparent;
  color: #0f0f0e;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart_modal-score:first-child {
  border-radius: 0;
}

.modal_score {
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  border: none !important;
  margin: 0 !important;
  width: 55px !important;
}

.cart-score--btns {
  display: flex;
  border: 1px solid #e0e0e0;
}

.cart-score--btns * {
  border: none;
}

.modal_score-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-left: 4px;
}

.modal_price {
  margin: 20px 0 12px 0;
  font-size: 22px;
}

.modal_price span {
  color: rgba(15, 15, 14, 0.6);
}

.modal_price-sum {
  width: 100%;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal_price-sum span {
  color: var(--primary-color);
}

.button_block-modal {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background: #0f0f0e;
  font-family: 'Fixel Display', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: #e8e8e8;
  border: 1px solid #0f0f0e;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-cart-popup__title {
  font-size: 16px !important;
}

.product-cart-popup {
  padding: 8% 24px 24px !important;
  z-index: 9999 !important;
}

@media (max-width: 767px) {
  .product-cart-popup {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }
}

.modal_button:hover {
  background: #fff;
  color: #0f0f0e;
  border-color: #0f0f0e;
}

.modal_button:disabled,
.modal_button.disabled {
  background: #d0d0d0;
  color: #a0a0a0;
  border-color: #d0d0d0;
  cursor: default;
}

.modal_subbutton {
  border: 1px solid #000;
  background-color: white;
  color: #000;
}

/* Доповнення до замовлення */
.cart_down {
  margin: 20px 0 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.cart_down .slick-initialized .slick-slide {
  width: 154px;
}

.cart_down-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart_down-wrapper {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
  text-align: left;
  color: #0f0f0e;
  margin: 0;
}

.cart_down-arrows {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .cart_down-arrows {
    display: none;
  }
}

.cart_down-arrows .slider-prev,
.cart_down-arrows .slider-next {
  position: static;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.cart_down-arrows .slider-prev.slick-disabled,
.cart_down-arrows .slider-next.slick-disabled {
  opacity: 0.3;
  cursor: default;
}

.cart-slider-progress {
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  margin-top: 16px;
  position: relative;
}

.cart-slider-progress__bar {
  height: 100%;
  background: #0f0f0e;
  transition: width 0.3s ease, left 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.addition_wrapper {
  padding: 0;
}

.addition {
  font-family: var(--font-family);
  text-transform: uppercase;
  display: flex;
}

.addition_list {
  width: 155px;
  height: 100%;
  margin-right: 15px;
  position: relative;
}

.addition_img-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.addition_img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.addition_wishlist-btn.category-pro_wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

.addition_bag-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.addition_bag-btn:hover {
  background: #e8e8e8;
}

.addition_title {
  font-weight: 400;
  font-size: 16px;
  color: #0f0f0e;
  line-height: 142%;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addition_price {
  margin: 4px 0 0 0;
  font-size: 14px;
  text-transform: uppercase;
  color: rgba(15, 15, 14, 0.5);
}

.addition_price-line {
  text-decoration: line-through;
}

.addition_size-dropdown {
  margin-top: 8px;
}

.addition_size-dropdown select {
  width: 100%;
  padding: 6px 28px 6px 10px;
  font-family: var(--font-family);
  font-size: 13px;
  text-transform: uppercase;
  color: #0f0f0e;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230f0f0e' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
}

.addition_size-dropdown select:focus {
  border-color: #0f0f0e;
}

.addition_size-dropdown select option:disabled {
  color: #ccc;
}

.addition_button {
  width: 100%;
  height: 42px;
  font-size: 18px;
  text-transform: uppercase;
  color: #e8e8e8;
  background: #0f0f0e;
}

.addition_new {
  width: 50px;
  height: 31px;
  top: 10px;
  left: 10px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f0f0e;
  color: white;
}

/* SLIDER */
/* Стрілка вліво */
.addition .slick-arrow.slick-prev {
  background: url(/img/addition_prev.svg);
  background-repeat: no-repeat !important;
}

/* Стрілка вправо */
.addition .slick-arrow.slick-next {
  background: url(/img/addition_next.svg);
  background-repeat: no-repeat !important;
}

.slick-next.slick-disabled:before,
.slick-prev.slick-disabled:before {
  opacity: 0;
}

.slick-next:before,
.slick-prev:before {
  display: none;
}

/* MEDIA */

@media (max-width: 768px) {
  .cart_modal {
    padding: 10px;
    max-width: 100%;
    height: 100%;
  }

  /* заголовок */

  .cart_title {
    font-size: 20px;
  }

  .cart_button svg {
    width: 18px;
    height: 18px;
  }

  /* карта */
  .cart_order-wrapper {
    padding: 0;
    border: none;
  }

  .cart_order-title {
    font-size: 18px;
    margin-top: 0;
  }

  .cart_order {
    display: flex;
    gap: 12px;
  }

  .cart_order-img {
    width: 100px;
    height: 125px;
  }

  .order_text-title {
    font-size: 13px;
  }

  .cart_color {
    font-size: 12px;
  }

  .cart_size {
    font-size: 12px;
  }

  .cart_order-price {
    font-size: 14px;
  }

  .modal_price {
    font-size: 16px;
  }

  .modal_price-sum {
    font-size: 24px;
  }

  .cart_down-wrapper {
    font-size: 18px;
    margin: 0;
  }

  .cart_down {
    margin: 16px 0;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .addition_img {
    display: block;
    width: 100%;
  }

  /* .addition_title {
    font-size: 12px;
  } */

  .addition_price-line {
    margin-left: 0px;
  }

  .addition_wrapper {
    padding: 10px;
  }

  .addition .slick-prev {
    left: -20px;
  }

  .addition_new {
    width: 35px;
    height: 20px;
    font-size: 11px;
  }

  .modal_price {
    margin: 0;
  }

  .modal_price-sum {
    margin-top: 10px;
  }

  .cart_order-wrapper {
    margin-bottom: 10px;
    max-height: 400px;
  }

  .cart_empty {
    padding: 40px 10px 30px;
  }

  .cart_empty-title {
    font-size: 20px;
  }

  .cart_empty-subtitle {
    font-size: 12px;
  }
}

.modal_button .cart-btn {
  font-size: 14px;
  font-weight: 400;
  line-height: 24.84px;
  color: #fff;
}

.product-cart-popup__cart-link {
  font-size: 12px !important;
}

.modal_button .cart-btn:hover {
  color: #fff;
}

.addition_wrapper {
  position: relative;
}

.addition_wrapper li {
  display: flex;
  flex-direction: column;
}

@media (max-width: 450px) {
  .addition_list {
    max-width: 165px;
  }

  .addition_wrapper li {
    /* height: 360px; */
  }

  .slider-basket.no-scroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .slider-basket.no-scroll .slick-track {
    display: flex;
    width: auto;
  }

  .slider-basket {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .slider-basket::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 992px) {

  /* .addition_wrapper .slider-prev,
  .addition_wrapper .slider-next {
    display: none !important;
  } */
  .addition {
    padding: 0 20px 0 10px;
  }
}

video.addition_img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.cart_content {
  position: relative;
  height: 98%;
  display: flex;
  flex-direction: column;
}

.cart-preloader-block {
  position: absolute;
  z-index: 100;
  left: -1%;
  top: 0;
  background: white;
  width: 110%;
  height: 110%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-preloader {
  font-size: 50px;
  position: relative;
}

.card-old-price {
  margin-right: 5px !important;
  text-decoration: line-through;
  color: #757575 !important;
}

.card-price {
  margin-right: 15px !important;

}

.price_line_trough {
  opacity: 0.6;
  text-decoration: line-through;
}

.cart-modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  width: 100%;
  border-top: 1px solid #e0e0e0;
  padding: 20px 0 0;
  z-index: 10;
}

.cart-part-payment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 12px;
}

.cart-part-payment__info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cart-part-payment__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.cart-part-payment__text {
  font-size: 13px;
  line-height: 140%;
  color: #5e5e5e;
  text-transform: none;
}

.cart-part-payment__logos {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}

@media (max-width: 660px) {
  .cart-modal-footer {
    padding: 16px 0 0;
  }
}

/* === Unified product page sliders — match cart_down slider style === */
.related-products-block,
.lastview-products-block,
.product-page-additional-products,
.cart-empty-products {
  margin: 30px 0;
  padding: 20px 0;
}

.related-products-block .box-content,
.lastview-products-block .box-content,
.product-page-additional-products .box-content,
.cart-empty-products .box-content {
  position: relative;
}

.related-products-block .related-products__title,
.lastview-products-block .related-products__title,
.product-page-additional-products .related-products__title,
.cart-empty-products .related-products__title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 120%;
  text-transform: uppercase;
  text-align: left;
  color: #0f0f0e;
  margin: 0 0 16px 0;
  padding-right: 80px;
}

/* card content */
.related-products-block .product-slide,
.lastview-products-block .product-slide,
.product-page-additional-products .product-slide,
.cart-empty-products .product-slide {
  display: block;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-family);
  text-transform: uppercase;
}

.cart-empty-products .product-slide__img-wrapper {
  position: relative;
}

.cart-empty-products .product-slide__title-link {
  text-decoration: none;
  color: inherit;
}

/* disable shift-on-hover for unified sliders */
.related-products-block .product-slide:hover .product-slide__img-wrapper img,
.lastview-products-block .product-slide:hover .product-slide__img-wrapper img,
.product-page-additional-products .product-slide:hover .product-slide__img-wrapper img,
.cart-empty-products .product-slide:hover .product-slide__img-wrapper img {
  transform: none !important;
  margin-top: 0 !important;
}

.related-products-block .product-slide__title,
.lastview-products-block .product-slide__title,
.product-page-additional-products .product-slide__title,
.cart-empty-products .product-slide__title {
  font-weight: 400;
  font-size: 16px;
  color: #0f0f0e;
  line-height: 142%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 8px 0 4px;
}

.related-products-block .product-slide__price,
.lastview-products-block .product-slide__price,
.product-page-additional-products .product-slide__price,
.cart-empty-products .product-slide__price {
  font-size: 14px;
  text-transform: uppercase;
  color: rgba(15, 15, 14, 0.5);
  margin: 4px 0 0 0;
}

.related-products-block .product-slide__price .old-price,
.lastview-products-block .product-slide__price .old-price,
.product-page-additional-products .product-slide__price .old-price,
.cart-empty-products .product-slide__price .old-price {
  text-decoration: line-through;
  margin-right: 6px;
}

/* owl arrows — same look as .cart_down-arrows */
.related-products-block .owl-nav,
.lastview-products-block .owl-nav,
.product-page-additional-products .owl-nav,
.cart-empty-products .owl-nav {
  position: absolute;
  top: -50px;
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  margin: 0;
  z-index: 2;
  padding: 5px 0 0 0;
  border-bottom: 1px solid #e0e0e0;
}

.related-products-block .owl-nav .owl-prev,
.related-products-block .owl-nav .owl-next,
.lastview-products-block .owl-nav .owl-prev,
.lastview-products-block .owl-nav .owl-next,
.product-page-additional-products .owl-nav .owl-prev,
.product-page-additional-products .owl-nav .owl-next,
.cart-empty-products .owl-nav .owl-prev,
.cart-empty-products .owl-nav .owl-next {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 36px;
  height: 28px;
  background: transparent url('/catalog/view/theme/mahardhi/image/row.svg') no-repeat center center !important;
  background-size: 20px 16px !important;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 0;
  color: transparent !important;
  opacity: 1;
  transition: opacity 0.2s;
}

.related-products-block .owl-nav .owl-prev,
.lastview-products-block .owl-nav .owl-prev,
.product-page-additional-products .owl-nav .owl-prev,
.cart-empty-products .owl-nav .owl-prev {
  transform: rotate(180deg);
}

.related-products-block .owl-nav .owl-prev .fa,
.related-products-block .owl-nav .owl-next .fa,
.lastview-products-block .owl-nav .owl-prev .fa,
.lastview-products-block .owl-nav .owl-next .fa,
.product-page-additional-products .owl-nav .owl-prev .fa,
.product-page-additional-products .owl-nav .owl-next .fa,
.cart-empty-products .owl-nav .owl-prev .fa,
.cart-empty-products .owl-nav .owl-next .fa {
  display: none !important;
}

.related-products-block .owl-nav .owl-prev:hover,
.related-products-block .owl-nav .owl-next:hover,
.lastview-products-block .owl-nav .owl-prev:hover,
.lastview-products-block .owl-nav .owl-next:hover,
.product-page-additional-products .owl-nav .owl-prev:hover,
.product-page-additional-products .owl-nav .owl-next:hover,
.cart-empty-products .owl-nav .owl-prev:hover,
.cart-empty-products .owl-nav .owl-next:hover {
  opacity: 0.7;
}

.related-products-block .owl-nav .disabled,
.lastview-products-block .owl-nav .disabled,
.product-page-additional-products .owl-nav .disabled,
.cart-empty-products .owl-nav .disabled {
  opacity: 0.3;
  cursor: default;
}

.related-products-block .owl-dots,
.lastview-products-block .owl-dots,
.product-page-additional-products .owl-dots,
.cart-empty-products .owl-dots {
  display: none;
}

@media (max-width: 768px) {

  .related-products-block .owl-nav,
  .lastview-products-block .owl-nav,
  .product-page-additional-products .owl-nav,
  .cart-empty-products .owl-nav {
    display: none;
  }
}

/* unified slider progress bar (owl carousels) */
.unified-slider-progress {
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  margin-top: 16px;
  position: relative;
}

.unified-slider-progress__bar {
  height: 100%;
  background: #0f0f0e;
  transition: width 0.3s ease, left 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}