/**
 * WEL_LP Atlas layout — funnel chrome (extends wel-lp base).
 */
.wel-lp--layout-atlas {
  --wel-lp-section-gap: var(--gap, 1.15rem);
}

.wel-lp--layout-atlas .wel-lp__hero {
  margin-bottom: 0;
}

/* Pack picker bridge: Offer line picker → funnel pack cards */
.wel-landing--layout-atlas .wel-offer-packs.pack-list .section-title,
.wel-landing--layout-atlas .wel-offer-packs.pack-list .packs-foot { display: none; }
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__chooser-label { display: none; }
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__multi-hint { display: none; }
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__picker {
  display: grid; gap: 0.7rem; margin: 0;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 0.7rem;
  align-items: stretch;
  padding: 0.8rem 0.85rem;
  border-radius: var(--atlas-radius-sm, 14px);
  border: 1.5px solid var(--line);
  background: var(--surface);
  box-shadow: var(--atlas-shadow, var(--shadow));
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line:hover {
  border-color: color-mix(in srgb, var(--brand) 28%, transparent);
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected {
  border-color: var(--brand);
  border-width: 2px;
  padding: calc(0.8rem - 0.5px) calc(0.85rem - 0.5px);
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface) 48%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 10%, transparent), var(--atlas-shadow, var(--shadow));
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-brand);
  z-index: 1;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected::after {
  content: none;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-lead {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0;
  position: relative;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-check,
.wel-landing--layout-atlas .order-wrap .wel-buy__pick--line .wel-buy__line-check {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-img-wrap { display: none; }
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__check::before { display: none; }
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--ink) 18%, var(--surface));
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected .wel-buy__check {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--cta-ink, #fff);
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected .wel-buy__check::after {
  content: "✓";
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-body {
  display: contents;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-name,
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-attrs,
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-save,
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-qty {
  grid-column: 2;
  min-width: 0;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-name {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-attrs {
  font-size: var(--text-sm, 0.9375rem);
  color: var(--muted);
  line-height: 1.35;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-save {
  display: inline-flex;
  align-self: start;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-dark, #c2410c);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-price {
  grid-column: 3;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  text-align: right;
  font-weight: 800;
  align-self: center;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-price del,
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick-price .woocommerce-Price-amount.amount:nth-child(1):has(+ .woocommerce-Price-amount) {
  font-size: var(--text-xs, 0.8125rem);
  color: var(--muted);
  font-weight: 600;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 0.25rem;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  align-self: start;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  color: inherit;
  grid-template-columns: unset;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--line.is-selected .wel-buy__line-qty {
  box-shadow: none !important;
  background: transparent !important;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-qty::before {
  content: "পরিমাণ";
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.45rem;
  white-space: nowrap;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--no-qty .wel-buy__line-qty { display: none; }
/* Editor: ghost qty + eye stay usable when buy_show_quantity is off. */
.wel-landing.wel-landing--editor.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--no-qty .wel-buy__line-qty[data-wel-vis],
.elementor-editor-active .wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--no-qty .wel-buy__line-qty[data-wel-vis] {
  display: inline-flex;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__qty-btn {
  box-sizing: border-box;
  width: 1.9rem;
  height: 1.9rem;
  min-width: 1.9rem;
  min-height: 1.9rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--line);
  background: var(--surface-muted, var(--surface));
  font-weight: 800;
  line-height: 1;
  border-radius: 0;
  box-shadow: none;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__qty-btn--minus {
  border-radius: 8px 0 0 8px;
  border-right-width: 0;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__qty-btn--plus {
  border-radius: 0 8px 8px 0;
  border-left-width: 0;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-qty input {
  box-sizing: border-box;
  width: 2rem;
  min-width: 2rem;
  height: 1.9rem;
  min-height: 1.9rem;
  margin: 0;
  text-align: center;
  border: 1.5px solid var(--line);
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 0;
  font-weight: 800;
  padding: 0;
  background: var(--surface);
  box-shadow: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__line-qty input:focus {
  outline: none;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--hot::after {
  content: attr(data-wel-hot-badge);
  position: absolute;
  top: -0.45rem;
  right: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--cta-ink, #fff);
  background: var(--grad-cta);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--cta) 25%, transparent);
}
.wel-landing--layout-atlas .wel-offer-packs.pack-list .wel-buy__pick--hot {
  margin-top: 0.35rem;
}

/* COD form inside order-wrap */
.wel-landing--layout-atlas .order-wrap .wel-cod__form .wel-cod__field input,
.wel-landing--layout-atlas .order-wrap .wel-cod__form .wel-cod__field textarea {
  border-radius: var(--atlas-radius-xs, 10px);
}
.wel-landing--layout-atlas .order-wrap .wel-cod__submit {
  border-radius: var(--wel-btn-radius, 999px);
  min-height: 52px;
  font-weight: 800;
  background: var(--wel-btn-fill, var(--grad-cta));
  box-shadow: var(--wel-btn-shadow, 0 8px 22px color-mix(in srgb, var(--cta) 28%, transparent));
}

/* Atlas CTA safety net — Easy start Border / Button style must beat any leftover hard-coded pills */
.wel-landing--layout-atlas .cta,
.wel-landing--layout-atlas .btn-order,
.wel-landing--layout-atlas .btn-sticky,
.wel-landing--layout-atlas .btn-video,
.wel-landing--layout-atlas .btn-header-cta,
.wel-landing--layout-atlas .btn-ghost,
.wel-landing--layout-atlas .btn-wa,
.wel-landing--layout-atlas .hero-badge,
.wel-landing--layout-atlas .submit-order,
.wel-landing--layout-atlas .phone-banner--atlas .call-pill,
.wel-landing--layout-atlas .phone-cta a,
.wel-landing--layout-atlas .power-panel__cta,
.wel-landing--layout-atlas .contact-strip__action,
.wel-landing--layout-atlas a.contact-strip__action,
.wel-landing--layout-atlas .order-wrap .wel-cod__submit,
.wel-landing--layout-atlas .wel-cod__submit {
  border-radius: var(--wel-btn-radius, 999px);
}

/* Generic block shells → card surfaces when block did not emit .card */
.wel-landing--layout-atlas .wrap.wel-block-plain > .wel-guarantee,
.wel-landing--layout-atlas .wrap.wel-block-plain > .wel-proof,
.wel-landing--layout-atlas .wrap.wel-block-plain > .wel-reviews,
.wel-landing--layout-atlas .wrap.wel-block-plain > .wel-faq,
.wel-landing--layout-atlas .wrap.wel-block-plain > .phone-banner,
.wel-landing--layout-atlas .wrap.wel-block-plain > .phone-support,
.wel-landing--layout-atlas .wrap.wel-block-plain > .power-panel,
.wel-landing--layout-atlas .wrap.wel-block-plain > .urgency-note,
.wel-landing--layout-atlas .wrap.wel-block-plain > .contact-strip {
  margin-inline: var(--page-pad);
}
