.elementor-2171 .elementor-element.elementor-element-ae92351{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-7f5758b *//* ============================================================
   ORGANIXX SLEEP SYSTEM — ELEMENTOR HTML WIDGET
   Self-contained static rebuild from Loveable React app
   ============================================================ */

/* --- CSS Custom Properties (extracted from Loveable theme) --- */
:root {
  --background: 140 14% 93%;
  --foreground: 210 7% 21%;
  --card: 0 0% 100%;
  --card-foreground: 210 7% 21%;
  --primary: 231 46% 22%;
  --primary-foreground: 140 14% 93%;
  --secondary: 210 19% 40%;
  --secondary-foreground: 0 0% 100%;
  --muted: 140 10% 90%;
  --muted-foreground: 210 19% 40%;
  --accent: 38 72% 56%;
  --accent-foreground: 231 46% 22%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 140 8% 85%;
  --input: 140 8% 85%;
  --ring: 231 46% 22%;
  --radius: 1.25rem;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
  50% { box-shadow: 0 10px 25px -3px hsl(38 72% 56% / 0.4), 0 4px 10px -4px hsl(38 72% 56% / 0.3); }
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }
em { font-style: italic; }
h1, h2, h3, h4, h5, h6 {
  color: hsl(var(--primary));
  letter-spacing: -0.03em;
  line-height: 1.1;
}
p { line-height: 1.65; }

/* --- Layout --- */
.container-narrow {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 .25rem;
}
.section-padding {
  padding: 3.5rem 1.25rem !important;
}
@media (min-width: 768px) {
  .section-padding { padding: 6rem 2rem; }
}

/* --- Typography --- */
.section-headline {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  color: hsl(var(--primary));
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .section-headline { font-size: 3rem; }
}
.section-subheadline {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .section-subheadline { font-size: 1.25rem; }
}

/* --- Cards --- */
.content-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .content-card { padding: 2rem; }
}
.content-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* --- Buttons --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  text-align: center;
  cursor: pointer;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.cta-button-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  text-align: center;
  cursor: pointer;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.cta-button-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* --- Trust Text --- */
.trust-text {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* --- Background Variants --- */
.bg-background { background: hsl(var(--background)); }
.bg-card { background: hsl(var(--card)); }
.bg-muted { background: hsl(var(--muted)); }
.bg-primary { background: hsl(var(--primary)); }

/* --- Utility Colors --- */
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

/* --- Grid System --- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5-split-2-3 { grid-template-columns: 1fr; }
.grid-5-split-3-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5-split-2-3 { grid-template-columns: 2fr 3fr; gap: 2.5rem; }
  .grid-5-split-3-2 { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
  .grid-sm-2-md-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-sm-2-md-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- SVG Icon Helpers --- */
.icon-sm { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.icon-md { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-lg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-xl { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

/* --- Star Ratings --- */
.stars { display: flex; gap: 2px; }
.stars svg { width: 1rem; height: 1rem; fill: hsl(var(--accent)); color: hsl(var(--accent)); }

/* --- Announcement Bar --- */
.ox-announce-bar {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.625rem 1rem;
  overflow-x: auto;
}
.ox-announce-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ox-announce-bar-inner { gap: 2rem; }
}
.ox-announce-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .ox-announce-item { font-size: 0.75rem; }
}

/* --- Sticky Nav --- */
.ox-nav {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}
.ox-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
  min-height: 60px;
}
@media (min-width: 768px) {
  .ox-nav-inner { padding: 0.75rem 2rem; min-height: 68px; }
}
/* Logo link wrapper */
.ox-nav-inner > a:first-child {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
}
.ox-nav-logo {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  max-width: 180px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  display: block !important;
}
@media (min-width: 768px) {
  .ox-nav-logo { height: 48px !important; max-height: 48px !important; max-width: 220px !important; }
}
.ox-nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
@media (min-width: 1024px) {
  .ox-nav-links { display: flex; }
}
.ox-nav-links a {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: hsl(var(--muted-foreground)) !important;
  transition: color 0.2s;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  white-space: nowrap !important;
}
.ox-nav-links a:hover { color: hsl(var(--primary)) !important; }
.ox-nav-links .cta-button {
  font-size: 0.875rem !important;
  padding: 0.625rem 1.5rem !important;
  color: hsl(var(--accent-foreground)) !important;
  background: hsl(var(--accent)) !important;
  border-radius: 9999px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  animation: none !important;
  margin-left: auto !important;
}

.ox-nav-links a:first-child {
  margin-left: 9rem !important;
}

.ox-mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}
@media (min-width: 1024px) {
  .ox-mobile-toggle { display: none; }
}

/* --- Mobile Nav Drawer --- */
.ox-mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(0,0,0,0.5);
}
.ox-mobile-nav.open { display: block; }
.ox-mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: hsl(var(--card));
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.ox-mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}
.ox-mobile-nav-panel a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
}

/* --- Hero --- */
.ox-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .ox-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.ox-hero-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--accent-foreground));
  background: hsl(var(--accent) / 0.2);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}
.ox-hero-h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.08;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .ox-hero-h1 { font-size: 3.25rem; }
}
.ox-hero-h1 .subtitle {
  color: hsl(var(--secondary));
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}
@media (min-width: 768px) {
  .ox-hero-h1 .subtitle { font-size: 1.875rem; }
}
.ox-hero-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.ox-hero-img-desktop { display: none; }
.ox-hero-img-mobile { display: block; }
@media (min-width: 768px) {
  .ox-hero-img-desktop { display: block; }
  .ox-hero-img-mobile { display: none; }
}

/* --- Checklist Items --- */
.ox-check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.ox-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--foreground));
}
.ox-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.2);
  flex-shrink: 0;
}
.ox-check-icon svg { width: 1rem; height: 1rem; color: hsl(var(--accent-foreground)); }

/* --- Trust Badges Row --- */
.ox-trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* --- Problem Cards --- */
.ox-problem-badge {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}
.ox-problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.15);
  flex-shrink: 0;
}
.ox-problem-icon svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent-foreground)); }

/* --- Product Cards (How It Works) --- */
.ox-product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ox-product-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.ox-product-card-body {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .ox-product-card-body { padding: 1.5rem 2rem; }
}

/* --- Magnesium Forms List --- */
.ox-mag-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.ox-mag-form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  flex-shrink: 0;
}
.ox-mag-form-icon svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); }
.ox-mag-form-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  white-space: nowrap;
}
.ox-mag-form-desc {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  flex: 1;
}

/* --- Timeline --- */
.ox-timeline { position: relative; }
.ox-timeline-line {
  display: none;
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: hsl(var(--border));
}
@media (min-width: 768px) {
  .ox-timeline-line { display: block; }
}
.ox-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ox-timeline-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--accent-foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 10;
}
.ox-timeline-dot {
  display: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .ox-timeline-dot { display: block; }
}

/* --- Clean Sleep Ingredient Cards --- */
.ox-ingredient-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.ox-ingredient-dose {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--secondary));
  background: hsl(var(--muted));
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}

/* --- 3D Sleep Support Icons --- */
.ox-3d-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
}
.ox-3d-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }

/* --- Side-by-Side Product Comparison --- */
.ox-compare-card {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: flex;
  flex-direction: column;
}
.ox-compare-card-img {
  height: 60%;
  overflow: hidden;
}
.ox-compare-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ox-compare-card-body {
  height: 40%;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Combined Banner --- */
.ox-combined-banner {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.ox-combined-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.ox-combined-benefits span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}
.ox-combined-benefits svg { width: 1rem; height: 1rem; color: hsl(var(--accent)); }

/* --- Results Timeline Cards --- */
.ox-result-card {
  position: relative;
  overflow: hidden;
}
.ox-result-card .big-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3.75rem;
  font-weight: 800;
  color: hsl(var(--primary) / 0.05);
  line-height: 1;
  user-select: none;
}
.ox-result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--accent-foreground));
  background: hsl(var(--accent) / 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

/* --- Reviews --- */
.ox-review-section-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  margin-bottom: 1rem;
}
.ox-review-headline {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary));
  line-height: 1.3;
}
.ox-review-author {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* --- Quality Grid --- */
.ox-quality-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
}
.ox-quality-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }

/* --- Choice Section --- */
.ox-choice-highlight {
  border: 2px solid hsl(var(--accent));
  background: hsl(var(--accent) / 0.05);
  transform: scale(1.02);
}
.ox-choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* --- Value Section --- */
.ox-value-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .ox-value-grid { grid-template-columns: 2fr 1fr; }
}
.ox-price-card {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.ox-price-big {
  font-size: 2.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ox-price-big span { font-size: 1.125rem; font-weight: 400; }

/* --- Pricing Cards --- */
.ox-pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.ox-pricing-popular {
  border: 2px solid hsl(var(--accent));
}
.ox-pricing-best {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.ox-pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.ox-pricing-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}
.ox-pricing-best .ox-pricing-img {
  background: hsl(var(--primary-foreground) / 0.1);
  border-color: hsl(var(--primary-foreground) / 0.2);
}
.ox-pricing-img img { width: 100%; height: 100%; object-fit: cover; }
.ox-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ox-pricing-daily {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}
.ox-pricing-best .ox-pricing-daily { color: hsl(var(--primary-foreground) / 0.7); }
.ox-pricing-save {
  display: inline-block;
  margin-top: 0.5rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
}
.ox-pricing-features { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.ox-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.ox-pricing-feature svg { width: 1rem; height: 1rem; margin-top: 2px; flex-shrink: 0; }
.ox-pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
}
.ox-pricing-guarantee svg { width: 0.875rem; height: 0.875rem; }

/* --- FAQ Accordion --- */
.ox-faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ox-faq-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.ox-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-align: left;
  font-family: inherit;
  gap: 1rem;
}
.ox-faq-question svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.ox-faq-item.open .ox-faq-question svg { transform: rotate(180deg); }
.ox-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
  padding: 0 1.25rem;
}
.ox-faq-item.open .ox-faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

/* --- Footer --- */
.ox-footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 2.5rem 1.25rem;
}
.ox-footer a { color: hsl(var(--primary-foreground) / 0.7); }
.ox-footer a:hover { color: hsl(var(--primary-foreground)); }
.ox-footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .ox-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.ox-footer-divider {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--primary-foreground) / 0.5);
}

/* --- Helper: inline-check (for comparison lists) --- */
.ox-inline-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.ox-inline-check svg { width: 1rem; height: 1rem; color: hsl(var(--secondary)); flex-shrink: 0; }

/* --- Responsive image toggling --- */
.show-mobile { display: block; }
.show-desktop { display: none; }
@media (min-width: 768px) {
  .show-mobile { display: none; }
  .show-desktop { display: block; }
}

/* --- Misc spacing --- */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* =============================================================
   ULTIMATE SLEEP SYSTEM — INTERNAL PAGE
   Mobile-First CSS Optimization
   Target: https://lp.organixx.com/ultimate-sleep-system-internal/
   
   DEPLOYMENT: Paste into Elementor > Custom CSS, or add as a 
   <style> block in the HTML widget above the existing markup.
   
   APPROACH: Conservative tightening — reduces obvious whitespace
   waste on mobile without altering the visual identity or layout
   logic. Desktop receives light polish at 768px+.
   
   NOTE: This page is a Lovable.dev build that outputs inline 
   gap/margin styles on grid elements. Where needed, !important
   is used specifically to override those inline styles — nowhere
   else. This is intentional and scoped.
   ============================================================= */


/* =============================================================
   1. SECTION PADDING — Mobile Reduction
   
   Current: 4rem (64px) top/bottom on mobile
   Updated: 2.75rem (44px) — saves ~40px per section × 14 sections
   = ~560px less dead scroll on mobile
   ============================================================= */

.section-padding {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}


/* =============================================================
   2. CONTAINER MARGIN-BOTTOM — Tighten section header blocks
   
   Several .container-narrow elements carry margin-bottom: 48px
   between the header block and content below. Reduce to 32px
   on mobile for tighter visual connection.
   ============================================================= */

.container-narrow {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .container-narrow {
    margin-bottom: 3rem;
  }
}


/* =============================================================
   3. GRID GAPS — Override inline styles from Lovable build
   
   Nearly all grid elements have inline style="gap:1.5rem" or
   style="gap:2rem". !important is required to override these.
   
   Current: 24px–32px gaps when cards stack single-column
   Updated: 16px–20px — cards feel grouped, not isolated
   ============================================================= */

.grid-2,
.grid-3,
.grid-sm-2-md-3 {
  gap: 1rem !important;
}

.grid-4 {
  gap: 1rem !important;
}

.grid-5-split-2-3,
.grid-5-split-3-2 {
  gap: 1.25rem !important;
}

@media (min-width: 768px) {
  .grid-2,
  .grid-3 {
    gap: 1.5rem !important;
  }

  .grid-4 {
    gap: 1.5rem !important;
  }

  .grid-sm-2-md-3 {
    gap: 1.5rem !important;
  }

  .grid-5-split-2-3,
  .grid-5-split-3-2 {
    gap: 2.5rem !important;
  }
}


/* =============================================================
   4. CONTENT CARDS — Padding & Border-Radius on mobile
   
   Current: 24px padding, 24px border-radius
   Updated: 20px padding, 16px border-radius — less wasted 
   internal space, tighter corner radius suits small screens
   ============================================================= */

.content-card {
  padding: 1.25rem;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .content-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}


/* =============================================================
   5. HEADINGS — Margin Optimization
   
   Section headlines (h2) have inconsistent top margins and
   generous bottom margins. Standardize for mobile.
   ============================================================= */

.section-headline {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subheadline {
  margin-bottom: 1.5rem;
}

h3 {
  margin-top: 0;
  color: hsl(var(--primary)) !important;
}

@media (min-width: 768px) {
  .section-headline {
    margin-bottom: 1rem;
  }

  .section-subheadline {
    margin-bottom: 2rem;
  }
}


/* =============================================================
   6. HERO SECTION — Center on Mobile + Badge Sizing
   
   - Center all hero text content on mobile
   - Reduce badge/pill ("2-Part Sleep System") to be smaller 
     than headline
   - Tighten gap between hero grid columns
   - Center CTA button and trust row
   ============================================================= */

/* Center hero content on mobile */
.ox-hero-grid > .space-y-6 {
  text-align: center;
}

.ox-hero-grid {
  gap: 1.5rem !important;
}

/* Badge/pill — make noticeably smaller than headline */
.ox-hero-badge {
  font-size: 0.6875rem;
  padding: 0.375rem 0.875rem;
  letter-spacing: 0.05em;
}

.ox-hero-h1 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

/* Center the checklist on mobile */
.ox-hero-grid .ox-check-list {
  justify-content: center;
}

/* Center the CTA wrapper div */
.ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Center the trust row */
.ox-trust-row {
  gap: 0.75rem !important;
  font-size: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  /* Restore left-align on desktop */
  .ox-hero-grid > .space-y-6 {
    text-align: left;
  }

  .ox-hero-grid {
    gap: 2rem !important;
  }

  .ox-hero-badge {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }

  .ox-hero-h1 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .ox-hero-grid .ox-check-list {
    justify-content: flex-start;
  }

  .ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
    align-items: flex-start;
  }

  .ox-trust-row {
    gap: 1.25rem !important;
    font-size: 0.8125rem;
    justify-content: flex-start;
  }
}


/* =============================================================
   7. ANNOUNCE BAR — Prevent Overflow on Narrow Screens
   ============================================================= */

.ox-announce-bar {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.ox-announce-bar-inner {
  gap: 0.75rem !important;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.ox-announce-item {
  font-size: 0.625rem;
  gap: 0.25rem !important;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .ox-announce-item {
    font-size: 0.6875rem;
    gap: 0.375rem !important;
  }
}

@media (min-width: 768px) {
  .ox-announce-bar-inner {
    gap: 2rem !important;
  }

  .ox-announce-item {
    font-size: 0.75rem;
  }
}


/* =============================================================
   8. TIMELINE SECTION — Fix 2-Column Cramping on Small Mobile
   
   .grid-4 defaults to repeat(2, 1fr) on mobile — creates 
   ~195px cards with tiny text on phones < 480px.
   Force single-column under 480px, restore 2-col 480-768,
   and 4-col at desktop.
   ============================================================= */

#results-timeline .grid-4 {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

@media (min-width: 480px) {
  #results-timeline .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (min-width: 768px) {
  #results-timeline .grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
  }
}

/* Big numbers — reduce from 3.75rem for better proportion */
.ox-result-card .big-number {
  font-size: 2.75rem;
}

@media (min-width: 768px) {
  .ox-result-card .big-number {
    font-size: 3.75rem;
  }
}


/* =============================================================
   9. CTA BUTTONS — Mobile Touch Optimization
   
   Full-width on mobile for easier thumb reach.
   Slightly reduce padding from original 20px 40px.
   ============================================================= */

.cta-button-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 768px) {
  .cta-button-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    width: auto;
    max-width: none;
  }
}

/* Smaller nav CTA */
.cta-button {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}


/* =============================================================
   10. PRODUCT CARDS — Tighten on Mobile
   
   Magnesium 7 / Clean Sleep 3D intro cards.
   ============================================================= */

.ox-product-card {
  border-radius: 1rem;
}

.ox-product-card-body {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .ox-product-card {
    border-radius: 1.5rem;
  }

  .ox-product-card-body {
    padding: 1.5rem;
  }
}


/* =============================================================
   11. MAGNESIUM FORMS GRID — Stack Name Above Description
   
   Current: horizontal row layout (icon | name | description)
   Updated: Stack vertically on mobile so ingredient name sits 
   above the description text for better readability.
   Also reduce the "The 7 Forms of Magnesium" heading margin.
   ============================================================= */

/* Stack mag form cards vertically on mobile */
.ox-mag-form {
  flex-direction: column;
  align-items: flex-start !important;
  padding: 0.875rem;
  gap: 0.375rem !important;
  text-align: left;
}

/* Hide the icon on mobile to save space, or keep small */
.ox-mag-form-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* Name sits prominently above desc */
.ox-mag-form-name {
  font-size: 0.9375rem;
  white-space: normal;
}

.ox-mag-form-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Reduce the "The 7 Forms" heading margin-bottom (has inline 2rem) */
#magnesium-deep-dive h3 {
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  /* Restore horizontal layout on desktop */
  .ox-mag-form {
    flex-direction: row;
    align-items: center !important;
    padding: 1rem;
    gap: 0.75rem !important;
  }

  .ox-mag-form-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ox-mag-form-name {
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .ox-mag-form-desc {
    font-size: 0.875rem;
  }

  #magnesium-deep-dive h3 {
    margin-bottom: 2rem !important;
  }
}


/* =============================================================
   12. FAQ SECTION — Fix Answer Leak + Magenta Hover
   
   BUG FIX: The .ox-faq-answer padding rule was applying 
   padding-bottom unconditionally, causing answer text to show
   even when closed (max-height: 0 + padding = visible space).
   
   Fix: Only apply padding overrides to the .open state.
   Also: Override Elementor theme's magenta button hover color.
   ============================================================= */

.ox-faq-item {
  border-radius: 0.75rem;
}

/* Question button styling */
.ox-faq-question {
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* Fix magenta hover — force brand color on hover */
.ox-faq-question:hover,
.ox-faq-question:focus {
  color: hsl(var(--primary)) !important;
  background: hsl(var(--muted)) !important;
}

/* Answer — only set font-size/line-height for closed state.
   Do NOT set padding here — the base CSS handles open/closed padding. */
.ox-faq-answer {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Only apply tighter padding when FAQ is open — must include max-height
   because this rule comes after the base CSS in source order */
.ox-faq-item.open .ox-faq-answer {
  max-height: 300px !important;
  padding: 0 1.125rem 0.875rem;
}

/* Tighten gap between FAQ items */
#faq .space-y-3 > * + * {
  margin-top: 0.625rem;
}

@media (min-width: 768px) {
  .ox-faq-item {
    border-radius: 1.25rem;
  }

  .ox-faq-question {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
  }

  .ox-faq-item.open .ox-faq-answer {
    max-height: 300px !important;
    padding: 0 1.25rem 1.25rem;
  }

  #faq .space-y-3 > * + * {
    margin-top: 0.75rem;
  }
}


/* =============================================================
   13. PRICING SECTION — Aggressively Reduce Card Bloat
   
   Root causes of mobile bloat:
   - flex gap 1.25rem between 6 children = 100px of gaps
   - product image at full-width 4:3 = 286px
   - price line-height inflated by global p rule (1.65)
   - title wrapper has inline padding-top: 0.5rem
   - H3 has 8px margin-top from base stylesheet
   - CTA button 16px vert padding = 61px height
   ============================================================= */

/* Slash flex gap between card children */
.ox-pricing-card {
  gap: 0.375rem !important;
}

/* Card padding */
#pricing .content-card {
  padding: 0.875rem;
}

/* Shrink product image */
.ox-pricing-img {
  aspect-ratio: 16 / 10 !important;
}

/* Kill the title wrapper padding-top (inline 0.5rem) */
.ox-pricing-card > .text-center {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* H3 "1 Bundle" — kill all margins */
.ox-pricing-card .text-center h3 {
  margin: 0 0 0.125rem 0 !important;
  font-size: 1.125rem !important;
}

/* "1 Month Supply" subtitle */
.ox-pricing-card .text-center p {
  margin: 0 !important;
  line-height: 1.3;
}

/* Price — fix line-height bloat from global p rule */
.ox-pricing-price {
  font-size: 2rem !important;
  line-height: 1.1 !important;
  margin-bottom: 0 !important;
}

/* Per-day price */
.ox-pricing-card .text-center p + p,
.ox-pricing-card .text-center p:last-child {
  margin: 0.125rem 0 0 0 !important;
  line-height: 1.3;
}

/* Tighten features list */
.ox-pricing-features {
  gap: 0.125rem !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ox-pricing-features li {
  font-size: 0.8125rem;
  gap: 0.375rem !important;
}

/* Save badge (Save 6%, Save 11%) — reduce bloat */
.ox-pricing-save {
  margin-top: 0.25rem !important;
  padding: 0.25rem 0.75rem !important;
  font-size: 0.75rem !important;
}

/* CTA button INSIDE pricing card — reduce height */
.ox-pricing-card .cta-button {
  padding: 0.625rem 1.5rem !important;
  font-size: 0.9375rem !important;
}

/* Guarantee badge */
.ox-pricing-guarantee {
  margin-top: 0 !important;
  padding-top: 0.25rem !important;
  font-size: 0.6875rem;
}

/* Grid gap between pricing cards */
#pricing .grid-3,
#pricing [class*="grid"] {
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  .ox-pricing-card {
    gap: 1rem !important;
  }

  #pricing .content-card {
    padding: 1.75rem;
  }

  .ox-pricing-img {
    aspect-ratio: 1 / 1 !important;
  }

  .ox-pricing-card > .text-center {
    padding-top: 0.5rem !important;
  }

  .ox-pricing-card .text-center h3 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.25rem !important;
  }

  .ox-pricing-price {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }

  .ox-pricing-features li {
    font-size: 0.875rem;
  }

  .ox-pricing-card .cta-button {
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
  }

  .ox-pricing-guarantee {
    padding-top: 0.5rem !important;
    font-size: 0.75rem;
  }

  #pricing .grid-3,
  #pricing [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   14. REVIEWS / SOCIAL PROOF — Tighter Card Stack
   
   6 review cards stacked single-column creates a long scroll.
   Reduce gap and card padding on mobile.
   ============================================================= */

#social-proof .content-card {
  padding: 1.125rem;
}

#social-proof .grid-3,
#social-proof [class*="grid"] {
  gap: 0.875rem !important;
}

@media (min-width: 768px) {
  #social-proof .content-card {
    padding: 2rem;
  }

  #social-proof .grid-3,
  #social-proof [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   15. CHOICE SECTION (Option A/B/C) — Tighter Stack
   ============================================================= */

section:has(.ox-choice-highlight) [class*="grid"] {
  gap: 0.875rem !important;
}

@media (min-width: 768px) {
  section:has(.ox-choice-highlight) [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   16. QUALITY BADGES SECTION — Tighter Grid
   ============================================================= */

section:has(.ox-quality-icon) [class*="grid"] {
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  section:has(.ox-quality-icon) [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   17. SPACE-Y UTILITY OVERRIDES — Reduce Vertical Lists
   ============================================================= */

.space-y-4 > * + * {
  margin-top: 0.75rem;
}

.space-y-6 > * + * {
  margin-top: 1.125rem;
}

@media (min-width: 768px) {
  .space-y-4 > * + * {
    margin-top: 1rem;
  }

  .space-y-6 > * + * {
    margin-top: 1.5rem;
  }
}


/* =============================================================
   18. FOOTER — Tighten Mobile Spacing
   ============================================================= */

.ox-footer {
  padding: 2rem 1.25rem;
}

.ox-footer [class*="grid"] {
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .ox-footer {
    padding: 3rem 2rem;
  }

  .ox-footer [class*="grid"] {
    gap: 2rem !important;
  }
}


/* =============================================================
   19. INGREDIENT DEEP-DIVE SECTIONS — Mobile Polish
   ============================================================= */

#magnesium-deep-dive .show-mobile,
#clean-sleep-deep-dive .show-mobile {
  margin-bottom: 1.25rem;
}

#magnesium-deep-dive .ox-check-list,
#clean-sleep-deep-dive .ox-check-list {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Ingredient cards (PeptiSleep, L-Theanine, GABA) */
#clean-sleep-deep-dive .content-card {
  padding: 1.125rem;
}

@media (min-width: 768px) {
  #clean-sleep-deep-dive .content-card {
    padding: 2rem;
  }
}


/* =============================================================
   20. VALUE PROPOSITION SECTION
   ============================================================= */

section:has(.big-number) .grid-5-split-2-3,
section:has(.big-number) .grid-5-split-3-2 {
  gap: 1.25rem !important;
}

@media (min-width: 768px) {
  section:has(.big-number) .grid-5-split-2-3,
  section:has(.big-number) .grid-5-split-3-2 {
    gap: 2.5rem !important;
  }
}


/* =============================================================
   21. MOBILE NAV — Ensure Proper Tap Targets
   ============================================================= */

.ox-mobile-nav-panel a {
  padding: 0.875rem 1.25rem;
  min-height: 2.75rem;
}


/* =============================================================
   22. GLOBAL TYPOGRAPHY — Line Height Fixes
   ============================================================= */

.ox-hero-h1 {
  line-height: 1.15;
}

p {
  line-height: 1.65;
}

/* Prevent the global p line-height from bloating large price text */
.ox-pricing-card p {
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ox-hero-h1 {
    line-height: 1.1;
  }
}


/* =============================================================
   23. CHECKLIST ITEMS — Tighter on Mobile
   ============================================================= */

.ox-check-list {
  gap: 0.5rem !important;
}

.ox-check-item {
  gap: 0.5rem !important;
  font-size: 0.9375rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .ox-check-list {
    gap: 0.75rem !important;
  }

  .ox-check-item {
    font-size: 1rem;
  }
}


/* =============================================================
   24. SCROLL MARGIN FOR ANCHOR LINKS
   
   Sticky nav covers content when jumping to #pricing, #faq, etc.
   ============================================================= */

[id] {
  scroll-margin-top: 4.5rem;
}

@media (min-width: 768px) {
  [id] {
    scroll-margin-top: 5rem;
  }
}


/* =============================================================
   25. SMALL-SCREEN BREAKPOINT (< 375px)
   
   iPhone SE and similar ultra-narrow devices get extra 
   tightening to prevent text overflow and cramping.
   ============================================================= */

@media (max-width: 374px) {
  .section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container-narrow {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .ox-hero-h1 {
    font-size: 1.75rem;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .cta-button-lg {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .content-card {
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .ox-announce-item {
    font-size: 0.5625rem;
  }

  .ox-result-card .big-number {
    font-size: 2.25rem;
  }
}


/* =============================================================
   HERO VIDEO PLAYER — Click-to-Play
   ============================================================= */
 
.ox-hero-video {
  position: relative;
  width: 100%;
  border-radius: var(--radius, 1.25rem);
  overflow: hidden;
  cursor: pointer;
  background: hsl(var(--muted));
  aspect-ratio: 16 / 9;
}
 
/* Thumbnail / poster image */
.ox-hero-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  z-index: 2;
}
 
.ox-hero-video.is-playing .ox-hero-video__poster {
  opacity: 0;
  pointer-events: none;
}
 
/* The actual video element */
.ox-hero-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
/* Play button overlay */
.ox-hero-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent, 38 72% 56%));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.ox-hero-video__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: hsl(var(--accent, 38 72% 56%)) !important;
  color: hsl(var(--accent-foreground, 231 46% 22%)) !important;
}
 
.ox-hero-video__play svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--accent-foreground, 231 46% 22%));
  margin-left: 0px; /* optical centering for play triangle */
}
 
.ox-hero-video.is-playing .ox-hero-video__play {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
 
/* Subtle shimmer on the poster to hint it's interactive */
.ox-hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  z-index: 2;
  pointer-events: none;
}
 
.ox-hero-video.is-playing::after {
  display: none;
}
 
/* Mobile adjustments */
@media (max-width: 767px) {
  .ox-hero-video {
    aspect-ratio: 2.5 / 3;
  }
  
  .ox-hero-video__play {
    width: 3.75rem;
    height: 3.75rem;
  }
  
  .ox-hero-video__play svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}
 
/* Desktop: when in the 2-col grid, let it fill the column */
@media (min-width: 768px) {
  .ox-hero-video--desktop {
    aspect-ratio: 3 / 4;
    height: 100%;
  }
}

/* =============================================================
   ULTIMATE SLEEP SYSTEM — INTERNAL PAGE
   Mobile-First CSS Optimization
   Target: https://lp.organixx.com/ultimate-sleep-system-internal/
   
   DEPLOYMENT: Paste into Elementor > Custom CSS, or add as a 
   <style> block in the HTML widget above the existing markup.
   
   APPROACH: Conservative tightening — reduces obvious whitespace
   waste on mobile without altering the visual identity or layout
   logic. Desktop receives light polish at 768px+.
   
   NOTE: This page is a Lovable.dev build that outputs inline 
   gap/margin styles on grid elements. Where needed, !important
   is used specifically to override those inline styles — nowhere
   else. This is intentional and scoped.
   ============================================================= */


/* =============================================================
   1. SECTION PADDING — Mobile Reduction
   
   Current: 4rem (64px) top/bottom on mobile
   Updated: 2.75rem (44px) — saves ~40px per section × 14 sections
   = ~560px less dead scroll on mobile
   ============================================================= */

.section-padding {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}


/* =============================================================
   2. CONTAINER MARGIN-BOTTOM — Tighten section header blocks
   
   Several .container-narrow elements carry margin-bottom: 48px
   between the header block and content below. Reduce to 32px
   on mobile for tighter visual connection.
   ============================================================= */

.container-narrow {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .container-narrow {
    margin-bottom: 3rem;
  }
}


/* =============================================================
   3. GRID GAPS — Override inline styles from Lovable build
   
   Nearly all grid elements have inline style="gap:1.5rem" or
   style="gap:2rem". !important is required to override these.
   
   Current: 24px–32px gaps when cards stack single-column
   Updated: 16px–20px — cards feel grouped, not isolated
   ============================================================= */

.grid-2,
.grid-3,
.grid-sm-2-md-3 {
  gap: 1rem !important;
}

.grid-4 {
  gap: 1rem !important;
}

.grid-5-split-2-3,
.grid-5-split-3-2 {
  gap: 1.25rem !important;
}

@media (min-width: 768px) {
  .grid-2,
  .grid-3 {
    gap: 1.5rem !important;
  }

  .grid-4 {
    gap: 1.5rem !important;
  }

  .grid-sm-2-md-3 {
    gap: 1.5rem !important;
  }

  .grid-5-split-2-3,
  .grid-5-split-3-2 {
    gap: 2.5rem !important;
  }
}


/* =============================================================
   4. CONTENT CARDS — Padding & Border-Radius on mobile
   
   Current: 24px padding, 24px border-radius
   Updated: 20px padding, 16px border-radius — less wasted 
   internal space, tighter corner radius suits small screens
   ============================================================= */

.content-card {
  padding: 1.25rem;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .content-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}


/* =============================================================
   5. HEADINGS — Margin Optimization
   
   Section headlines (h2) have inconsistent top margins and
   generous bottom margins. Standardize for mobile.
   ============================================================= */

.section-headline {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subheadline {
  margin-bottom: 1.5rem;
}

h3 {
  margin-top: 0;
  color: hsl(var(--primary)) !important;
}

/* H3/H4 on dark backgrounds — must be white, not navy */
.ox-pricing-best h3,
.ox-pricing-best .ox-pricing-price,
.ox-combined-banner h3,
.ox-footer h4 {
  color: hsl(var(--primary-foreground)) !important;
}

@media (min-width: 768px) {
  .section-headline {
    margin-bottom: 1rem;
  }

  .section-subheadline {
    margin-bottom: 2rem;
  }
}


/* =============================================================
   6. HERO SECTION — Center on Mobile + Badge Sizing
   
   - Center all hero text content on mobile
   - Reduce badge/pill ("2-Part Sleep System") to be smaller 
     than headline
   - Tighten gap between hero grid columns
   - Center CTA button and trust row
   ============================================================= */

/* Left-align hero content on mobile */
.ox-hero-grid > .space-y-6 {
  text-align: left;
}

.ox-hero-grid {
  gap: 1.5rem !important;
}

/* Badge/pill — make noticeably smaller than headline */
.ox-hero-badge {
  font-size: 0.6875rem;
  padding: 0.375rem 0.875rem;
  letter-spacing: 0.05em;
}

.ox-hero-h1 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

/* Checklist — left-aligned */
.ox-hero-grid .ox-check-list {
  align-items: flex-start;
}

/* CTA wrapper — left-aligned on mobile */
.ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Trust row — left-aligned, smaller to fit one line */
.ox-trust-row {
  gap: 0.375rem !important;
  font-size: 0.625rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

/* Ensure desktop video wrapper hides on mobile */
.ox-hero-video--desktop {
  display: none;
}

.show-desktop:has(.ox-hero-video--desktop) {
  display: none !important;
}

@media (min-width: 768px) {
  /* Restore left-align on desktop */
  .ox-hero-grid > .space-y-6 {
    text-align: left;
  }

  .ox-hero-grid {
    gap: 2rem !important;
  }

  .ox-hero-badge {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }

  .ox-hero-h1 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .ox-hero-grid .ox-check-list {
    align-items: flex-start;
  }

  .ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
    align-items: flex-start;
  }

  .ox-trust-row {
    gap: 1.25rem !important;
    font-size: 0.8125rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* Show desktop video at 768px+ */
  .ox-hero-video--desktop {
    display: block;
  }

  .show-desktop:has(.ox-hero-video--desktop) {
    display: flex !important;
  }
}


/* =============================================================
   7. ANNOUNCE BAR — Prevent Overflow on Narrow Screens
   ============================================================= */

.ox-announce-bar {
  overflow: visible;
}

.ox-announce-bar-inner {
  gap: 0.75rem !important;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}

.ox-announce-item {
  font-size: 0.625rem;
  gap: 0.25rem !important;
  flex-shrink: 1;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .ox-announce-item {
    font-size: 0.6875rem;
    gap: 0.375rem !important;
  }
}

@media (min-width: 768px) {
  .ox-announce-bar-inner {
    gap: 2rem !important;
  }

  .ox-announce-item {
    font-size: 0.75rem;
  }
}


/* =============================================================
   8. TIMELINE SECTION — Fix 2-Column Cramping on Small Mobile
   
   .grid-4 defaults to repeat(2, 1fr) on mobile — creates 
   ~195px cards with tiny text on phones < 480px.
   Force single-column under 480px, restore 2-col 480-768,
   and 4-col at desktop.
   ============================================================= */

#results-timeline .grid-4 {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

@media (min-width: 480px) {
  #results-timeline .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (min-width: 768px) {
  #results-timeline .grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
  }
}

/* Big numbers — reduce from 3.75rem for better proportion */
.ox-result-card .big-number {
  font-size: 2.75rem;
}

@media (min-width: 768px) {
  .ox-result-card .big-number {
    font-size: 3.75rem;
  }
}


/* =============================================================
   9. CTA BUTTONS — Mobile Touch Optimization
   
   Full-width on mobile for easier thumb reach.
   Slightly reduce padding from original 20px 40px.
   ============================================================= */

.cta-button-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 768px) {
  .cta-button-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    width: auto;
    max-width: none;
  }
}

/* Smaller nav CTA */
.cta-button {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}


/* =============================================================
   10. PRODUCT CARDS — Tighten on Mobile
   
   Magnesium 7 / Clean Sleep 3D intro cards.
   ============================================================= */

.ox-product-card {
  border-radius: 1rem;
}

.ox-product-card-body {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .ox-product-card {
    border-radius: 1.5rem;
  }

  .ox-product-card-body {
    padding: 1.5rem;
  }
}


/* =============================================================
   11. MAGNESIUM FORMS GRID — Stack Name Above Description
   
   Current: horizontal row layout (icon | name | description)
   Updated: Stack vertically on mobile so ingredient name sits 
   above the description text for better readability.
   Also reduce the "The 7 Forms of Magnesium" heading margin.
   ============================================================= */

/* Stack mag form cards vertically on mobile */
.ox-mag-form {
  flex-direction: column;
  align-items: flex-start !important;
  padding: 0.875rem;
  gap: 0.375rem !important;
  text-align: left;
}

/* Hide the icon on mobile to save space, or keep small */
.ox-mag-form-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* Name sits prominently above desc */
.ox-mag-form-name {
  font-size: 0.9375rem;
  white-space: normal;
}

.ox-mag-form-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Reduce the "The 7 Forms" heading margin-bottom (has inline 2rem) */
#magnesium-deep-dive h3 {
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  /* Restore horizontal layout on desktop */
  .ox-mag-form {
    flex-direction: row;
    align-items: center !important;
    padding: 1rem;
    gap: 0.75rem !important;
  }

  .ox-mag-form-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ox-mag-form-name {
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .ox-mag-form-desc {
    font-size: 0.875rem;
  }

  #magnesium-deep-dive h3 {
    margin-bottom: 2rem !important;
  }
}


/* =============================================================
   12. FAQ SECTION — Fix Answer Leak + Magenta Hover
   
   BUG FIX: The .ox-faq-answer padding rule was applying 
   padding-bottom unconditionally, causing answer text to show
   even when closed (max-height: 0 + padding = visible space).
   
   Fix: Only apply padding overrides to the .open state.
   Also: Override Elementor theme's magenta button hover color.
   ============================================================= */

.ox-faq-item {
  border-radius: 0.75rem;
}

/* Question button styling */
.ox-faq-question {
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  white-space: normal !important;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

/* =============================================================
   Fix magenta hover — Elementor kit global color override
   
   .elementor-kit-6 sets a magenta accent color that bleeds 
   into :hover states on buttons, links, and interactive 
   elements. Force brand colors on all ox- interactive elements.
   ============================================================= */

/* Buttons */
.ox-faq-question:hover,
.ox-faq-question:focus,
.cta-button:hover,
.cta-button:focus,
.cta-button-lg:hover,
.cta-button-lg:focus {
  color: hsl(var(--accent-foreground)) !important;
}

/* FAQ question gets a subtle bg on hover */
.ox-faq-question:hover,
.ox-faq-question:focus {
  background: hsl(var(--muted)) !important;
  color: hsl(var(--primary)) !important;
}

/* Nav links */
.ox-nav-links a:hover,
.ox-mobile-nav-panel a:hover {
  color: hsl(var(--primary)) !important;
}

/* Play button (hero video) */
.ox-hero-video__play:hover {
  background: hsl(var(--accent)) !important;
}

/* Generic: any button or link inside the page widget */
.elementor-widget-container button:hover,
.elementor-widget-container button:focus {
  color: inherit !important;
}

.elementor-widget-container a:hover {
  color: inherit !important;
}

/* Answer — only set font-size/line-height for closed state.
   Do NOT set padding here — the base CSS handles open/closed padding. */
.ox-faq-answer {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Only apply tighter padding when FAQ is open — must include max-height
   because this rule comes after the base CSS in source order */
.ox-faq-item.open .ox-faq-answer {
  max-height: 300px !important;
  padding: 0 1.125rem 0.875rem;
}

/* Tighten gap between FAQ items */
#faq .space-y-3 > * + * {
  margin-top: 0.625rem;
}

@media (min-width: 768px) {
  .ox-faq-item {
    border-radius: 1.25rem;
  }

  .ox-faq-question {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
  }

  .ox-faq-item.open .ox-faq-answer {
    max-height: 300px !important;
    padding: 0 1.25rem 1.25rem;
  }

  #faq .space-y-3 > * + * {
    margin-top: 0.75rem;
  }
}


/* =============================================================
   13. PRICING SECTION — Aggressively Reduce Card Bloat
   
   Root causes of mobile bloat:
   - flex gap 1.25rem between 6 children = 100px of gaps
   - product image at full-width 4:3 = 286px
   - price line-height inflated by global p rule (1.65)
   - title wrapper has inline padding-top: 0.5rem
   - H3 has 8px margin-top from base stylesheet
   - CTA button 16px vert padding = 61px height
   ============================================================= */

/* Slash flex gap between card children */
.ox-pricing-card {
  gap: 0.375rem !important;
}

/* Card padding */
#pricing .content-card {
  padding: 0.875rem;
}

/* Shrink product image */
.ox-pricing-img {
  aspect-ratio: 16 / 10 !important;
}

/* Kill the title wrapper padding-top (inline 0.5rem) */
.ox-pricing-card > .text-center {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* H3 "1 Bundle" — kill all margins */
.ox-pricing-card .text-center h3 {
  margin: 0 0 0.125rem 0 !important;
  font-size: 1.125rem !important;
}

/* "1 Month Supply" subtitle */
.ox-pricing-card .text-center p {
  margin: 0 !important;
  line-height: 1.3;
}

/* Price — fix line-height bloat from global p rule */
.ox-pricing-price {
  font-size: 2rem !important;
  line-height: 1.1 !important;
  margin-bottom: 0 !important;
}

/* Per-day price */
.ox-pricing-card .text-center p + p,
.ox-pricing-card .text-center p:last-child {
  margin: 0.125rem 0 0 0 !important;
  line-height: 1.3;
}

/* Tighten features list */
.ox-pricing-features {
  gap: 0.125rem !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ox-pricing-features li {
  font-size: 0.8125rem;
  gap: 0.375rem !important;
}

/* Save badge (Save 6%, Save 11%) — reduce bloat */
.ox-pricing-save {
  margin-top: 0.25rem !important;
  padding: 0.25rem 0.75rem !important;
  font-size: 0.75rem !important;
}

/* CTA button INSIDE pricing card — reduce height */
.ox-pricing-card .cta-button {
  padding: 0.625rem 1.5rem !important;
  font-size: 0.9375rem !important;
}

/* Guarantee badge */
.ox-pricing-guarantee {
  margin-top: 0 !important;
  padding-top: 0.25rem !important;
  font-size: 0.6875rem;
}

/* Grid gap between pricing cards */
#pricing .grid-3,
#pricing [class*="grid"] {
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  .ox-pricing-card {
    gap: 1rem !important;
  }

  #pricing .content-card {
    padding: 1.75rem;
  }

  .ox-pricing-img {
    aspect-ratio: 1 / 1 !important;
  }

  .ox-pricing-card > .text-center {
    padding-top: 0.5rem !important;
  }

  .ox-pricing-card .text-center h3 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.25rem !important;
  }

  .ox-pricing-price {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }

  .ox-pricing-features li {
    font-size: 0.875rem;
  }

  .ox-pricing-card .cta-button {
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
  }

  .ox-pricing-guarantee {
    padding-top: 0.5rem !important;
    font-size: 0.75rem;
  }

  #pricing .grid-3,
  #pricing [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   14. REVIEWS / SOCIAL PROOF — Tighter Card Stack
   
   6 review cards stacked single-column creates a long scroll.
   Reduce gap and card padding on mobile.
   Also: add missing space-y-10 utility for review group spacing.
   ============================================================= */

/* The space-y-10 class isn't in the base CSS — add it */
.space-y-10 > * + * {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .space-y-10 > * + * {
    margin-top: 2.5rem;
  }
}

#social-proof .content-card {
  padding: 1.125rem;
}

#social-proof .grid-3,
#social-proof [class*="grid"] {
  gap: 0.875rem !important;
}

@media (min-width: 768px) {
  #social-proof .content-card {
    padding: 2rem;
  }

  #social-proof .grid-3,
  #social-proof [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   15. CHOICE SECTION (Option A/B/C) — Tighter Stack
   ============================================================= */

section:has(.ox-choice-highlight) [class*="grid"] {
  gap: 0.875rem !important;
}

@media (min-width: 768px) {
  section:has(.ox-choice-highlight) [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   16. QUALITY BADGES SECTION — Tighter Grid
   ============================================================= */

section:has(.ox-quality-icon) [class*="grid"] {
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  section:has(.ox-quality-icon) [class*="grid"] {
    gap: 1.5rem !important;
  }
}


/* =============================================================
   17. SPACE-Y UTILITY OVERRIDES — Reduce Vertical Lists
   ============================================================= */

.space-y-4 > * + * {
  margin-top: 0.75rem;
}

.space-y-6 > * + * {
  margin-top: 1.125rem;
}

@media (min-width: 768px) {
  .space-y-4 > * + * {
    margin-top: 1rem;
  }

  .space-y-6 > * + * {
    margin-top: 1.5rem;
  }
}


/* =============================================================
   18. FOOTER — Tighten Mobile Spacing
   ============================================================= */

.ox-footer {
  padding: 2rem 1.25rem;
}

.ox-footer [class*="grid"] {
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .ox-footer {
    padding: 3rem 2rem;
  }

  .ox-footer [class*="grid"] {
    gap: 2rem !important;
  }
}


/* =============================================================
   19. INGREDIENT DEEP-DIVE SECTIONS — Mobile Polish
   ============================================================= */

#magnesium-deep-dive .show-mobile,
#clean-sleep-deep-dive .show-mobile {
  margin-bottom: 1.25rem;
}

#magnesium-deep-dive .ox-check-list,
#clean-sleep-deep-dive .ox-check-list {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Ingredient cards (PeptiSleep, L-Theanine, GABA) */
#clean-sleep-deep-dive .content-card {
  padding: 1.125rem;
}

@media (min-width: 768px) {
  #clean-sleep-deep-dive .content-card {
    padding: 2rem;
  }
}


/* =============================================================
   20. VALUE PROPOSITION SECTION
   ============================================================= */

section:has(.big-number) .grid-5-split-2-3,
section:has(.big-number) .grid-5-split-3-2 {
  gap: 1.25rem !important;
}

@media (min-width: 768px) {
  section:has(.big-number) .grid-5-split-2-3,
  section:has(.big-number) .grid-5-split-3-2 {
    gap: 2.5rem !important;
  }
}


/* =============================================================
   21. MOBILE NAV — Dropdown Style + Fix Magenta Hover
   
   Converts the full-screen drawer to a compact dropdown that
   sits below the nav bar. Fixes hamburger magenta hover and
   ensures the toggle button properly opens/closes.
   ============================================================= */

/* Hamburger button — kill magenta on hover/active */
.ox-mobile-toggle:hover,
.ox-mobile-toggle:active,
.ox-mobile-toggle:focus {
  color: hsl(var(--primary)) !important;
  background: hsl(var(--muted)) !important;
  outline: none;
}

/* Close button — kill magenta */
.ox-mobile-nav-close:hover,
.ox-mobile-nav-close:active,
.ox-mobile-nav-close:focus {
  color: hsl(var(--primary)) !important;
  background: none !important;
  outline: none;
}

/* Convert drawer to dropdown: remove the full-screen overlay */
.ox-mobile-nav {
  position: absolute !important;
  top: 100%;
  left: 0;
  right: 0;
  bottom: auto !important;
  background: none !important;
  z-index: 9998;
}

/* Panel: dropdown instead of side drawer */
.ox-mobile-nav-panel {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem 0.75rem !important;
  gap: 0 !important;
}

/* Hide the X close button — toggle handles open/close */
.ox-mobile-nav-close {
  display: none !important;
}

/* Tighter link spacing for dropdown */
.ox-mobile-nav-panel a {
  padding: 0.625rem 0.75rem;
  min-height: 2.5rem;
  font-size: 0.9375rem;
  border-bottom-color: hsl(var(--border));
}

.ox-mobile-nav-panel a:last-child {
  border-bottom: none;
}

/* CTA button in mobile nav */
.ox-mobile-nav-panel .cta-button {
  margin-top: 0.375rem !important;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.875rem !important;
}


/* =============================================================
   22. GLOBAL TYPOGRAPHY — Line Height Fixes
   ============================================================= */

.ox-hero-h1 {
  line-height: 1.15;
}

p {
  line-height: 1.65;
}

/* Prevent the global p line-height from bloating large price text */
.ox-pricing-card p {
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ox-hero-h1 {
    line-height: 1.1;
  }
}


/* =============================================================
   23. CHECKLIST ITEMS — Tighter on Mobile
   ============================================================= */

.ox-check-list {
  gap: 0.5rem !important;
}

.ox-check-item {
  gap: 0.5rem !important;
  font-size: 0.9375rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .ox-check-list {
    gap: 0.75rem !important;
  }

  .ox-check-item {
    font-size: 1rem;
  }
}


/* =============================================================
   24. SCROLL MARGIN FOR ANCHOR LINKS
   
   Sticky nav covers content when jumping to #pricing, #faq, etc.
   ============================================================= */

[id] {
  scroll-margin-top: 4.5rem;
}

@media (min-width: 768px) {
  [id] {
    scroll-margin-top: 5rem;
  }
}


/* =============================================================
   25. SMALL-SCREEN BREAKPOINT (< 375px)
   
   iPhone SE and similar ultra-narrow devices get extra 
   tightening to prevent text overflow and cramping.
   ============================================================= */

@media (max-width: 374px) {
  .section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container-narrow {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .ox-hero-h1 {
    font-size: 1.75rem;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .cta-button-lg {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .content-card {
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .ox-announce-item {
    font-size: 0.5625rem;
  }

  .ox-result-card .big-number {
    font-size: 2.25rem;
  }
}

/* =============================================================
   COMPARE CARDS — Fix text overlapping images on mobile
   
   Root cause: .ox-compare-card has aspect-ratio: 1/1 with
   overflow: hidden. Image takes 60% height, body gets 40% —
   not enough for h3 + 4 checklist items on mobile.
   ============================================================= */

@media (max-width: 767px) {
  .ox-compare-card {
    aspect-ratio: auto !important;
    overflow: visible !important;
  }
  .ox-compare-card-img {
    height: auto !important;
  }
  .ox-compare-card-img img {
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .ox-compare-card-body {
    height: auto !important;
    padding: 1.25rem !important;
  }
}

  /* ===== WHY ORGANIXX (scoped) ===== */
  .oxx-why {
    --oxx-green: #2f7d32;           /* brand-ish green */
    --oxx-cream: #e9e2d6;           /* warm beige panel */
    --oxx-card:  #ffffff;
    --oxx-text:  #3b3b3b;
    --oxx-muted: #5c5c5c;

    /* If Elementor adds weird spacing, this keeps it stable */
    margin: 0;
  }

  .oxx-why__frame {

    overflow: hidden;
    background: #fff;
    max-width: 1140px;  /* matches typical Elementor section width */
    margin: 0 auto;
    font-family: Lato;
  }

  .oxx-why__hero {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Desktop vs mobile image swap */
  .oxx-why__hero--mobile { display: none; }
  @media (max-width: 767px) {
    .oxx-why__hero--desktop { display: none; }
    .oxx-why__hero--mobile  { display: block; }
  }

  .oxx-why__panel {
    background: var(--oxx-cream);
    padding: 26px;
  }

  .oxx-why__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .oxx-why__card {
    background: var(--oxx-card);
    border-radius: 18px;
    padding: 26px 26px 24px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
  }

  .oxx-why__icon {
    width: 120px;
    height: auto;
    margin: 0 auto 14px;
    display: block;
  }

  .oxx-why__title {
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--oxx-green);
    font-size: 24px;
    line-height: 1.2;
    font-family: Lato;
  }

  .oxx-why__text {
    margin: 0;
    color: var(--oxx-muted);
    font-size: 18px;
    line-height: 1.55;
  }

  /* Tablet */
  @media (max-width: 1024px) {
    .oxx-why__panel { padding: 20px; }
    .oxx-why__grid  { gap: 18px; }
    .oxx-why__card  { padding: 22px; }
  }

  /* Mobile */
  @media (max-width: 767px) {
    .oxx-why__panel { padding: 18px; }
    .oxx-why__grid  { grid-template-columns: 1fr; }
    .oxx-why__icon  { width: 110px; }
    .oxx-why__title { font-size: 22px; }
    .oxx-why__text  { font-size: 18px; }
  }

  /* Small phones */
  @media (max-width: 450px) {
    .oxx-why__panel { padding: 14px; }
    .oxx-why__card  { padding: 18px; }
  }
  
    /* ===== FIX #1: Badge “float up” like the original ===== */
  .oxx-why .oxx-why__icon{
    /* pick ONE approach; translate feels closest to Elementor */
    transform: translateY(-88px);
    margin-bottom: -65px; /* helps keep spacing tight after moving up */
  }

  /* If your theme is also applying transforms, force it: */
  /* .oxx-why .oxx-why__icon{ transform: translateY(-18px) !important; } */

  /* Mobile tweak (often needs slightly less lift) */
  @media (max-width: 767px){
    .oxx-why .oxx-why__icon{
      transform: translateY(-14px);
      margin-bottom: 0;
    }
  }

  /* ===== FIX #2: Heading color getting overridden to white ===== */
  .oxx-why .oxx-why__card .oxx-why__title{
    color: var(--oxx-green) !important;
  }

  /* Optional: if you want the heading closer to your screenshot */
  .oxx-why .oxx-why__title{
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  
  /* Add vertical space to account for lifted badge */
.oxx-why .oxx-why__grid{
  row-gap: 86px;
}


/* Give the cream section breathing room from the hero image */
.oxx-why .oxx-why__panel{
  padding-top: 80px; /* key fix */
}

/* =========================
   MOBILE OPTIMIZATION OVERRIDES
   Paste at BOTTOM of CSS
   ========================= */
@media (max-width: 767px){

  /* Make the cream panel feel intentional (less dead space) */
  .oxx-why .oxx-why__panel{
    padding: 18px;
    padding-top: 34px;  /* was 80px — too much on mobile */
  }

  /* 1-column stack spacing */
  .oxx-why .oxx-why__grid{
    grid-template-columns: 1fr;
    row-gap: 26px;      /* was 86px — causes big gaps */
    gap: 50px;          /* keeps horizontal/vertical consistent */
  }

  /* Keep cards from touching screen edges + keep it pretty */
  .oxx-why .oxx-why__card{
    padding: 22px 18px 20px;
    max-width: 520px;   /* optional: prevents super-wide cards on tablets */
    margin: 0 auto;     /* centers the card */
  }

  /* Badge “overlap” on mobile (smaller + less aggressive lift) */
  .oxx-why .oxx-why__icon{
    width: 104px;                 /* slightly smaller */
    transform: translateY(-54px); /* keeps the overlap feel */
    margin-bottom: -28px;         /* pulls title upward */
  }

  /* Typography scale for mobile */
  .oxx-why .oxx-why__title{
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .oxx-why .oxx-why__text{
    font-size: 15.5px;
    line-height: 1.6;
  }
}

/* Small phones */
@media (max-width: 450px){
  .oxx-why .oxx-why__panel{
    padding: 14px;
    padding-top: 48px;
  }

  .oxx-why .oxx-why__card{
    padding: 20px 16px 18px;
  }

  .oxx-why .oxx-why__icon{
    width: 96px;
    transform: translateY(-50px);
    margin-bottom: -30px;
  }

  .oxx-why .oxx-why__title{ font-size: 19px; }
  .oxx-why .oxx-why__text{ font-size: 15px; }
}
@media (max-width: 1024px) {
    .oxx-testimonials-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 1024px) {
    .oxx-faq-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 1024px) {
    .oxx-ingredients-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* =============================================================
   PRICING CARD COLOR SWAP — White → Navy → White
   
   Moves navy background from "Best Value" (right) to 
   "Most Popular" (middle). Resets right card to default white.
   Gold border + glowing CTA on the featured middle card.
   ============================================================= */

/* --- MIDDLE CARD: Make Navy + Gold Border --- */
.ox-pricing-popular {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border: 2px solid hsl(var(--accent)) !important;
}

.ox-pricing-popular h3,
.ox-pricing-popular .ox-pricing-price {
  color: hsl(var(--primary-foreground)) !important;
}

.ox-pricing-popular .ox-pricing-daily,
.ox-pricing-popular .text-center p {
  color: hsl(var(--primary-foreground) / 0.7) !important;
}

.ox-pricing-popular .ox-pricing-features span,
.ox-pricing-popular .ox-pricing-feature span {
  color: hsl(var(--primary-foreground)) !important;
}

.ox-pricing-popular .ox-pricing-feature svg {
  stroke: hsl(var(--accent)) !important;
}

.ox-pricing-popular .ox-pricing-img {
  background: hsl(var(--primary-foreground) / 0.1) !important;
  border-color: hsl(var(--primary-foreground) / 0.2) !important;
}

.ox-pricing-popular .ox-pricing-guarantee {
  color: hsl(var(--primary-foreground) / 0.6) !important;
}

.ox-pricing-popular .ox-pricing-guarantee svg {
  stroke: hsl(var(--primary-foreground) / 0.6) !important;
}

/* Gold CTA with white glow on navy card */
.ox-pricing-popular .cta-button {
  box-shadow: 
    0 0 12px rgba(255, 255, 255, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.ox-pricing-popular .cta-button:hover {
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* --- RIGHT CARD: Reset to White, No Border --- */
.ox-pricing-best {
  background: hsl(var(--card)) !important;
  color: hsl(var(--foreground)) !important;
  border: 1px solid hsl(var(--border)) !important;
}

.ox-pricing-best h3,
.ox-pricing-best .ox-pricing-price {
  color: hsl(var(--primary)) !important;
}

.ox-pricing-best .ox-pricing-daily,
.ox-pricing-best .text-center p {
  color: hsl(var(--muted-foreground)) !important;
}

.ox-pricing-best .ox-pricing-features span,
.ox-pricing-best .ox-pricing-feature span {
  color: hsl(var(--foreground)) !important;
}

.ox-pricing-best .ox-pricing-feature svg {
  stroke: hsl(var(--accent-foreground)) !important;
}

.ox-pricing-best .ox-pricing-img {
  background: hsl(var(--muted)) !important;
  border-color: hsl(var(--border)) !important;
}

.ox-pricing-best .ox-pricing-guarantee {
  color: hsl(var(--muted-foreground)) !important;
}

.ox-pricing-best .ox-pricing-guarantee svg {
  stroke: hsl(var(--muted-foreground)) !important;
}

/* FOOTER – Dark Organixx style */
.oxx-footer {
  background: hsl(var(--primary)); /* dark green */
  color: #fff;
  padding: 3rem 0;
  font-size: 0.9rem;
}

.oxx-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.oxx-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}

.oxx-footer-brand {
  grid-column: span 2;
}

.oxx-footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* make logo white on dark bg */
}

/* Contact */
.oxx-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.oxx-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 249, 244, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.oxx-footer-contact-link:hover {
  color: var(--background, #f7f9f4);
}

.oxx-footer-contact-icon {
  font-size: 0.9rem;
}

/* Social icons */
.oxx-footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.oxx-footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 249, 244, 0.14);
  color: var(--background, #f7f9f4);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.oxx-footer-social-link:hover {
  background: rgba(247, 249, 244, 0.22);
  transform: translateY(-1px);
  color: #fff;
}

.oxx-footer-social-icon {
  width: 16px;
  height: 16px;
}

.oxx-footer-social-bbb {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

/* Columns */
.oxx-footer-column {
  min-width: 0;
}

.oxx-footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-family: 'Lato';
  color: #fff !important;
}

.oxx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

.oxx-footer-link {
  display: block;
  color: rgba(247, 249, 244, 0.7) !important;
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.oxx-footer-link:hover {
  color: #fff !important;
}

.oxx-footer-link-strong {
  font-weight: 600;
}

/* Bottom strip */
.oxx-footer-bottom {
  border-top: 1px solid rgba(247, 249, 244, 0.16);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(247, 249, 244, 0.6);
  font-size: 0.8rem;
}

/* Responsive */
@media (min-width: 768px) {
  .oxx-footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .oxx-footer-brand {
    grid-column: span 1;
  }
}


@media (max-width: 767px) {
  .oxx-footer-logo {
    height: 35px !important;
  }
}

@media (max-width: 767px) {
  .oxx-footer-brand {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .oxx-footer-logo {
    order: 1 !important;
    height: 35px !important;
  }

.oxx-footer-social {
    order: 2 !important;
    margin-top: 0 !important;
    margin-left: 3rem !important;
    margin-bottom: 15px;
}

  .oxx-footer-contact {
    order: 3 !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }
}

/* =============================================================
   VALUE SECTION REDESIGN — 3-Column Layout
   ============================================================= */

.ox-value-redesign {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.ox-value-left {
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}

.ox-value-center {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ox-value-two-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ox-value-right {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}

/* Compact price card inside two-boxes */
.ox-value-two-boxes .ox-price-card {
  padding: 1.25rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.ox-value-two-boxes .ox-price-big {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .ox-value-redesign {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .ox-value-left {
    padding: 1.75rem;
    border-radius: 1.5rem;
  }

  .ox-value-right {
    padding: 2rem;
    border-radius: 1.5rem;
  }

  .ox-value-two-boxes .ox-price-big {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .ox-value-two-boxes {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   VALUE SECTION — Navy Card Mobile Polish
   ============================================================= */

@media (max-width: 767px) {
  .ox-price-card {
    padding: 1.5rem 1.25rem !important;
    gap: 1rem !important;
    justify-content: flex-start !important;
  }
  
  .ox-price-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .ox-price-card p {
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
  }
  
  .ox-price-card p:last-child {
    font-size: 0.9375rem !important;
    margin-top: 0.25rem !important;
  }
  
  .ox-price-card hr {
    display: none !important;
  }
}

/* Combined banner heading — smaller on mobile */
@media (max-width: 767px) {
  .ox-combined-banner h3 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
}

/* =============================================================
   HERO SECTION — Centered Header + Text-Wrap Image
   ============================================================= */

/* Center badge, h1, and subtitle above the content */
.ox-hero-grid > .space-y-6 .ox-hero-badge {
  display: block;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.ox-hero-grid > .space-y-6 .ox-hero-h1 {
  text-align: center;
}

/* Desktop: single column layout, image floats right */
@media (min-width: 768px) {
  .ox-hero-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hide the separate desktop image column */
  .ox-hero-grid > .show-desktop {
    display: none !important;
  }

  /* Show mobile image container on all sizes but float it */
  .ox-hero-grid .ox-hero-video--mobile {
    display: block !important;
    float: right;
    width: 45%;
    margin: 0 0 1.5rem 2rem;
    shape-margin: 1.5rem;
  }

  /* Override the show-mobile parent */
  .ox-hero-grid .show-mobile:has(.ox-hero-video--mobile) {
    display: block !important;
  }

  /* Let the text column take full width */
  .ox-hero-grid > .space-y-6 {
    text-align: left;
    max-width: 100%;
  }
}

/* Mobile: keep stacked, image between headline and copy */
@media (max-width: 767px) {
  .ox-hero-grid .ox-hero-video--mobile {
    float: none;
    width: 100%;
    margin: 0;
  }
  
  .ox-pricing-img{
aspect-ratio: 1 / 1 !important;
}
}

/* =============================================================
   HERO — Fix image size + text wrap on desktop
   ============================================================= */

@media (min-width: 768px) {
  .ox-hero-grid .ox-hero-video--mobile {
    aspect-ratio: 3/4 !important;
    width: 42% !important;
    max-width: 420px;
  }
  
  
  
  /* Let paragraphs wrap around the floated image */
  .ox-hero-grid > .space-y-6 > p {
    display: inline;
  }
  
  /* Keep the badge, h1, and CTA div as block elements */
  .ox-hero-grid > .space-y-6 > .ox-hero-badge,
  .ox-hero-grid > .space-y-6 > h1,
  .ox-hero-grid > .space-y-6 > div {
    display: block;
    clear: both;
  }
  
  /* Only the CTA wrapper at the bottom should clear */
  .ox-hero-grid > .space-y-6 > div:last-child {
    clear: both;
  }
  
  /* Remove the space-y margin on paragraphs since they're inline now */
  .ox-hero-grid > .space-y-6 > p + p {
    margin-top: 0;
  }
  
  /* Add paragraph spacing via line breaks instead */
  .ox-hero-grid > .space-y-6 > p::after {
    content: '';
    display: block;
    margin-bottom: 1.25rem;
  }
}

/* Hero CTA + trust row — center on desktop */
@media (min-width: 768px) {
  .ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
    align-items: center !important;
    text-align: center;
    clear: both;
  }
  
  .ox-trust-row {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  .ox-hero-grid > .space-y-6 > p {
    text-align: center;
  }
  
  .ox-hero-grid > .space-y-6 > div:has(.cta-button-lg) {
    align-items: center !important;
    text-align: center;
    clear: both;
  }
  
  .ox-trust-row {
    justify-content: center !important;
  }
}

/* Results timeline — 2x2 grid on tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  #results-timeline .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* =============================================================
   DEEP DIVE SECTIONS — Kill duplicate images on tablet/mobile
   ============================================================= */

@media (max-width: 768px) {
  #magnesium-deep-dive .grid-5-split-2-3 > .show-desktop,
  #clean-sleep-deep-dive .grid-5-split-3-2 > .show-desktop {
    display: none !important;
  }
}

/* Checklist in How It Works — horizontal row */
#how-it-works .ox-check-list {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem !important;
}

@media (max-width: 767px) {
  #how-it-works .ox-check-list {
    flex-direction: column;
    align-items: center;
  }
}

/* =============================================================
   MOBILE TEXT ALIGNMENT — Left-align body copy, center headings
   
   Rule: Headings (h1-h4) and subheadings stay centered.
   Body copy (p), lists (ul/ol/li), and checklist items 
   get left-aligned within their containers on mobile.
   ============================================================= */

@media (max-width: 767px) {

  /* --- HERO: Left-align paragraphs --- */
  .ox-hero-grid > .space-y-6 > p {
    text-align: left !important;
  }

  /* --- GLOBAL: Any section with .text-center parent --- */
  /* Left-align paragraphs inside centered containers */
  .text-center p {
    text-align: left !important;
  }

  /* Keep subheadlines centered */
  .text-center .section-subheadline,
  .section-subheadline {
    text-align: center !important;
  }
  
  /* Results Timeline — keep card headings left-aligned */
  #results-timeline .ox-result-card h4 {
    text-align: left !important;
  }
  
  /* "What This Means" heading — reduce on mobile */
  #magnesium-deep-dive .content-card h4 {
    font-size: 1.375rem !important;
  }
  
/* Pricing cards — center everything */
  .ox-pricing-card .text-center,
  .ox-pricing-card .text-center h3,
  .ox-pricing-card .text-center p,
  .ox-pricing-card .ox-pricing-price,
  .ox-pricing-card .ox-pricing-features,
  .ox-pricing-card .ox-pricing-feature {
    text-align: center !important;
    justify-content: center !important;
  }

  /* Keep headings centered */
  .text-center h1,
  .text-center h2,
  .text-center h3,
  .text-center h4,
  .text-center .section-headline {
    text-align: center !important;
  }

  /* --- CONTENT CARDS: Left-align body text --- */
  .content-card p,
  .content-card ul,
  .content-card li {
    text-align: left !important;
  }

  /* Keep card headings centered if parent is centered */
  .text-center .content-card h3,
  .text-center .content-card h4 {
    text-align: center !important;
  }

  /* --- CHECKLIST ITEMS: Left-align --- */
  .ox-check-list {
    align-items: flex-start !important;
  }

  .ox-check-item {
    text-align: left !important;
  }

  /* How It Works checklist — left-align items */
  #how-it-works .ox-check-list {
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* --- PRODUCT CARDS (Mag 7 / CS3D intro) --- */
  .ox-product-card-body {
    text-align: left !important;
  }

  /* --- MAGNESIUM FORMS --- */
  .ox-mag-form {
    text-align: left !important;
  }

  /* --- INGREDIENT CARDS (PeptiSleep, L-Theanine, GABA) --- */
  #clean-sleep-deep-dive .content-card {
    text-align: left !important;
  }

  /* --- 3D SLEEP SUPPORT: Left-align descriptions --- */
  #clean-sleep-deep-dive .grid-3 > div p {
    text-align: left !important;
  }

  /* Keep 3D Sleep Support headings centered */
  #clean-sleep-deep-dive .grid-3 > div h4 {
    text-align: center !important;
  }

  /* --- COMPARE CARDS --- */
  .ox-compare-card-body {
    text-align: left !important;
  }

  .ox-compare-card-body .ox-inline-check {
    justify-content: flex-start !important;
  }

  /* --- COMBINED BANNER --- */
  .ox-combined-banner {
    text-align: left !important;
  }

  .ox-combined-banner h3 {
    text-align: center !important;
  }

  .ox-combined-benefits {
    justify-content: flex-start !important;
  }

  /* --- RESULTS TIMELINE CARDS --- */
  .ox-result-card p {
    text-align: left !important;
  }

  .ox-result-card h4 {
    text-align: center !important;
  }

  /* --- REVIEW CARDS (already mostly left, reinforce) --- */
  #social-proof .content-card p {
    text-align: left !important;
  }

  /* --- QUALITY / TRUST CARDS --- */
  section:has(.ox-quality-icon) .content-card p {
    text-align: left !important;
  }

  section:has(.ox-quality-icon) .content-card h4 {
    text-align: center !important;
  }

  /* --- CHOICE SECTION (Option A/B/C) --- */
  .ox-choice-highlight p,
  section:has(.ox-choice-highlight) .content-card p {
    text-align: left !important;
  }

  /* --- VALUE SECTION --- */
  .ox-price-card {
    text-align: left !important;
  }

  .ox-price-card h3 {
    text-align: center !important;
  }

  /* --- PRICING CARDS --- */
  .ox-pricing-card .ox-pricing-features {
    text-align: left !important;
  }

  /* Keep pricing headings, prices, badges centered */
  .ox-pricing-card .text-center {
    text-align: center !important;
  }

  /* --- FAQ --- */
  .ox-faq-answer {
    text-align: left !important;
  }

  /* --- FINAL CTA SECTION --- */
  section:last-of-type .section-subheadline {
    text-align: left !important;
  }

  /* --- WHY ORGANIXX CARDS --- */
  .oxx-why__text {
    text-align: left !important;
  }

  .oxx-why__title {
    text-align: center !important;
  }

  /* --- "What This Means" prose block inside Mag deep dive --- */
  #magnesium-deep-dive .content-card p {
    text-align: left !important;
  }

  #magnesium-deep-dive .content-card h4 {
    text-align: center !important;
  }

  /* --- Dashed border callout blocks --- */
  div[style*="border-left:2px dashed"] p,
  div[style*="border-left:3px solid"] p {
    text-align: left !important;
  }
}

/* =============================================================
   BOSS REVISIONS — BATCH (v2)
   ============================================================= */

/* --- 2. PRODUCT CARD IMAGES: 1:1 aspect ratio (desktop only) --- */
@media (min-width: 768px) {
  .ox-product-card img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* --- 4. COMPARE CARD CHECKMARKS: Left-align (mobile only) --- */
@media (max-width: 767px) {
  .ox-compare-card-body {
    text-align: left !important;
  }

  .ox-inline-check {
    justify-content: flex-start !important;
  }
}

/* --- 5. TIMELINE CARD IMAGES: Full-bleed (desktop only) --- */
@media (min-width: 768px) {
  .ox-result-card {
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ox-result-card img {
    border-radius: 0 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    display: block !important;
  }

  .ox-result-card img[style] {
    margin-bottom: 0 !important;
  }

  .ox-result-card .big-number {
    padding-right: 1.5rem;
  }

  .ox-result-card .ox-result-badge,
  .ox-result-card h4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .ox-result-card p {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
}

.ox-result-card .ox-result-badge {
  margin-left: 1rem;
}

/* --- 6. "BOTH PRODUCTS" TRUST BADGE: Left-align (mobile only) --- */
@media (max-width: 767px) {
  #how-it-works .container-narrow.mt-10.text-center {
    text-align: left !important;
  }
  
    .ox-result-card .ox-result-badge {
  margin-left: 0rem !important;
}

  #how-it-works .container-narrow.mt-10 .trust-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    justify-content: flex-start !important;
  }

  #how-it-works .container-narrow.mt-10 .trust-text svg {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
  }
}

/* --- 7. PRICING CHECKMARKS: Left-align (mobile only) --- */
@media (max-width: 767px) {
  .ox-pricing-card .ox-pricing-features,
  .ox-pricing-card .ox-pricing-feature {
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

/* Product images — zoom more */
@media (min-width: 768px) {
  .ox-product-card img {
    aspect-ratio: 1 / 1 !important;
    transform: scale(1.25);
    transform-origin: center center;
  }
}

.ox-compare-card-body {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.ox-compare-card-body ul {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.ox-inline-check {
  justify-content: flex-start !important;
}

@media (max-width: 767px) {
  .ox-pricing-card .ox-pricing-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.375rem 0.75rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
 .ox-pricing-card .ox-pricing-feature {
    font-size: 0.6875rem !important;
  }

  .ox-pricing-card .ox-pricing-feature svg {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }
 

}/* End custom CSS */