/* ─── HOME PAGE STYLES - HERO SLIDESHOW ──────────────────────────────────── */
.hero-slideshow {
  position: relative;
  height: clamp(520px, 88vh, 960px);
  overflow: hidden;
  background: var(--ink);
}


.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 52% 48%;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 2;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .3s, transform .6s .3s;
}

.slide.active .slide-tag {
  opacity: 1;
  transform: translateY(0);
}

.slide-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: grey;
}

.slide-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s .5s, transform .7s .5s;
}

.slide.active .slide-headline {
  opacity: 1;
  transform: translateY(0);
}

.slide-headline em {
  font-style: italic;
  color: var(--gold);
}

.slide-sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, .65);
  max-width: 380px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .7s, transform .6s .7s;
}

.slide.active .slide-sub {
  opacity: 1;
  transform: translateY(0);
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s .9s, transform .6s .9s;
}

.slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-slide-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--ink) !important;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;

}
.btn-slide-primary-1 {
  display: inline-block;
  padding: 16px 40px;
  background: var(--ink);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-slide-primary:hover {
  background: #fff;
  color: var(--ink) !important;

}
.btn-slide-primary-1:hover {
  background: var(--green);
  color: var(--ink) !important;
}

.btn-slide-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.btn-slide-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.slide-image {
  position: relative;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.slide.active .slide-image img {
  transform: scale(1);
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 8, .92) 0%, rgba(10, 20, 8, .6) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35) saturate(.8);
}

.slide-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
  padding: 0;
}

.slide-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

.slide-counter {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .4);
  display: hidden;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background .2s, border-color .2s;
}

.slide-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.slide-arrow.prev {
  left: 24px;
}

.slide-arrow.next {
  right: 24px;
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
  width: 0%;
  transition: width 5s linear;
}

/* ─── TRUST BAR ──────────────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  background: rgba(255, 255, 255, .04);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, .15);
  border: 1px solid rgba(201, 168, 76, .3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-text-main {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
}

.trust-text-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, .45);
  margin-top: 2px;
}

/* ─── BRAND MARQUEE ──────────────────────────────────────────────────── */
.brands-section {
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.brands-header {
  display: flex;
  align-items: center;
}

.brands-label {
  padding: 18px 32px;
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.brands-marquee-wrap {
  overflow: hidden;
  flex: 1;
}

.brands-marquee {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.brands-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 72px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s;
  min-width: 160px;
}

.brand-logo-item:hover {
  background: var(--green-soft);
}

.brand-logo-item img {
  height: 32px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .3s;
}

.brand-logo-item:hover img {
  filter: grayscale(0) opacity(1);
}

.brand-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 1px;
  transition: color .3s;
  white-space: nowrap;
}

.brand-logo-item:hover .brand-logo-text {
  color: var(--green);
}

/* ─── PRODUCT GRID ───────────────────────────────────────────────────── */
.product-grid-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
  text-decoration: none;
}

.product-img-wrap {
  position: relative;
  padding-top: 110%;
  background: var(--cream);
  overflow: hidden;
}

.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  border-radius: 10px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}

/* ─── SKELETON LOADERS ───────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.product-card.loading .product-img-wrap {
  background: none;
}
.product-card.loading .product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  z-index: 1;
}
.product-card.loading img {
  opacity: 0;
}
.product-card.loading .product-cat,
.product-card.loading .product-name,
.product-card.loading .product-price {
  color: transparent;
  border-radius: 3px;
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  user-select: none;
}

.product-badge.sale {
  background: #c0392b;
}

.product-badge.new {
  background: var(--gold);
  color: var(--ink);
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 1px;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 3;
}

.product-card:hover .product-actions {
  transform: translateY(0);
}

.product-action-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: rgba(17, 16, 8, .88);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-action-btn:hover {
  background: var(--green);
}

.product-action-btn.wishlist:hover {
  background: #c0392b;
}

.product-info {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
  flex: 1;
  text-transform: capitalize !important;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.product-price-original {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-decoration: line-through;
}

/* ─── MID BANNER ───────────────────────────────────────────────────── */
.mid-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 64px 0;
}

.mid-banner-img {
  position: relative;
  overflow: hidden;
}

.mid-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.mid-banner:hover .mid-banner-img img {
  transform: scale(1.04);
}

.mid-banner-text {
  background: var(--green-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
}

.mid-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.mid-banner-title em {
  font-style: italic;
  color: var(--gold);
}

.mid-banner-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 36px;
  max-width: 340px;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────── */
.how-section {
  background: var(--ink);
  padding: 96px 0;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  margin-bottom: -16px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, .45);
}

.step-connector {
  position: absolute;
  top: 20px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: rgba(201, 168, 76, .4);
}

/* ─── SIDEBAR ────────────────────────────────────────────────────── */
.sidebar-wrap {
 z-index: 0;
}
.filter-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.filter-group-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color .2s;
}

.filter-link:hover {
  color: var(--green);
}

.filter-link-sub {
  padding-left: 14px;
  font-size: 0.75rem;
}

.filter-count {
  font-size: 0.65rem;
  color: var(--ink-light);
}

.view-all {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.view-all:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ─── FEATURED PRODUCTS SECTION ─────────────────────────────────────── */
.featured-section {
  padding: 72px 0 80px;
  background: var(--cream, #f9f7f3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Main grid: hero card takes 55%, sub-grid takes 45% */
.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2px;
  background: var(--border);   /* gap colour via bg trick */
  border: 1px solid var(--border);
  overflow: hidden;
}

/* ── Hero card ── */
.featured-hero-card {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  overflow: hidden;
  background: var(--ink);
}

.featured-hero-img {
  position: absolute;
  inset: 0;
}

.featured-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 7s ease;
  filter: brightness(.75) saturate(.9);
}

.featured-hero-card:hover .featured-hero-img img {
  transform: scale(1.05);
}

.featured-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,20,8,.9) 0%, rgba(10,20,8,.3) 55%, transparent 100%);
}

.featured-hero-info {
  position: relative;
  z-index: 2;
  padding: 36px 36px 40px;
}

.featured-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.featured-hero-cat {
  font-family: 'Syne', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}

.featured-hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}

.featured-hero-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.featured-hero-cta {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}

.featured-hero-card:hover .featured-hero-cta {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Sub-grid (2×2) ── */
.featured-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.featured-sub-card {
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .2s;
}

.featured-sub-card:hover {
  background: var(--cream, #f9f7f3);
}

.featured-sub-img {
  position: relative;
  padding-top: 80%;
  overflow: hidden;
  background: var(--cream, #f9f7f3);
}

.featured-sub-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.featured-sub-card:hover .featured-sub-img img {
  transform: scale(1.06);
}

.featured-sub-info {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-sub-name {
  font-size: .9rem;
  line-height: 1.35;
  color: var(--ink);
  flex: 1;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-hero-card {
    min-height: 400px;
  }
}

@media (max-width: 575px) {
  .featured-sub-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-hero-info {
    padding: 24px 20px 28px;
  }
  .recently-card {
    width: 160px;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .slide {
    grid-template-columns: 1fr;
  }

  .slide-image {
    display: none;
  }

  .slide::before {
    background: linear-gradient(180deg, rgba(10, 20, 8, .6) 0%, rgba(10, 20, 8, .92) 100%);
  }

  .trust-bar {
    flex-direction: column;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .mid-banner {
    grid-template-columns: 1fr;
  }

  .mid-banner-img {
    height: 260px;
  }

  .slide-arrow {
    display: none;
  }
}

@media (max-width: 575px) {
  .slide-image {
    display: none;
  }

  .slide-text {
    /* Slightly reduced padding to prevent text layout from forcing the container to grow */
    padding: 24px 20px 36px; 
  }

  .hero-slideshow {
    /* CHANGED: Brought the height down to a more natural mobile profile */
    height: clamp(380px, 60vh, 520px); 
  }

  .product-grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


/* ─── TRENDING + DEAL SECTIONS ───────────────────────────────────── */
 
/* ─── TRENDING SCROLL TRACK ──────────────────────────────────────────── */
/*
   FIX 4: Remove the conflicting padding shorthand that was overriding
           padding-bottom, and fix the margin/-margin pair that clipped
           the last card on mobile.
*/
.trending-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;           /* prevent card shadows being clipped */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 12px;           /* clean single declaration — no conflict */
  margin: 0;                     /* remove the -4px margin that caused clipping */
}
.trending-scroll::-webkit-scrollbar { display: none; }
 
/* ─── TRENDING CARDS ─────────────────────────────────────────────────── */
.trending-card {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.trending-card:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
  text-decoration: none;
}
 
.trending-card.deal-card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.trending-card.deal-card:hover {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 4px 24px rgba(201, 168, 76, .18);
}
 
.trending-card-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--cream, #f9f7f3);
  flex-shrink: 0;
}
.trending-card.deal-card .trending-card-img {
  background: rgba(255, 255, 255, .04);
}
.trending-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.trending-card:hover .trending-card-img img { transform: scale(1.06); }
 
.trending-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #c0392b;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
}
.trending-badge.deal {
  background: var(--gold, #c9a84c);
  color: var(--ink, #0a1408);
}
 
.trending-card-info {
  padding: 12px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trending-card.deal-card .trending-card-info {
  border-top: 1px solid rgba(255, 255, 255, .08);
}
 
.trending-card-cat {
  font-family: 'Syne', sans-serif;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
}
.trending-card.deal-card .trending-card-cat { color: rgba(255, 255, 255, .35); }
 
.trending-card-name {
  font-size: .82rem;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-card.deal-card .trending-card-name { color: #fff; }
 
.trending-card-price {
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}
.trending-card.deal-card .trending-card-price { color: var(--gold, #c9a84c); }
 
/* ─── RECENTLY VIEWED ────────────────────────────────────────────────── */
/*
   FIX 5: Explicit white background so it looks consistent on every page.
*/
.recently-section {
  padding: 64px 0 72px;
  background: #fff;              /* was missing — caused bg inconsistency */
  border-top: 1px solid var(--border);
}
 
.recently-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
}
.recently-scroll-wrap::-webkit-scrollbar { display: none; }
 
.recently-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
 
.recently-card {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.recently-card:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  text-decoration: none;
}
 
.recently-card-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--cream, #f9f7f3);
}
.recently-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.recently-card:hover .recently-card-img img { transform: scale(1.06); }
 
.recently-card-info { padding: 12px 14px 14px; }
 
.recently-card-name {
  font-size: .82rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
.recently-card-price {
  font-family: 'Syne', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
 
.recently-clear {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
  border-bottom: 1px solid var(--ink-light);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.recently-clear:hover {
  color: var(--ink);
  border-color: var(--ink);
}
 
/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .trending-card  { width: 162px; }
  .recently-card  { width: 158px; }
  .trending-section { padding: 40px 0; }
  .deal-section     { padding: 40px 0; }
  .recently-section { padding: 40px 0 56px; }
}
 