/* ========= PALETA ========= */
:root {
  --bg-dark: #111118;
  --bg-darker: #05060a;
  --bg-card: #1f2430;
  --bg-light: #f8fafc;
  --accent-green: #4cc94e;
  --accent-orange: #f97316;
  --text-light: #ffffff;
  --text-muted: #9ca3af;
  --border-soft: #2b3242;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --transition-fast: 0.18s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
}

.lm-body-dark {
  background: radial-gradient(circle at top left, #1f2937 0, var(--bg-darker) 42%);
  color: var(--text-light);
}

/* ========= LAYOUT ========= */

.lm-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.lm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.lm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.lm-logo img {
  height: 34px;
}

.lm-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.lm-nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.lm-nav a.is-active,
.lm-nav a:hover {
  color: var(--text-light);
}

.lm-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width var(--transition-fast);
}

.lm-nav a:hover::after,
.lm-nav a.is-active::after {
  width: 100%;
}

.lm-nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ========= BOTONES ========= */

.lm-btn,
.lm-btn-sm {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.lm-btn {
  padding: 8px 16px;
}

.lm-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.lm-btn-green {
  background: var(--accent-green);
  color: #052e05;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(76, 201, 78, 0.55);
}

.lm-btn-green:hover {
  background: #3bb73d;
}

.lm-btn-orange {
  background: var(--accent-orange);
  color: #2b1004;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.55);
}

.lm-btn-orange:hover {
  background: #ea6a10;
}

.lm-btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(156, 163, 175, 0.7);
}

.lm-btn-outline:hover {
  border-color: var(--accent-green);
}

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

.lm-hero {
  padding: 40px 0 60px;
  background: radial-gradient(circle at top left, #253320 0, var(--bg-dark) 40%);
}

.lm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.lm-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.23em;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.lm-hero-title {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 800;
}

.lm-hero-title span {
  color: var(--accent-green);
}

.lm-hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 18px;
}

.lm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.lm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.lm-hero-meta strong {
  display: block;
  color: var(--text-light);
  font-size: 13px;
}

/* HERO RIGHT IMAGE */ 

.lm-hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.lm-hero-pack-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lm-hero-pack {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7));
}

/* HERO CARD */


.lm-hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.lm-hero-card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-green);
  margin-bottom: 6px;
}

.lm-hero-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.lm-hero-card-text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.lm-hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lm-price {
  font-size: 16px;
  font-weight: 700;
}

.lm-hero-card-small {
  font-size: 12px;
  color: var(--text-muted);
}

.lm-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 4px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.lm-product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.lm-product-actions-center {
  justify-content: flex-start;
}

/* ========= SECCIONES GENERALES ========= */

.lm-section {
  padding: 40px 0;
}

.lm-section-light {
  background: var(--bg-light);
  color: #0f172a;
}

.lm-section-dark {
  background: var(--bg-darker);
}

.lm-section-dark-top {
  padding-top: 60px;
}

.lm-section-title {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
}

.lm-section-sub {
  font-size: 13px;
  max-width: 440px;
  margin: 0 0 22px;
}

.lm-section-sub-muted {
  color: var(--text-muted);
}

.lm-p-small {
  font-size: 12px;
}

/* ========= BENEFICIOS ========= */

.lm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lm-benefit {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.lm-benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(76, 201, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.lm-benefit-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.lm-benefit-text {
  font-size: 12px;
  color: #6b7280;
}

/* ========= PRODUCTOS LISTA ========= */

.lm-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.lm-product-thumb {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.lm-product-thumb img {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.7));
}

/* PRODUCT CARD */
.lm-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.lm-product-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.lm-product-name {
  font-size: 16px;
  font-weight: 700;
}

.lm-product-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.lm-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.lm-product-price {
  font-size: 15px;
  font-weight: 700;
}

.lm-product-badge {
  font-size: 11px;
  color: var(--accent-orange);
}

/* ========= CIENCIA / SUSCRIPCIÓN ========= */

.lm-science-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.lm-science-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.lm-science-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.lm-science-box ul {
  padding-left: 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.lm-sub-box {
  background: #020617;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid #1f2937;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.8);
}

.lm-sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.lm-sub-tag {
  font-size: 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ========= CTA FINAL ========= */

.lm-cta-final {
  text-align: center;
}

.lm-cta-btn {
  margin-top: 8px;
}

/* ========= FOOTER ========= */

.lm-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 14px 0 20px;
  font-size: 11px;
  color: var(--text-muted);
  background: #020617;
}

.lm-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========= MINI CARRITO ========= */

.lm-mini-cart {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: flex-end;
  z-index: 60;
}

.lm-mini-cart.is-open {
  display: flex;
}

.lm-mini-cart-inner {
  background: #020617;
  width: 320px;
  max-width: 100%;
  height: 100%;
  padding: 18px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.lm-mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lm-mini-cart-header h2 {
  font-size: 18px;
  margin: 0;
}

.lm-mini-cart-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
}

.lm-mini-cart-items {
  flex: 1;
  overflow-y: auto;
  font-size: 13px;
  margin-top: 10px;
  padding-right: 4px;
}

.lm-mini-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.lm-mini-cart-item:last-child {
  border-bottom: none;
}

.lm-mini-cart-footer {
  margin-top: 12px;
}

.lm-mini-cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

/* ========= CHECKOUT ========= */

.lm-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 26px;
}

.lm-form {
  margin-top: 12px;
}

.lm-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.lm-form-group label {
  font-size: 13px;
}

.lm-form-group input {
  border-radius: 10px;
  border: 1px solid #374151;
  padding: 8px 10px;
  background: #020617;
  color: var(--text-light);
  font-size: 13px;
}

.lm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lm-form-title {
  margin-top: 14px;
  font-size: 16px;
}

.lm-payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.lm-pay-btn {
  flex: 1;
  min-width: 120px;
  border-radius: 999px;
  border: 1px solid #374151;
  padding: 8px;
  background: #020617;
  color: var(--text-light);
  font-size: 13px;
  cursor: pointer;
}

.lm-pay-apple {
  font-weight: 600;
}

.lm-pay-google {
  font-weight: 600;
}

.lm-pay-card {
  font-size: 12px;
}

.lm-checkout-submit {
  margin-top: 4px;
  width: 100%;
}

.lm-checkout-summary {
  background: #020617;
  border-radius: var(--radius-lg);
  border: 1px solid #1f2937;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.lm-checkout-summary h2 {
  margin-top: 0;
}

.lm-checkout-items {
  margin-top: 10px;
  border-top: 1px solid #1f2937;
  padding-top: 8px;
}

.lm-checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.lm-checkout-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

/* ========= RESPONSIVE ========= */

@media (max-width: 900px) {
  .lm-nav {
    display: none;
  }

  .lm-hero-grid,
  .lm-science-grid,
  .lm-checkout-grid {
    grid-template-columns: 1fr;
  }

  .lm-products-grid,
  .lm-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .lm-header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .lm-hero-title {
    font-size: 28px;
  }

  .lm-products-grid,
  .lm-benefits-grid {
    gap: 14px;
  }
}
