/* ==========================================================================
   BDS Dwello — Design System
   ========================================================================== */

/* ── 1. Design Tokens ─────────────────────────────────────────────────── */
:root {
  /* Palette */
  --bk-cream:        #f8fafc;
  --bk-cream-deep:   #f1f5f9;
  --bk-white:        #FFFFFF;
  --bk-dark:         #0f172a;
  --bk-dark-mid:     #1e293b;
  --bk-text:         #334155;
  --bk-text-muted:   #64748b;
  --bk-text-light:   #ADADBE;
  --bk-accent:       #285598;
  --bk-accent-hover: #1e4278;
  --bk-accent-light: #e8eef6;
  --bk-gold:         #8e7f45;
  --bk-green:        #285598;
  --bk-green-light:  #e8eef6;
  --bk-gradient:     linear-gradient(135deg, #1e4278 0%, #285598 50%, #3a6db5 100%);
  --bk-gradient-soft: linear-gradient(180deg, #e8eef6 0%, #f6f7f8 100%);
  --bk-red:          #E05252;
  --bk-red-light:    #FDEDED;
  --bk-blue:         #4A7FC1;
  --bk-border:       #E5E0D8;
  --bk-border-light: #F0ECE6;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Border radius */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26,26,46,.06);
  --shadow-sm: 0 2px 8px rgba(26,26,46,.08);
  --shadow-md: 0 4px 20px rgba(26,26,46,.10);
  --shadow-lg: 0 8px 40px rgba(26,26,46,.14);
  --shadow-xl: 0 16px 60px rgba(26,26,46,.18);

  /* Typography */
  --font-heading: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur-normal: 250ms;
  --dur-slow: 400ms;

  /* Layout */
  --container-max: 1560px;
  --container-narrow: 920px;
  --container-wide: 1720px;
  --topbar-h: 40px;
  --header-h: 64px;
  --header-offset: var(--header-h);
}

/* ── 2. Base Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bk-text);
  background: var(--bk-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bk-dark);
}

/* ── 3. Layout ────────────────────────────────────────────────────────── */
.bk-container {
  width: min(100% - 2.5rem, var(--container-max));
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.bk-container--narrow { max-width: var(--container-narrow); }
.bk-container--wide   { max-width: var(--container-wide); }

/* ── 4. Typography ────────────────────────────────────────────────────── */
.bk-h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
.bk-h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.bk-h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; }
.bk-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bk-accent);
}

/* ── 5. Buttons ───────────────────────────────────────────────────────── */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border-radius: var(--r-md); font-weight: 600; font-size: .9375rem;
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap; text-decoration: none;
  border: 1.5px solid transparent;
}
.bk-btn--primary {
  background: var(--bk-dark); color: var(--bk-white);
}
.bk-btn--primary:hover {
  background: var(--bk-dark-mid); transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.bk-btn--accent {
  background: var(--bk-gradient, var(--bk-accent));
  color: var(--bk-white);
  border: none;
}
.bk-btn--accent:hover {
  background: var(--bk-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.35);
  color: #fff;
}
.bk-btn--gradient {
  background: var(--bk-gradient, linear-gradient(135deg, #047857, #10b981));
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.bk-btn--gradient:hover {
  filter: brightness(1.05);
  color: #fff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
  transform: translateY(-1px);
}
.bk-btn--white {
  background: #fff;
  color: var(--bk-accent-hover);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.bk-btn--white:hover {
  background: #f0fdf4;
  color: var(--bk-accent-hover);
}
.bk-btn--outline-green {
  border: 1.5px solid var(--bk-accent);
  color: var(--bk-accent);
  background: transparent;
}
.bk-btn--outline-green:hover {
  background: var(--bk-accent-light);
  color: var(--bk-accent-hover);
  border-color: var(--bk-accent-hover);
}
.bk-btn--outline {
  background: transparent;
  color: var(--bk-dark);
  border: 1.5px solid var(--bk-border);
}
.bk-btn--outline:hover {
  background: var(--bk-white);
  border-color: var(--bk-dark);
  box-shadow: var(--shadow-sm);
}
.bk-btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
}
.bk-btn--outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: none;
  transform: none;
}
.bk-btn--ghost {
  background: transparent; color: var(--bk-text-muted);
  border-color: var(--bk-border);
}
.bk-btn--ghost:hover { background: var(--bk-cream-deep); color: var(--bk-dark); }
.bk-btn--green {
  background: var(--bk-green); color: var(--bk-white);
}
.bk-btn--green:hover { background: #328A59; box-shadow: 0 6px 20px rgba(62,158,106,.3); }
.bk-btn--sm  { padding: 8px 16px; font-size: .875rem; border-radius: var(--r-sm); }
.bk-btn--lg  { padding: 15px 32px; font-size: 1.0625rem; border-radius: var(--r-lg); }
.bk-btn--xl  { padding: 18px 40px; font-size: 1.125rem; border-radius: var(--r-lg); }
.bk-btn--block { width: 100%; }
.bk-btn--icon-only { padding: 10px; aspect-ratio: 1; }
.bk-btn svg { flex-shrink: 0; }

/* ── 6. Badges ────────────────────────────────────────────────────────── */
.bk-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 600; line-height: 1;
}
.bk-badge--hot  { background: var(--bk-red-light);   color: var(--bk-red); }
.bk-badge--new  { background: var(--bk-green-light);  color: var(--bk-green); }
.bk-badge--sale { background: #FFF3E0;                color: #E65100; }
.bk-badge--rent { background: #E8F5E9;                color: #2E7D32; }
.bk-badge--dark { background: rgba(0,0,0,.6);         color: #fff; }

/* ── 7a. Badges ───────────────────────────────────────────────────────── */
.bds-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.3;
  border-radius: var(--r-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bds-badge.is-hot    { background: #e53935; color: #fff; }
.bds-badge.is-new    { background: #00897b; color: #fff; }
.bds-badge.is-status { background: var(--bk-accent); color: #fff; }
a.bds-badge {
  transition: transform var(--dur-fast) var(--ease),
              filter var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  text-decoration: none;
}
a.bds-badge:hover {
  transform: translateY(-2px) scale(1.07);
  filter: brightness(1.15);
  box-shadow: 0 4px 10px rgba(0,0,0,.28);
}

/* ── 7. Cards ─────────────────────────────────────────────────────────── */
.bk-property-card {
  background: var(--bk-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease);
  display: flex; flex-direction: column;
}
.bk-property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bk-card__media-wrap {
  position: relative;
  overflow: hidden;
}
.bk-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.45) 32%, transparent 58%);
  transition: opacity var(--dur-normal) var(--ease);
}
.bk-property-card:hover .bk-card__shade {
  opacity: 0.92;
}
.bk-card__tags {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 62%;
}
.bk-card__tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.97);
  color: var(--bk-accent-hover);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.bk-card__tag:hover {
  background: #fff;
  color: var(--bk-accent);
  transform: translateX(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.bk-card__tag--status { color: var(--hp-blue, #285598); background: #fff; }
.bk-card__tag--project { color: #1e4278; background: #f4f7fb; }
.bk-card__tag--class { color: var(--hp-olive, #8e7f45); background: #faf8f3; }
.bk-card__tag--price { color: #243b57; background: #eef2f7; }
.bk-card__media {
  display: block; overflow: hidden;
  aspect-ratio: 4/3; position: relative;
}
.bk-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.bk-property-card:hover .bk-card__img { transform: scale(1.05); }
.bk-card__badges {
  position: absolute; top: 12px; left: 12px;
  z-index: 4;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.bk-card__price-overlay {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: auto;
  z-index: 2;
  background: none;
  padding: 0;
  color: var(--bk-white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  letter-spacing: -.01em;
}
.bk-card__body {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bk-white);
  border-top: 3px solid transparent;
  transition: border-color var(--dur-normal) var(--ease);
}
.bk-property-card:hover .bk-card__body {
  border-top-color: var(--bk-accent);
}
.bk-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 0 4px;
  border-top: 1px solid var(--bk-border-light);
}
.bk-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bk-text-muted);
}
.bk-card__spec svg {
  color: var(--bk-accent);
  flex-shrink: 0;
}
.bk-card__spec--type span {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bk-accent);
  background: var(--bk-accent-light);
  text-align: center;
  letter-spacing: .01em;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.bk-card__cta:hover {
  background: var(--bk-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(40, 85, 152, 0.28);
}
.bk-card__footer { display: none; }
.bk-card__title {
  font-size: 1rem; font-weight: 600; color: var(--bk-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.bk-card__title a:hover { color: var(--bk-accent); }
.bk-card__location {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: .8125rem; color: var(--bk-text-muted);
  line-height: 1.4;
}
.bk-card__location svg { color: var(--bk-accent); flex-shrink: 0; margin-top: 1px; }
.bk-card__meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--bk-border-light);
  margin-top: auto;
}
.bk-card__meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: .8125rem; color: var(--bk-text-muted);
}
.bk-card__type {
  font-size: .75rem; color: var(--bk-accent);
  font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}

/* Property grid */
.bk-property-grid,
[data-filter-grid] > .bds-grid--properties,
[data-filter-grid] .bds-grid--properties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .bk-property-grid,
  [data-filter-grid] > .bds-grid--properties,
  [data-filter-grid] .bds-grid--properties { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bk-property-grid,
  [data-filter-grid] > .bds-grid--properties,
  [data-filter-grid] .bds-grid--properties { grid-template-columns: 1fr; gap: 16px; }
}
/* Card legacy class fallback (AJAX cũ / parent grid) */
.bds-grid--properties .bk-property-card,
.bds-grid--properties .bds-card {
  min-width: 0;
}

/* ── 8. Section Layout ────────────────────────────────────────────────── */
.bk-section { padding: var(--sp-xl) 0; }
.bk-section + .bk-section { padding-top: var(--sp-lg); }
.bk-stats-bar + .bk-section { padding-top: var(--sp-lg); }
.bk-section--lg { padding: var(--sp-3xl) 0; }
.bk-section--sm { padding: var(--sp-lg) 0; }
.bk-section--dark { background: var(--bk-dark); color: var(--bk-white); }
.bk-section--dark h1, .bk-section--dark h2, .bk-section--dark h3 { color: var(--bk-white); }
.bk-section--cream  { background: var(--bk-cream); }
.bk-section--white  { background: var(--bk-white); }
.bk-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.bk-section__head-text { display: flex; flex-direction: column; gap: 8px; }
.bk-section__title { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 700; }
.bk-section__sub { color: var(--bk-text-muted); font-size: .9375rem; max-width: 480px; }

/* ── 9. Topbar + Header ───────────────────────────────────────────────── */
.bk-topbar {
  font-size: .8rem;
  color: rgba(255, 255, 255, .82);
}
.bk-topbar--pro {
  background: linear-gradient(90deg, #0b1929 0%, #0f2340 55%, #0b2030 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.bk-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: var(--topbar-h);
  padding-block: 5px;
}
.bk-topbar__left {
  display: flex; align-items: center; gap: 0; flex: 1; min-width: 0;
}
.bk-topbar__item {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: .8rem; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.bk-topbar__item--phone {
  font-weight: 700; font-size: .875rem; color: #fff;
  padding: 3px 10px 3px 0;
}
.bk-topbar__item--phone:hover { color: var(--bk-accent-light, #a8e6c3); }
.bk-topbar__item--addr { padding: 3px 0 3px 12px; }
.bk-topbar__item--addr:hover { color: #fff; }
.bk-topbar__sep {
  display: block; width: 1px; height: 14px;
  background: rgba(255,255,255,.2); margin: 0 2px; flex-shrink: 0;
}
.bk-topbar__icon { flex-shrink: 0; opacity: .72; }
.bk-topbar__right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.bk-topbar__social {
  display: flex; align-items: center; gap: 4px;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.bk-topbar__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.bk-topbar__social-link:hover { background: rgba(255,255,255,.2); color: #fff; }
.bk-topbar__cta { display: flex; align-items: center; gap: 6px; }

@media (max-width: 768px) {
  .bk-topbar__contact--hide-mobile,
  .bk-topbar__sep--hide-mobile { display: none; }
  .bk-topbar__inner { justify-content: space-between; }
  .bk-topbar__social { display: none; }
}

.bk-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--bk-white);
  border-bottom: 1px solid var(--bk-border-light);
  min-height: var(--header-h);
  transition: box-shadow var(--dur-normal) var(--ease);
}
.bk-header.is-scrolled { box-shadow: var(--shadow-md); }
.bk-header__inner {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-h);
  padding-top: 14px;
  padding-bottom: 10px;
  gap: 12px 24px;
}

/* Brand */
.bk-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.25rem; color: var(--bk-dark);
  text-decoration: none; flex-shrink: 0;
}
.bk-brand__mark {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--bk-accent); color: var(--bk-white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 800; letter-spacing: -.02em;
  flex-shrink: 0;
}
.bk-brand__sub { font-size: .875rem; font-weight: 500; color: var(--bk-text-muted); }

/* Nav */
.bk-nav {
  min-width: 0;
  overflow: hidden;
  justify-self: center;
  width: 100%;
  max-width: 640px;
}
.bk-nav__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
  width: 100%;
}
.bk-nav__track::-webkit-scrollbar { display: none; }
.bk-nav__wp-menu,
.bk-nav .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.bk-nav__item,
.bk-nav .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}
.bk-nav__link,
.bk-nav .menu-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bk-text);
  transition: all var(--dur-fast) var(--ease);
}
.bk-nav__link:hover, .bk-nav__link.is-active,
.bk-nav .menu-item a:hover,
.bk-nav .current-menu-item > a {
  background: var(--bk-cream); color: var(--bk-dark);
}
.bk-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: end;
}
.bk-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bk-dark);
  white-space: nowrap;
}
.bk-header__actions .bk-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.bk-nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
}
.bk-nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--bk-dark); border-radius: 2px;
  transition: all var(--dur-normal) var(--ease);
}
.bk-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bk-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.bk-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .bk-nav__link, .bk-nav .menu-item a {
    padding: 8px 8px;
    font-size: .8125rem;
  }
}
@media (max-width: 768px) {
  .bk-header__inner { grid-template-columns: 1fr auto; }
  .bk-nav { grid-column: 1 / -1; order: 3; }
  .bk-nav__toggle { display: flex; }
  .bk-nav {
    display: none;
    position: fixed;
    inset: var(--header-offset) 0 0 0;
    background: var(--bk-white);
    padding: 24px 20px;
    overflow-y: auto;
    border-top: 1px solid var(--bk-border-light);
    z-index: 899;
  }
  .bk-nav.is-open { display: block; }
  .bk-nav__track {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .bk-nav__link, .bk-nav .menu-item a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .bk-nav__wp-menu, .bk-nav .menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .bk-header__phone span { display: none; }
}

/* ── 10. Hero Section ─────────────────────────────────────────────────── */
.bk-hero {
  background: var(--bk-cream);
  padding: var(--sp-xl) 0 var(--sp-lg);
  overflow: hidden;
  position: relative;
}
.bk-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--sp-xl);
  align-items: stretch;
  min-height: 0;
  padding-bottom: 0;
}
.bk-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-md);
  min-width: 0;
  padding-bottom: 0;
}
.bk-hero__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.12;
  color: var(--bk-dark);
}
.bk-hero__title span { color: var(--bk-accent); }
.bk-hero__sub {
  font-size: .975rem; color: var(--bk-text-muted);
  max-width: 440px; line-height: 1.6;
}
.bk-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  margin-top: 0;
}
.bk-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 68px;
}
.bk-hero__stat-num {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
  color: var(--bk-dark); line-height: 1;
}
.bk-hero__stat-num span { color: var(--bk-accent); }
.bk-hero__stat-lbl { font-size: .8125rem; color: var(--bk-text-muted); font-weight: 500; }

.bk-hero__image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-width: 0;
  padding-bottom: 0;
  height: 100%;
}
.bk-hero__image-frame {
  position: relative;
  width: 100%;
  max-width: none;
  flex: 1;
  display: flex;
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bk-white);
  border: 1px solid var(--bk-border-light);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.bk-hero__image-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(250, 247, 242, .85), transparent);
  pointer-events: none;
}
.bk-hero__img,
.bk-hero__image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}
.bk-hero__float-card {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--bk-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  min-width: 168px;
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.bk-hero__float-card-label {
  display: block;
  font-size: .75rem;
  color: var(--bk-text-muted);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.bk-hero__float-card-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bk-dark);
  line-height: 1.2;
  white-space: nowrap;
}

/* Hero search box */
.bk-hero__search {
  background: var(--bk-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px 16px;
  margin-top: var(--sp-sm);
  margin-bottom: 0;
}
.bk-hero__search .bk-filter--hero {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin: 0;
}
.bk-filter--hero .bk-filter__grid--hero {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}
.bk-filter--hero .bk-field__label {
  font-size: .75rem;
  margin-bottom: 2px;
}
.bk-filter--hero .bk-field__select {
  padding: 8px 32px 8px 10px;
  min-height: 40px;
}
.bk-filter--hero .bk-field--submit {
  grid-column: 1 / -1;
}
.bk-filter--hero .bk-field--submit .bk-btn {
  padding: 12px 20px;
}
@media (min-width: 600px) {
  .bk-filter--hero .bk-field--submit .bk-btn {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }
}
@media (max-width: 599px) {
  .bk-filter--hero .bk-filter__grid--hero {
    grid-template-columns: 1fr;
  }
}
.bk-hero__search-title {
  font-size: .8125rem; font-weight: 600; color: var(--bk-text-muted);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.bk-hero .bk-eyebrow {
  font-size: .75rem;
}
.bk-hero__search-row {
  display: grid; grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px; align-items: end;
}
@media (max-width: 960px) {
  .bk-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .bk-hero__image { order: -1; }
  .bk-hero__image-frame { min-height: 280px; }
  .bk-hero__img,
  .bk-hero__image-frame img { min-height: 280px; }
  .bk-hero__float-card { right: 12px; bottom: 12px; }
}
@media (max-width: 768px) {
  .bk-hero__search-row { grid-template-columns: 1fr 1fr; }
  .bk-hero__stats { gap: var(--sp-lg); }
}
@media (max-width: 480px) {
  .bk-hero__search-row { grid-template-columns: 1fr; }
  .bk-hero__stats { flex-wrap: wrap; }
}

/* ── 11. Filter Form ──────────────────────────────────────────────────── */
.bk-filter {
  background: var(--bk-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.bk-filter__title {
  font-size: 1rem; font-weight: 700; color: var(--bk-dark);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.bk-filter__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
.bk-filter__grid--wide { grid-template-columns: repeat(5, 1fr); }
.bk-filter__grid--2 { grid-template-columns: repeat(2, 1fr); }
.bk-filter__row { display: flex; gap: 12px; margin-top: 12px; }
.bk-filter__actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--bk-border-light);
}
.bk-filter__badge {
  background: var(--bk-accent); color: var(--bk-white);
  width: 20px; height: 20px; border-radius: 50%;
  font-size: .6875rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  display: none;
}
.bk-filter__badge.is-visible { display: inline-flex; }

/* Field */
.bk-field { display: flex; flex-direction: column; gap: 5px; }
.bk-field__label {
  font-size: .8125rem; font-weight: 600; color: var(--bk-text);
}
.bk-field__input,
.bk-field__select {
  width: 100%; padding: 10px 14px;
  background: var(--bk-cream); border: 1.5px solid var(--bk-border);
  border-radius: var(--r-md); font-size: .9375rem; color: var(--bk-dark);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  appearance: none; -webkit-appearance: none;
  background-image: none;
}
.bk-field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B7B8E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.bk-filter--hero .bk-field__select {
  font-size: .875rem;
}
.bk-filter--hero .bk-field__select option {
  white-space: normal;
  background: #fff;
  color: #1d2327;
  font-size: .875rem;
}
.bk-field__input:focus,
.bk-field__select:focus {
  outline: none;
  border-color: var(--bk-accent);
  box-shadow: 0 0 0 3px rgba(200,130,90,.12);
  background: var(--bk-white);
}
.bk-field__input::placeholder { color: var(--bk-text-light); }

/* Filter toggle button (mobile) */
.bk-filter__toggle {
  display: none; width: 100%;
  background: var(--bk-white); border: 1.5px solid var(--bk-border);
  border-radius: var(--r-md); padding: 12px 16px;
  font-weight: 600; font-size: .9375rem; color: var(--bk-dark);
  align-items: center; justify-content: space-between;
}
.bk-filter__body { display: block; }

@media (max-width: 1024px) { .bk-filter__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .bk-filter__toggle { display: flex; }
  .bk-filter__body { display: none; margin-top: 14px; }
  .bk-filter__body.is-open { display: block; }
  .bk-filter__grid, .bk-filter__grid--wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bk-filter__grid, .bk-filter__grid--wide { grid-template-columns: 1fr; }
}

/* ── 12. PLP (Archive) ────────────────────────────────────────────────── */
.bk-plp-head {
  background: var(--bk-white);
  border-bottom: 1px solid var(--bk-border-light);
  padding: var(--sp-lg) 0;
}
.bk-plp-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.bk-plp-head__title { font-size: 1.5rem; font-weight: 700; color: var(--bk-dark); }
.bk-plp-head__meta { font-size: .9375rem; color: var(--bk-text-muted); }
.bk-plp-sort {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem;
}
.bk-plp-sort select {
  padding: 7px 30px 7px 12px; border-radius: var(--r-md);
  border: 1.5px solid var(--bk-border); background: var(--bk-cream);
  font-size: .875rem; color: var(--bk-dark);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237B7B8E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; cursor: pointer;
}
.bk-plp-sort select:focus { outline: none; border-color: var(--bk-accent); }

.bk-plp-section { padding: var(--sp-xl) 0 var(--sp-2xl); }
.bk-plp-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: var(--sp-xl);
  align-items: start;
}
.bk-filter--sidebar {
  min-width: 0;
}
.bk-filter--sidebar .bk-filter {
  padding: 16px;
}
.bk-filter--sidebar .bk-field__select,
.bk-filter--sidebar .bk-field__input {
  font-size: 0.8125rem;
  padding: 7px 12px;
  padding-right: 30px;
  height: 34px;
}
.bk-filter--sidebar .bk-field__input {
  padding-right: 12px;
}
.bk-filter--sidebar .bk-field__label {
  font-size: .775rem;
}
.bk-filter__grid--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.bk-filter--sidebar .bk-field {
  gap: 3px;
}
.bk-field__select option {
  background: #fff;
  color: #1d2327;
}
.bk-field__select option:checked {
  background: var(--hp-olive, #556b2f);
  color: #fff;
}
.bk-field__select option:hover {
  background: color-mix(in srgb, var(--hp-olive, #556b2f) 15%, #fff);
  color: #1d2327;
}
/* Checkboxes in a compact row */
.bk-filter--sidebar .bk-filter__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}
.bk-filter--sidebar .bk-filter__check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
}
.bk-filter--sidebar .bk-filter__check-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--hp-olive);
  cursor: pointer;
  flex-shrink: 0;
}
.bk-grid-wrap > .bk-property-grid,
.bk-grid-wrap > .bk-empty {
  width: 100%;
}
.bk-plp-sidebar {
  position: sticky;
  top: calc(var(--header-offset, 72px) + 20px);
  max-height: calc(100vh - var(--header-offset, 72px) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bk-border) transparent;
}
.bk-plp-main {}

@media (max-width: 1024px) { .bk-plp-layout { grid-template-columns: 1fr; } }

/* Breadcrumb */
.bk-breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .8125rem; color: var(--bk-text-muted);
  padding: 12px 0;
}
.bk-breadcrumb a:hover { color: var(--bk-accent); }
.bk-breadcrumb__sep { color: var(--bk-text-light); }
.bk-breadcrumb__current { color: var(--bk-text); font-weight: 500; }

/* Pagination */
.bk-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: var(--sp-xl);
}
.bk-pagination a,
.bk-pagination span {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 500;
  border: 1.5px solid var(--bk-border); background: var(--bk-white);
  color: var(--bk-text); transition: all var(--dur-fast) var(--ease);
}
.bk-pagination a:hover { border-color: var(--bk-accent); color: var(--bk-accent); }
.bk-pagination .current {
  background: var(--bk-dark); border-color: var(--bk-dark);
  color: var(--bk-white); font-weight: 700;
}

/* Load more */
[data-load-more-wrap] { display: flex; justify-content: center; margin-top: 20px; }

/* Empty */
.bk-empty {
  text-align: center; padding: var(--sp-2xl) var(--sp-md);
  color: var(--bk-text-muted);
}
.bk-empty__icon { font-size: 3rem; margin-bottom: var(--sp-md); }
.bk-empty__title { font-size: 1.25rem; font-weight: 600; color: var(--bk-dark); }

/* ── 13. PDP (Single Property) ────────────────────────────────────────── */
.bk-pdp { background: var(--bk-cream); }
.bk-pdp__above-fold {
  display: grid; grid-template-columns: 6.5fr 3.5fr;
  gap: 28px; align-items: start;
  padding: var(--sp-lg) 0;
}
.bk-pdp__sidebar {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--header-offset) + 16px);
  align-self: start;
}

/* Gallery — giữ tỷ lệ ảnh, không crop */
.bk-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.bk-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bk-cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease);
}
.bk-gallery__main:hover .bk-gallery__img { transform: scale(1.02); }
.bk-gallery__overlay-hint {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff; border-radius: var(--r-md);
  padding: 7px 14px; font-size: .8125rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.bk-gallery__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px;
}
.bk-gallery__counter {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,.55); color: #fff; border-radius: var(--r-full);
  padding: 4px 12px; font-size: .8125rem;
  backdrop-filter: blur(4px);
}
.bk-gallery__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  flex-shrink: 0;
}
.bk-gallery__thumb {
  aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden;
  cursor: pointer; border: 2.5px solid transparent;
  transition: border-color var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
}
.bk-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-normal) var(--ease);
}
.bk-gallery__thumb:hover img { transform: scale(1.08); }
.bk-gallery__thumb.is-active { border-color: var(--bk-accent); }
.bk-gallery__thumb--more {
  position: relative; background: rgba(26,26,46,.6);
}
.bk-gallery__thumb--more::after {
  content: attr(data-count); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  background: rgba(26,26,46,.5);
}

/* Info panel (right) */
.bk-pdp__info {
  display: flex; flex-direction: column; gap: 0;
  background: var(--bk-white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.bk-pdp__contact-card {
  background: var(--bk-white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.bk-pdp__info-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--bk-border-light);
}
.bk-pdp__status-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.bk-pdp__title {
  font-size: 1.25rem; font-weight: 700; color: var(--bk-dark); line-height: 1.3;
  margin-bottom: 6px;
}
.bk-pdp__price {
  font-family: var(--font-heading);
  font-size: 1.875rem; font-weight: 800; color: var(--bk-accent);
  line-height: 1; margin-bottom: 6px;
}
.bk-pdp__price-sub {
  font-size: .875rem; color: var(--bk-text-muted); margin-top: 3px;
}
.bk-pdp__address {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: .9rem; color: var(--bk-text-muted); margin-top: 6px;
}

/* Quick specs — adaptive grid */
.bk-pdp__quick-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bk-border-light);
  background: var(--bk-cream);
}
/* count-based column overrides for small sets */
.bk-pdp__quick-specs[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.bk-pdp__quick-specs[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.bk-pdp__quick-specs[data-count="4"] { grid-template-columns: repeat(4, 1fr); }

.bk-quick-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px;
  background: var(--bk-white);
  border: 1px solid var(--bk-border-light);
  border-left: 3px solid var(--bk-accent);
  border-radius: var(--r-sm);
}
.bk-quick-spec--wide {
  grid-column: span 2;
}
.bk-quick-spec__lbl {
  font-size: .6rem;
  color: var(--bk-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
}
.bk-quick-spec__val {
  font-size: .875rem;
  font-weight: 700;
  color: var(--bk-dark);
  line-height: 1.3;
  word-break: break-word;
}

/* Tags (type, location, project, direction) */
.bk-pdp__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 22px; border-bottom: 1px solid var(--bk-border-light);
}
.bk-pdp__tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--bk-cream); border: 1px solid var(--bk-border);
  font-size: .8125rem; font-weight: 500; color: var(--bk-text);
  text-decoration: none; transition: all var(--dur-fast) var(--ease);
}
.bk-pdp__tag:hover { background: var(--bk-accent-light); border-color: var(--bk-accent); color: var(--bk-accent); }

/* Clickable badges */
a.bk-badge { text-decoration: none; cursor: pointer; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
a.bk-badge:hover { opacity: .8; transform: translateY(-1px); }

/* Contact card inside sidebar — stack vertically */
.bk-pdp__sidebar .bk-pdp__contact-card--bar {
  flex-direction: column;
  max-width: 100%;
}
.bk-pdp__sidebar .bk-pdp__contact-profile {
  border-right: none;
  border-bottom: 1px solid var(--bk-border-light);
}
.bk-pdp__sidebar .bk-pdp__contact-actions {
  flex: 1 1 auto;
  flex-basis: auto;
}

/* Agent + CTA (contact card) */
.bk-pdp__contact-wrap {
  display: flex;
  justify-content: center;
  margin: var(--sp-md) 0 0;
  padding: 0 var(--sp-md);
}
.bk-pdp__contact-card--bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0;
  gap: 0;
}
.bk-pdp__contact-profile,
.bk-pdp__contact-actions {
  padding: 16px 20px;
  min-width: 0;
}
.bk-pdp__contact-profile {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--bk-border-light);
}
.bk-pdp__contact-profile-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.bk-pdp__contact-actions {
  flex: 0 0 min(300px, 38%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.bk-pdp__contact-actions .bk-pdp__zalo-btn {
  width: 100%;
  justify-content: center;
}
.bk-pdp__agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bk-pdp__agent-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--r-full);
  background: var(--bk-accent-light);
  color: var(--bk-accent);
  letter-spacing: 0.02em;
}
.bk-pdp__agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}
.bk-pdp__agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bk-accent-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bk-accent);
}
.bk-pdp__agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bk-pdp__agent-name { font-weight: 700; font-size: 1rem; color: var(--bk-dark); }
.bk-pdp__agent-role { font-size: 0.8125rem; color: var(--bk-text-muted); line-height: 1.4; }

/* CTA buttons */
.bk-pdp__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 22px;
}
.bk-pdp__phone-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bk-green); color: var(--bk-white);
  border-radius: var(--r-md); padding: 13px;
  font-weight: 700; font-size: 1.0625rem; cursor: pointer;
  transition: all var(--dur-normal) var(--ease); text-decoration: none;
}
.bk-pdp__phone-pill:hover { background: #328A59; box-shadow: 0 6px 20px rgba(62,158,106,.35); transform: translateY(-1px); }
.bk-pdp__phone-number { letter-spacing: .05em; }
.bk-pdp__cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* PDP responsive */
@media (max-width: 1100px) { .bk-pdp__above-fold { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .bk-pdp__above-fold { grid-template-columns: 1fr; }
  .bk-pdp__sidebar { position: static; }
  .bk-gallery__main { aspect-ratio: 4 / 3; }
  .bk-gallery__strip { grid-template-columns: repeat(4, 1fr); }
  .bk-pdp__contact-card--bar {
    flex-direction: column;
    max-width: 640px;
  }
  .bk-pdp__contact-profile,
  .bk-pdp__contact-actions {
    border-right: none;
    border-bottom: 1px solid var(--bk-border-light);
    flex: 1 1 auto;
  }
  .bk-pdp__contact-actions {
    flex-basis: auto;
  }
  .bk-pdp__contact-actions:last-child {
    border-bottom: none;
  }
}
@media (max-width: 480px) {
  .bk-gallery__strip { grid-template-columns: repeat(4, 1fr); }
  .bk-pdp__quick-specs { grid-template-columns: repeat(2, 1fr) !important; }
  .bk-quick-spec--wide { grid-column: span 2; }
}

/* PDP below-fold */
.bk-pdp__sections { padding: var(--sp-lg) 0 var(--sp-2xl); }
.bk-detail-block {
  background: var(--bk-white); border-radius: var(--r-lg);
  padding: 28px 32px; margin-bottom: 0;
  box-shadow: var(--shadow-xs);
}
.bk-detail-block--lead {
  margin-bottom: var(--sp-md);
}
.bk-pdp__sections-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-md);
  align-items: stretch;
}
.bk-pdp__sections-row .bk-detail-block {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bk-pdp__sections-row .bk-detail-block:only-child {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .bk-pdp__sections-row { grid-template-columns: 1fr; }
}
.bk-tiktok-embed {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
  width: 100%;
}
.bk-tiktok-embed__player {
  width: 100%;
  max-width: 325px;
  margin: 0 auto;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
}
.bk-tiktok-embed__player iframe {
  display: block;
  width: 100%;
  height: min(580px, 72vh);
  min-height: 460px;
  border: 0;
}
.bk-tiktok-embed__player--oembed iframe {
  min-height: 0;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 580px;
}
.bk-tiktok-embed__fallback {
  text-align: center;
  color: var(--bk-text-muted);
  padding: var(--sp-md);
}
.bk-detail-block h2 {
  font-size: 1.125rem; font-weight: 700; color: var(--bk-dark);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--bk-accent-light);
  display: flex; align-items: center; gap: 8px;
}
.bk-spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.bk-spec-grid__item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bk-border-light);
  border-right: 1px solid var(--bk-border-light);
}
.bk-spec-grid__item:nth-child(3n) { border-right: none; }
.bk-spec-grid dt { font-size: .8125rem; color: var(--bk-text-muted); font-weight: 500; margin-bottom: 4px; }
.bk-spec-grid dd { font-size: .9375rem; font-weight: 600; color: var(--bk-dark); }
.bk-spec-grid dd:empty::after { content: '—'; color: var(--bk-text-light); font-weight: 400; }

@media (max-width: 600px) { .bk-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-spec-grid__item:nth-child(2n) { border-right: none; }
  .bk-spec-grid__item:nth-child(3n) { border-right: 1px solid var(--bk-border-light); }
}

.bk-content--detail { font-size: 1rem; line-height: 1.8; color: var(--bk-text); }
.bk-content--detail h2, .bk-content--detail h3 { font-size: 1.125rem; margin: 1.25em 0 .5em; }
.bk-content--detail p { margin-bottom: 1em; }
.bk-content--detail ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1em; }
.bk-content--detail a { color: var(--bk-accent); }

.bk-map-container {
  border-radius: var(--r-md);
  overflow: hidden;
  flex: 1;
  min-height: 320px;
  background: var(--bk-cream-deep);
}
.bk-map-container iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.bk-pdp__sections-row .bk-tiktok-embed {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.bk-map-placeholder { color: var(--bk-text-muted); font-size: .9375rem; }

/* ── 14. Stats Bar ────────────────────────────────────────────────────── */
.bk-stats-bar { background: var(--bk-dark); padding: var(--sp-xl) 0; }
.bk-stats-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md);
  text-align: center;
}
.bk-stat-item { padding: var(--sp-md); }
.bk-stat-item__num {
  font-family: var(--font-heading); font-size: 2.25rem; font-weight: 800;
  color: var(--bk-white); line-height: 1;
}
.bk-stat-item__num span { color: var(--bk-gold); }
.bk-stat-item__lbl { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: 6px; font-weight: 500; }
@media (max-width: 768px) { .bk-stats-bar__inner { grid-template-columns: repeat(2, 1fr); } }

/* ── 15. Features section ("Why Choose Us") ──────────────────────────── */
.bk-features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg);
}
.bk-feature-card {
  background: var(--bk-white); border-radius: var(--r-lg);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease);
}
.bk-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bk-feature-card__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--bk-accent-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-md); color: var(--bk-accent); font-size: 1.5rem;
}
.bk-feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.bk-feature-card__text { font-size: .875rem; color: var(--bk-text-muted); line-height: 1.6; }
@media (max-width: 1024px) { .bk-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .bk-features__grid { grid-template-columns: 1fr; } }

/* ── 16. Testimonials ─────────────────────────────────────────────────── */
.bk-testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg);
}
.bk-testimonial {
  background: var(--bk-white); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-xs);
}
.bk-testimonial__stars {
  display: flex; gap: 3px; color: var(--bk-gold);
  margin-bottom: var(--sp-sm);
}
.bk-testimonial__text {
  font-size: .9375rem; line-height: 1.7; color: var(--bk-text);
  margin-bottom: var(--sp-md);
}
.bk-testimonial__author { display: flex; align-items: center; gap: 10px; }
.bk-testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bk-accent-light); overflow: hidden;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; color: var(--bk-accent);
}
.bk-testimonial__name { font-weight: 700; font-size: .9375rem; }
.bk-testimonial__role { font-size: .8125rem; color: var(--bk-text-muted); }
@media (max-width: 900px) { .bk-testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bk-testimonials__grid { grid-template-columns: 1fr; } }

/* ── 17. CTA Banner ───────────────────────────────────────────────────── */
.bk-cta-banner {
  background: linear-gradient(135deg, var(--bk-dark) 0%, #2A2A4A 100%);
  border-radius: var(--r-xl); padding: var(--sp-2xl) var(--sp-xl);
  text-align: center; color: var(--bk-white);
  position: relative; overflow: hidden;
}
.bk-cta-banner::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,130,90,.25) 0%, transparent 70%);
  pointer-events: none;
}
.bk-cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: var(--sp-sm);
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .24);
}
.bk-cta-banner__sub { font-size: 1.0625rem; color: rgba(255,255,255,.7); margin-bottom: var(--sp-xl); }
.bk-cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 18. Footer ───────────────────────────────────────────────────────── */
.bk-footer {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(150deg, #0f1f39 0%, #13284a 35%, #102038 100%);
  color: rgba(255,255,255,.8);
}
.bk-footer__main { padding: calc(var(--sp-2xl) + 8px) 0 var(--sp-xl); }
.bk-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--sp-xl);
  padding: var(--sp-xl) 0 var(--sp-lg);
}
.bk-footer__brand-col {}
.bk-footer__top > div { padding-left: var(--sp-lg); border-left: 1px solid rgba(255,255,255,.1); }
.bk-footer__top > div:first-child { padding-left: 0; border-left: none; }
.bk-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bk-footer__logo-img { filter: drop-shadow(0 4px 16px rgba(0,0,0,.28)); }
.bk-footer__tagline { font-size: .93rem; line-height: 1.75; max-width: 320px; color: rgba(255,255,255,.76); }
.bk-footer__hotline {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  max-width: max-content;
}
.bk-footer__hotline-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .68; }
.bk-footer__hotline-number { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--bk-white); }
.bk-footer__col-title { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.95); margin-bottom: 14px; }
.bk-footer__links { display: flex; flex-direction: column; gap: 8px; }
.bk-footer__links li { line-height: 1.45; }
.bk-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bk-footer__links a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bk-footer__links a:hover { color: #fff; transform: translateX(2px); }
.bk-footer__links a:hover::before { background: var(--bk-accent); transform: scale(1.2); }
.bk-footer__price-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.bk-footer__price-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.84);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.bk-footer__price-links a:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  color: #fff;
  transform: translateY(-1px);
}
.bk-footer__cta-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-footer__cta-row .bk-btn { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.bk-footer__bar-wrap { border-top: 1px solid rgba(255,255,255,.1); margin-top: 20px; background: rgba(7, 14, 26, .35); }
.bk-footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-md) 0; flex-wrap: wrap; gap: 10px;
  font-size: .8125rem; color: rgba(255,255,255,.58);
}
.bk-footer__bar a { color: rgba(255,255,255,.68); }
.bk-footer__bar a:hover { color: #fff; }
@media (max-width: 1024px) {
  .bk-footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .bk-footer__price-links { grid-template-columns: 1fr; }
}
@media (max-width: 600px)  {
  .bk-footer__top { grid-template-columns: 1fr; gap: var(--sp-md); }
  .bk-footer__top > div { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-md); }
  .bk-footer__top > div:first-child { border-top: none; padding-top: 0; }
  .bk-footer__bar { justify-content: center; text-align: center; }
}

/* ── 19. Lightbox ─────────────────────────────────────────────────────── */
.bk-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.92);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease);
}
.bk-lightbox.is-open { opacity: 1; pointer-events: all; }
.bk-lightbox__inner { position: relative; max-width: 90vw; max-height: 90vh; }
.bk-lightbox__img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: var(--r-md); box-shadow: var(--shadow-xl);
  user-select: none; -webkit-user-drag: none;
}
.bk-lightbox__close {
  position: fixed; top: 18px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease);
  backdrop-filter: blur(6px);
}
.bk-lightbox__close:hover { background: rgba(255,255,255,.3); }
.bk-lightbox__prev,
.bk-lightbox__next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease);
  backdrop-filter: blur(6px);
}
.bk-lightbox__prev { left: 16px; }
.bk-lightbox__next { right: 16px; }
.bk-lightbox__prev:hover,
.bk-lightbox__next:hover { background: rgba(255,255,255,.3); }
.bk-lightbox__counter {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.6); color: rgba(255,255,255,.8);
  border-radius: var(--r-full); padding: 5px 16px; font-size: .875rem;
  backdrop-filter: blur(6px);
}
.bk-lightbox__thumbs {
  position: fixed; bottom: 56px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; align-items: center;
  background: rgba(0,0,0,.5); border-radius: var(--r-lg); padding: 8px;
  backdrop-filter: blur(8px); max-width: 90vw; overflow-x: auto;
}
.bk-lightbox__thumb-item {
  width: 50px; height: 38px; border-radius: var(--r-sm); overflow: hidden;
  cursor: pointer; opacity: .6; transition: opacity var(--dur-fast) var(--ease);
  border: 2px solid transparent; flex-shrink: 0;
}
.bk-lightbox__thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.bk-lightbox__thumb-item.is-active { opacity: 1; border-color: var(--bk-accent); }
.bk-lightbox__thumb-item:hover { opacity: .9; }

/* Page loader */
.bk-page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bk-cream);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.bk-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.bk-page-loader__inner { text-align: center; max-width: 16rem; }
.bk-page-loader__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: var(--bk-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.bk-page-loader__logo--img {
  width: auto; height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0 4px;
}
.bk-page-loader__text {
  margin: 0 0 1rem;
  color: var(--bk-text-muted);
  font-size: 0.9rem;
}
.bk-page-loader__bar {
  height: 4px;
  border-radius: 999px;
  background: var(--bk-border);
  overflow: hidden;
}
.bk-page-loader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--bk-accent);
  border-radius: inherit;
  animation: bk-loader-bar 1.1s ease-in-out infinite;
}
@keyframes bk-loader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
html.bk-loading .bk-main { opacity: 0; }
html.bk-loaded .bk-main {
  opacity: 1;
  transition: opacity 0.35s ease;
}

/* ── Social float widget ───────────────────────────────────────────────── */
.bk-social-float {
  position: fixed; right: 18px; bottom: 96px;
  z-index: 850;
  display: flex; flex-direction: column; gap: 10px;
}
.bk-social-float__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  position: relative;
}
.bk-social-float__btn:hover {
  transform: scale(1.12) translateX(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.34);
  color: #fff;
}
.bk-social-float__btn--zalo   { background: #0068ff; }
.bk-social-float__btn--zalo:hover { background: #0056d6; }
.bk-social-float__btn--fb     { background: #1877f2; }
.bk-social-float__btn--fb:hover { background: #166fe5; }
.bk-social-float__btn--tiktok { background: #010101; }
.bk-social-float__btn--tiktok:hover { background: #1c1c1c; }
@media (max-width: 480px) {
  .bk-social-float { bottom: 72px; right: 12px; }
  .bk-social-float__btn { width: 40px; height: 40px; }
}

/* ── 20. Utilities & Misc ─────────────────────────────────────────────── */
.bk-divider { height: 1px; background: var(--bk-border); margin: var(--sp-md) 0; }
.bk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.bk-skeleton { background: linear-gradient(90deg, #f0ece6 25%, #e8e3db 50%, #f0ece6 75%); background-size: 200% 100%; animation: bk-shimmer 1.4s ease-in-out infinite; border-radius: var(--r-sm); }
@keyframes bk-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.bk-back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bk-dark); color: var(--bk-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: all var(--dur-normal) var(--ease);
}
.bk-back-top.is-visible { opacity: 1; pointer-events: all; }
.bk-back-top:hover { background: var(--bk-accent); transform: translateY(-3px); }
.bk-sticky-contact {
  position: fixed; bottom: 88px; right: 20px; z-index: 799;
  display: flex; flex-direction: column; gap: 10px;
  transition: opacity var(--dur-normal) var(--ease);
}
.bk-sticky-contact__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; width: 56px; min-height: 56px; padding: 8px 6px;
  border-radius: var(--r-lg); color: #fff; font-weight: 700; font-size: .6875rem;
  box-shadow: var(--shadow-md); text-decoration: none;
  transition: transform var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease);
}
.bk-sticky-contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.bk-sticky-contact__btn--phone { background: var(--bk-green); }
.bk-sticky-contact__btn--phone:hover { background: #328A59; }
.bk-sticky-contact__btn--zalo { background: #0068ff; }
.bk-sticky-contact__btn--zalo:hover { background: #0056d6; }
.bk-sticky-contact__label { line-height: 1; }

/* AJAX state */
.bk-grid-wrap {
  position: relative;
  min-height: 100px;
  margin-top: 14px;
}
.bk-grid-wrap.is-loading::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(247,244,239,.7); border-radius: var(--r-lg);
  display: flex;
}
.bk-loading-spinner {
  display: none; justify-content: center; align-items: center;
  padding: var(--sp-xl);
}
.bk-loading-spinner.is-visible { display: flex; }
.bk-spinner {
  width: 36px; height: 36px; border: 3px solid var(--bk-border);
  border-top-color: var(--bk-accent); border-radius: 50%;
  animation: bk-spin .7s linear infinite;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }

/* ── Type category bento grid ─────────────────────────────────────────── */
.bk-section__title--upper { text-transform: uppercase; letter-spacing: .06em; }

.bk-type-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bk-type-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* Card 1 spans 2 rows — tall portrait-style featured card */
.bk-type-bento .bk-type-card:nth-child(1) {
  grid-row: span 2;
}
.bk-type-bento .bk-type-card:nth-child(1) .bk-type-card__thumb {
  flex: 1;
  aspect-ratio: unset;
}
.bk-type-bento .bk-type-card:nth-child(1) .bk-type-card__name {
  font-size: 1.2rem;
}

.bk-type-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bk-cream-deep);
}

.bk-type-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}
.bk-type-card__img--placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8c0b4 0%, #9e9890 100%);
}
.bk-type-card:hover .bk-type-card__img { transform: scale(1.06); }

.bk-type-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.30) 50%,
    rgba(0,0,0,0)   100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 14px;
  gap: 6px;
  transition: background var(--dur-normal) var(--ease);
}
.bk-type-card:hover .bk-type-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.42) 55%,
    rgba(0,0,0,.05) 100%
  );
}

.bk-type-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.bk-type-card__count {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(3px);
  padding: 3px 12px;
  border-radius: 999px;
}

.bk-type-card__desc {
  font-size: .8rem;
  color: rgba(255,255,255,.80);
  line-height: 1.5;
  margin: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 85%;
}

@media (max-width: 768px) {
  .bk-type-bento { grid-template-columns: repeat(2, 1fr); }
  .bk-type-bento .bk-type-card:nth-child(1) { grid-row: span 1; }
  .bk-type-bento .bk-type-card:nth-child(1) .bk-type-card__thumb { flex: unset; aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .bk-type-bento { grid-template-columns: 1fr; }
}

/* ── PLP filter-open button (mobile) ─────────────────────────────────── */
.bk-plp-filter-mobile {
  display: none;
  width: 100%;
  padding: 11px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  background: var(--bk-accent);
  color: #fff;
  border: none;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.bk-plp-filter-mobile:hover {
  background: color-mix(in srgb, var(--bk-accent) 88%, #000);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1024px) {
  .bk-plp-filter-mobile { display: flex; }
}

/* ── PLP toolbar tweaks ───────────────────────────────────────────────── */
.bk-plp-view-toggle { display: none !important; }

/* ── Projects page (/du-an/) ──────────────────────────────────────────── */
.bk-page-projects__hero {
  padding: 32px 0 24px;
  background: var(--bk-cream);
  border-bottom: 1px solid var(--bk-border);
}
.bk-page-projects__title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--bk-dark);
  margin: 6px 0 6px;
  letter-spacing: -.02em;
}
.bk-page-projects__sub {
  font-size: .9rem;
  color: var(--bk-text-muted);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

/* 4-column grid */
.bk-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bk-project-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--bk-border);
  background: var(--bk-white);
  transition: box-shadow var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease);
}
.bk-project-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.bk-project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bk-cream-deep);
}
.bk-project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}
.bk-project-card__img--placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8c0b4 0%, #9e9890 100%);
}
.bk-project-card:hover .bk-project-card__img { transform: scale(1.06); }

.bk-project-card__hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.bk-project-card:hover .bk-project-card__hover-overlay { opacity: 1; }

.bk-project-card__hover-count {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.bk-project-card__hover-cta {
  font-size: .8125rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}

.bk-project-card__footer {
  padding: 12px 14px 14px;
  text-align: center;
}
.bk-project-card__name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bk-dark);
  margin: 0;
}
.bk-project-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast);
}
.bk-project-card__name a:hover { color: var(--bk-accent); }

@media (max-width: 900px)  { .bk-project-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .bk-project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Responsive tweaks */
@media (max-width: 768px) {
  .bk-section, .bk-section--lg { padding: var(--sp-xl) 0; }
  .bk-section--sm { padding: var(--sp-lg) 0; }
  .bk-detail-block { padding: 20px 18px; }
  .bk-pdp__cta-row { grid-template-columns: 1fr; }
}
