/* ============================================================
   STOREFRONT.CSS — Public Buyer-Facing Mobile Storefront
   White & Blue theme · Mobile-first · Premium e-commerce feel
   ============================================================ */

/* ── Page Root ─────────────────────────────────────────────── */

body.storefront-page {
  background-color: var(--bg-secondary, #f8fafc);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Storefront Wrapper (phone-width container) ────────────── */

.storefront-wrapper {
  max-width: 580px;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-primary, #ffffff);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ── Header ────────────────────────────────────────────────── */

.storefront-header {
  padding: 1.75rem 1.25rem 1.25rem;
  text-align: center;
  background: #ffffff;
  position: relative;
  animation: fadeInDown 0.5s ease-out both;
}

.storefront-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: var(--border-light, #e2e8f0);
}

/* ── Badge Pill ────────────────────────────────────────────── */

.storefront-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.storefront-badge-pill i,
.storefront-badge-pill svg {
  font-size: 0.65rem;
  width: 0.65rem;
  height: 0.65rem;
  flex-shrink: 0;
}

/* ── Title & Subtitle ──────────────────────────────────────── */

.storefront-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  margin: 0 0 0.3rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.storefront-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
  max-width: 36ch;
  margin-inline: auto;
}

/* ── Products Feed (2 Cards Per Row) ───────────────────────── */

.storefront-products-feed,
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
  flex: 1;
}

@media (max-width: 340px) {
  .storefront-products-feed,
  .skeleton-grid {
    gap: 0.5rem;
    padding: 0.5rem;
  }
}

/* ── Product Card ──────────────────────────────────────────── */

.buyer-product-card {
  background: var(--bg-primary, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
  will-change: transform;
  animation: fadeInUp 0.45s ease-out both;
  height: 100%;
}

/* Staggered entrance delays */
.buyer-product-card:nth-child(1)  { animation-delay: 0.05s; }
.buyer-product-card:nth-child(2)  { animation-delay: 0.10s; }
.buyer-product-card:nth-child(3)  { animation-delay: 0.15s; }
.buyer-product-card:nth-child(4)  { animation-delay: 0.20s; }
.buyer-product-card:nth-child(5)  { animation-delay: 0.25s; }
.buyer-product-card:nth-child(6)  { animation-delay: 0.30s; }
.buyer-product-card:nth-child(7)  { animation-delay: 0.35s; }
.buyer-product-card:nth-child(8)  { animation-delay: 0.40s; }

@media (hover: hover) and (pointer: fine) {
  .buyer-product-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  }
}

.buyer-product-card:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* ── Image Container (1 : 1) ───────────────────────────────── */

.buyer-img-container {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-tertiary, #f1f5f9);
  overflow: hidden;
  border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0;
}

/* ── Product Image ─────────────────────────────────────────── */

.buyer-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .buyer-product-card:hover .buyer-product-img {
    transform: scale(1.05);
  }
}

/* ── Platform Tag (top-left badge) ─────────────────────────── */

.buyer-platform-tag {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1;
  z-index: 2;
}

/* Platform-neutral tag variants */
.buyer-platform-tag.tag-amazon {
  background: #f4b544;
  color: #31200a;
}
.buyer-platform-tag.tag-meesho { background: #d52c72; color: #fff; }
.buyer-platform-tag.tag-flipkart { background: #2875d7; color: #fff; }
.buyer-platform-tag.tag-myntra { background: #ed3b82; color: #fff; }
.buyer-platform-tag.tag-ajio { background: #292929; color: #fff; }

/* ── Product Body ──────────────────────────────────────────── */

.buyer-product-body {
  padding: 0.65rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.45rem;
}

/* ── Product Title ─────────────────────────────────────────── */

.buyer-product-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.2rem;
}

/* ── Price Row ─────────────────────────────────────────────── */

.buyer-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
}

.buyer-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.buyer-stock-pill {
  font-size: 0.65rem;
  color: #0f172a;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}

/* ── CTA Button (base) ────────────────────────────────────── */

.buyer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease,
              filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
  line-height: 1.25;
  white-space: nowrap;
}

.buyer-cta-btn i,
.buyer-cta-btn svg {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Hover / active states (pointer devices) */
@media (hover: hover) and (pointer: fine) {
  .buyer-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.92);
  }
}

.buyer-cta-btn:active {
  transform: translateY(0) scale(0.975);
  filter: brightness(0.88);
  transition-duration: 0.08s;
}

/* Ripple shimmer overlay */
.buyer-cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .buyer-cta-btn:hover::after {
    opacity: 1;
  }
}

/* ── CTA: Platform Specific Buttons (Monochrome Slate) ── */

.cta-amazon {
  background: var(--brand-amazon, #ad6500);
  color: #ffffff;
  border: 1px solid var(--brand-amazon, #ad6500);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.cta-meesho { background: var(--brand-meesho, #d52c72); color: #fff; border: 1px solid var(--brand-meesho, #d52c72); }
.cta-flipkart { background: var(--brand-flipkart, #2875d7); color: #fff; border: 1px solid var(--brand-flipkart, #2875d7); }
.cta-myntra { background: var(--brand-myntra, #ed3b82); color: #fff; border: 1px solid var(--brand-myntra, #ed3b82); }
.cta-ajio { background: var(--brand-ajio, #292929); color: #fff; border: 1px solid var(--brand-ajio, #292929); }

@media (hover: hover) and (pointer: fine) {
  .cta-amazon:hover,
  .cta-meesho:hover,
  .cta-flipkart:hover,
  .cta-myntra:hover,
  .cta-ajio:hover {
    filter: brightness(.91);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  }
}

/* ── CTA: Generic / fallback ───────────────────────────────── */

.cta-generic {
  background: #3157d5;
  color: #ffffff;
  border: 1px solid #3157d5;
  box-shadow: 0 3px 12px rgba(49, 87, 213, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .cta-generic:hover {
    background: #2446ba;
    box-shadow: 0 6px 20px rgba(49, 87, 213, 0.3);
  }
}

/* ── Footer ────────────────────────────────────────────────── */

.storefront-footer {
  border-top: 1px solid var(--border-light, #e2e8f0);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  margin-top: auto;
}

.storefront-footer-text {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}

.storefront-footer-brand {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.storefront-footer-brand:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* ── Skeleton Loading Cards ────────────────────────────────── */

.skeleton-card {
  background: var(--bg-primary, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  animation: fadeInUp 0.3s ease-out both;
}

.skeleton-card .skeleton-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-tertiary, #f1f5f9);
  position: relative;
  overflow: hidden;
}

.skeleton-card .skeleton-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skeleton-card .skeleton-line {
  height: 0.75rem;
  border-radius: 6px;
  background: var(--bg-tertiary, #f1f5f9);
  position: relative;
  overflow: hidden;
}

.skeleton-card .skeleton-line.skeleton-title {
  width: 80%;
  height: 0.85rem;
}

.skeleton-card .skeleton-line.skeleton-subtitle {
  width: 55%;
}

.skeleton-card .skeleton-line.skeleton-price {
  width: 35%;
  height: 1.1rem;
  margin-top: 0.15rem;
}

.skeleton-card .skeleton-line.skeleton-btn {
  width: 100%;
  height: 2.75rem;
  border-radius: var(--radius-lg, 14px);
  margin-top: 0.25rem;
}

/* Shimmer sweep */
.skeleton-card .skeleton-img::after,
.skeleton-card .skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  animation: shimmer 1.6s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Stagger skeleton cards */
.skeleton-card:nth-child(1) { animation-delay: 0s; }
.skeleton-card:nth-child(2) { animation-delay: 0.08s; }
.skeleton-card:nth-child(3) { animation-delay: 0.16s; }

/* ── Empty State ───────────────────────────────────────────── */

.storefront-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  text-align: center;
  animation: fadeInUp 0.4s ease-out both;
}

.storefront-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.storefront-empty-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin: 0 0 0.35rem;
}

.storefront-empty-text {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  max-width: 26ch;
}

/* ── Keyframes (fallbacks if global.css not loaded) ────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Utility Helpers ───────────────────────────────────────── */

.storefront-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Reduced Motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .buyer-product-card,
  .storefront-header,
  .skeleton-card,
  .storefront-empty {
    animation: none !important;
  }

  .buyer-product-card,
  .buyer-product-img,
  .buyer-cta-btn {
    transition: none !important;
  }

  .skeleton-card .skeleton-img::after,
  .skeleton-card .skeleton-line::after {
    animation: none !important;
  }
}

/* ── Small Screen Tweaks (≤ 360px) ─────────────────────────── */

@media (max-width: 360px) {
  .storefront-header {
    padding: 1.5rem 1rem 1.25rem;
  }

  .storefront-products-feed {
    padding: 1rem;
    gap: 1rem;
  }

  .storefront-title {
    font-size: 1.25rem;
  }

  .buyer-price {
    font-size: 1.3rem;
  }

  .buyer-cta-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
  }
}

/* ── Tablet / Desktop polish (> 480px) ─────────────────────── */

@media (min-width: 481px) {
  .storefront-wrapper {
    margin-block: 1rem;
    min-height: calc(100vh - 2rem);
    min-height: calc(100dvh - 2rem);
    border-radius: var(--radius-xl, 20px);
    border: 1px solid var(--border-light, #e2e8f0);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06),
                0 1px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }
}

/* ============================================================
   CREATOR STOREFRONT LUXURY STYLES
   ============================================================ */

/* ── 1. Creator Hero Banner ────────────────────────────────── */
.creator-hero-banner {
  position: relative;
  min-height: 290px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.15rem 1.25rem;
  color: #ffffff;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(15, 23, 42, 0.25) 40%,
    rgba(15, 23, 42, 0.88) 85%,
    rgba(15, 23, 42, 0.98) 100%
  );
  z-index: 1;
}

.banner-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.banner-brand .brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.banner-brand .brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  margin-top: 0.15rem;
  display: block;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.banner-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f172a;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}

.banner-share-pill:hover {
  background: #ffffff;
  transform: scale(1.03);
}

.banner-dots-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.banner-dots-btn:hover {
  transform: scale(1.05);
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.banner-creator-col {
  flex: 1;
  min-width: 0;
}

.creator-picks-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.creator-handle-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.creator-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.verified-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.creator-bio-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.4;
  max-width: 320px;
}

.creator-social-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-circle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.social-circle-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.follow-pill-btn {
  background: #ffffff;
  color: #0f172a;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-left: 0.25rem;
  transition: background 0.2s, transform 0.15s;
}

.follow-pill-btn:hover {
  background: #f1f5f9;
  transform: scale(1.03);
}

.aesthetic-quote-wrap {
  font-family: 'Caveat', cursive, 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.05;
  text-align: right;
  flex-shrink: 0;
  max-width: 145px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  letter-spacing: 0.01em;
}

/* ── 2. Featured in Reel Bar ───────────────────────────────── */
.featured-reel-bar {
  background: #fbf8f3;
  border: 1px solid #f0ece4;
  border-radius: 16px;
  margin: 0.85rem 0.85rem 0;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.reel-thumb-box {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}

.reel-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.reel-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
}

.reel-text-info {
  flex: 1;
  min-width: 0;
}

.reel-tag-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.reel-tag-title .gold-star {
  color: #0f172a;
  font-size: 0.85rem;
}

.reel-tag-sub {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-watch-cta {
  background: #18181b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.reel-watch-cta:hover {
  background: #27272a;
  transform: translateY(-1px);
}

/* ── 3. Section Headers ────────────────────────────────────── */
.creator-section {
  margin: 1.5rem 0.85rem 0;
}

.section-badge-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-star-icon,
.section-hanger-icon {
  font-size: 1.35rem;
  color: #0f172a;
  line-height: 1;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.section-subheading {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  margin: 0;
}

.view-all-btn {
  background: none;
  border: none;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s, transform 0.15s;
}

.view-all-btn:hover {
  color: #0f172a;
  text-decoration: underline;
  transform: translateX(2px);
}

/* ── 4. Hero Pick (Big Highlight Card) ─────────────────────── */
.hero-pick-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
  padding: 0.85rem;
  align-items: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-pick-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.hero-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-featured-badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #18181b;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-platform-tag {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  z-index: 2;
}

.hero-img-dots {
  position: absolute;
  bottom: 0.45rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  z-index: 2;
}

.hero-img-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.hero-img-dots .dot.active {
  background: rgba(0, 0, 0, 0.6);
}

.wishlist-btn {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, color 0.15s ease;
  z-index: 2;
}

.wishlist-btn:hover {
  transform: scale(1.1);
}

.wishlist-btn.active {
  color: #0f172a;
}

.hero-card-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 0.25rem;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted, #64748b);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.hero-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hero-current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-mrp-price {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.hero-discount-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #e11d48;
  background: #ffe4e6;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.hero-card-cta {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}

.hero-card-cta:hover {
  background: #27272a;
  transform: translateY(-1px);
}

/* ── 5. Shop the Look Grid ─────────────────────────────────── */
.shop-the-look-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 420px) {
  .shop-the-look-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.look-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.look-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.look-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
}

.look-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.look-platform-tag {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  z-index: 2;
}

.look-card-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.35rem;
}

.look-card-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.look-card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.look-card-cta {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.look-card-cta:hover {
  background: #27272a;
}

/* ── 6. Trust Badges Bar ───────────────────────────────────── */
.trust-features-bar {
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  margin: 1.5rem 0.85rem 0;
  padding: 0.95rem 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.trust-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.trust-feature-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.trust-feature-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-feature-label strong {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.trust-feature-label span {
  font-size: 0.68rem;
  color: var(--text-muted, #64748b);
  line-height: 1.2;
}

/* ── 7. Creator Quote Card ─────────────────────────────────── */
.creator-quote-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin: 1.25rem 0.85rem;
  padding: 1.15rem 1.25rem;
  position: relative;
}

.quote-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 0.7;
  color: #0f172a;
  display: block;
  margin-bottom: 0.35rem;
}

.quote-text-msg {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  margin: 0 0 0.4rem;
}

.quote-author-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: #64748b;
  text-align: right;
}

/* ── 8. Dark Luxury Footer (Identical to Reference Design) ─── */
.storefront-footer.luxury-dark {
  background: #18181b;
  color: #ffffff;
  margin: 1.25rem 0.85rem 1.5rem;
  padding: 1.4rem 1.25rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.footer-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  text-align: left;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem;
  line-height: 1.1;
}

.footer-brand-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.01em;
  display: block;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links-row a {
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-dot {
  color: #64748b;
  font-size: 0.6rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom-row {
  padding-top: 1rem;
  text-align: center;
}

.footer-powered-text {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.footer-powered-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-powered-text a:hover {
  text-decoration: underline;
}

/* ============================================================
   PASTEL CREATOR TEMPLATE (Template 2)
   Playful, vibrant creator aesthetic matching reference mockup
   ============================================================ */

.storefront-wrapper.template-pastel {
  background: #ffffff;
  box-shadow: 0 0 36px rgba(244, 114, 182, 0.08), 0 0 48px rgba(96, 165, 250, 0.08);
}

/* ── 1. Pastel Top Nav ──────────────────────────────────────── */
.pastel-top-nav {
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.pastel-brand {
  display: flex;
  flex-direction: column;
}

.pastel-logo-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pastel-brand-icon {
  font-size: 1.15rem;
}

.pastel-brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.1;
}

.pastel-brand-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}

.pastel-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pastel-share-pill {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.pastel-share-pill:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.pastel-dots-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}

.pastel-dots-btn:hover {
  background: #e2e8f0;
}

/* ── 2. Pastel Playful Hero Section ────────────────────────── */
.pastel-hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 35%, #ffffff 100%);
  padding: 1.75rem 1.25rem 1.25rem;
}

/* Floating sparkle doodles */
.pastel-doodle-sparkle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.75;
  animation: pastelFloat 4s ease-in-out infinite alternate;
}

.p-sparkle-1 {
  top: 12px;
  right: 18px;
  font-size: 1.25rem;
  color: #fb7185;
}

.p-sparkle-2 {
  top: 45%;
  left: 12px;
  font-size: 1.1rem;
  color: #a855f7;
  animation-delay: 1s;
}

.p-sparkle-3 {
  bottom: 15px;
  right: 25px;
  font-size: 1.35rem;
  color: #eab308;
  animation-delay: 2s;
}

@keyframes pastelFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-8px) rotate(12deg) scale(1.1); }
}

.pastel-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 380px) {
  .pastel-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.pastel-hero-left {
  display: flex;
  flex-direction: column;
}

.pastel-script-intro {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: #db2777;
  line-height: 1;
  margin-bottom: 0.1rem;
  transform: rotate(-3deg);
  display: inline-block;
}

.pastel-handle-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pastel-creator-name {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
}

.pastel-verified-badge {
  display: inline-flex;
  align-items: center;
}

.pastel-bio-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  margin: 0.45rem 0 0.85rem;
  line-height: 1.35;
}

.pastel-social-follow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pastel-social-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pastel-social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.pastel-social-icon:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-2px);
}

.pastel-follow-btn {
  background: #8b5cf6;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.pastel-follow-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Right Avatar Blob */
.pastel-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pastel-blob-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pastel-blob-bg {
  position: absolute;
  inset: -6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 58% 42% 48% 52% / 45% 55% 45% 55%;
  animation: pastelBlobRotate 10s ease-in-out infinite alternate;
}

@keyframes pastelBlobRotate {
  0% {
    border-radius: 58% 42% 48% 52% / 45% 55% 45% 55%;
    transform: rotate(0deg);
  }
  100% {
    border-radius: 44% 56% 54% 46% / 58% 42% 58% 42%;
    transform: rotate(180deg);
  }
}

.pastel-avatar-frame {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 2;
  background: #ffffff;
}

.pastel-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pastel-butterfly-doodle {
  position: absolute;
  top: -4px;
  right: -2px;
  font-size: 1.4rem;
  z-index: 3;
  animation: pastelFloat 3s ease-in-out infinite alternate;
}

.pastel-doodle-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.2;
  transform: rotate(-1deg);
}

/* ── 3. Pastel Featured in Reel Bar ────────────────────────── */
.pastel-reel-bar {
  background: #fffbeb;
  border: 1.5px solid #fef08a;
  border-radius: 18px;
  margin: 1.15rem 1rem 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 16px rgba(254, 240, 138, 0.25);
  position: relative;
  overflow: hidden;
}

.pastel-reel-thumb-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #0f172a;
}

.pastel-reel-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  display: block;
}

.pastel-reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.pastel-reel-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pastel-reel-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pastel-star {
  color: #eab308;
  font-size: 0.85rem;
}

.pastel-reel-heading {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}

.pastel-reel-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pastel-reel-doodle-text {
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  color: #db2777;
  line-height: 1.1;
}

.pastel-reel-cta {
  background: #f43f5e;
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.pastel-reel-cta:hover {
  background: #e11d48;
  transform: translateY(-1px);
}

/* ── 4. Pastel Section & Headers ───────────────────────────── */
.pastel-section {
  margin: 1.4rem 1rem 0;
}

.pastel-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.pastel-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pastel-bag-icon {
  font-size: 1.25rem;
}

.pastel-section-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.pastel-section-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}

.pastel-view-all-pill {
  background: #fde047;
  color: #0f172a;
  border: none;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(253, 224, 71, 0.4);
  transition: transform 0.15s, background 0.2s;
}

.pastel-view-all-pill:hover {
  background: #facc15;
  transform: translateY(-1px);
}

/* ── 5. Pastel Hero Pick Highlight Card ────────────────────── */
.pastel-hero-pick-card {
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.08);
  display: flex;
  flex-direction: column;
}

.pastel-hero-pick-img-box {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #fdf2f8;
  overflow: hidden;
}

.pastel-hero-pick-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pastel-featured-pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: #ffffff;
  color: #e11d48;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.pastel-wishlist-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
  z-index: 2;
}

.pastel-wishlist-btn:hover,
.pastel-wishlist-btn.active {
  color: #e11d48;
  transform: scale(1.1);
}

.pastel-hero-pick-content {
  padding: 0.95rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pastel-hero-pick-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.pastel-hero-pick-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0.2rem 0 0;
  line-height: 1.4;
}

.pastel-hero-pick-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

/* ── 6. Pastel Products Grid & Cards ───────────────────────── */
.pastel-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 460px) {
  .pastel-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.pastel-product-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pastel-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.pastel-card-img-box {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #f8fafc;
  overflow: hidden;
}

.pastel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pastel-product-card:hover .pastel-card-img {
  transform: scale(1.04);
}

.pastel-platform-pill {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.pastel-card-body {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.45rem;
}

.pastel-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.pastel-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pastel-deal-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
}

.pastel-mrp-price {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pastel-discount-pill {
  font-size: 0.6rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.pastel-card-cta {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.pastel-card-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* ── 7. Pastel Trust Badges Bar ────────────────────────────── */
.pastel-trust-bar {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  margin: 1.5rem 1rem 0;
  padding: 1.15rem 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.pastel-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pastel-trust-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pastel-trust-circle.bg-rose {
  background: #ffe4e6;
  color: #e11d48;
}

.pastel-trust-circle.bg-sky {
  background: #e0f2fe;
  color: #0284c7;
}

.pastel-trust-circle.bg-mint {
  background: #dcfce7;
  color: #16a34a;
}

.pastel-trust-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.pastel-trust-sub {
  font-size: 0.66rem;
  color: #64748b;
  line-height: 1.2;
}

/* ── 8. Pastel Quote Card ──────────────────────────────────── */
.pastel-quote-card {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: 20px;
  margin: 1.35rem 1rem 0;
  padding: 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.pastel-quote-stars {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 0.85rem;
  color: #fb7185;
  letter-spacing: 0.2em;
}

.pastel-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 0.6;
  color: #fb7185;
  display: block;
  margin-bottom: 0.4rem;
}

.pastel-quote-msg {
  font-size: 0.88rem;
  font-weight: 600;
  color: #881337;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.pastel-quote-author {
  font-size: 0.78rem;
  font-weight: 800;
  color: #e11d48;
  text-align: right;
}

/* ── 9. Instagram Polaroid Banner ──────────────────────────── */
.pastel-ig-banner {
  background: linear-gradient(135deg, #ede9fe 0%, #fef08a 100%);
  border-radius: 22px;
  margin: 1.5rem 1rem 0;
  padding: 1.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.pastel-ig-content {
  flex: 1;
  z-index: 2;
}

.pastel-ig-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.pastel-ig-sub {
  font-size: 0.74rem;
  color: #475569;
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.pastel-ig-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.pastel-ig-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.pastel-polaroids-stack {
  position: relative;
  width: 110px;
  height: 125px;
  flex-shrink: 0;
}

.pastel-polaroid {
  position: absolute;
  background: #ffffff;
  padding: 5px 5px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  width: 85px;
  transition: transform 0.3s ease;
}

.pastel-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.polaroid-caption {
  font-family: 'Caveat', cursive;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.polaroid-1 {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}

.polaroid-2 {
  bottom: 0;
  right: 0;
  transform: rotate(5deg);
  z-index: 2;
}

.pastel-ig-banner:hover .polaroid-1 {
  transform: rotate(-10deg) scale(1.04);
}

.pastel-ig-banner:hover .polaroid-2 {
  transform: rotate(8deg) scale(1.04);
}

/* ── 10. Pastel Clean White Footer ─────────────────────────── */
.pastel-footer {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  margin-top: 2rem;
  padding: 1.75rem 1.25rem 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pastel-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pastel-footer-brand {
  text-align: left;
}

.pastel-footer-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.1rem;
  letter-spacing: -0.02em;
}

.pastel-footer-tagline {
  font-size: 0.7rem;
  color: #94a3b8;
}

.pastel-footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pastel-footer-links a {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.pastel-footer-links a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.pastel-dot {
  color: #cbd5e1;
  font-size: 0.6rem;
}

.pastel-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.pastel-foot-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s;
}

.pastel-foot-icon:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-2px);
}

.pastel-footer-bottom {
  font-size: 0.72rem;
  color: #94a3b8;
}

.pastel-footer-bottom a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.pastel-footer-bottom a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE DESIGN: LAPTOP & DESKTOP SCREENS (≥ 900px)
   Expands storefront from a 580px mobile column to a rich,
   luxurious 1180px wide desktop e-commerce experience.
   ============================================================ */

@media (min-width: 900px) {
  body.storefront-page {
    padding: 2.5rem 1.5rem 4rem;
    background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #f8fafc 50%, #e2e8f0 100%);
  }

  .storefront-wrapper {
    max-width: 1180px;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
    overflow: hidden;
  }

  /* ── 1. Classic Luxe Desktop Styling ──────────────────────── */
  .creator-hero-banner {
    min-height: 420px;
    padding: 3rem 3.5rem 3rem;
  }

  .banner-top-bar {
    margin-bottom: 3.5rem;
  }

  .banner-brand .brand-title {
    font-size: 1.6rem;
  }

  .banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .creator-name {
    font-size: 2.75rem;
  }

  .creator-bio-text {
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0.6rem 0 1.25rem;
  }

  .aesthetic-quote-wrap {
    font-size: 2.25rem;
    max-width: 320px;
  }

  /* Featured in Reel */
  .featured-reel-bar {
    margin: 2rem 3rem 0;
    padding: 1.25rem 2rem;
    border-radius: 20px;
  }

  .reel-thumb-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .reel-tag-title {
    font-size: 1rem;
  }

  .reel-watch-cta {
    padding: 0.6rem 1.35rem;
    font-size: 0.85rem;
  }

  /* Hero Highlight Card - Horizontal Split on Desktop */
  .hero-pick-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    margin: 1.5rem 3rem 0;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-card-img-wrap {
    aspect-ratio: 1 / 1;
    height: 100%;
  }

  .hero-card-info-wrap {
    padding: 2.75rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-card-title {
    font-size: 1.65rem;
  }

  .hero-card-desc {
    font-size: 1rem;
    margin-top: 0.75rem;
    line-height: 1.6;
  }

  .hero-current-price {
    font-size: 1.85rem;
  }

  .hero-card-cta {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  /* Shop the Look - 4 Column Desktop Grid */
  .creator-section {
    margin: 2.5rem 3rem 0;
  }

  .shop-the-look-grid,
  .skeleton-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    padding: 0.5rem 0;
  }

  .look-card {
    border-radius: 18px;
  }

  .look-card-body {
    padding: 1rem;
    gap: 0.6rem;
  }

  .look-card-title {
    font-size: 0.88rem;
  }

  .look-card-price {
    font-size: 1.15rem;
  }

  .look-card-cta {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  /* Trust Bar Desktop */
  .trust-features-bar {
    margin: 2.5rem 3rem 0;
    padding: 1.75rem 2.5rem;
    border-radius: 20px;
    gap: 2rem;
  }

  .trust-feature-icon {
    font-size: 2rem;
  }

  .trust-feature-label strong {
    font-size: 0.92rem;
  }

  .trust-feature-label span {
    font-size: 0.78rem;
  }

  /* Creator Quote */
  .creator-quote-card {
    margin: 2rem 3rem;
    padding: 2rem 3rem;
    border-radius: 22px;
  }

  .quote-text-msg {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  /* Footer */
  .storefront-footer.luxury-dark {
    margin: 2rem 3rem 3rem;
    padding: 2.25rem 3rem;
    border-radius: 24px;
  }

  .footer-brand-title {
    font-size: 1.5rem;
  }

  .footer-links-row a {
    font-size: 0.88rem;
  }

  /* ── 2. Pastel Creator Desktop Styling ────────────────────── */
  .pastel-top-nav {
    padding: 1.35rem 3rem;
  }

  .pastel-brand-title {
    font-size: 1.5rem;
  }

  .pastel-hero-section {
    padding: 3.5rem 3.5rem 3rem;
  }

  .pastel-hero-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
  }

  .pastel-script-intro {
    font-size: 2.2rem;
  }

  .pastel-creator-name {
    font-size: 3.25rem;
  }

  .pastel-bio-tag {
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0.6rem 0 1.25rem;
  }

  .pastel-social-icon {
    width: 36px;
    height: 36px;
  }

  .pastel-follow-btn {
    font-size: 0.88rem;
    padding: 0.5rem 1.25rem;
  }

  .pastel-blob-wrapper {
    width: 220px;
    height: 220px;
  }

  .pastel-avatar-frame {
    width: 190px;
    height: 190px;
    border-width: 4px;
  }

  .pastel-doodle-quote {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  /* Pastel Reel Bar */
  .pastel-reel-bar {
    margin: 2rem 3.5rem 0;
    padding: 1.25rem 2.25rem;
    border-radius: 24px;
  }

  .pastel-reel-thumb-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .pastel-reel-heading {
    font-size: 1rem;
  }

  .pastel-reel-desc {
    font-size: 0.85rem;
  }

  .pastel-reel-doodle-text {
    font-size: 1.15rem;
  }

  .pastel-reel-cta {
    padding: 0.65rem 1.35rem;
    font-size: 0.85rem;
  }

  /* Pastel Hero Pick - Horizontal Split on Desktop */
  .pastel-hero-pick-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    border-radius: 24px;
  }

  .pastel-hero-pick-img-box {
    aspect-ratio: 1 / 1;
    height: 100%;
  }

  .pastel-hero-pick-content {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .pastel-hero-pick-title {
    font-size: 1.5rem;
  }

  .pastel-hero-pick-desc {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  /* Pastel Section & 4-Column Grid */
  .pastel-section {
    margin: 2.75rem 3.5rem 0;
  }

  .pastel-section-title {
    font-size: 1.5rem;
  }

  .pastel-section-sub {
    font-size: 0.88rem;
  }

  .pastel-view-all-pill {
    font-size: 0.85rem;
    padding: 0.45rem 1.15rem;
  }

  .pastel-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }

  .pastel-product-card {
    border-radius: 20px;
  }

  .pastel-card-body {
    padding: 1rem;
    gap: 0.6rem;
  }

  .pastel-card-title {
    font-size: 0.88rem;
  }

  .pastel-deal-price {
    font-size: 1.15rem;
  }

  .pastel-card-cta {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  /* Pastel Trust Bar */
  .pastel-trust-bar {
    margin: 2.75rem 3.5rem 0;
    padding: 1.75rem 2.5rem;
    border-radius: 24px;
    gap: 2rem;
  }

  .pastel-trust-circle {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .pastel-trust-title {
    font-size: 0.9rem;
  }

  .pastel-trust-sub {
    font-size: 0.78rem;
  }

  /* Pastel Quote Card */
  .pastel-quote-card {
    margin: 2.25rem 3.5rem 0;
    padding: 2.25rem 3.5rem;
    border-radius: 24px;
  }

  .pastel-quote-msg {
    font-size: 1.1rem;
  }

  /* Pastel IG Polaroid Banner */
  .pastel-ig-banner {
    margin: 2.75rem 3.5rem 0;
    padding: 2.5rem 3.5rem;
    border-radius: 28px;
  }

  .pastel-ig-heading {
    font-size: 1.85rem;
  }

  .pastel-ig-sub {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .pastel-ig-cta {
    font-size: 0.88rem;
    padding: 0.6rem 1.35rem;
  }

  .pastel-polaroids-stack {
    width: 220px;
    height: 180px;
  }

  .pastel-polaroid {
    width: 130px;
    padding: 8px 8px 24px;
  }

  .polaroid-caption {
    font-size: 0.95rem;
    margin-top: 6px;
  }

  /* Pastel Clean Footer */
  .pastel-footer {
    margin-top: 3.5rem;
    padding: 2.5rem 3.5rem 3.5rem;
  }

  .pastel-footer-logo {
    font-size: 1.5rem;
  }

  .pastel-footer-links a {
    font-size: 0.88rem;
  }
}

/* Keep the creator shop readable at every width and pointer type. */
.storefront-wrapper { background-color: #fff; }
.buyer-product-card { border-radius: 16px; }
.buyer-product-title { overflow-wrap: anywhere; }
.buyer-cta-btn { min-height: 44px; }
.buyer-cta-btn:focus-visible, .banner-share-pill:focus-visible, .banner-dots-btn:focus-visible {
  outline: 3px solid rgba(49, 87, 213, .55);
  outline-offset: 3px;
}
.buyer-stock-pill { color: #168354; background: #e9f7ef; border-color: #b9e4ca; }
.storefront-empty { grid-column: 1 / -1; }

@media (max-width: 899px) {
  .storefront-wrapper { max-width: 680px; }
  .creator-hero-banner { min-height: clamp(240px, 65vw, 340px); }
  .creator-name { font-size: clamp(1.55rem, 7vw, 2.25rem); overflow-wrap: anywhere; }
  .banner-content { min-width: 0; }
  .creator-bio-text { max-width: 42ch; }
  .storefront-products-feed { gap: clamp(.55rem, 2.2vw, .9rem); padding: clamp(.65rem, 2.5vw, 1rem); }
}

@media (max-width: 420px) {
  .creator-hero-banner { min-height: 240px; padding: .85rem .9rem 1rem; }
  .banner-top-bar { gap: .4rem; }
  .banner-brand .brand-title { font-size: 1.05rem; }
  .banner-share-pill { padding: .35rem .6rem; font-size: .7rem; }
  .storefront-products-feed { gap: .5rem; padding: .6rem; }
  .buyer-product-body { padding: .6rem; gap: .4rem; }
  .buyer-product-title { font-size: .77rem; min-height: 2.1rem; }
  .buyer-price { font-size: 1rem; }
  .buyer-stock-pill { font-size: .58rem; }
  .buyer-cta-btn { min-height: 42px; padding: .5rem .4rem; font-size: .72rem; white-space: normal; }
  .banner-content { align-items: flex-end; }
  .creator-social-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .buyer-product-card, .buyer-product-img, .buyer-cta-btn,
  .banner-share-pill, .banner-dots-btn { transition: none !important; animation: none !important; }
}

/* ── 12. Join Ruveka Creator CTA Banner ─────────────────────── */
.storefront-join-card {
  margin: 2rem 1rem 0;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(200, 162, 60, 0.1) 100%), #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.storefront-join-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.25);
  border-color: rgba(96, 165, 250, 0.35);
}

.join-card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(200, 162, 60, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.join-card-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.join-card-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 auto 1.25rem;
  max-width: 320px;
}

.join-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 290px;
  padding: 0.8rem 1.25rem;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
}

.join-card-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.join-card-btn svg {
  transition: transform 0.2s ease;
}

.join-card-btn:hover svg {
  transform: translateX(3px);
}

/* Pastel Theme Variant */
.pastel-join-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.pastel-join-card .join-card-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.pastel-join-card .join-card-title {
  color: #1e293b;
}

.pastel-join-card .join-card-subtitle {
  color: #64748b;
}

.pastel-join-card .join-card-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.pastel-join-card .join-card-btn:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
}

/* Footer bottom join link highlight */
.footer-join-highlight {
  color: #60a5fa !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-join-highlight:hover {
  color: #93c5fd !important;
}

.pastel-footer-bottom .footer-join-highlight {
  color: #e11d48 !important;
}

/* ============================================================
   E-Book Commerce & Instant Purchase Drawer Styles
   Clean, human-crafted, high-security UI (No childish icons)
   ============================================================ */

/* E-Book Badges */
.badge-ebook {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.hero-featured-badge.badge-ebook-hero {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* E-Book CTA Buttons */
.cta-ebook-direct {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.cta-ebook-direct:hover {
  background: #1e293b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3) !important;
}

/* Instant Purchase Bottom Sheet Drawer */
.ebook-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ebook-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ebook-checkout-drawer {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 1.25rem 1.5rem 2.25rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.ebook-drawer-overlay.active .ebook-checkout-drawer {
  transform: translateY(0);
}

.drawer-drag-handle {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.drawer-product-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.drawer-product-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-light, #e2e8f0);
  background: #f1f5f9;
  flex-shrink: 0;
}

.drawer-product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

.drawer-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.drawer-current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.drawer-mrp-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.drawer-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.drawer-form-group {
  margin-bottom: 1rem;
}

.drawer-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.drawer-input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.drawer-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: #f8fafc;
  border: 1.5px solid var(--border-light, #e2e8f0);
  border-right: none;
  border-radius: 10px 0 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

.drawer-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid var(--border-light, #e2e8f0);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawer-input.has-prefix {
  border-radius: 0 10px 10px 0;
}

.drawer-input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.drawer-trust-notice {
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.drawer-pay-btn {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.drawer-pay-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.drawer-pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.drawer-security-footer {
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Success View */
.drawer-success-state {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.drawer-success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  background: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
}

.drawer-success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.drawer-success-subtitle {
  font-size: 0.86rem;
  color: #475569;
  margin: 0 0 1.5rem;
  line-height: 1.45;
}

.drawer-download-btn {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s, background 0.2s;
}

.drawer-download-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
}


