/* local-landing.mobile.css - ward landing pSEO (/khac-dau-{slug})
   Category: local-landing | Viewport: max-width:1023.98px
   Prefix: ll- | Organized by region (matches view block comments). */

/* ─── region: price-box overrides (scoped to local-landing rail) ─────────── */
/* Prevents long range "50.000đ – 800.000đ" from overflowing on mobile rail */
.ll-price-box .ll-price-box__range {
  font-size: 22px;          /* compact enough for narrow mobile rail */
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: normal;
  word-break: keep-all;
  display: block;
}

.ll-price-box__row {
  display: block;
}

.ll-price-box__type-note {
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.ll-price-box__incl {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.ll-price-box__incl strong { color: var(--color-text); }

/* Override parity-768 rule that bumps font-size back to 38px */
@media (min-width: 768px) {
  .ll-price-box .ll-price-box__range {
    font-size: 26px;
  }
}

/* ─── region: CTA button overflow fix (local-landing rail only) ──────────── */
/* Prevents button text from being clipped on mobile rail */
.prd-pdp__rail.prd-buybox .prd-cta-grid .prd-cta-btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  height: auto;
  min-height: 48px;
  padding: 10px 8px;
  font-size: 13px;
}
.prd-pdp__rail.prd-buybox .prd-cta-btn span {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

/* region: stamp types (prd-related section — local-landing mobile)
   1 hàng cuộn ngang; mỗi card cố định ~155px — không ép 5 cột chật màn hình nhỏ. */
.prd-related .product-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: var(--space-3);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2); /* avoid scrollbar overlap */
}
.prd-related .product-grid .product-card {
  flex: 0 0 155px;
  width: 155px;
  scroll-snap-align: start;
}

.ll-types__cards > .product-card {
  height: 100%;
}

.ll-body .prose {
  max-width: none;
}

.ll-body .prose img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-10);
  margin: var(--space-5) 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.ll-nearby__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ll-nearby__list a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.ll-nearby__list a:hover {
  text-decoration: underline;
}

/* region: nearby area chips — red brand buttons, grid full-width */
.ll-nearby__list .prd-cta-btn {
  background: #C8102E;
  color: #fff;
  border: none;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.25;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background .15s ease;
  white-space: normal;
  width: 100%;
  text-align: center;
}
.ll-nearby__list .prd-cta-btn:hover {
  background: #a50d24;
  color: #fff;
  text-decoration: none;
}

/* "Xem tất cả khu vực" — centered button below adjacent chip list */
.ll-nearby__all-wrap {
  text-align: center;
  margin-top: var(--space-4);
}

.ll-nearby__all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-8);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.ll-nearby__all-btn:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* region: promo-box icon badge (local-landing rail) — white icon on red circle */
.prd-promo-box__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #C8102E;
}
