/* Product landing — /lp/{slug} — không menu site, tập trung quảng cáo + đặt mua */

.pl-page {
  --pl-accent: #c45c26;
  --pl-chrome-h: 56px;
  --pl-dock-h: auto;
  background: #faf8f5;
}

.pl-page .organic-wave {
  display: none;
}

.pl-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--pl-chrome-h);
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pl-chrome-logo img {
  height: 36px;
  width: auto;
}

.pl-chrome-cta {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--pl-accent);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.pl-chrome-cta:hover {
  color: #fff;
  filter: brightness(1.05);
}

.pl-main {
  max-width: none;
  padding: 0;
  width: 100%;
}

.pl-footer-minimal {
  text-align: center;
  padding: 1.25rem 1rem 6.5rem;
  font-size: 0.8rem;
  color: var(--msn-muted, #666);
}

.pl-buy-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}

.pl-buy-dock-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.pl-buy-dock-name {
  display: block;
  font-size: 0.95rem;
}

.pl-buy-dock-product {
  flex: 1 1 140px;
  min-width: 0;
}

.pl-buy-dock-actions {
  flex: 1 1 200px;
}

.pl-page .msn-feed--shop {
  max-width: none;
  padding: 0;
}

.product-landing {
  --pl-accent: #c45c26;
  --pl-radius: 12px;
  margin-bottom: 2rem;
}

.pl-section {
  margin-bottom: 1.5rem;
}

.pl-headline {
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.pl-subheadline {
  font-size: 1.05rem;
  color: var(--msn-muted, #666);
  margin-bottom: 1rem;
}

.pl-body {
  font-size: 1rem;
  line-height: 1.6;
}

.pl-bullets {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.pl-bullets li {
  margin-bottom: 0.35rem;
}

.pl-bullets--light {
  color: #fff;
}

.pl-bullets--inline {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.pl-bullets--inline li::before {
  content: "✓ ";
  color: var(--pl-accent);
}

.pl-cta-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--msn-border, #e8e4df);
}

/* Classic */
.pl-classic-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .pl-classic-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.pl-classic-media img,
.pl-block-image img {
  width: 100%;
  border-radius: var(--pl-radius);
  object-fit: cover;
  max-height: 420px;
}

/* Hero focus */
.pl-hero {
  min-height: 320px;
  border-radius: var(--pl-radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pl-hero-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
}

.pl-hero-content {
  color: #fff;
  max-width: 640px;
}

.pl-hero-body {
  padding: 0 0.25rem;
}

.pl-block-hero {
  min-height: 280px;
  border-radius: var(--pl-radius);
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

/* Promo */
.pl-promo-banner {
  background: linear-gradient(120deg, #fff5ee, #ffe8d6);
  border: 1px solid #f0d4bc;
  border-radius: var(--pl-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.pl-promo-tag {
  display: inline-block;
  background: var(--pl-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.pl-promo-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pl-accent);
  margin: 0.25rem 0;
}

.pl-promo-unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--msn-muted, #666);
}

.pl-promo-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pl-promo-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.pl-promo-media img {
  width: 100%;
  border-radius: var(--pl-radius);
}

/* Minimal */
.pl-minimal {
  padding: 2rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.pl-block {
  margin-bottom: 1.25rem;
}

.pl-block-cta {
  padding: 1rem 0;
}

.pl-block-html {
  padding: 0 0.25rem;
}

/* Admin template picker */
.landing-tpl-card {
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-size: 0.85rem;
}

.landing-tpl-card.is-selected {
  border-color: var(--pl-accent, #c45c26) !important;
  box-shadow: 0 0 0 2px rgba(196, 92, 38, 0.25);
}

.landing-builder-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-block-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem;
  background: #fafafa;
}

.landing-block-card .block-toolbar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.landing-block-card label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.landing-block-card textarea,
.landing-block-card input {
  font-size: 0.9rem;
}

.pl-headline--light,
.pl-subheadline--light {
  color: #fff;
}

.pl-subheadline--light {
  opacity: 0.92;
}

.pl-spa-scroll-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.5rem;
  background: #fff;
  color: var(--pl-accent);
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
}

.pl-spa-scroll-cta--dark {
  background: var(--pl-accent);
  color: #fff;
}

.pl-spa-section-title {
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.pl-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .pl-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pl-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pl-feature-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--pl-radius);
  padding: 1rem 1.1rem;
}

.pl-feature-card--raised {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pl-feature-icon {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  background: rgba(196, 92, 38, 0.12);
  color: var(--pl-accent);
  border-radius: 50%;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.pl-bullets--check {
  list-style: none;
  padding: 0;
}

.pl-bullets--check li::before {
  content: "✓ ";
  color: var(--pl-accent);
  font-weight: 700;
}

.pl-scroll-spa .pl-spa-screen {
  min-height: min(85vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.pl-spa-hero {
  background-size: cover;
  background-position: center;
  position: relative;
}

.pl-spa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.pl-spa-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pl-spa-features {
  background: #fff;
}

.pl-spa-story {
  background: #f5f2ee;
}

.pl-spa-story-inner {
  max-width: 720px;
  margin: 0 auto;
}

.pl-spa-cta-band {
  background: linear-gradient(135deg, #c45c26, #a84a1c);
  text-align: center;
}

.pl-split-landscape {
  display: grid;
  min-height: calc(100vh - var(--pl-chrome-h));
}

@media (min-width: 992px) {
  .pl-split-landscape {
    grid-template-columns: 1.15fr 1fr;
  }
}

.pl-split-media {
  min-height: 42vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media (min-width: 992px) {
  .pl-split-media {
    min-height: calc(100vh - var(--pl-chrome-h));
    position: sticky;
    top: var(--pl-chrome-h);
    height: calc(100vh - var(--pl-chrome-h));
  }
}

.pl-split-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.pl-split-content {
  padding: 2rem 1.25rem 5rem;
}

.pl-split-sticky {
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .pl-split-sticky {
    position: sticky;
    top: calc(var(--pl-chrome-h) + 1.5rem);
  }
}

.pl-fg-hero {
  min-height: 48vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 1.25rem;
}

.pl-fg-hero-text {
  max-width: 720px;
}

.pl-fg-grid-wrap,
.pl-fg-body-wrap {
  padding: 2.5rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.pl-fg-cta-band {
  padding: 2rem 1.25rem 5rem;
  background: #fff5ee;
}

.pl-band {
  width: 100%;
}

.pl-band--hero {
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.pl-band-overlay {
  width: 100%;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.pl-band--light {
  padding: 2.5rem 1.25rem;
  background: #fff;
}

.pl-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.pl-band--split {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
  background: #f8f6f3;
  align-items: center;
}

@media (min-width: 768px) {
  .pl-band--split {
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
  }
}

.pl-band-split-media img {
  width: 100%;
  border-radius: var(--pl-radius);
  object-fit: cover;
  max-height: 360px;
}

.pl-band--cta {
  text-align: center;
  padding: 2.5rem 1.25rem 5rem;
  background: #2d2a26;
}

.pl-html-canvas {
  padding: 1rem 0 5rem;
  min-height: 50vh;
}

.pl-html-canvas-inner {
  max-width: 100%;
}

.pl-html-canvas-empty {
  padding: 4rem 1.5rem;
  text-align: center;
}

.tpl-classic .pl-classic-grid,
.tpl-promo .pl-section,
.tpl-minimal.pl-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}

.tpl-hero .pl-section {
  margin: 0 0 5rem;
}

.tpl-hero-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.tpl-custom .pl-custom {
  padding-bottom: 5rem;
}
