/* =====================================================
   GRACE AFROSHOP — Products Page Design System
   Enterprise-grade UI · BEM methodology · v2.1 FIXED
   ===================================================== */

/* ─── DESIGN TOKENS ─────────────────────────────── */
.pp-page {
  --pp-brand: #461958;
  --pp-brand-dark: #351247;
  --pp-brand-light: #5a2d6e;
  --pp-surface: #ffffff;
  --pp-bg: #f9fafb;
  --pp-border: #e8e8ed;
  --pp-text: #111827;
  --pp-text-2: #4b5563;
  --pp-text-3: #9ca3af;
  --pp-star: #f59e0b;
  --pp-red: #ef4444;
  --pp-green: #10b981;
  --pp-r: 14px;
  --pp-r-sm: 10px;
  --pp-r-xs: 6px;
  --pp-sh: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --pp-sh-md: 0 4px 14px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --pp-sh-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.03);
  --pp-ease: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE ──────────────────────────────────────── */
.pp-page {
  background: var(--pp-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--pp-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
.pp-page *, .pp-page *::before, .pp-page *::after { box-sizing: border-box; }
.pp-page img { max-width: 100%; height: auto; display: block; }
.pp-page a { text-decoration: none; }
.pp-page button { cursor: pointer; font-family: inherit; }

/* ─── HERO ──────────────────────────────────────── */
.pp-hero {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pp-brand-dark);
}
.pp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.02);
  transition: transform 10s ease;
}
.pp-hero:hover .pp-hero__bg { transform: scale(1.08); }
.pp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(53,18,71,0.92) 0%,
    rgba(70,25,88,0.78) 40%,
    rgba(70,25,88,0.45) 100%
  );
}
.pp-hero .container { position: relative; z-index: 2; }
.pp-hero__content { max-width: 540px; }
.pp-hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  background: rgba(255,255,255,0.1);
  padding: 7px 16px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
}
.pp-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.pp-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 32px;
  font-weight: 400;
}
.pp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--pp-brand);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: var(--pp-r);
  transition: all var(--pp-ease);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  letter-spacing: 0.2px;
}
.pp-hero__cta:hover {
  background: var(--pp-brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.pp-hero__cta i { transition: transform var(--pp-ease); }
.pp-hero__cta:hover i { transform: translateX(4px); }

/* ─── SECTION ───────────────────────────────────── */
.pp-section {
  padding: 30px 0;
  animation: pp-fade-up 500ms ease both;
}
.pp-section:first-of-type {
  padding-top: 32px;
}
.pp-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.pp-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--pp-text);
  margin: 0;
  letter-spacing: -0.3px;
  position: relative;
  padding-left: 16px;
}
.pp-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--pp-brand);
  border-radius: 4px;
}
.pp-section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--pp-ease), color var(--pp-ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.pp-section__link:hover { gap: 10px; color: var(--pp-brand-dark); }

/* ─── FLASH SALE BANNER ─────────────────────────── */
.pp-flash-banner {
  position: relative;
  height: 200px;
  border-radius: var(--pp-r);
  overflow: hidden;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: var(--pp-sh-lg);
}
.pp-flash-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53,18,71,0.96) 0%, rgba(53,18,71,0.88) 40%, rgba(53,18,71,0.78) 100%);
  border-radius: var(--pp-r);
}
.pp-flash-banner__content {
  position: relative;
  z-index: 2;
  padding: 32px 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  width: 100%;
}
.pp-flash-banner__title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
/* Countdown styling */
.pp-flash-banner .simply-countdown {
  display: flex;
  gap: 10px;
}
.pp-flash-banner .simply-countdown > .simply-section {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--pp-r-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
  backdrop-filter: blur(4px);
}
.pp-flash-banner .simply-countdown .simply-amount {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.pp-flash-banner .simply-countdown .simply-word {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.pp-flash-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--pp-brand);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: var(--pp-r-sm);
  border: none;
  transition: all var(--pp-ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.pp-flash-banner__cta:hover {
  background: var(--pp-brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ─── PRODUCT CARD (pp-card) ────────────────────── */
.pp-card {
  background: var(--pp-surface);
  border-radius: var(--pp-r);
  overflow: hidden;
  box-shadow: var(--pp-sh);
  transition: all var(--pp-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pp-border);
}
.pp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pp-sh-lg);
  border-color: transparent;
}

/* Card image */
.pp-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f7;
  flex-shrink: 0;
}
.pp-card__image > a {
  display: block;
  width: 100%;
  height: 100%;
}
.pp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.pp-card:hover .pp-card__image img { transform: scale(1.06); }

/* Badges */
.pp-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 3;
  gap: 4px;
}
.pp-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}
.pp-card__badge--type {
  background: var(--pp-brand);
  color: #fff;
}
.pp-card__badge--discount {
  background: var(--pp-red);
  color: #fff;
}

/* Actions */
.pp-card__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(to top, rgba(26, 18, 37, 0.50) 0%, rgba(26, 18, 37, 0.15) 60%, transparent 100%);
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--pp-ease);
}
.pp-card:hover .pp-card__actions {
  opacity: 1;
  transform: translateX(0);
}
.pp-card__action {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pp-surface);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--pp-text-2);
  font-size: 15px;
  transition: all var(--pp-ease);
}
.pp-card__action:hover {
  background: var(--pp-brand);
  color: #fff;
  transform: scale(1.12);
}

/* Card body */
.pp-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.pp-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  transition: color var(--pp-ease);
}
.pp-card__name:hover { color: var(--pp-brand); }
.pp-card__desc {
  font-size: 12px;
  color: var(--pp-text-3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  flex-grow: 1;
}
.pp-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
  flex-wrap: wrap;
}
.pp-card__price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--pp-brand);
  letter-spacing: -0.3px;
}
.pp-card__price-old {
  font-size: 13px;
  color: var(--pp-text-3);
  text-decoration: line-through;
}

/* Cart button */
.pp-card__cart-btn {
  width: 100%;
  height: 44px;
  border: none;
  background: var(--pp-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--pp-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--pp-ease);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.pp-card__cart-btn:hover {
  background: var(--pp-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(70,25,88,0.3);
}
.pp-card__cart-btn i { font-size: 12px; }

/* ─── MINI CARD (pp-mini-card) ──────────────────── */
.pp-mini-card {
  display: block;
  background: var(--pp-surface);
  border-radius: var(--pp-r);
  overflow: hidden;
  border: 1px solid var(--pp-border);
  transition: all var(--pp-ease);
  height: 100%;
}
.pp-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pp-sh-md);
  border-color: transparent;
}
.pp-mini-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f7;
}
.pp-mini-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.pp-mini-card:hover .pp-mini-card__image img { transform: scale(1.06); }
.pp-mini-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-mini-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
}
.pp-mini-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.pp-mini-card__stars i {
  font-size: 10px;
  color: var(--pp-star);
}
.pp-mini-card__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--pp-brand);
  margin: 0;
  letter-spacing: -0.2px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.pp-mini-card__price del {
  font-size: 12px;
  color: var(--pp-text-3);
  font-weight: 400;
}

/* ─── FILTER TABS ───────────────────────────────── */
.pp-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.pp-tabs button {
  border: 1px solid var(--pp-border);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  background: var(--pp-surface);
  color: var(--pp-text-2);
  transition: all var(--pp-ease);
  white-space: nowrap;
  line-height: 1.4;
}
.pp-tabs button:hover {
  background: #f3f0f5;
  border-color: #d4c8db;
  /* color: var(--pp-brand); */
}
.pp-tabs button.active {
  background: var(--pp-brand);
  color: #fff;
  border-color: var(--pp-brand);
  box-shadow: 0 2px 8px rgba(70,25,88,0.25);
}

/* ─── CATEGORY BANNER ───────────────────────────── */
.pp-category-banner {
  position: relative;
  border-radius: var(--pp-r);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--pp-sh-md);
  height: 260px;
}
.pp-category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pp-category-banner__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 44px;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.pp-category-banner__text h4 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.pp-category-banner__text h6 {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* ─── BRAND SLIDER ──────────────────────────────── */
.pp-brands {
  padding: 48px 0;
  background: var(--pp-surface);
  border-top: 1px solid var(--pp-border);
  border-bottom: 1px solid var(--pp-border);
}
.pp-brands .brand_border {
  border: none !important;
  padding: 0 !important;
}
.pp-brands .wsus__brand_logo {
  padding: 14px 28px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.pp-brands .wsus__brand_logo img {
  max-height: 52px;
  width: auto !important;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: all 400ms ease;
}
.pp-brands .wsus__brand_logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── PROMOTIONAL BANNERS (single-banner) ──────── */
.pp-promo {
  padding: 35px 0;
}
.pp-promo .wsus__single_banner_content {
  position: relative;
  border-radius: var(--pp-r) !important;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--pp-sh-md);
}
.pp-promo .wsus__single_banner_img {
  width: 100%;
  display: block;
  line-height: 0;
}
.pp-promo .wsus__single_banner_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.pp-promo .wsus__single_banner_content:hover .wsus__single_banner_img img {
  transform: scale(1.04);
}
.pp-promo .wsus__single_banner_text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}
.pp-promo .wsus__single_banner_text h6 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.pp-promo .wsus__single_banner_text h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.pp-promo .shop_btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--pp-r-sm);
  transition: all var(--pp-ease);
  letter-spacing: 0.3px;
  line-height: 1;
}

/* ─── LARGE BANNER ─────────────────────────────── */
.pp-banner-lg .wsus__large_banner_content {
  border-radius: var(--pp-r) !important;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  min-height: 300px;
  display: flex;
  align-items: stretch;
  box-shadow: var(--pp-sh-lg);
}
.pp-banner-lg .wsus__large_banner_content_overlay {
  width: 100%;
  padding: 85px 48px;
  background: linear-gradient(135deg, rgba(53,18,71,0.88), rgba(70,25,88,0.72));
  display: flex;
  align-items: center;
}
.pp-banner-lg .wsus__large_banner_content_overlay .row {
  width: 100%;
}
.pp-banner-lg .wsus__large_banner_text {
  padding-right: 20px;
}
.pp-banner-lg .wsus__large_banner_text h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.pp-banner-lg .wsus__large_banner_text p {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
  line-height: 1.7;
}
.pp-banner-lg .shop_btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--pp-brand) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--pp-r-sm);
  border: none !important;
  transition: all var(--pp-ease);
  letter-spacing: 0.3px;
  line-height: 1;
}
.pp-banner-lg .shop_btn:hover {
  background: var(--pp-brand);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ─── INLINE PROMO (hot-deals / weekly banners) ── */
.pp-inline-promo {
  padding: 48px 0 0;
}
.pp-inline-promo .wsus__single_banner_content {
  position: relative;
  border-radius: var(--pp-r) !important;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--pp-sh-md);
}
.pp-inline-promo .wsus__single_banner_img {
  width: 100%;
  display: block;
  line-height: 0;
}
.pp-inline-promo .wsus__single_banner_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.pp-inline-promo .wsus__single_banner_content:hover .wsus__single_banner_img img {
  transform: scale(1.04);
}
.pp-inline-promo .wsus__single_banner_text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}
.pp-inline-promo .wsus__single_banner_text h6 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.pp-inline-promo .wsus__single_banner_text h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.pp-inline-promo .shop_btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--pp-r-sm);
  transition: all var(--pp-ease);
  line-height: 1;
}

/* ─── WEEKLY BEST / HOME2 SECTION FIX ─────────── */
#wsus__weekly_best,
.home2_wsus__weekly_best_2 {
  background: var(--pp-bg);
}
#wsus__weekly_best .wsus__section_header,
.home2_wsus__weekly_best_2 .wsus__section_header {
  margin-bottom: 24px;
}
#wsus__weekly_best .wsus__section_header h3,
.home2_wsus__weekly_best_2 .wsus__section_header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--pp-text);
  margin: 0;
  letter-spacing: -0.3px;
}
#wsus__weekly_best .row > [class*="col-"],
.home2_wsus__weekly_best_2 .row > [class*="col-"] {
  margin-bottom: 20px;
}
.weekly_best2 {
  gap: 0;
}

/* ─── ISOTOPE GRID SPACING ─────────────────────── */
.pp-page .grid > [class*="col-"],
.pp-page .grid2 > [class*="col-"] {
  margin-bottom: 20px;
}

/* ─── SLICK CAROUSEL OVERRIDES ─────────────────── */
.pp-section .flash_sell_slider .slick-slide { padding: 0 10px; }
.pp-section .flash_sell_slider { margin: 0 -10px; }
.pp-section .flash_sell_slider .slick-slide > div { margin-bottom: 0; }
.pp-section .flash_sell_slider .slick-slide > div:last-child { margin-bottom: 0; }

.flash_sell_slider .col-xl-3,
.flash_sell_slider .col-lg-4,
.flash_sell_slider .col-sm-6 {
  padding-bottom: 20px;
}
.flash_sell_slider .slick-track {
  display: flex;
}
.flash_sell_slider .slick-slide {
  height: auto;
}
.flash_sell_slider .slick-slide > div {
  height: 100%;
}
.flash_sell_slider .slick-slide > div > div {
  height: 100%;
}

.pp-page .slick-prev,
.pp-page .slick-next {
  width: 44px;
  height: 44px;
  background: var(--pp-surface) !important;
  border-radius: 50%;
  box-shadow: var(--pp-sh-md);
  z-index: 5;
  transition: all var(--pp-ease);
  border: 1px solid var(--pp-border);
}
.pp-page .slick-prev:hover,
.pp-page .slick-next:hover {
  background: var(--pp-brand) !important;
  box-shadow: var(--pp-sh-lg);
  border-color: var(--pp-brand);
}
.pp-page .slick-prev { left: -16px; }
.pp-page .slick-next { right: -16px; }
.pp-page .slick-prev:before,
.pp-page .slick-next:before {
  color: var(--pp-text-2);
  font-size: 16px;
  opacity: 1;
}
.pp-page .slick-prev:hover:before,
.pp-page .slick-next:hover:before {
  color: #fff;
}
.pp-page .slick-dots {
  bottom: -36px;
}
.pp-page .slick-dots li button:before {
  color: var(--pp-brand);
  opacity: 0.25;
  font-size: 10px;
}
.pp-page .slick-dots li.slick-active button:before {
  color: var(--pp-brand);
  opacity: 1;
}

/* ─── SCROLLBAR (tabs mobile) ──────────────────── */
.pp-tabs::-webkit-scrollbar { height: 3px; }
.pp-tabs::-webkit-scrollbar-track { background: transparent; }
.pp-tabs::-webkit-scrollbar-thumb { background: var(--pp-border); border-radius: 100px; }

/* ─── ANIMATIONS ───────────────────────────────── */
@keyframes pp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE: TABLET (max 1200px) ───────────── */
@media (max-width: 1200px) {
  .pp-banner-lg .wsus__large_banner_content_overlay { padding: 70px 40px; }
}

/* ─── RESPONSIVE: TABLET (max 992px) ────────────── */
@media (max-width: 992px) {
  .pp-hero { height: 360px; }
  .pp-hero__title { font-size: 34px; }
  .pp-hero__subtitle { font-size: 16px; }

  .pp-flash-banner { height: auto; min-height: 160px; }
  .pp-flash-banner__title { font-size: 22px; }
  .pp-flash-banner__content { padding: 24px 28px; gap: 16px; }
  .pp-flash-banner .simply-countdown .simply-amount { font-size: 18px; }
  .pp-flash-banner .simply-countdown > .simply-section { padding: 6px 10px; min-width: 50px; }
  .pp-flash-banner__cta { margin-left: 0; }

  .pp-section { padding: 36px 0; }
  .pp-section__title { font-size: 20px; }
  .pp-section__header { margin-bottom: 24px; }

  .pp-promo { padding: 44px 0; }
  .pp-promo .wsus__single_banner_img img { height: 220px; }

  .pp-banner-lg .wsus__large_banner_content { min-height: 260px; }
  .pp-banner-lg .wsus__large_banner_content_overlay { padding: 54px 32px; }
  .pp-banner-lg .wsus__large_banner_text h3 { font-size: 22px; }
  .pp-banner-lg .wsus__large_banner_text { padding-right: 10px; }

  .pp-category-banner__text { padding: 28px 32px; }
  .pp-category-banner__text h4 { font-size: 22px; }

  .pp-brands { padding: 36px 0; }

  .pp-inline-promo { padding: 36px 0 0; }
  .pp-inline-promo .wsus__single_banner_img img { height: 200px; }

  #wsus__weekly_best,
  .home2_wsus__weekly_best_2 { padding: 36px 0; }
}

/* ─── RESPONSIVE: SMALL TABLET (max 768px) ──────── */
@media (max-width: 768px) {
  .pp-hero { height: 340px; }
  .pp-hero__title { font-size: 30px; }

  .pp-banner-lg .wsus__large_banner_content_overlay {
    padding: 55px 28px;
    flex-direction: column;
  }
  .pp-banner-lg .wsus__large_banner_text {
    padding-right: 0;
    margin-bottom: 20px;
  }
  .pp-banner-lg .wsus__large_banner_text:last-child { margin-bottom: 0; }

  .pp-promo .wsus__single_banner_img img { height: 100%; }
  .pp-inline-promo .wsus__single_banner_img img { height: 100%; }
}

/* ─── RESPONSIVE: MOBILE (max 576px) ────────────── */
@media (max-width: 576px) {
  /* Hero */
  .pp-hero { height: 300px; }
  .pp-hero__content { max-width: 100%; }
  .pp-hero__title { font-size: 26px; letter-spacing: -0.3px; }
  .pp-hero__subtitle { font-size: 14px; margin-bottom: 24px; }
  .pp-hero__label { font-size: 10px; padding: 5px 12px; }
  .pp-hero__cta { padding: 12px 22px; font-size: 14px; }

  /* Flash Banner */
  .pp-flash-banner { min-height: 140px; border-radius: var(--pp-r-sm); margin-bottom: 24px; }
  .pp-flash-banner__title { font-size: 17px; }
  .pp-flash-banner__content { padding: 18px 20px; gap: 10px; }
  .pp-flash-banner__cta { padding: 9px 16px; font-size: 12px; }
  .pp-flash-banner .simply-countdown { gap: 6px; }
  .pp-flash-banner .simply-countdown .simply-amount { font-size: 15px; }
  .pp-flash-banner .simply-countdown > .simply-section { padding: 5px 8px; min-width: 42px; }
  .pp-flash-banner .simply-countdown .simply-word { font-size: 8px; }

  /* Sections */
  .pp-section { padding: 28px 0; }
  .pp-section:first-of-type { padding-top: 20px; }
  .pp-section__header { margin-bottom: 18px; flex-wrap: wrap; }
  .pp-section__title { font-size: 18px; padding-left: 12px; }
  .pp-section__link { font-size: 13px; }

  /* Product Card */
  .pp-card__body { padding: 12px; }
  .pp-card__name { font-size: 13px; margin-bottom: 4px; }
  .pp-card__desc { font-size: 11px; margin-bottom: 8px; }
  .pp-card__price-current { font-size: 17px; }
  .pp-card__price-old { font-size: 12px; }
  .pp-card__price { margin-bottom: 10px; }
  .pp-card__cart-btn { height: 40px; font-size: 11px; gap: 6px; }
  .pp-card__badge { font-size: 9px; padding: 3px 8px; }

  /* Mini Card */
  .pp-mini-card__body { padding: 10px; }
  .pp-mini-card__name { font-size: 12px; }
  .pp-mini-card__price { font-size: 14px; }
  .pp-mini-card__stars i { font-size: 9px; }

  /* Tabs */
  .pp-tabs {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pp-tabs::-webkit-scrollbar { display: none; }
  .pp-tabs button { font-size: 12px; padding: 7px 14px; }

  /* Category Banner */
  .pp-category-banner { height: 200px; margin-bottom: 20px; border-radius: var(--pp-r-sm); }
  .pp-category-banner__text { padding: 20px 22px; }
  .pp-category-banner__text h4 { font-size: 18px; margin-bottom: 6px; }
  .pp-category-banner__text h6 { font-size: 12px; }

  /* Promo Banners */
  .pp-promo { padding: 28px 0; }
  .pp-promo .wsus__single_banner_img img { height: 180px; }
  .pp-promo .wsus__single_banner_text { padding: 18px 20px; }
  .pp-promo .wsus__single_banner_text h3 { font-size: 17px; margin-bottom: 10px; }
  .pp-promo .wsus__single_banner_text h6 { font-size: 11px; }
  .pp-promo .shop_btn { padding: 8px 16px; font-size: 12px; }

  /* Large Banner */
  .pp-banner-lg .wsus__large_banner_content { min-height: 200px; }
  .pp-banner-lg .wsus__large_banner_content_overlay { padding: 28px 22px; flex-direction: column; gap: 20px; }
  .pp-banner-lg .wsus__large_banner_text h3 { font-size: 18px; margin-bottom: 8px; }
  .pp-banner-lg .wsus__large_banner_text p { font-size: 13px; margin-bottom: 16px; }
  .pp-banner-lg .shop_btn { padding: 10px 20px; font-size: 13px; }

  /* Inline Promo */
  .pp-inline-promo { padding: 24px 0 0; }
  .pp-inline-promo .wsus__single_banner_img img { height: 100%; }
  .pp-inline-promo .wsus__single_banner_text { padding: 16px 18px; }
  .pp-inline-promo .wsus__single_banner_text h3 { font-size: 16px; margin-bottom: 8px; }
  .pp-inline-promo .wsus__single_banner_text h6 { font-size: 11px; }
  .pp-inline-promo .shop_btn { padding: 7px 14px; font-size: 12px; }

  /* Brands */
  .pp-brands { padding: 24px 0; }
  .pp-brands .wsus__brand_logo { padding: 10px 16px; }
  .pp-brands .wsus__brand_logo img { max-height: 40px; }

  /* Weekly Best */
  #wsus__weekly_best,
  .home2_wsus__weekly_best_2 { padding: 28px 0; }

  /* Slick */
  .pp-page .slick-prev { left: -6px; }
  .pp-page .slick-next { right: -6px; }
  .pp-page .slick-prev,
  .pp-page .slick-next { width: 36px; height: 36px; }
  .pp-page .slick-prev:before,
  .pp-page .slick-next:before { font-size: 13px; }
}

/* ─── RESPONSIVE: SMALL MOBILE (max 400px) ──────── */
@media (max-width: 400px) {
  .pp-hero { height: 260px; }
  .pp-hero__title { font-size: 22px; }
  .pp-hero__subtitle { font-size: 13px; margin-bottom: 18px; }
  .pp-hero__cta { padding: 10px 18px; font-size: 13px; gap: 8px; }
  .pp-hero__label { font-size: 9px; padding: 4px 10px; letter-spacing: 1.5px; }

  .pp-flash-banner { min-height: 120px; }
  .pp-flash-banner__title { font-size: 14px; }
  .pp-flash-banner__content { padding: 14px 16px; gap: 8px; }
  .pp-flash-banner .simply-countdown > .simply-section { min-width: 36px; padding: 4px 6px; }
  .pp-flash-banner .simply-countdown .simply-amount { font-size: 13px; }

  .pp-section__title { font-size: 16px; }
  .pp-card__price-current { font-size: 15px; }
  .pp-card__cart-btn { height: 38px; font-size: 10px; }
  .pp-category-banner { height: 170px; }
  .pp-category-banner__text h4 { font-size: 16px; }

  .pp-promo .wsus__single_banner_img img { height: 100%; }
  .pp-promo .wsus__single_banner_text h3 { font-size: 15px; }
  .pp-inline-promo .wsus__single_banner_img img { height: 100%; }
  .pp-inline-promo .wsus__single_banner_text h3 { font-size: 14px; }
  .pp-banner-lg .wsus__large_banner_text h3 { font-size: 16px; }
}
@media (max-width: 991px) {
  .pp-card__actions { opacity: 1; transform: none; }
  .pp-card__action { width: 34px; height: 34px; font-size: 13px; }
}
