:root {
  --bg0: #fff7fb;
  --bg1: #f7fbff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #1b1b1f;
  --muted: #5b5b68;
  --border: rgba(18, 18, 30, 0.12);
  --shadow: 0 12px 30px rgba(18, 18, 30, 0.10);
  --shadow-soft: 0 8px 20px rgba(18, 18, 30, 0.08);
  --accent: #ff4d6d;
  --accent-2: #7c5cff;
  --accent-3: #2dd4bf;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans",
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  background: #ffffff;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 320px at 12% 0%, rgba(255, 77, 109, 0.14), transparent 62%),
    radial-gradient(720px 280px at 88% 0%, rgba(124, 92, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 248, 251, 0.95) 0%, rgba(251, 252, 255, 0.92) 42%, rgba(255, 255, 255, 0) 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(255, 77, 109, 0.18); /* soft pink */
  color: #1b1b1f; /* keep text readable */
}

::-moz-selection {
  background: rgba(255, 77, 109, 0.25);
  color: #1b1b1f;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.floating-scrollbar.visible {
  opacity: 1;
}

.floating-scrollbar:hover {
  width: 14px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 14px 28px rgba(18, 18, 30, 0.11);
}

.floating-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 1px;
  width: calc(100% - 2px);
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 122, 145, 0.92) 0%,
    rgba(255, 77, 109, 0.98) 52%,
    rgba(255, 122, 145, 0.92) 100%
  );
  box-shadow:
    0 8px 18px rgba(255, 77, 109, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
  cursor: grab;
  will-change: transform;
  transition:
    transform 0.08s linear,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.floating-scrollbar:hover .floating-scrollbar-thumb {
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 10px 20px rgba(255, 77, 109, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.38);
}

.floating-scrollbar-thumb:active {
  cursor: grabbing;
}

body.scrollbar-dragging,
body.scrollbar-dragging * {
  user-select: none;
  cursor: grabbing !important;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
}

.navbar nav a {
  position: relative;
  padding: 7px 10px;
  border-radius: 11px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.navbar nav a:hover {
  background: rgba(255, 77, 109, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.navbar nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 77, 109, 0.24);
  box-shadow: 0 6px 14px rgba(255, 77, 109, 0.07);
}

/* RIGHT SIDE */
.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}

.auth-area .btn,
.auth-area .user-pill {
  font-size: 13px;
  padding: 6px 10px;
  white-space: nowrap;
}

.auth-area #googleSignInMount {
  display: flex;
  align-items: center;
} */

/* ================= HERO ================= */

.hero {
  padding: 60px 0 40px;
}

.hero-upgraded {
  padding-top: 60px;
  padding-bottom: 30px;
}

/* Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

/* Top tag */
.hero-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 109, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  backdrop-filter: blur(6px);
}

/* Heading */
.hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Paragraph */
.hero-text p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 16px;
}

/* Badges */
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.badge:hover {
  transform: translateY(-2px);
}

/* Proof text */
.hero-proof {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Image container */
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 77, 109, 0.10),
    rgba(124, 92, 255, 0.08)
  );
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 18, 30, 0.10);
}

/* Image */
.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Gradient overlay on image */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(18, 18, 30, 0.22)
  );
  pointer-events: none;
}

/* Keep height consistent */
.hero-media-upgraded {
  min-height: 420px;
}

/* Floating card */
.hero-floating-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(18, 18, 30, 0.14);
  transform: translateY(6px);
}

.hero-floating-card strong {
  font-size: 15px;
}

.hero-floating-card span {
  font-size: 13px;
  color: var(--muted);
}

/* ================= PREMIUM HOMEPAGE ================= */

.hero-premium {
  position: relative;
}

.hero-media-premium {
  min-height: 460px;
}

.hero-media-premium img {
  height: 460px;
}

.hero-floating-card-main {
  left: 20px;
  bottom: 20px;
}

.hero-mini-stat {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(18, 18, 30, 0.12);
  max-width: 220px;
}

.hero-mini-stat strong {
  font-size: 14px;
}

.hero-mini-stat span {
  font-size: 12px;
  color: var(--muted);
}

.stat-top {
  top: 18px;
  right: 18px;
}

.stat-right {
  right: 18px;
  bottom: 96px;
}

.trust-strip-premium {
  padding-top: 10px;
  padding-bottom: 32px;
}

.section-head-premium {
  max-width: 720px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 77, 109, 0.08);
  border: 1px solid rgba(255, 77, 109, 0.18);
}

.premium-section {
  padding-top: 34px;
}

.premium-featured-grid {
  gap: 18px;
}

.premium-feature-card {
  padding: 22px;
  border-radius: 20px;
}

.premium-feature-card h3 {
  font-size: 18px;
}

.premium-feature-card p {
  line-height: 1.6;
}

.premium-how {
  padding-top: 18px;
}

.premium-steps {
  gap: 18px;
}

.premium-step-card {
  padding: 22px 20px 20px;
  border-radius: 18px;
}

.premium-highlight-section {
  padding-top: 10px;
  padding-bottom: 54px;
}

.premium-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.premium-highlight-card,
.premium-highlight-list {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.premium-highlight-card {
  padding: 28px;
}

.premium-highlight-card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.3px;
}

.premium-highlight-card p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 560px;
}

.premium-highlight-card .btn {
  width: auto;
}

.premium-highlight-list {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.premium-point {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 18, 30, 0.08);
}

.premium-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.premium-point span {
  color: var(--muted);
  font-size: 14px;
}

.premium-cta-section {
  padding-top: 6px;
  padding-bottom: 44px;
}

.premium-cta-box {
  padding: 30px;
  border-radius: 26px;
}

@media (max-width: 900px) {
  .hero-media-premium {
    min-height: 340px;
  }

  .hero-media-premium img {
    height: 340px;
  }

  .hero-mini-stat {
    max-width: 200px;
  }

  .stat-right {
    bottom: 82px;
  }

  .premium-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-mini-stat {
    display: none;
  }

  .premium-cta-box {
    padding: 24px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-text {
    text-align: center;
    margin-inline: auto;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-media img {
    height: 300px;
  }

  .hero-media-upgraded {
    min-height: 300px;
  }

  .hero-floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    text-align: center;
  }
}

.how-section {
  padding: 50px 0;
  text-align: center;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.how-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.trust-section {
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

.cta-section {
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

/* SECTIONS */
section {
  scroll-margin-top: 90px;
}

.section {
  padding: 28px 0 54px;
  border-top: 1px solid rgba(18, 18, 30, 0.04);
}

.section-head {
  text-align: center;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: -0.2px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Trust strip */
.trust-strip {
  padding: 12px 0 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 18, 30, 0.10);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

/* Featured section */
.featured-section {
  padding-top: 18px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 18, 30, 0.10);
}


.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.1px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* CTA */
.cta-section {
  padding-top: 8px;
  padding-bottom: 60px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  box-shadow: 0 18px 40px rgba(18, 18, 30, 0.10);
}

.cta-box h2 {
  margin: 0 0 8px;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

  .hero-media img {
    height: 360px;
  }

  .trust-grid,
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .trust-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 28px;   /* was 18px → moved left */
  bottom: 28px;  /* was 18px → moved up */
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #20c15a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  z-index: 120;
  transition: all 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.96);
}

.whatsapp-float svg {
  pointer-events: none;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(18, 18, 30, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Show on hover */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2.5s infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.onboarding-banner {
  background: linear-gradient(135deg, #fff4cc, #ffe8b3);
  border: 1px solid #f5d27a;
  color: #6b4e00;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  margin: 16px 0;
}

.highlight-onboarding {
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255,77,109,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255,77,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); }
}

.onboarding-guide {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.onboarding-box {
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  width: 260px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
}

.onboarding-box p {
  margin-bottom: 12px;
  font-weight: 600;
}

.btn-loading {
  opacity: 0.75;
  cursor: wait !important;
  pointer-events: none;
}

.whatsapp-disabled {
  background: linear-gradient(135deg, #8b8b96, #666672);
  box-shadow: 0 14px 30px rgba(80, 80, 90, 0.25);
}

.admin-home-btn {
  border-color: rgba(184, 50, 94, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
  color: #b8325e;
  font-weight: 900;
}

.admin-home-btn:hover {
  transform: translateY(-1px);
}

/* ================= MALA PUBLIC COLOR SYSTEM ================= */

:root {
  --mala-pink: #ff4d6d;
  --mala-coral: #ff7a59;

  --mala-blue: #2563eb;
  --mala-blue-deep: #1d4ed8;
  --mala-blue-soft: #eff6ff;
  --mala-blue-glow: rgba(37, 99, 235, 0.12);
  --mala-blue-border: rgba(37, 99, 235, 0.18);

  --mala-marigold: #f59e0b;
  --mala-marigold-deep: #d97706;
  --mala-marigold-soft: rgba(245, 158, 11, 0.14);
  --mala-marigold-border: rgba(245, 158, 11, 0.22);

  --mala-green: #15803d;
  --mala-green-soft: #dff8e4;

  --mala-ink: #241c24;
}

/* Balanced background gradients for non-home public pages */
.public-orders-page,
.public-account-page,
.public-contact-page,
.public-payment-page,
.public-policy-page,
.public-error-page {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 77, 109, 0.07), transparent 28%),
    linear-gradient(180deg, #fffdfd 0%, #f8fbff 42%, #ffffff 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 720px !important;
  background-color: #ffffff !important;
}

.public-subscriptions-page {
  background:
    radial-gradient(circle at top left, rgba(255, 77, 109, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05), transparent 34%),
    linear-gradient(180deg, #fffdfd 0%, #fffaf3 42%, #ffffff 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 720px !important;
  background-color: #ffffff !important;
}

/* ================= HOME PAGE COLOR BALANCE ================= */

/* Add blue trust accents without changing the main hero */
.public-home-page .mala-promise-card:nth-child(3) .promise-icon,
.public-home-page .mala-promise-card:nth-child(4) .promise-icon {
  background: var(--mala-blue-soft) !important;
}

.public-home-page .mala-promise-card:nth-child(3),
.public-home-page .mala-promise-card:nth-child(4) {
  border-color: var(--mala-blue-border) !important;
}

.public-home-page .mala-flow-card:nth-child(2) .flow-icon {
  background: var(--mala-blue-soft) !important;
}

.public-home-page .mala-flow-card:nth-child(3) .flow-icon {
  background: var(--mala-marigold-soft) !important;
}

.public-home-page .mala-use-card:nth-child(2) div {
  background: var(--mala-marigold-soft) !important;
}

.public-home-page .mala-use-card:nth-child(4) div {
  background: var(--mala-blue-soft) !important;
}

/* ================= SUBSCRIPTIONS PAGE COLOR BALANCE ================= */

.public-subscriptions-page .subscription-intro-stats div:nth-child(2) {
  border-color: var(--mala-blue-border) !important;
  background: rgba(239, 246, 255, 0.82) !important;
}

.public-subscriptions-page .subscription-intro-stats div:nth-child(3) {
  border-color: var(--mala-marigold-border) !important;
  background: rgba(255, 250, 240, 0.86) !important;
}

.public-subscriptions-page .subscription-step-sidebar .step-btn.active {
  border-color: var(--mala-blue-border) !important;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff) !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10) !important;
}

.public-subscriptions-page .subscription-step-sidebar .step-btn.active .step-no {
  color: var(--mala-blue) !important;
}

.public-subscriptions-page .flower-pick-card.marigold-card {
  border-color: var(--mala-marigold-border) !important;
}

.public-subscriptions-page .flower-pick-card.orange-marigold-card {
  border-color: rgba(249, 115, 22, 0.22) !important;
}

/* Keep subscription action buttons pink because this is the main sales flow */

/* ================= ORDERS PAGE COLOR BALANCE ================= */

.public-orders-page .orders-kicker {
  color: var(--mala-blue) !important;
  background: var(--mala-blue-soft) !important;
  border-color: var(--mala-blue-border) !important;
}

.public-orders-page .orders-hero-panel,
.public-orders-page .orders-panel {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.92)) !important;
}

.public-orders-page .orders-hero-actions .orders-page-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-blue) 0%, #60a5fa 100%) !important;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

/* Pay Now stays pink because payment CTA should stay strong */
.public-orders-page .order-card-footer .orders-page-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-pink) 0%, var(--mala-coral) 100%) !important;
  box-shadow:
    0 16px 34px rgba(255, 77, 109, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

.public-orders-page .order-flower-mark {
  background: var(--mala-blue-soft) !important;
}

/* ================= ACCOUNT PAGE COLOR BALANCE ================= */

.public-account-page .account-kicker {
  color: var(--mala-blue) !important;
  background: var(--mala-blue-soft) !important;
  border-color: var(--mala-blue-border) !important;
}

.public-account-page .account-hero-panel,
.public-account-page .account-panel {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.92)) !important;
}

.public-account-page .account-avatar-large {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(124, 92, 255, 0.14)) !important;
}

.public-account-page .account-page-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-blue) 0%, #60a5fa 100%) !important;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

.public-account-page .address-icon {
  background: var(--mala-blue-soft) !important;
}

/* ================= CONTACT PAGE COLOR BALANCE ================= */

.public-contact-page .contact-kicker {
  color: var(--mala-blue) !important;
  background: var(--mala-blue-soft) !important;
  border-color: var(--mala-blue-border) !important;
}

.public-contact-page .contact-hero-panel,
.public-contact-page .featured-contact-card,
.public-contact-page .contact-info-panel {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.92)) !important;
}

.public-contact-page .contact-method-icon.email,
.public-contact-page .contact-hero-icon {
  background: var(--mala-blue-soft) !important;
}

.public-contact-page .contact-page-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-blue) 0%, #60a5fa 100%) !important;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

/* ================= PAYMENT PAGES COLOR BALANCE ================= */

.payment-success-page .payment-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-green) 0%, #22c55e 100%) !important;
  box-shadow:
    0 16px 34px rgba(21, 128, 61, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

.payment-failed-page .payment-btn-primary {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, #ef4444 0%, var(--mala-marigold) 100%) !important;
  box-shadow:
    0 16px 34px rgba(239, 68, 68, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

/* ================= POLICY / LEGAL PAGES COLOR BALANCE ================= */

.public-policy-page .policy-kicker,
.public-policy-page .policy-sidebar a.active,
.public-policy-page .policy-sidebar a:hover {
  color: var(--mala-blue) !important;
}

.public-policy-page .policy-kicker {
  background: var(--mala-blue-soft) !important;
  border-color: var(--mala-blue-border) !important;
}

.public-policy-page .policy-sidebar a.active,
.public-policy-page .policy-sidebar a:hover {
  background: var(--mala-blue-soft) !important;
}

.public-policy-page .policy-hero-panel,
.public-policy-page .policy-content-card,
.public-policy-page .policy-sidebar {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.92)) !important;
}

.public-policy-page .policy-note {
  border-color: var(--mala-blue-border) !important;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 34%),
    rgba(239, 246, 255, 0.78) !important;
}

.public-policy-page .policy-btn {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, var(--mala-blue) 0%, #60a5fa 100%) !important;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

/* ================= ERROR PAGE COLOR BALANCE ================= */

.public-error-page .error-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.24), transparent 34%),
    linear-gradient(135deg, var(--mala-blue) 0%, #60a5fa 100%) !important;
}

.public-error-page .error-kicker {
  color: var(--mala-blue) !important;
  background: var(--mala-blue-soft) !important;
  border-color: var(--mala-blue-border) !important;
}

/* ================= RESTORE MALA TEXT IDENTITY ================= */

/* Keep main headings dark, not blue */
.public-home-page h1,
.public-home-page h2,
.public-home-page h3,
.public-subscriptions-page h1,
.public-subscriptions-page h2,
.public-subscriptions-page h3,
.public-orders-page h1,
.public-orders-page h2,
.public-orders-page h3,
.public-account-page h1,
.public-account-page h2,
.public-account-page h3,
.public-contact-page h1,
.public-contact-page h2,
.public-contact-page h3,
.public-payment-page h1,
.public-payment-page h2,
.public-payment-page h3,
.public-policy-page h1,
.public-policy-page h2,
.public-policy-page h3,
.public-error-page h1,
.public-error-page h2,
.public-error-page h3 {
  color: #241c24 !important;
}

/* Restore pink identity for section labels/kickers */
.public-home-page .section-kicker,
.public-subscriptions-page .subscription-kicker,
.public-orders-page .orders-kicker,
.public-account-page .account-kicker,
.public-contact-page .contact-kicker,
.public-policy-page .policy-kicker,
.public-error-page .error-kicker {
  color: var(--mala-pink) !important;
  background: rgba(255, 77, 109, 0.08) !important;
  border-color: rgba(255, 77, 109, 0.16) !important;
}

/* Keep bulk flowers different using marigold */
.public-bulk-page .bulk-kicker {
  color: var(--mala-marigold-deep) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: var(--mala-marigold-border) !important;
}

/* Restore legal sidebar active text to pink, while blue stays only in soft background accents */
.public-policy-page .policy-sidebar a.active,
.public-policy-page .policy-sidebar a:hover {
  color: var(--mala-pink) !important;
  background: rgba(255, 77, 109, 0.08) !important;
}

/* Make important links feel like Mala again */
.public-contact-page a,
.public-policy-page a,
.public-account-page a,
.public-orders-page a {
  text-decoration-color: rgba(255, 77, 109, 0.35);
}

/* Keep blue subtle: icons/cards/backgrounds only, not primary identity text */
.public-orders-page .order-flower-mark,
.public-account-page .address-icon,
.public-account-page .account-avatar-large,
.public-contact-page .contact-method-icon.email,
.public-contact-page .contact-hero-icon {
  color: #241c24 !important;
}

/* ================= WIDE PUBLIC LAYOUT SYSTEM ================= */

/* 
  Use more screen width on desktops.
  Goal: around 10% space on each side, content uses around 80%.
*/
@media (min-width: 1200px) {
  .container {
    width: min(80vw, 1900px) !important;
    max-width: none !important;
  }

  .public-subscriptions-page .subscription-box-v2,
  .public-orders-page .orders-page-v2,
  .public-account-page .account-page-v2,
  .public-contact-page .contact-page-shell,
  .public-bulk-page .bulk-page-shell,
  .public-policy-page .policy-page-shell,
  .public-payment-page .payment-page-shell,
  .public-error-page .error-page-shell {
    width: min(80vw, 1900px) !important;
    max-width: none !important;
  }
}

/* Slightly tighter on normal laptops so it does not feel too stretched */
@media (min-width: 1200px) and (max-width: 1500px) {
  .container {
    width: min(88vw, 1280px) !important;
  }

  .public-subscriptions-page .subscription-box-v2,
  .public-orders-page .orders-page-v2,
  .public-account-page .account-page-v2,
  .public-contact-page .contact-page-shell,
  .public-bulk-page .bulk-page-shell,
  .public-policy-page .policy-page-shell,
  .public-payment-page .payment-page-shell,
  .public-error-page .error-page-shell {
    width: min(88vw, 1280px) !important;
  }
}

/* Keep mobile normal */
@media (max-width: 760px) {
  .container {
    width: min(100% - 22px, 100%) !important;
  }
}

/* ================= FORCE HOMEPAGE 10% SIDE SPACING ================= */

@media (min-width: 1200px) {
  .public-home-page {
    --home-content-width: min(80vw, 1900px);
  }

  /* 4 cards section wrapper */
  .public-home-page .trust-strip,
  .public-home-page .trust-strip-premium,
  .public-home-page .mala-promise-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  /* 4 cards actual content */
  .public-home-page .trust-strip > .container,
  .public-home-page .trust-strip-premium > .container,
  .public-home-page .mala-promise-section > .container,
  .public-home-page .trust-grid,
  .public-home-page .mala-promise-grid {
    width: var(--home-content-width) !important;
    max-width: var(--home-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
  }

  /* If any old full-bleed CSS is forcing 100vw */
  .public-home-page .trust-grid,
  .public-home-page .mala-promise-grid {
    left: auto !important;
    right: auto !important;
    position: relative !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(18px, 1.5vw, 30px) !important;
  }

  /* Bulk section wrapper */
  .public-home-page .home-bulk-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  /* Bulk section actual panel */
  .public-home-page .home-bulk-section > .container,
  .public-home-page .home-bulk-panel {
    width: var(--home-content-width) !important;
    max-width: var(--home-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}

/* Normal laptop screens: keep it slightly wider but still not edge-to-edge */
@media (min-width: 1200px) and (max-width: 1500px) {
  .public-home-page {
    --home-content-width: min(86vw, 1280px);
  }
}

/* Very large screens: exactly around 10% each side */
@media (min-width: 1501px) {
  .public-home-page {
    --home-content-width: 80vw;
  }
}