/* ============================================================
   RAYLOM ULTRA-COMPACT PROFESSIONAL PRODUCT CARDS
   Brand-Look · Active · 5-Column Grid · HD Images
   ============================================================ */

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-slider-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
  position: relative;
  overflow: hidden;
}

.products-slider-section::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.products-slider-section .container {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.products-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.products-header-left {
  flex: 1;
  min-width: 220px;
}

.products-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4af37;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.04)
  );
  padding: 6px 13px;
  border-radius: 50px;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  line-height: 1.4;
}

.products-header-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.products-header-title span {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.products-view-all::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.35),
    transparent
  );
  transition: left 0.6s ease;
}

.products-view-all:hover::before {
  left: 100%;
}

.products-view-all:hover {
  color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

.products-view-all i {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.products-view-all:hover i {
  transform: translateX(3px);
}

/* ============================================================
   5-COLUMN GRID
   ============================================================ */
.products-slider {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 0 10px;
}

.product-slide {
  min-width: 0;
  width: 100%;
}

/* Hide slider buttons */
.slider-btn {
  display: none !important;
}

/* ============================================================
   COMPACT PROFESSIONAL PRODUCT CARD
   ============================================================ */
.modern-product-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #eef2f7;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.modern-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow:
    0 15px 32px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.15);
}

/* ============================================================
   BADGE — ULTRA COMPACT
   ============================================================ */
.modern-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.3;
}

@keyframes badgePop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modern-product-badge.badge-new {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.modern-product-badge.badge-discount {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.modern-product-badge.badge-bestseller {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0f172a;
}

.modern-product-badge.badge-trending {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.modern-product-badge i {
  font-size: 0.65rem;
}

/* ============================================================
   WISHLIST — FLOATING BUTTON
   ============================================================ */
.modern-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.78rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
}

.modern-product-card:hover .modern-wishlist-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modern-wishlist-btn:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 5px 14px rgba(239, 68, 68, 0.4);
}

.modern-wishlist-btn.active {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modern-wishlist-btn.active i::before {
  content: "\f415";
}

@media (hover: none) {
  .modern-wishlist-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   PRODUCT IMAGE — HD SQUARE
   ============================================================ */
.modern-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  display: block;
}

.modern-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.modern-product-card:hover .modern-product-image img {
  transform: scale(1.06);
}

/* Quick View Overlay */
.modern-quick-view {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(15, 23, 42, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.modern-product-card:hover .modern-quick-view {
  opacity: 1;
}

.modern-quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  color: #0f172a;
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(8px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.modern-product-card:hover .modern-quick-view-btn {
  transform: translateY(0);
}

.modern-quick-view-btn:hover {
  background: #d4af37;
  transform: scale(1.05);
}

.modern-quick-view-btn i {
  font-size: 0.68rem;
}

/* ============================================================
   PRODUCT BODY — ULTRA COMPACT
   ============================================================ */
.modern-product-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

/* Category Tag */
.modern-product-category {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.52rem;
  font-weight: 800;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: rgba(212, 175, 55, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  width: fit-content;
  border: 1px solid rgba(212, 175, 55, 0.15);
  line-height: 1.3;
}

.modern-product-category i {
  font-size: 0.55rem;
}

/* Product Title */
.modern-product-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
  min-height: 2em;
  letter-spacing: -0.1px;
}

.modern-product-title:hover {
  color: #d4af37;
}

/* Rating Row */
.modern-product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
}

.modern-rating-stars {
  display: inline-flex;
  gap: 0.5px;
  color: #d4af37;
  font-size: 0.58rem;
  line-height: 1;
}

.modern-rating-value {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.62rem;
}

.modern-rating-count {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.56rem;
}

/* Price Row */
.modern-product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 3px;
}

.modern-price-current {
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.modern-price-current.discounted {
  color: #ef4444;
}

.modern-price-old {
  font-size: 0.64rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.modern-price-save {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: auto;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.modern-price-save i {
  font-size: 0.52rem;
}

/* ============================================================
   STOCK BAR — COMPACT
   ============================================================ */
.modern-stock-bar {
  margin-top: 2px;
}

.modern-stock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.modern-stock-label .stock-count {
  color: #ef4444;
}

.modern-stock-track {
  height: 2.5px;
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
}

.modern-stock-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 50px;
  transition: width 1s ease;
}

/* ============================================================
   ACTION BUTTONS — COMPACT
   ============================================================ */
.modern-product-actions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.modern-btn-noon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 9px;
  background: transparent;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 0 0 auto;
  cursor: pointer;
}

.modern-btn-noon i {
  font-size: 0.72rem;
}

.modern-btn-noon:hover {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-1px);
}

.modern-btn-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 8px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.modern-btn-add i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}

.modern-btn-add span {
  position: relative;
  z-index: 2;
}

.modern-btn-add::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-btn-add:hover::before {
  opacity: 1;
}

.modern-btn-add:hover {
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(212, 175, 55, 0.3);
}

.modern-btn-add:hover i {
  transform: rotate(-8deg) scale(1.1);
}

/* ============================================================
   FEATURED SECTION — DARK BRAND LOOK
   ============================================================ */
.featured-section {
  padding: 65px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.featured-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12) 0%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
}

.featured-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
}

.featured-section .container {
  max-width: 1480px;
  padding-left: 20px;
  padding-right: 20px;
}

.featured-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  padding: 6px 15px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  line-height: 1.4;
}

.featured-title-main {
  font-family: "Outfit", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.featured-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Featured Grid — 5 columns */
.featured-section .row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

/* ============================================================
   COMPACT FEATURED CARD
   ============================================================ */
.modern-featured-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modern-featured-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow:
    0 15px 32px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(212, 175, 55, 0.15);
}

.modern-featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.modern-featured-badge.badge-best {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0f172a;
}

.modern-featured-badge.badge-new {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.modern-featured-badge.badge-trend {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.modern-featured-badge.badge-discount {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.modern-featured-badge i {
  font-size: 0.65rem;
}

.modern-featured-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
}

.modern-featured-card:hover .modern-featured-wishlist {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modern-featured-wishlist:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #ef4444;
  transform: scale(1.12);
}

@media (hover: none) {
  .modern-featured-wishlist {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modern-featured-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1e293b;
  display: block;
}

.modern-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.modern-featured-card:hover .modern-featured-image img {
  transform: scale(1.06);
}

.modern-featured-quick {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(15, 23, 42, 0.85) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.modern-featured-card:hover .modern-featured-quick {
  opacity: 1;
}

.modern-featured-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0f172a;
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 5px 14px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.modern-featured-card:hover .modern-featured-quick-btn {
  transform: translateY(0);
}

.modern-featured-quick-btn:hover {
  transform: scale(1.05);
}

.modern-featured-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.modern-featured-cat {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.52rem;
  font-weight: 800;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  width: fit-content;
}

.modern-featured-cat i {
  font-size: 0.55rem;
}

.modern-featured-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
  min-height: 2em;
}

.modern-featured-title:hover {
  color: #d4af37;
}

.modern-featured-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
}

.modern-featured-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 3px;
}

.modern-featured-price-new {
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.modern-featured-price-new.discounted {
  color: #22c55e;
}

.modern-featured-price-old {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  font-weight: 500;
}

.modern-featured-actions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.modern-featured-btn-noon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 9px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 7px;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 0 0 auto;
  cursor: pointer;
}

.modern-featured-btn-noon i {
  font-size: 0.72rem;
}

.modern-featured-btn-noon:hover {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.modern-featured-btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 8px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0f172a;
  border: none;
  border-radius: 7px;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.25);
  white-space: nowrap;
}

.modern-featured-btn-cart i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}

.modern-featured-btn-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
}

.modern-featured-btn-cart:hover i {
  transform: rotate(-8deg) scale(1.1);
}

/* ============================================================
   RESPONSIVE — 5 → 4 → 3 → 2 COLUMNS
   ============================================================ */

/* 1400px+ : 5 columns */
@media (min-width: 1400px) {
  .products-slider {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

/* 1200-1399px : 5 columns */
@media (min-width: 1200px) and (max-width: 1399px) {
  .products-slider {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

/* 992-1199px : 4 columns */
@media (min-width: 992px) and (max-width: 1199px) {
  .products-slider {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .modern-product-body {
    padding: 9px 9px 11px;
    gap: 4px;
  }
  .modern-product-title {
    font-size: 0.72rem;
  }
  .modern-price-current {
    font-size: 0.88rem;
  }

  /* Featured 4 columns */
  .featured-section .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* 768-991px : 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
  .products-slider-section {
    padding: 50px 0;
  }
  .featured-section {
    padding: 50px 0;
  }

  .products-slider {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .products-header-title {
    font-size: 1.5rem;
  }
  .featured-title-main {
    font-size: 1.65rem;
  }

  .modern-product-body {
    padding: 9px 9px 11px;
    gap: 4px;
  }
  .modern-product-title {
    font-size: 0.72rem;
  }
  .modern-price-current {
    font-size: 0.88rem;
  }

  /* Featured 3 columns */
  .featured-section .col-lg-3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

/* 576-767px : 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
  .products-slider-section {
    padding: 45px 0;
  }
  .featured-section {
    padding: 45px 0;
  }

  .products-section-header {
    margin-bottom: 22px;
    gap: 12px;
  }

  .products-header-title {
    font-size: 1.35rem;
  }
  .products-header-eyebrow {
    font-size: 0.58rem;
    padding: 5px 11px;
  }

  .products-view-all {
    padding: 8px 15px;
    font-size: 0.72rem;
  }

  .products-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .modern-product-body {
    padding: 9px 9px 11px;
    gap: 4px;
  }
  .modern-product-title {
    font-size: 0.72rem;
    min-height: 2em;
  }
  .modern-price-current {
    font-size: 0.88rem;
  }
  .modern-price-old {
    font-size: 0.6rem;
  }
  .modern-price-save {
    font-size: 0.48rem;
    padding: 1px 4px;
  }

  .modern-btn-noon,
  .modern-btn-add {
    padding: 6px 7px;
    font-size: 0.6rem;
  }

  /* Featured 2 columns */
  .featured-section .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .featured-title-main {
    font-size: 1.4rem;
  }
  .featured-subtitle {
    font-size: 0.78rem;
  }
}

/* <576px : 2 columns compact */
@media (max-width: 575px) {
  .products-slider-section {
    padding: 40px 0;
  }
  .featured-section {
    padding: 40px 0;
  }

  .products-slider-section .container,
  .featured-section .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .products-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .products-header-title {
    font-size: 1.2rem;
  }
  .products-header-eyebrow {
    font-size: 0.56rem;
    padding: 5px 10px;
  }

  .products-view-all {
    padding: 8px 15px;
    font-size: 0.7rem;
    width: 100%;
    justify-content: center;
  }

  .products-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .modern-product-card {
    border-radius: 10px;
  }

  .modern-product-badge {
    padding: 2px 6px;
    font-size: 0.5rem;
    top: 6px;
    left: 6px;
    border-radius: 3px;
  }

  .modern-product-badge i {
    font-size: 0.55rem;
  }

  .modern-wishlist-btn {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
    top: 6px;
    right: 6px;
  }

  .modern-product-body {
    padding: 8px 8px 10px;
    gap: 4px;
  }

  .modern-product-category {
    font-size: 0.48rem;
    padding: 1px 5px;
  }

  .modern-product-category i {
    font-size: 0.5rem;
  }

  .modern-product-title {
    font-size: 0.68rem;
    min-height: 2em;
    line-height: 1.3;
  }

  .modern-product-rating {
    font-size: 0.56rem;
    gap: 2px;
  }
  .modern-rating-stars {
    font-size: 0.52rem;
  }
  .modern-rating-value {
    font-size: 0.56rem;
  }
  .modern-rating-count {
    font-size: 0.5rem;
  }

  .modern-price-current {
    font-size: 0.82rem;
  }
  .modern-price-old {
    font-size: 0.56rem;
  }
  .modern-price-save {
    font-size: 0.44rem;
    padding: 1px 4px;
  }
  .modern-price-save i {
    font-size: 0.46rem;
  }

  .modern-stock-bar {
    display: none;
  }

  .modern-product-actions {
    gap: 3px;
    margin-top: 3px;
  }

  .modern-btn-noon {
    padding: 5px 6px;
    font-size: 0.56rem;
    border-radius: 6px;
  }
  .modern-btn-noon i {
    font-size: 0.62rem;
  }

  .modern-btn-add {
    padding: 5px 7px;
    font-size: 0.58rem;
    border-radius: 6px;
    gap: 3px;
  }
  .modern-btn-add i {
    font-size: 0.62rem;
  }
  .modern-btn-add span {
    font-size: 0.58rem;
  }

  .modern-quick-view {
    padding: 6px;
  }
  .modern-quick-view-btn {
    padding: 4px 8px;
    font-size: 0.54rem;
    gap: 3px;
  }
  .modern-quick-view-btn i {
    font-size: 0.56rem;
  }

  /* Featured mobile */
  .featured-section .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .featured-header {
    margin-bottom: 24px;
  }
  .featured-title-main {
    font-size: 1.25rem;
  }
  .featured-subtitle {
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .featured-eyebrow {
    font-size: 0.56rem;
    padding: 5px 11px;
  }

  .modern-featured-card {
    border-radius: 10px;
  }
  .modern-featured-body {
    padding: 8px 8px 10px;
    gap: 4px;
  }
  .modern-featured-title {
    font-size: 0.68rem;
    min-height: 2em;
  }
  .modern-featured-price-new {
    font-size: 0.82rem;
  }
  .modern-featured-price-old {
    font-size: 0.56rem;
  }
  .modern-featured-badge {
    padding: 2px 6px;
    font-size: 0.5rem;
    top: 6px;
    left: 6px;
    border-radius: 3px;
  }
  .modern-featured-wishlist {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
    top: 6px;
    right: 6px;
  }
  .modern-featured-actions {
    gap: 3px;
    margin-top: 3px;
  }
  .modern-featured-btn-noon {
    padding: 5px 6px;
    font-size: 0.56rem;
    border-radius: 6px;
  }
  .modern-featured-btn-cart {
    padding: 5px 7px;
    font-size: 0.58rem;
    border-radius: 6px;
    gap: 3px;
  }
}

/* <375px : still 2 columns */
@media (max-width: 374px) {
  .products-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .modern-product-body {
    padding: 7px 7px 9px;
    gap: 3px;
  }
  .modern-product-title {
    font-size: 0.64rem;
  }
  .modern-price-current {
    font-size: 0.78rem;
  }

  .modern-btn-noon {
    display: none;
  }
  .modern-btn-add {
    flex: 1;
  }
  .modern-btn-add span {
    display: none;
  }
  .modern-btn-add i {
    font-size: 0.85rem;
  }

  .modern-featured-btn-noon {
    display: none;
  }
  .modern-featured-btn-cart {
    flex: 1;
  }
}

/* ============================================================
   GLOBAL SAFETY
   ============================================================ */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
  .modern-product-card,
  .modern-product-image img,
  .modern-featured-card,
  .modern-featured-image img {
    transition: none !important;
    animation: none !important;
  }
}
