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

/* ─── region: price-box overrides (scoped to local-landing rail) ─────────── */
/* Prevents long range string "50.000đ – 800.000đ" from overflowing rail */
.ll-price-box .ll-price-box__range {
  font-size: 26px;          /* slightly smaller than product 38px; fits range */
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  line-height: 1.15;
  white-space: normal;      /* allow wrap if needed on narrow rail */
  word-break: keep-all;     /* don't break mid-number */
  display: block;
}

.ll-price-box__row {
  display: block;           /* single-line flow; no baseline row needed */
}

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

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

/* ─── region: CTA button overflow fix (local-landing rail only) ──────────── */
/* Prevents "Gọi ngay 0964917936" / "Chat Zalo gửi mẫu" from being clipped */
.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: 50px;
  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 only) */
/* Force the shared .product-grid to exactly 5 columns on desktop for this page.
   Scoped to .prd-related so trang chủ/catalog (.product-grid global) are untouched. */
.prd-related .product-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.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-12);
  margin: var(--space-6) 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.ll-nearby__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 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 14px;
  font-size: 13px;
  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-5);
}

.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 28px;
  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;
}
