.card-product .product-card-filter-wrap {
  position: relative;
}

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

.card-product .product-card-filter-wrap .box-icon.is-active {
  background-color: var(--dark);
  color: var(--white);
}

.card-product .product-card-filter-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  top: auto;
  right: 0;
  left: auto;
  transform: none;
  z-index: 30;
  min-width: 220px;
  max-width: 260px;
  pointer-events: auto;
}

.card-product .product-card-filter-panel__inner {
  position: relative;
  padding: 18px 16px;
  background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 12px;
  box-shadow:
    0 18px 40px rgba(28, 28, 28, 0.12),
    0 2px 8px rgba(28, 28, 28, 0.06);
}

.card-product .product-card-filter-panel__inner::before {
  content: "";
  position: absolute;
  bottom: -7px;
  top: auto;
  right: 10px;
  width: 14px;
  height: 14px;
  background: #faf8f5;
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  border-right: 1px solid rgba(28, 28, 28, 0.08);
  transform: rotate(45deg);
}

.card-product .product-card-filter-panel__title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-9, #6b6b6b);
}

.card-product .product-card-filter-group + .product-card-filter-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
}

.card-product .product-card-filter-group__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-7, #1c1c1c);
  text-align: left;
}

.card-product .product-card-filter-group__label span {
  color: var(--primary);
  font-weight: 600;
}

.card-product .product-card-filter-panel .list-color-product {
  justify-content: flex-start;
}

.card-product .product-card-filter-panel .list-color-item .swatch-value {
  background-color: var(--swatch-color, #e5e5e5);
}

.card-product .product-card-filter-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-product .product-card-filter-panel .size-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-product .product-card-filter-panel .size-btn.active {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.card-product .product-card-filter-panel .form-select {
  font-size: 13px;
  border-radius: 8px;
  border-color: rgba(28, 28, 28, 0.12);
  padding: 8px 12px;
}

.card-product-info.text-center .product-price-slot {
  justify-content: center;
}

.product-price-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 1.15em;
}

.product-price-skeleton {
  display: inline-block;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(28, 28, 28, 0.06) 0%,
    rgba(28, 28, 28, 0.1) 45%,
    rgba(28, 28, 28, 0.06) 90%
  );
  background-size: 220% 100%;
  animation: product-price-shimmer 1.35s ease-in-out infinite;
}

.product-price-skeleton--card {
  width: 92px;
  height: 22px;
}

.product-price-skeleton--quick {
  width: 112px;
  height: 26px;
}

@keyframes product-price-shimmer {
  0% {
    background-position: 100% 0;
  }

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