/**
 * WooSlider Pro - Elementor WooCommerce Carousel & 3D Fly-to-Cart
 * Styling, Responsive Images, Countdown Timer & Distinctive New Product Badges
 */

:root {
  --wecp-primary: #2563eb;
  --wecp-primary-hover: #1d4ed8;
  --wecp-accent: #e11d48;
  --wecp-text-dark: #0f172a;
  --wecp-text-muted: #64748b;
  --wecp-bg-light: #f8fafc;
  --wecp-card-bg: #ffffff;
  --wecp-border-color: #e2e8f0;
  --wecp-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --wecp-shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --wecp-shadow-hover: 0 20px 30px -5px rgba(37, 99, 235, 0.15), 0 8px 15px -6px rgba(0, 0, 0, 0.06);
  --wecp-radius-card: 18px;
  --wecp-radius-sm: 10px;
  --wecp-radius-full: 9999px;
  --wecp-transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Container & Section Header
   ========================================================================== */
.wecp-carousel-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  font-family: inherit;
  direction: inherit;
}

.wecp-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.wecp-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wecp-header-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--wecp-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background-color: #ffe4e6;
  color: #e11d48;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wecp-header-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--wecp-text-dark);
  line-height: 1.3;
}

.wecp-header-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: var(--wecp-text-muted);
  line-height: 1.5;
}

.wecp-header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   VIEW ALL BUTTON
   ========================================================================== */
.wecp-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  transition: var(--wecp-transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
}

.wecp-view-all-link svg,
.wecp-view-all-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  stroke: currentColor;
  stroke-width: 2.4px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wecp-view-all-link:hover .wecp-view-all-icon,
.wecp-view-all-link:hover svg {
  transform: translateX(-4px);
}

[dir="ltr"] .wecp-view-all-link:hover .wecp-view-all-icon,
[dir="ltr"] .wecp-view-all-link:hover svg {
  transform: translateX(4px);
}

.wecp-view-all-pill {
  padding: 8px 16px;
  background-color: #eff6ff;
  color: var(--wecp-primary);
  border-radius: var(--wecp-radius-full);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.wecp-view-all-pill:hover {
  background-color: var(--wecp-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.wecp-view-all-outline {
  padding: 7px 16px;
  background-color: transparent;
  color: var(--wecp-text-dark);
  border: 1.5px solid var(--wecp-border-color);
  border-radius: var(--wecp-radius-sm);
}

.wecp-view-all-outline:hover {
  background-color: var(--wecp-primary);
  color: #ffffff;
  border-color: var(--wecp-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.wecp-view-all-text_only {
  padding: 4px 0;
  color: var(--wecp-primary);
  border-bottom: 2px solid transparent;
}

.wecp-view-all-text_only:hover {
  color: var(--wecp-primary-hover);
  border-bottom-color: var(--wecp-primary-hover);
}

.wecp-bottom-view-all-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

/* ==========================================================================
   Slider Wrapper & Swiper Container
   ========================================================================== */
.wecp-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.swiper.wecp-swiper {
  width: 100%;
  overflow: hidden;
  padding: 14px 4px 38px 4px;
}

.swiper-slide.wecp-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

/* ==========================================================================
   Product Card
   ========================================================================== */
.wecp-product-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--wecp-card-bg);
  border: 1px solid var(--wecp-border-color);
  border-radius: var(--wecp-radius-card);
  overflow: hidden;
  box-shadow: var(--wecp-shadow-sm);
  transition: var(--wecp-transition-smooth);
}

.wecp-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--wecp-shadow-hover);
  border-color: rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   PRODUCT IMAGE CONTAINER (RESPONSIVE & ADAPTIVE)
   حل مشکل کوتاهی، برش و فضای خالی تصویر در موبایل
   ========================================================================== */
.wecp-image-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background-color: #ffffff; /* Clean pure white background eliminates empty gray letterboxing */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wecp-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.wecp-primary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wecp-product-card:hover .wecp-primary-img {
  transform: scale(1.08);
}

/* ==========================================================================
   DISTINCTIVE STYLING FOR "NEW" PRODUCTS
   ========================================================================== */
.wecp-product-card.wecp-is-new {
  border-top: 3.5px solid #10b981;
}

.wecp-product-card.wecp-is-new.wecp-new-emerald_glow {
  border-top: 3.5px solid #10b981;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.5) 0%, #ffffff 80px);
}

.wecp-product-card.wecp-is-new.wecp-new-emerald_glow:hover {
  box-shadow: 0 20px 35px -5px rgba(16, 185, 129, 0.25), 0 8px 15px -6px rgba(0, 0, 0, 0.05);
  border-color: rgba(16, 185, 129, 0.45);
}

.wecp-product-card.wecp-is-new.wecp-new-gradient_border {
  border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.wecp-product-card.wecp-has-sale {
  border-top: 3.5px solid #ef4444;
}

.wecp-product-card.wecp-has-sale.wecp-is-new {
  border-top: 3.5px solid transparent;
  border-image: linear-gradient(90deg, #ef4444 0%, #10b981 100%) 1;
}

.wecp-card-suction-active {
  animation: wecp-flash-glow 0.5s ease;
}

@keyframes wecp-flash-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  50% { transform: scale(0.98); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   BADGES (Sale, New, Category)
   ========================================================================== */
.wecp-badges-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 3;
}

.wecp-badges-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.wecp-badge {
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--wecp-radius-full);
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  gap: 5px;
}

.wecp-badge-sale {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  animation: wecp-badge-pulse 2.5s infinite;
}

/* EYE-CATCHING NEW PRODUCT BADGE */
.wecp-badge-new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.wecp-new-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: wecp-radar-pulse 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes wecp-radar-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.wecp-new-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: wecp-shimmer 2.4s infinite;
}

@keyframes wecp-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

.wecp-badge-category {
  background: rgba(255, 255, 255, 0.94);
  color: var(--wecp-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

@keyframes wecp-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
  }
}

/* ==========================================================================
   PRODUCT SHORT DESCRIPTION & ATTRIBUTES
   ========================================================================== */
.wecp-short-desc {
  margin: 0 0 6px 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--wecp-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wecp-features-wrap {
  margin: 0 0 6px 0;
  padding: 0;
  list-style: none;
}

.wecp-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wecp-feature-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2.5px 8px;
  border-radius: 6px;
  line-height: 1.3;
  transition: var(--wecp-transition-smooth);
}

.wecp-product-card:hover .wecp-feature-chip {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.wecp-features-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wecp-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}

.wecp-check-icon {
  width: 13px !important;
  height: 13px !important;
  color: #10b981;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   COUNTDOWN TIMER BAR (تایمر شمارش معکوس تخفیف)
   ========================================================================== */
.wecp-countdown-wrap {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: var(--wecp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.wecp-countdown-glass {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.wecp-countdown-pill {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--wecp-radius-full);
}

.wecp-countdown-minimal {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid var(--wecp-border-color);
}

.wecp-countdown-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
}

.wecp-clock-svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor;
  animation: wecp-clock-tick 2s infinite;
}

@keyframes wecp-clock-tick {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-15deg); }
}

.wecp-countdown-digits-row {
  display: flex;
  align-items: center;
  gap: 3px;
  direction: ltr;
}

.wecp-time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 22px;
}

.wecp-countdown-digit {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace, sans-serif;
  line-height: 1.1;
}

.wecp-countdown-minimal .wecp-countdown-digit {
  color: #ef4444;
}

.wecp-countdown-label {
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1;
}

.wecp-cd-colon {
  font-weight: 800;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 5px;
}

/* Floating quick view actions */
.wecp-floating-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--wecp-transition-smooth);
  z-index: 5;
}

.wecp-product-card:hover .wecp-floating-actions {
  opacity: 1;
  transform: translateY(0);
}

.wecp-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--wecp-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wecp-shadow-sm);
  transition: var(--wecp-transition-smooth);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.wecp-action-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0;
}

.wecp-action-btn:hover {
  background: var(--wecp-primary);
  color: #fff;
  transform: scale(1.1);
}

/* ==========================================================================
   PROFESSIONAL TITLE & HOVER INTERACTION
   ========================================================================== */
.wecp-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.wecp-cat-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wecp-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wecp-product-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

.wecp-product-title a {
  position: relative;
  display: inline-block;
  color: var(--wecp-text-dark);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background-image: linear-gradient(120deg, var(--wecp-primary) 0%, #7c3aed 100%);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: right bottom;
  padding-bottom: 2px;
  transition: background-size 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

[dir="ltr"] .wecp-product-title a {
  background-position: left bottom;
}

.wecp-product-card:hover .wecp-product-title a,
.wecp-product-title a:hover {
  color: var(--wecp-primary);
  background-size: 100% 2px;
}

/* Rating Stars */
.wecp-rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
}

.wecp-rating-stars .wecp-star {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.wecp-rating-stars .wecp-star svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  flex-shrink: 0;
}

.wecp-star-empty {
  color: #cbd5e1;
}

.wecp-rating-count {
  font-size: 0.78rem;
  color: var(--wecp-text-muted);
  margin-right: 4px;
}

/* Price Wrap */
.wecp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #059669;
  margin-top: auto;
}

.wecp-price-wrap del,
.wecp-price-regular {
  font-size: 0.88rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}

.wecp-price-wrap ins,
.wecp-price-current {
  text-decoration: none;
  color: #059669;
  font-weight: 800;
}

/* Add to Cart Button */
.wecp-cart-wrap {
  margin-top: 8px;
}

.wecp-add-to-cart-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: none;
  border-radius: var(--wecp-radius-sm);
  background: var(--wecp-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  transition: var(--wecp-transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
  box-sizing: border-box;
}

.wecp-add-to-cart-btn:hover {
  background: var(--wecp-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.wecp-add-to-cart-btn svg,
.wecp-cart-svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  stroke: currentColor;
  stroke-width: 2.2px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
  margin: 0 !important;
}

.wecp-add-to-cart-btn:hover .wecp-cart-svg,
.wecp-add-to-cart-btn:hover svg {
  transform: scale(1.12);
}

.wecp-btn-text {
  display: inline-block;
  white-space: nowrap;
}

/* Spinner */
.wecp-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: wecp-spin 0.8s linear infinite;
  flex-shrink: 0;
}

.wecp-add-to-cart-btn.is-loading .wecp-cart-svg,
.wecp-add-to-cart-btn.is-loading .wecp-btn-text {
  opacity: 0;
}

.wecp-add-to-cart-btn.is-loading .wecp-spinner {
  display: block;
  position: absolute;
}

@keyframes wecp-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   LAYOUT STYLE 2: TILE HOVER GLASS
   ========================================================================== */
.wecp-layout-tile_hover .wecp-product-card {
  height: 420px;
  border: none;
  box-shadow: var(--wecp-shadow-md);
}

.wecp-layout-tile_hover .wecp-image-wrap {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.wecp-layout-tile_hover .wecp-countdown-wrap {
  bottom: 45%;
}

.wecp-layout-tile_hover .wecp-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.85) 65%, rgba(15, 23, 42, 0) 100%);
  padding: 22px 16px 16px;
  color: #ffffff;
  transform: translateY(35%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 6;
}

.wecp-layout-tile_hover .wecp-product-card:hover .wecp-card-body {
  transform: translateY(0);
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.92) 75%, rgba(15, 23, 42, 0.2) 100%);
}

.wecp-layout-tile_hover .wecp-product-title a {
  color: #ffffff;
  background-image: linear-gradient(120deg, #60a5fa 0%, #c084fc 100%);
}

.wecp-layout-tile_hover .wecp-short-desc {
  color: #cbd5e1;
}

.wecp-layout-tile_hover .wecp-feature-chip {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
}

.wecp-layout-tile_hover .wecp-price-wrap {
  color: #34d399;
}

.wecp-layout-tile_hover .wecp-price-wrap del {
  color: #94a3b8;
}

.wecp-layout-tile_hover .wecp-cart-wrap {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s 0.05s ease;
}

.wecp-layout-tile_hover .wecp-product-card:hover .wecp-cart-wrap {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navigation Arrows
   ========================================================================== */
.wecp-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wecp-slide-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 10px;
}

.wecp-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--wecp-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
  transition: var(--wecp-transition-smooth);
}

.wecp-arrow-btn svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  stroke: currentColor;
  stroke-width: 2.4px;
  flex-shrink: 0;
}

.wecp-arrow-btn:hover {
  background: var(--wecp-primary);
  color: #ffffff;
  transform: scale(1.1);
  border-color: var(--wecp-primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.wecp-arrow-btn:disabled,
.wecp-arrow-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wecp-arrows-hover-only .wecp-slide-arrows .wecp-arrow-btn {
  opacity: 0;
  transform: scale(0.85);
}

.wecp-arrows-hover-only:hover .wecp-slide-arrows .wecp-arrow-btn {
  opacity: 1;
  transform: scale(1);
}

.wecp-arrows-pos-bottom .wecp-slide-arrows {
  position: relative;
  top: auto;
  transform: none;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

/* ==========================================================================
   Pagination Dots
   ========================================================================== */
.wecp-pagination {
  position: relative;
  bottom: 0 !important;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #cbd5e1;
  opacity: 1;
  border-radius: var(--wecp-radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--wecp-primary) !important;
  width: 24px;
  border-radius: 8px;
}

.wecp-pagination-progressbar {
  height: 4px !important;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.swiper-pagination-progressbar-fill {
  background: var(--wecp-primary) !important;
  border-radius: 4px;
}

/* ==========================================================================
   VORTEX / MAGIC SUCTION FULL CARD FLY ANIMATION
   ========================================================================== */
.wecp-vortex-card-clone {
  background-color: #ffffff;
  pointer-events: none;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
}

.wecp-vortex-card-clone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wecp-plus-one-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  animation: wecp-float-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes wecp-float-up {
  0% { transform: scale(0.4) translateY(0); opacity: 0; }
  35% { transform: scale(1.2) translateY(-14px); opacity: 1; }
  70% { transform: scale(1) translateY(-24px); opacity: 0.9; }
  100% { transform: scale(0.8) translateY(-38px); opacity: 0; }
}

.wecp-floating-cart-anchor {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: #1e293b;
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.wecp-floating-cart-anchor:hover {
  transform: scale(1.1);
}

.wecp-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wecp-cart-icon-wrap svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

.wecp-cart-counter {
  position: absolute;
  top: -9px;
  right: -9px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  padding: 0 3px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.wecp-cart-bounce {
  animation: wecp-bounce 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes wecp-bounce {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.3) rotate(-8deg); }
  40% { transform: scale(0.95) rotate(6deg); }
  60% { transform: scale(1.15) rotate(-3deg); }
  80% { transform: scale(0.98) rotate(1deg); }
}

.wecp-toast {
  position: fixed;
  bottom: 95px;
  left: 28px;
  background: #10b981;
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 99999;
}

.wecp-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  border-radius: var(--wecp-radius-card);
}

/* ==========================================================================
   MOBILE RESPONSIVE PERFECTION (ریسپانسیو موبایل و جلوگیری از برش عکس)
   ========================================================================== */
@media (max-width: 767px) {
  .wecp-image-wrap {
    height: auto !important;
    aspect-ratio: 1 / 1 !important; /* Perfect square scaling with card width */
    width: 100% !important;
    min-height: 220px;
    background-color: #ffffff !important;
  }

  .wecp-primary-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .wecp-countdown-wrap {
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 4px 6px;
    border-radius: 8px;
  }

  .wecp-countdown-header {
    font-size: 0.65rem;
    gap: 3px;
  }

  .wecp-clock-svg {
    width: 11px !important;
    height: 11px !important;
  }

  .wecp-countdown-digit {
    font-size: 0.74rem;
  }

  .wecp-countdown-label {
    font-size: 0.52rem;
  }

  .wecp-cd-colon {
    font-size: 0.68rem;
    margin-bottom: 3px;
  }

  .wecp-card-body {
    padding: 12px;
    gap: 6px;
  }

  .wecp-product-title {
    font-size: 0.92rem;
  }

  .wecp-feature-chip {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .wecp-price-wrap {
    font-size: 1rem;
  }

  .wecp-add-to-cart-btn {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .wecp-layout-tile_hover .wecp-product-card {
    height: auto;
    min-height: 390px;
  }

  .wecp-layout-tile_hover .wecp-image-wrap {
    aspect-ratio: auto !important;
    height: 100% !important;
  }

  .wecp-layout-tile_hover .wecp-card-body {
    transform: translateY(0); /* Make content directly readable on mobile touch devices */
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.88) 70%, rgba(15, 23, 42, 0) 100%);
  }

  .wecp-layout-tile_hover .wecp-cart-wrap {
    opacity: 1;
    transform: translateY(0);
  }
}
