.cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}
.cart-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: 9999;
  max-width: 900px;
  width: 90%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-out;
}
.cart-modal-header {
  display: flex;
  justify-content: flex-end;
}
.cart-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
  margin-right: 0.5rem;
}
.cart-modal-close:hover,
.cart-modal-close:focus {
  color: #e53935;
}
.cart-modal-content {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  padding: 1.5rem 1.5rem 36px 1.5rem;
}
.cart-modal-image {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  direction: rtl;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #000;
  opacity: 0.3;
  margin: 0 4px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #007aff;
}

.cart-modal-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  object-fit: contain;
  min-height: unset;
}
.cart-modal-info {
  flex: 1.2 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  font-family: "Cairo";
}
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.pagination-swiper-recent-viewed-products-block-1{
    display: none;
}

.cart-modal-title{
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.cart-modal-body{
    text-align: justify;
}

.cart-modal .attribute-widgets {
  display: flex;
  flex-direction: row;         /* This makes children line up in a row */
  justify-content: center;     /* This centers them horizontally */
  align-items: center;         /* This centers them vertically, optional */
  gap: 1rem;                   /* Optional: space between the two divs */
}