.price-range-slider {
  display: block;
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  direction: ltr !important;
}

/* hide the number thingies scroll */
.price-input {
  width: 90px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}



.price-input input {
  padding-inline: 0 !important;
  text-align: center;
  height: 40px;
}

.price-input ::-webkit-inner-spin-button,
.price-input ::-webkit-outer-spin-button {
  display: none !important;
  appearance: none !important;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.price-value {
  background: #f8f9fa;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

.iti {
  direction: ltr;
}

html[dir="rtl"] .iti input:placeholder-shown {
  direction: rtl;
}

html[dir="rtl"] .cart-warning-dropdown {
  right: unset !important;
  left: 0 !important;
}

.slider-track {
  position: relative;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  margin: 20px 0;
  overflow: visible;
  width: calc(100% - 20px);
  box-sizing: border-box;
  cursor: pointer;
}

.slider-range {
  position: absolute;
  height: 100%;
  border-radius: 3px;
  transition: all 0.1s ease;
}

.slider-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  box-sizing: border-box;
}

.slider-thumb:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slider-thumb.dragging {
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.min-thumb {
  z-index: 1;
}

.max-thumb {
  z-index: 2;
}




.is-hide-skeleton-cont .cart-table-skeleton-row {
  display: none !important;
}

.cart-table-skeleton-row {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.cart-skeleton-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}

.cart-skeleton-price-cell {
  align-items: center;
  vertical-align: middle;
}

.cart-skeleton-total-cell {
  vertical-align: middle;
}

.cart-skeleton-quantity-cell {
  vertical-align: middle;
}

.cart-skeleton-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: cart-skeleton-loading 1.2s infinite linear;
  flex-shrink: 0;
}

.cart-skeleton-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-title {
  width: 80%;
  max-width: 250px;
  height: 18px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
}

.cart-skeleton-subtitle {
  width: 60%;
  height: 14px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
}

.cart-skeleton-remove {
  width: 50px;
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
  margin-top: 8px;
}

.cart-skeleton-price-cell {
  text-align: center;
  padding: 8px 12px;
}

.cart-skeleton-price {
  width: 60px;
  height: 18px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
  margin: 0 auto;
}

.cart-skeleton-quantity-cell {
  padding: 8px 12px;
  text-align: center;
}

.cart-skeleton-quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-skeleton-qty-btn {
  width: 32px;
  height: 32px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
}

.cart-skeleton-qty-input {
  width: 60px;
  height: 32px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
}

.cart-skeleton-total-cell {
  text-align: center;
  padding: 8px 12px;
}

.cart-skeleton-total {
  width: 70px;
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: cart-skeleton-loading 1.2s infinite linear;
  margin: 0 auto;
  font-weight: 500;
}

@keyframes cart-skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.cart-skeleton-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-skeleton-table td {
  vertical-align: top;
  border-bottom: 1px solid #f5f5f5;
}

.is-hide-skeleton-cont .skeleton-title {
  background: none !important;
}

[v-cloak] {
  display: none !important;
}

@media (max-width: 768px) {
  .cart-skeleton-product-cell {
    flex-direction: column;
    gap: 12px;
  }

  .cart-skeleton-image {
    width: 60px;
    height: 60px;
  }

  .skeleton-title {
    width: 90%;
  }

  .cart-skeleton-subtitle {
    width: 70%;
  }
}


.is-hide-skeleton-cont .product-item-skeleton {
  display: none !important;
}

.product-item-skeleton {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 380px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.skeleton-image {
  width: 100%;
  height: 290px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  margin-bottom: 18px;
  animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-text {
  width: 80%;
  height: 18px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  margin-bottom: 12px;
  animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-title {
  width: 60%;
  height: 20px;
}

.skeleton-price {
  width: 40%;
  height: 16px;
}

.skeleton-btn {
  width: 50%;
  height: 36px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 20px;
  margin-top: 18px;
  animation: skeleton-loading 1.2s infinite linear;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.is-hide-skeleton-cont .cart-sidebar-mini-cart-item {
  display: none !important;
}


.cart-sidebar-mini-cart-item {
  display: flex;
  justify-content: space-between;
  padding-inline: 32px !important;
  margin-bottom: 20px;
}

.cart-sidebar-skeleton {
  background: #e3e3e3;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cart-sidebar-skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: cart-sidebar-loading 1.2s infinite;
}

@keyframes cart-sidebar-loading {
  100% {
    left: 100%;
  }
}

.cart-sidebar-skeleton-img {
  width: 80px;
  height: 110px;
  border-radius: 6px;
  margin-inline-end: 10px;
}

.cart-sidebar-skeleton-text {
  height: 18px;
  margin: 6px 0;
}

.cart-sidebar-title {
  width: 200px;
}

.cart-sidebar-price {
  width: 40px;
  height: 20px;
}

.cart-sidebar-skeleton-icon {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  border-radius: 50%;
}

.cart-sidebar-skeleton-qty {
  width: 90px;
  height: 30px;
  border-radius: 15px;
}




/* product page skelton */

.product-page-skeleton {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  margin-bottom: 200px;
  margin-top: 20px
}

.is-hide-product-skeleton-cont .product-page-skeleton {
  display: none !important;
  visibility: hidden;
}

/* Skeleton shimmer effect */
.product-page-skeleton-box {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: product-page-shimmer 1.4s infinite;
  border-radius: 6px;
}

@keyframes product-page-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

/* Left side (image section) */
.product-page-image {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
  aspect-ratio: 1/1;
  /* keeps square */
  border-radius: 10px;
}

/* Right side (product details) */
.product-page-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-page-title {
  width: 80%;
  height: 32px;
}

.product-page-price {
  width: 50%;
  height: 24px;
}

.product-page-stock {
  width: 40%;
  height: 20px;
}

.product-page-colors {
  display: flex;
  gap: 10px;
}

.product-page-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.product-page-btn {
  width: 100%;
  max-width: 280px;
  height: 48px;
  border-radius: 24px;
}

.product-page-meta {
  width: 60%;
  height: 20px;
}

.collapse-body.list-categories.current-scrollbar {
  width: 100%;
}


/* Responsive design */
@media (max-width: 768px) {

  .skeleton-title {
    width: 100%;
  }

  .product-page-skeleton {
    flex-direction: column;
    gap: 20px;
  }

  .product-page-image {
    width: 100%;
    max-width: 100%;
  }

  .product-page-btn {
    max-width: 100%;
  }
}

