/* ✅ Product Card Layout */
/* ✅ Product Card Base */
/* ================= GLOBAL STYLES ================= */
:root {
  /* Primary brand colors */
  --primary-color: #6a1b9a;
  --secondary-color: #ff4081;
  --website-main-color:#1572E8;

  /* Text colors */
  --text-dark: #212121;
  --text-light: #ffffff;

  /* Background colors */
  --bg-light: #f8f9fa;
  --bg-dark: #1e1e1e;

  /* Status colors */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}
.product-card {
  width: 220px; /* Fixed size for equal slides */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ✅ Wrapper keeps zoom effect inside */
.product-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

/* ✅ Image styling */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-in-out;
  transform-origin: center;
}

/* ✅ Hover zoom & rotate effect */
.product-card:hover .product-img {
  transform: scale(1.12);
}

/* ✅ Slight lift of card on hover */
.product-card:hover {
  transform: translateY(-6px);
}

/* ✅ Product overlay (icons on hover) */
.product-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* ✅ Icon buttons */
.icon-btn {
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* ✅ Product Info */
.product-info {
  padding: 10px;
  text-align: center;
}

/* ✅ Swiper Fix */
.swiper-slide {
  width: 230px !important; /* force equal slide width */
  display: flex;
  justify-content: center;
}

.swiper-wrapper {
  padding-bottom: 20px;
}

/* ✅ Inner product image slider wrapper */
.product-inner-slider {
  width: 100%;
  height: 280px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* ✅ Image style */
.product-inner-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

/* ✅ Zoom only when hovered on desktop */
@media (min-width: 768px) {
  .product-inner-slider:hover img {
    transform: scale(1.08);
  }
}

/* ✅ Swiper dots (pagination) inside product card */
.product-inner-slider .swiper-pagination {
  bottom: 6px !important;
  text-align: center;
}
.product-inner-slider .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ✅ Pagination dot style */
.product-inner-slider .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,0.7);
  opacity: 1;
  margin: 0 3px !important;
  transition: 0.3s;
}

.swiper-pagination-bullet {
  background: #bbb !important;
  opacity: 1;
  width: 7px;
  height: 7px;
  top: 200px;
}

.swiper-pagination-bullet-active {
  background: var(--website-main-color) !important;
}



/* ✅ Fix for slider buttons if used later */
.product-inner-slider .swiper-button-prev,
.product-inner-slider .swiper-button-next {
  display: none; /* fully remove arrows */
  
}

/* Hide inner nav buttons until hover */
.product-card .swiper-button-prev,
.product-card .swiper-button-next {
  color: #fff;
  background: rgba(0,0,0,0.3);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s;
  
}

.product-card:hover .swiper-button-prev,
.product-card:hover .swiper-button-next {
  opacity: 1;
}
.no-image-placeholder {
  height: 200px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
/* ================= SUBCATEGORY FILTER ================= */

.subcat-nav {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

/* Scrollable bar */
.subcategory-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 6px 45px; /* space for arrows */
}

.subcategory-filter::-webkit-scrollbar { display: none; }
.subcategory-filter { scrollbar-width: none; }

/* Button Style */
.sub-btn {
  flex: 0 0 auto;
  border: 1px solid #ddd;
  background: #f8f9fa;
  color: #333;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 22px;
  transition: .25s ease;
  font-size: 14px;
}

.sub-btn:hover {
  background: #ffe6f0;
  border-color: #d63384;
  color: #d63384;
}

/* Active */
.sub-btn.active {
  background: #d63384;
  color: #fff;
  border-color: #d63384;
  box-shadow: 0 3px 7px rgba(214, 51, 132, 0.3);
}

/* Scroll Arrows (mobile/tablet only) */
.subcat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Arrow positions */
.subcat-prev { left: 5px; }
.subcat-next { right: 5px; }

.subcat-arrow:disabled {
  opacity: .3;
  cursor: default;
}

/* ✅ DESKTOP VIEW = no arrows, buttons wrap */
@media (min-width: 992px) {
  .subcategory-filter {
    overflow-x: visible;
    white-space: normal;
    flex-wrap: wrap;
    padding: 0;
  }
  .subcat-arrow { display: none; }
}

/* ✅ TABLET + MOBILE (smaller buttons) */
@media (max-width: 768px) {
  .sub-btn {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
  }
}
/* Mobile layout: show list instead of slider */


/* Arrow buttons design */
.men-prev, .men-next {
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.men-prev::after, .men-next::after {
  font-size: 18px;
  color: #333;
}
/* ✅ Main slider arrow buttons */
.swiper-button-prev.main-nav,
.swiper-button-next.main-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  bottom: 5px !important;
  top: auto !important;
  opacity: 0;
  transition: 0.3s;
  
}

/* Show arrows on hover */
.swiper:hover .swiper-button-prev.main-nav,
.swiper:hover .swiper-button-next.main-nav {
  opacity: 1;
}

/* Bottom-left arrow */
.swiper-button-prev.main-nav {
  left: 5px;
}

/* Bottom-right arrow */
.swiper-button-next.main-nav {
  right: 5px;
}

/* Mobile size adjustment */
@media (max-width: 576px) {
  .swiper-button-prev.main-nav,
  .swiper-button-next.main-nav {
    width: 26px;
    height: 26px;
  }
}

/* ✅ MAIN SWIPER NAV BUTTONS (MEN SECTION) */
.menArrivals-slider .swiper-button-prev.men-nav,
.menArrivals-slider .swiper-button-next.men-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  bottom: 5px !important;
  top: auto !important;
  opacity: 0;
  transition: 0.3s;
}

/* ✅ Show arrows only on slider hover */
.menArrivals-slider:hover .swiper-button-prev.men-nav,
.menArrivals-slider:hover .swiper-button-next.men-nav {
  opacity: 1;
}

/* ✅ Left arrow position */
.menArrivals-slider .swiper-button-prev.men-nav {
  left: 5px;
}

/* ✅ Right arrow position */
.menArrivals-slider .swiper-button-next.men-nav {
  right: 5px;
}

/* ✅ Pagination dots spacing */
.menArrivals-slider .swiper-pagination {
  bottom: 12px !important;
}

/* ✅ Mobile size */
@media (max-width: 576px) {
  .menArrivals-slider .swiper-button-prev.men-nav,
  .menArrivals-slider .swiper-button-next.men-nav {
    width: 26px;
    height: 26px;
  }
}
/* 🟣 Subcategory Slider Scrollbar Styling */
.subcategory-slider {
  position: relative;
  padding-bottom: 12px; /* space for scrollbar */
}

.subcategory-scrollbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
}

.subcategory-scrollbar .swiper-scrollbar-drag {
  background: #007bff; /* brand blue */
  border-radius: 3px;
}

/* 🟠 Subcategory Button Styling */
.sub-btn {
  background: #f5f5f5;
  color: #333;
  border-radius: 20px;
  border: none;
  padding: 6px 16px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.sub-btn:hover,
.sub-btn.active {
  background: #007bff;
  color: #fff;
}

/* 🟢 Inner Pagination (product image slider dots) */
.inner-pagination {
  position: absolute;
  bottom: -16px !important;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.inner-pagination .swiper-pagination-bullet {
  background: #bbb;
  opacity: 0.6;
  width: 6px;
  height: 6px;
  margin: 0 4px !important;
  transition: all 0.3s ease;
  border-radius: 50%;
}
.inner-pagination .swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
  width: 10px;
  height: 10px;
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* ✅ Uniform Image Box for Each Product */
.product-inner-slider {
  position: relative;
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-inner-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keep image proportional */
  background-color: #fff;
  transition: transform 0.3s ease;
}

.product-inner-slider img:hover {
  transform: scale(1.05);
}

/* Placeholder when image missing */
.no-image-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #f2f2f2, #e3e3e3);
  border-radius: 12px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 🟦 Outer Pagination (below product slider) */
.outer-pagination {
  margin-top: 28px !important;
  text-align: center;
  position: relative;
  z-index: 10;
}
.outer-pagination .swiper-pagination-bullet {
  background: #bbb;
  opacity: 0.6;
  width: 7px;
  height: 7px;
  margin: 0 5px !important;
  transition: all 0.3s ease;
  border-radius: 50%;
}
.outer-pagination .swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
  width: 11px;
  height: 11px;
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* 📱 Responsive Adjustments */
@media (max-width: 992px) {
  .product-inner-slider,
  .no-image-placeholder {
    height: 230px;
  }
}

@media (max-width: 768px) {
  .product-inner-slider,
  .no-image-placeholder {
    height: 200px;
  }
}

@media (max-width: 575px) {
  /* ✅ Show 2 products per row on mobile */
  .menArrivals-slider .swiper-slide {
    width: 50% !important;
  }

  .product-inner-slider,
  .no-image-placeholder {
    height: 180px;
  }

  .sub-btn {
    padding: 5px 12px;
    font-size: 0.85rem;
  }
}
/* 🟣 Subcategory Slider Scrollbar Styling */
.women-sub-slider {
  position: relative;
  padding-bottom: 12px;
}
.subcategory-scrollbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
}
.subcategory-scrollbar .swiper-scrollbar-drag {
  background: #007bff;
  border-radius: 3px;
}

/* 🟠 Subcategory Button Styling */
.sub-btn {
  background: #f5f5f5;
  color: #333;
  border-radius: 18px;
  border: 1px solid #ddd;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 120px;
  margin: 0 4px;
  transition: all 0.3s ease;
}
.sub-btn:hover,
.sub-btn.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}
.subcategory-slider .swiper-slide {
  display: flex;
  justify-content: center;
  width: auto !important;
}
.subcategory-slider .swiper-wrapper {
  gap: 6px !important;
}

/* 📱 Responsive Buttons */
@media (max-width: 768px) {
  .sub-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
    max-width: 95px;
    margin: 0 3px;
  }
}
@media (max-width: 480px) {
  .sub-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    max-width: 85px;
    margin: 0 2px;
  }
}

/* 🟦 Outer Pagination (below slider) */
.outer-pagination {
  margin-top: 24px !important;
  text-align: center;
}
.outer-pagination .swiper-pagination-bullet {
  background: #bbb;
  opacity: 0.6;
  width: 7px;
  height: 7px;
  margin: 0 5px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.outer-pagination .swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
  width: 11px;
  height: 11px;
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* 🟣 Inner Pagination (dots under product images) */
.inner-pagination {
  position: absolute;
  bottom: -14px !important;
  left: 0;
  width: 100%;
  text-align: center;
}
.inner-pagination .swiper-pagination-bullet {
  background: #bbb;
  opacity: 0.6;
  width: 6px;
  height: 6px;
  margin: 0 4px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.inner-pagination .swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
  width: 10px;
  height: 10px;
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* ✅ Product Buttons Layout */
.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px; /* space between buttons */
}

/* Add to Cart button */
.add-to-cart-btn {
  flex: 1; /* take available width */
  font-size: 0.9rem;
  padding: 6px 0;
}

/* Wishlist button */
.wishlist-btn {
  flex: 0 0 38px; /* fixed width button for icon */
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.wishlist-btn:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}
.wishlist-btn .wishlist-icon {
  font-size: 1.1rem;
}

/* 📱 Mobile Optimization */
@media (max-width: 576px) {
  .add-to-cart-btn {
    font-size: 0.8rem; /* smaller text on mobile */
    padding: 5px 0;
  }

  .wishlist-btn {
    height: 34px;
    flex: 0 0 34px;
  }

  .wishlist-btn .wishlist-icon {
    font-size: 1rem;
  }

  .product-actions {
    gap: 6px;
  }
}
  