@charset "UTF-8";
.ansarel-products {
  display: grid;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ansarel-products.is-loading {
  opacity: 0.65;
  pointer-events: none;
  transform: translateY(4px);
}

.ansarel-product {
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.22s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ansarel-product.ansarel-filter-hidden {
  display: none !important;
}
.ansarel-product.ansarel-filter-hiding {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
}
.ansarel-product.ansarel-filter-showing {
  animation: ansarel-product-card-in 0.32s ease both;
}
.ansarel-product.is-outofstock {
  opacity: 0.6;
}
.ansarel-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.ansarel-product-media {
  position: relative;
  overflow: hidden;
}
.ansarel-product-media__image {
  width: 100%;
  height: auto;
  display: block;
}
.ansarel-product-media__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.ansarel-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  background: #e63946;
  color: #fff;
  z-index: 3;
}
.ansarel-product-content {
  position: relative;
}
.ansarel-product-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.ansarel-product-title a {
  color: inherit;
  text-decoration: none;
}
.ansarel-product-price {
  font-weight: 600;
  margin-top: 6px;
}
.ansarel-product-rating {
  margin-top: 6px;
}
.ansarel-product-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

@keyframes ansarel-product-card-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.ansarel-product--layout-one {
  display: flex;
  flex-direction: column;
}
.ansarel-product--layout-one .ansarel-product-content {
  padding: 16px;
}
.ansarel-product--layout-one .ansarel-product-actions {
  justify-content: flex-start;
}

.ansarel-product--layout-two .ansarel-product-media {
  position: relative;
}
.ansarel-product--layout-two .ansarel-product-media img {
  transition: transform 0.4s ease;
}
.ansarel-product--layout-two:hover .ansarel-product-media img {
  transform: scale(1.06);
}
.ansarel-product--layout-two .ansarel-product-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  color: #fff;
}
.ansarel-product--layout-two .ansarel-product-title,
.ansarel-product--layout-two .ansarel-product-price,
.ansarel-product--layout-two .ansarel-product-rating {
  color: #fff;
}
.ansarel-product--layout-two .ansarel-product-actions {
  margin-top: 10px;
}
.ansarel-product--layout-two .ansarel-product-actions a,
.ansarel-product--layout-two .ansarel-product-actions button {
  background: #fff;
  color: #000;
}

.ansarel-product--layout-three {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.ansarel-product--layout-three .ansarel-product-media {
  width: 160px;
  flex-shrink: 0;
}
.ansarel-product--layout-three .ansarel-product-media img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.ansarel-product--layout-three .ansarel-product-content {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ansarel-product--layout-three .ansarel-product-actions {
  margin-top: auto;
}

.ansarel-product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.ansarel-product-meta-row .ansarel-product-price {
  font-weight: 600;
  line-height: 1;
}
.ansarel-product-meta-row .ansarel-product-stock {
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.is-instock .ansarel-product-meta-row .ansarel-product-stock {
  color: #16a34a;
}
.is-outofstock .ansarel-product-meta-row .ansarel-product-stock {
  color: #dc2626;
}

.ansarel-product--layout-two .ansarel-product-meta-row {
  justify-content: center;
  gap: 16px;
}

.ansarel-product--layout-three .ansarel-product-meta-row {
  justify-content: flex-start;
}

.ansarel-product .ansarel-product-cart a.button,
.ansarel-product .ansarel-product-cart button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  background: #2563eb;
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.ansarel-product .ansarel-product-cart a.button:hover,
.ansarel-product .ansarel-product-cart button.button:hover {
  background: #1e40af;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.ansarel-product .ansarel-product-cart a.button:active,
.ansarel-product .ansarel-product-cart button.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.ansarel-product .product_type_simple,
.ansarel-product .product_type_virtual,
.ansarel-product .product_type_downloadable {
  background: #2563eb;
}
.ansarel-product .product_type_variable {
  background: #0f172a;
}
.ansarel-product .product_type_variable:hover {
  background: #020617;
}
.ansarel-product .product_type_grouped {
  background: #7c3aed;
}
.ansarel-product .product_type_grouped:hover {
  background: #6d28d9;
}
.ansarel-product .product_type_external {
  background: #059669;
}
.ansarel-product .product_type_external:hover {
  background: #047857;
}
.ansarel-product .product_type_subscription,
.ansarel-product .product_type_variable-subscription {
  background: #9333ea;
}
.ansarel-product .product_type_subscription:hover,
.ansarel-product .product_type_variable-subscription:hover {
  background: #7e22ce;
}

.ansarel-product .add_to_cart_button.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}
.ansarel-product .add_to_cart_button.loading:after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ansarel-spin 0.6s linear infinite;
}
.ansarel-product .add_to_cart_button.added {
  background: #16a34a;
}
.ansarel-product .add_to_cart_button.added:after {
  content: "✓";
  font-weight: 700;
  margin-left: 6px;
}

@keyframes ansarel-spin {
  to {
    transform: rotate(360deg);
  }
}
.ansarel-product.is-outofstock .ansarel-product-cart a.button {
  background: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.ansarel-product .product_type_simple:not(.ajax_add_to_cart) {
  background: #334155;
}

.ansarel-product--layout-one .ansarel-product-cart a.button {
  width: 100%;
}

.ansarel-product--layout-two .ansarel-product-cart {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ansarel-product--layout-two:hover .ansarel-product-cart {
  opacity: 1;
}

.ansarel-product--layout-three .ansarel-product-cart a.button {
  padding: 8px 14px;
  font-size: 13px;
}

.ansarel-product-cart svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ansarel-navigation .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.ansarel-navigation .page-numbers .page-numbers {
  background-color: #eff2fe;
  color: #FF007F;
  align-items: center;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.5s;
  justify-content: center;
  min-width: 45px;
  min-height: 45px;
}
.ansarel-navigation .page-numbers .page-numbers.current, .ansarel-navigation .page-numbers .page-numbers:hover {
  background-color: #FF007F;
  color: #eff2fe;
}
.ansarel-navigation .page-numbers li {
  list-style: none;
}
.ansarel-navigation ul {
  margin: 0;
}/*# sourceMappingURL=products.css.map */