/* Home Page - App-like Premium Creamy UI */

.page-home { background: var(--bg-primary); overflow-x: clip; width: 100%; }
.page-home .app-main { max-width: 100%; width: 100%; padding: 0; margin: 0; }

/* Home header */
.home-top { background: var(--bg-primary); position: sticky; top: 0; z-index: 95; }
.home-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.home-header-row .logo { font-size: 22px; }
.home-header-icons { display: flex; gap: 2px; align-items: center; }

.home-search-wrap {
  padding: 0 16px 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}
.home-search:active { transform: scale(0.99); box-shadow: var(--shadow-md); }
.home-search svg { flex-shrink: 0; color: var(--text-muted); }

/* Quick category circles (Swiss Beauty style) */
.quick-cats {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quick-cats::-webkit-scrollbar { display: none; }
.quick-cat {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  width: 72px;
}
.quick-cat-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
}
.quick-cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.quick-cat-circle.deal {
  background: linear-gradient(135deg, #E91E63, #FF6B9D);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  padding: 4px;
  text-transform: uppercase;
}
.quick-cat span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  display: block;
}

/* Hero - peek carousel (sides visible on mobile) */
.hero-app {
  padding: 0 0 8px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Peek carousel: mobile only */
@media (max-width: 767px) {
  .hero-app.hero-peek-mobile .hero-app-track-wrap {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (min-width: 768px) {
  .page-home .hero-app.hero-peek-mobile {
  margin-top: 4px !important;
  padding: 0 !important;
}
  .page-home .hero-app.hero-peek-mobile .hero-app-track-wrap {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .page-home .hero-app-dots {
    margin-top: 4px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 1024px) {
  .page-home .hero-app.hero-peek-mobile {
    margin-top: 4px !important;
    padding: 0 !important;
  }
  .page-home .hero-app.hero-peek-mobile .hero-app-track-wrap {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .page-home .hero-app-slide {
    max-height: 400px !important;
    border-radius: 0 !important;
  }
}
.hero-app-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.hero-app-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  touch-action: pan-y;
  will-change: transform;
}
.hero-app-track.is-sliding .hero-app-slide img {
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.5s ease;
}
.hero-app-track.is-sliding .hero-app-slide:not(:first-child) img,
.hero-app-track.is-sliding .hero-app-slide img {
  transform: scale(1.015);
}
@media (max-width: 767px) {
  .hero-peek-mobile .hero-app-track {
    gap: 10px;
    padding: 0 12px;
  }
  .page-home .hero-app.hero-peek-mobile {
    overflow-x: clip;
    max-width: 100vw;
  }
}
.hero-app-slide {
  flex: 0 0 100%;
  aspect-ratio: 2.1 / 1;
  max-height: 185px;
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
}
@media (max-width: 767px) {
  .hero-peek-mobile .hero-app-slide {
    flex: 0 0 93%;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    scroll-snap-align: center;
  }
  .hero-peek-mobile .hero-app-track {
    gap: 6px;
    padding: 0 8px;
  }
}
@media (min-width: 768px) {
  .hero-app-slide { max-height: 280px; aspect-ratio: 2.4 / 1; }
  .hero-peek-mobile .hero-app-slide { flex: 0 0 100%; border-radius: var(--radius-xl); box-shadow: none; }
  .hero-peek-mobile .hero-app-track { padding: 0; gap: 0; }
}
.hero-app-slide a { display: block; width: 100%; height: 100%; }
.hero-app-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-app-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.hero-app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4CEC6;
  border: none;
  padding: 0;
  transition: var(--transition);
  cursor: pointer;
}
.hero-app-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--accent);
}

/* Mini category row (reference 2) */
.mini-cats {
  padding: 8px 16px 4px;
}
.mini-cats-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mini-cats-head h2 { font-size: 17px; font-weight: 700; }
.mini-cats-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.mini-cats-scroll::-webkit-scrollbar { display: none; }
.mini-cat-item {
  flex: 0 0 auto;
  text-align: center;
  width: 64px;
}
.mini-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}
.mini-cat-item span { font-size: 11px; color: var(--text-secondary); font-weight: 500; }

/* SHOP BY CATEGORY - gradient cards */
.shop-by-category {
  padding: 32px 16px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-cream) 100%);
}
.shop-by-category-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.shop-by-category-title span { color: var(--accent); }
.category-grid-shop {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.category-grid-shop::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .category-grid-shop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
  }
}
.cat-shop-card {
  position: relative;
  flex: 0 0 140px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  display: block;
}
@media (min-width: 640px) {
  .cat-shop-card { flex: 0 0 160px; }
}
@media (min-width: 1024px) {
  .cat-shop-card { flex: unset; }
}
.cat-shop-card:hover { transform: scale(1.03); }
.cat-shop-card .cat-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #1a1a1a;
  border-radius: 3px;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  line-height: 1.2;
}
.cat-shop-card .cat-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-shop-card .cat-emoji {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.2));
  z-index: 2;
  pointer-events: none;
}
.cat-shop-card .cat-img-product {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 55%;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
}
.cat-grad-1 { background: linear-gradient(160deg, #fce4ec 0%, #f48fb1 50%, #ad1457 100%); }
.cat-grad-2 { background: linear-gradient(160deg, #e8eaf6 0%, #9fa8da 50%, #3949ab 100%); }
.cat-grad-3 { background: linear-gradient(160deg, #fff3e0 0%, #ffcc80 50%, #e65100 100%); }
.cat-grad-4 { background: linear-gradient(160deg, #fce4ec 0%, #f8bbd9 50%, #c2185b 100%); }
.cat-grad-5 { background: linear-gradient(160deg, #e0f7fa 0%, #80deea 50%, #00838f 100%); }
.cat-grad-6 { background: linear-gradient(160deg, #f3e5f5 0%, #ce93d8 50%, #6a1b9a 100%); }
.cat-grad-7 { background: linear-gradient(160deg, #fff8e1 0%, #ffd54f 50%, #ff8f00 100%); }
.cat-grad-8 { background: linear-gradient(160deg, #e8f5e9 0%, #a5d6a7 50%, #2e7d32 100%); }

/* Premium product card (home) */
.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-scroll::-webkit-scrollbar { display: none; }
.product-scroll .product-card-premium {
  flex: 0 0 168px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .product-scroll .product-card-premium { flex: 0 0 220px; }
}

.product-card-premium {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.product-card-premium .ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 52px;
  height: 52px;
  overflow: hidden;
}
.product-card-premium .ribbon span {
  position: absolute;
  top: 10px;
  left: -28px;
  width: 100px;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  transform: rotate(-45deg);
  padding: 2px 0;
}
.product-card-premium .ribbon.bestseller span { background: #2196F3; }
.product-card-premium .ribbon.new span { background: #4CAF50; }
.product-card-premium .stock-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.product-card-premium .img-wrap {
  aspect-ratio: 1;
  background: #FAFAFA;
  position: relative;
  padding: 12px;
}
.product-card-premium .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card-premium .shades {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.product-card-premium .tagline-bar {
  background: #FFF9C4;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  color: var(--text-primary);
}
.product-card-premium .body { padding: 10px 12px 12px; }
.product-card-premium .name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.product-card-premium .rating-row {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.product-card-premium .rating-row .star { color: var(--accent); }
.product-card-premium .price-row {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.product-card-premium .coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.product-card-premium .btn-add {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.product-card-premium .wish-mini {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  color: var(--text-muted);
}
.product-card-premium .wish-mini.active { color: var(--accent); }
.product-card-premium .btn-notify {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 0.7;
}
.product-card-premium .notify-sub {
  display: block;
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Premium home sections (header → footer) ===== */
.page-home {
  background: linear-gradient(180deg, #fffbf7 0%, #fff5f8 40%, #fffbf7 100%);
}
.home-section {
  margin-bottom: 8px;
  position: relative;
}
.home-section-head {
  padding: 0 16px;
  margin-bottom: 12px;
  align-items: flex-end;
}
.home-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-section-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  line-height: 1.2;
  flex-shrink: 0;
}
.home-section-badge.badge-new {
  background: linear-gradient(135deg, #7b1fa2, #E91E63);
}
.home-section-badge.badge-best {
  background: linear-gradient(135deg, #1565c0, #42a5f5);
}
.home-section-badge.badge-flash {
  background: linear-gradient(135deg, #ff6b35, #E91E63);
}
.home-section-badge.badge-shop {
  background: linear-gradient(135deg, #5c6bc0, #7e57c2);
}
.home-section-badge.badge-insta {
  background: linear-gradient(135deg, #E91E63, #c2185b);
}
.home-section-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 4px 0 0;
}
.page-home .section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.product-scroll-premium {
  gap: 12px;
  padding: 0 16px 18px;
}

/* Trending — compact app-style row */
.section-trending {
  padding: 16px 0 8px;
  margin-top: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
}
.trending-header {
  padding: 0 16px;
  margin-bottom: 10px;
  align-items: flex-end;
}
.trending-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #E91E63, #ff6b9d);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1.2;
}
.section-trending .section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.product-scroll-compact {
  gap: 10px;
  padding: 0 14px 14px;
}
.product-scroll-compact .product-card-compact {
  flex: 0 0 140px;
  min-width: 140px;
  max-width: 140px;
  scroll-snap-align: start;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(26, 18, 24, 0.1);
  border: 1px solid rgba(233, 30, 99, 0.1);
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}
.product-card-compact .ribbon { width: 44px; height: 44px; }
.product-card-compact .ribbon span { font-size: 7px; top: 8px; left: -30px; }
.product-card-compact .img-wrap {
  flex: 0 0 118px;
  height: 118px;
  aspect-ratio: unset;
  padding: 10px;
  background: linear-gradient(165deg, #fff 0%, #fce4ec 100%);
}
.product-card-compact .img-wrap img {
  object-fit: contain;
  max-height: 100%;
}
.product-card-compact .wish-mini {
  width: 28px;
  height: 28px;
  top: 6px;
  right: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.product-card-compact .body {
  flex: 1;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  min-height: 88px;
}
.product-card-compact .name {
  font-size: 11px;
  font-weight: 700;
  color: #1a1218;
  min-height: 30px;
  margin-bottom: 4px;
  -webkit-line-clamp: 2;
  line-height: 1.3;
}
.product-card-compact .name a { color: inherit; }
.product-card-compact .rating-row-mini {
  font-size: 10px;
  margin-bottom: 4px;
  color: #666;
}
.product-card-compact .price-row {
  font-size: 15px;
  font-weight: 800;
  color: #1a1218;
  margin-bottom: auto;
  padding-bottom: 6px;
}
.product-card-compact .btn-add {
  width: 100%;
  padding: 9px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  border-radius: 10px;
  margin-top: auto;
  min-height: 36px;
}
@media (min-width: 768px) {
  .product-scroll-compact .product-card-compact {
    flex: 0 0 156px;
    min-width: 156px;
    max-width: 156px;
  }
  .product-card-compact .img-wrap {
    flex: 0 0 128px;
    height: 128px;
  }
}

/* Flash sale - creamy pink */
.flash-strip {
  margin: 12px 16px 24px;
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 50%, #FFF5EE 100%);
  border-radius: 20px;
  padding: 22px 18px;
  border: 1px solid rgba(233, 30, 99, 0.14);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.1);
}
.flash-strip::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(233,30,99,.08), transparent);
  border-radius: 50%;
}
.flash-strip h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.flash-strip p { font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; }
.flash-timer { display: flex; gap: 8px; }
.timer-box {
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  text-align: center;
  min-width: 48px;
  box-shadow: var(--shadow-sm);
}
.timer-box span { display: block; font-size: 18px; font-weight: 800; color: var(--accent); }
.timer-box small { font-size: 9px; color: var(--text-muted); text-transform: uppercase; }

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px 16px;
  margin: 12px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(233, 30, 99, 0.08);
}
.trust-item { text-align: center; padding: 8px 4px; }
.trust-item .icon { font-size: 28px; margin-bottom: 6px; }
.trust-item strong { display: block; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.trust-item span { font-size: 10px; color: var(--text-muted); line-height: 1.3; }

/* Offer banners horizontal */
.offer-banners {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 20px;
  scrollbar-width: none;
}
.offer-banners::-webkit-scrollbar { display: none; }
.offer-card {
  flex: 0 0 280px;
  height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.offer-card img { width: 100%; height: 100%; object-fit: cover; }
.offer-card.grad-1 { background: linear-gradient(135deg, #F8BBD9, #E91E63); }
.offer-card.grad-2 { background: linear-gradient(135deg, #FFCCBC, #FF6B35); }
.offer-card.grad-3 { background: linear-gradient(135deg, #C5CAE9, #5C6BC0); }

/* Brands strip */
.brands-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 16px 24px;
  scrollbar-width: none;
}
.brands-strip::-webkit-scrollbar { display: none; }
.brand-pill {
  flex: 0 0 auto;
  padding: 11px 22px;
  background: #fff;
  border: 1px solid rgba(233, 30, 99, 0.12);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .2s, border-color .2s, color .2s;
}
.brand-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* Testimonial - light */
.testimonial-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px;
  scrollbar-width: none;
}
.testimonial-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(26, 18, 24, 0.08);
  border: 1px solid rgba(233, 30, 99, 0.08);
  scroll-snap-align: start;
}
.testimonial-card .stars { color: #FFB300; font-size: 14px; margin-bottom: 10px; }
.testimonial-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.testimonial-card strong { font-size: 13px; }

/* Newsletter creamy */
.newsletter-cream {
  margin: 24px 16px 36px;
  padding: 32px 24px;
  background: linear-gradient(145deg, #fce4ec 0%, #fff 45%, #fff5ee 100%);
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(233, 30, 99, 0.12);
  box-shadow: 0 10px 40px rgba(233, 30, 99, 0.12);
}
.newsletter-cream h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.newsletter-cream p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.newsletter-cream form {
  display: flex;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}
.newsletter-cream input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  background: #fff;
}
.newsletter-cream button {
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* Insta */
.insta-section { padding: 0 16px 24px; }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.insta-grid .insta-cell {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #fce4ec, #f8bbd9);
}

/* Hide default header on home - use home-top */
.page-home .announcement-bar { margin: 0; }
.page-home > .app-header { display: none; }

/* Mobile responsive */
@media (max-width: 767px) {
  body.page-home { overflow-x: hidden; }
  .page-home .section {
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100%;
  }
  .page-home .section-header { padding-left: 0; padding-right: 0; }
  .page-home .product-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 14px 8px;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .page-home .product-scroll:not(.product-scroll-compact) .product-card-premium {
    flex: 0 0 42%;
    min-width: 42%;
    max-width: 180px;
    scroll-snap-align: start;
  }
  .page-home .product-scroll-compact .product-card-compact {
    flex: 0 0 132px;
    min-width: 132px;
    max-width: 132px;
  }
  .page-home .flash-strip {
    margin: 0 14px 16px;
    max-width: calc(100% - 28px);
  }
  .page-home .shop-by-category,
  .page-home .offer-banners,
  .page-home .trust-bar,
  .page-home .newsletter-cream {
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100%;
  }
  .page-home .hero-app {
    padding: 8px 0 6px;
    max-width: 100%;
  }
  .page-home .hero-peek-mobile .hero-app-track {
    padding: 0 10px;
    gap: 8px;
  }
  .page-home .hero-app-slide { max-height: 165px; }
  .page-home .hero-app-dots { margin-top: 8px; }
}

.product-grid .product-card-premium { width: 100%; }

/* Desktop — premium app sections */
@media (min-width: 1024px) {
  .page-home .app-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 40px;
  }
  .home-section-block {
    background: #fff;
    border-radius: 22px;
    margin: 0 auto 20px;
    padding: 22px 20px 24px;
    box-shadow: 0 8px 40px rgba(26, 18, 24, 0.07);
    border: 1px solid rgba(233, 30, 99, 0.06);
    max-width: 1240px;
  }
  .section-trending.home-section-block {
    background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
  }
  .home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 0 4px;
  }
  .home-section-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 6px 0 0;
    width: 100%;
  }
  .flash-strip-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .badge-flash { background: linear-gradient(135deg, #ff6b35, #E91E63); }
  .badge-shop { background: linear-gradient(135deg, #5c6bc0, #7e57c2); }
  .badge-insta { background: linear-gradient(135deg, #E91E63, #f06292); }
  .shop-by-category-title {
    text-align: left;
    margin: 0;
    font-size: 22px;
  }
  .shop-by-category-title span { color: var(--accent); }
  .shop-cat-head { margin-bottom: 20px; }
  .flash-strip.home-section-block {
    margin-top: 8px;
  }
  .flash-strip .flash-timer { margin-top: 4px; }
  .product-scroll-compact,
  .product-scroll-premium {
    padding: 0 4px 8px;
  }
  .offer-card {
    flex: 0 0 360px;
    height: 120px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
  }
  .page-home .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 4px;
  }
  .trust-bar.home-section-block {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1240px;
  }
  .newsletter-cream.home-section-block {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .insta-section.home-section-block .insta-grid {
    border-radius: 16px;
  }
}

/* Shop page */
.page-shop .app-main { padding: 0; max-width: 100%; }
.shop-page-header {
  padding: 16px 16px 12px;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
}
.shop-page-header h1 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.shop-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.shop-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  flex: 0 0 auto;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.shop-products-wrap { padding: 16px; }
.shop-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; }
}

.hero-curtain{position:absolute;top:0;bottom:0;width:51%;background:linear-gradient(180deg,#fff,#faf5f7);z-index:6;pointer-events:none;transform:scaleX(0);transition:transform .85s cubic-bezier(.65,0,.24,1);will-change:transform}.hero-curtain-left{left:0;transform-origin:left}.hero-curtain-right{right:0;transform-origin:right}.hero-app-track-wrap.hero-curtains-close .hero-curtain{transform:scaleX(1);transition-duration:.5s}.hero-app-track-wrap.hero-curtains-open .hero-curtain{transform:scaleX(0);transition-duration:.9s}@media(max-width:767px){.hero-curtain{display:none}}.static-page{padding:20px 16px 32px;max-width:720px;margin:0 auto}.static-page h1{font-size:1.75rem;margin:0 0 8px}.static-page .static-lead{color:#666;margin-bottom:24px;line-height:1.6}.static-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 4px 20px rgba(0,0,0,.06)}.static-card h2{font-size:1rem;margin:0 0 12px}.contact-form .form-group{margin-bottom:14px}.contact-form label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;border:1px solid #e5e0db;border-radius:10px;font-size:14px;font-family:inherit}.contact-form textarea{min-height:120px;resize:vertical}.contact-info p{margin:0 0 10px;line-height:1.5}.contact-info a{color:var(--accent,#E91E63)}
/* === HERO UI PATCH v8 — overridden by ui-refine-v16 === */
.hero-app-track-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0,0,0,.08);
  z-index: 3;
}
.hero-app-slide img {
  transition: transform 8s ease-out;
}
.hero-app-track-wrap:not(.hero-curtains-close) .hero-app-slide:first-child img,
.hero-app-track.is-sliding .hero-app-slide img {
  transform: scale(1.04);
}
.hero-curtain {
  background: linear-gradient(180deg, #fff 0%, #faf5f7 100%) !important;
}
.hero-app-dots { gap: 8px; margin-top: 10px; }
.hero-app-dot {
  width: 8px;
  height: 8px;
  background: rgba(233,30,99,.25);
}
.hero-app-dot.active {
  width: 24px;
  background: linear-gradient(90deg, #E91E63, #ff6b9d);
  box-shadow: 0 2px 8px rgba(233,30,99,.4);
}
