/* ===================================================================
   3babees shell — prices / policies / cart / checkout (no theme chrome)
   =================================================================== */

.babees-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--bb-text, #f7f8ff);
  font-family: var(--bb-font, "Cairo", "Outfit", system-ui, sans-serif);
  overflow-x: hidden;
}

.babees-shell-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(5, 6, 15, 0.78);
  border-bottom: 1px solid rgba(160, 174, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.babees-shell-brand { text-decoration: none; color: inherit; min-width: 0; }
.babees-shell-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.babees-shell-nav-btn {
  min-height: 42px !important;
  padding: 0 14px !important;
  font-size: 0.85rem !important;
  text-decoration: none;
}

.babees-shell-main {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 22px 14px 10px;
}

.babees-shell-hero {
  text-align: center;
  margin: 8px 0 22px;
}
.babees-shell-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.55rem, 5.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.babees-shell-hero p {
  margin: 0 auto;
  max-width: 36rem;
  color: rgba(200, 210, 245, 0.78);
  font-weight: 700;
  line-height: 1.7;
  font-size: 0.92rem;
}

.babees-shell-foot {
  margin-top: 28px;
  padding: 8px 14px 0;
}

/* Prices inside shell — no nested atmosphere */
.babees-shell .babees-prices-page .babees-atmosphere { display: none !important; }
.babees-shell .babees-prices-page {
  max-width: none;
  padding: 0 0 20px;
  position: relative;
}

.babees-price-card {
  border-radius: 20px;
  padding: 18px 16px;
  background: rgba(14, 18, 36, 0.72);
  border: 1px solid rgba(160, 174, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.babees-price-card.is-feature {
  border-color: rgba(255, 209, 102, 0.45);
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.12), rgba(14, 18, 36, 0.8));
}
.babees-price-card h3 { margin: 8px 0; font-size: 1.15rem; font-weight: 900; }
.babees-price-card .babees-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bb-gold, #ffd166);
  margin: 6px 0;
}
.babees-price-card p {
  margin: 0;
  color: rgba(200, 210, 245, 0.75);
  font-weight: 700;
  font-size: 0.86rem;
}
.babees-pack-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.18);
  border: 1px solid rgba(140, 170, 255, 0.3);
  color: #c8d2ff;
}

/* Legal */
.babees-legal-shell { width: 100%; }
.babees-legal-doc--shell {
  max-width: none;
  margin: 0;
  padding: 20px 18px 24px;
  border-radius: 22px;
  background: rgba(14, 18, 36, 0.78);
  border: 1px solid rgba(160, 174, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.babees-legal-doc--shell .babees-legal-kicker,
.babees-legal-doc--shell h2:first-of-type {
  /* Hero already shows title — soften duplicate seed headings */
}
.babees-legal-doc--shell > .babees-legal-kicker { display: none; }
.babees-legal-doc--shell > h2:first-of-type {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.babees-legal-doc--shell {
  position: relative;
}
.babees-legal-doc--shell h3 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
  color: var(--bb-gold, #ffd166);
  font-weight: 900;
}
.babees-legal-doc--shell,
.babees-legal-doc--shell p,
.babees-legal-doc--shell li,
.babees-legal-doc--shell strong {
  color: #eef1ff !important;
  font-weight: 600;
  line-height: 1.85;
}
.babees-legal-doc--shell h3 {
  color: #ffd166 !important;
}
/* Never inherit theme white-page contrast failure */
body.babees-shell-body,
body.babees-shell-body .babees-shell,
body.babees-shell-body .babees-shell-main {
  background: transparent;
  color: #f7f8ff !important;
}
body.babees-shell-body .entry-title,
body.babees-shell-body .wp-block-post-title,
body.babees-shell-body .page-title {
  display: none !important;
}
.babees-legal-doc--shell ul {
  margin: 0 0 8px;
  padding-inline-start: 18px;
}

/* WooCommerce surfaces — same dark glass language */
.babees-woo-surface {
  width: 100%;
  padding: 8px 0 20px;
  color: #f7f8ff;
}
.babees-woo-surface .woocommerce,
.babees-woo-surface .woocommerce-page,
.babees-woo-surface .woocommerce-notices-wrapper,
.babees-woo-surface .cart-collaterals,
.babees-woo-surface .woocommerce-cart-form,
.babees-woo-surface .checkout,
.babees-woo-surface .woocommerce-checkout,
.babees-woo-surface .woocommerce-order {
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  border: 0 !important;
}
.babees-woo-surface table.shop_table,
.babees-woo-surface .cart_totals,
.babees-woo-surface .woocommerce-checkout-review-order,
.babees-woo-surface .woocommerce-billing-fields,
.babees-woo-surface .woocommerce-additional-fields,
.babees-woo-surface .woocommerce-checkout-payment,
.babees-woo-surface .woocommerce-info,
.babees-woo-surface .woocommerce-message,
.babees-woo-surface .woocommerce-error,
.babees-woo-surface .wc-block-components-sidebar,
.babees-woo-surface .wc-block-cart,
.babees-woo-surface .wc-block-checkout {
  background: rgba(14, 18, 36, 0.82) !important;
  border: 1px solid rgba(160, 174, 255, 0.22) !important;
  border-radius: 18px !important;
  color: #f7f8ff !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.babees-woo-surface th,
.babees-woo-surface td,
.babees-woo-surface label,
.babees-woo-surface h2,
.babees-woo-surface h3,
.babees-woo-surface .product-name a {
  color: #f7f8ff !important;
}
.babees-woo-surface input[type="text"],
.babees-woo-surface input[type="email"],
.babees-woo-surface input[type="tel"],
.babees-woo-surface input[type="number"],
.babees-woo-surface input[type="password"],
.babees-woo-surface select,
.babees-woo-surface textarea,
.babees-woo-surface .input-text,
.babees-woo-surface .select2-selection {
  background: rgba(5, 8, 18, 0.9) !important;
  border: 1px solid rgba(160, 174, 255, 0.28) !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 46px;
}
.babees-woo-surface button,
.babees-woo-surface .button,
.babees-woo-surface #place_order,
.babees-woo-surface .checkout-button,
.babees-woo-surface .wc-block-components-button {
  background: linear-gradient(135deg, #fff3c4, #ffd166 55%, #ffb84d) !important;
  color: #0b0720 !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  min-height: 48px;
  box-shadow: 0 12px 28px rgba(255, 190, 70, 0.3);
}
.babees-woo-surface .woocommerce-remove-coupon,
.babees-woo-surface a.remove {
  color: #ffc0cb !important;
}
.babees-woo-surface #payment .payment_methods li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(160, 174, 255, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.babees-woo-surface .woocommerce-form-coupon-toggle .woocommerce-info,
.babees-woo-surface .woocommerce-info {
  border-top-color: rgba(255, 209, 102, 0.5) !important;
}

body.babees-shell-body .site-header,
body.babees-shell-body .site-footer,
body.babees-shell-body .wp-site-blocks > header,
body.babees-shell-body .wp-site-blocks > footer {
  display: none !important;
}

@media (max-width: 560px) {
  .babees-shell-top { padding: 10px 10px; }
  .babees-shell-main { padding: 16px 10px 8px; }
  .babees-shell-nav-btn { min-height: 40px !important; padding: 0 10px !important; font-size: 0.8rem !important; }
  .babees-legal-doc--shell { padding: 16px 14px 20px; border-radius: 18px; }
}
