/* ==========================================================================
   Trang chủ. Chỉ nạp ở trang chủ.
   ========================================================================== */

/* Danh mục: ô ảnh 4:5 phủ gradient, 5 cột desktop (10 ô = 2 hàng) */
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); text-align: left; }
.section-head--split::after { display: none; }
.section-head--split .lede { margin-inline: 0; }
.cat-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } .cat-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.cat-tile {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #7a2a1b, #2a0d08 75%); box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__overlay {
  position: absolute; inset: auto 0 0 0; padding: var(--s-6) var(--s-3) var(--s-3);
  background: linear-gradient(180deg, transparent, rgba(59,2,3,.55) 45%, rgba(59,2,3,.92)); color: #fff;
}
.cat-tile__name { display: block; font-weight: 700; font-size: var(--t-base); line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.cat-tile__count { display: block; margin-top: .3em; font-size: var(--t-xs); color: var(--c-gold-300); letter-spacing: .04em; }

/* Showroom: bản đồ trang trí bên trái + 3 thẻ cửa hàng có ảnh */
.showrooms { background: linear-gradient(180deg, var(--c-surface), var(--c-surface-2)); }
.showrooms__layout { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 992px) { .showrooms__layout { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-8); } }

.showrooms__map { display: none; position: relative; padding: var(--s-6); }
@media (min-width: 992px) { .showrooms__map { display: block; } }
.showrooms__map::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,201,131,.45), rgba(237,201,131,.08) 60%, transparent 72%);
}
.showrooms__map img { position: relative; max-height: 420px; width: auto; margin-inline: auto; filter: drop-shadow(0 8px 18px rgba(153,105,77,.25)); }

.showrooms__list { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .showrooms__list { grid-template-columns: repeat(3, 1fr); } }
.showroom-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.showroom-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.showroom-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-3); }
.showroom-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.showroom-card:hover .showroom-card__media img { transform: scale(1.04); }
.showroom-card__badge {
  position: absolute; left: var(--s-3); bottom: var(--s-3);
  background: rgba(59,2,3,.85); color: var(--c-gold-300);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 999px; backdrop-filter: blur(4px);
}
.showroom-card__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.showroom-card__addr { display: flex; gap: .5em; margin: 0; font-size: var(--t-sm); line-height: 1.5; color: var(--c-ink); font-weight: 500; }
.showroom-card__addr svg { color: var(--c-maroon-700); flex-shrink: 0; margin-top: 3px; }
.showroom-card__actions { margin-top: auto; display: flex; justify-content: space-between; gap: var(--s-2); font-size: var(--t-sm); }
.showroom-card__actions a { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.showroom-card__actions a:first-child { color: var(--c-red); }
.showrooms__factory { grid-column: 1 / -1; margin: var(--s-2) 0 0; font-size: var(--t-sm); color: var(--c-muted); display: flex; gap: .4em; align-items: center; }
.showrooms__factory svg { color: var(--c-bronze); }
.showrooms__factory strong { color: var(--c-body); }

/* Cột blog */
.blog-col__title {
  font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: var(--s-2); margin-bottom: var(--s-3);
  border-bottom: 2px solid var(--c-gold-300);
}
.blog-col__title a { color: var(--c-maroon-700); }
.blog-col__list { list-style: none; margin: 0; padding: 0; }
.blog-col__list li { margin: 0; padding: .55em 0; border-bottom: 1px dashed var(--c-line); }
.blog-col__list li:last-child { border-bottom: 0; }
.blog-col__list a { font-size: var(--t-sm); color: var(--c-body); line-height: 1.5; display: block; }
.blog-col__list a:hover { color: var(--c-accent); }

/* Tại sao chọn: dải nâu đỏ với con số lớn */
.why { background: radial-gradient(120% 100% at 0% 0%, var(--c-maroon-500), var(--c-maroon-900) 65%); color: rgba(255,255,255,.85); }
.section-head--light h2 { color: #fff; }
.section-head--light .eyebrow { color: var(--c-gold-300); }
.why__grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(4, 1fr); } }
.why__item { padding: var(--s-5); background: rgba(255,255,255,.06); border: 1px solid rgba(237,201,131,.25); border-radius: var(--radius-lg); }
.why__num { margin: 0 0 var(--s-2); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--c-gold-300); letter-spacing: -.02em; }
.why__num small { display: block; margin-top: .3em; font-size: var(--t-sm); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.why__desc { margin: 0; font-size: var(--t-sm); line-height: 1.6; }
.why__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.why__ghost { --btn-ink: #fff; border-color: rgba(255,255,255,.5); }
.why__ghost:hover { background: rgba(255,255,255,.12); --btn-ink: #fff; }

/* Sản phẩm mới về: lướt ngang trên mobile, lưới 4 cột trên desktop */
.new-products { background: var(--c-surface); }
.grid--scroll { display: grid; }
@media (max-width: 767px) {
  .grid--scroll { grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); scrollbar-width: none; margin-inline: calc(-1 * var(--s-4)); padding-inline: var(--s-4); }
  .grid--scroll::-webkit-scrollbar { display: none; }
  .grid--scroll > * { scroll-snap-align: start; }
}
@media (min-width: 768px) { .grid--scroll { grid-template-columns: repeat(4, 1fr); } }
.card__cat { margin: 0; font-size: var(--t-xs); color: var(--c-bronze); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge--new { background: var(--c-maroon-700); }
.card__cta { margin-top: var(--s-2); font-size: var(--t-xs); font-weight: 600; color: var(--c-maroon-700); opacity: 0; transform: translateY(4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.card:hover .card__cta { opacity: 1; transform: none; }

/* Slider banner — cuộn ngang scroll-snap, không thư viện (khôi phục sau lần cắt file nhầm) */
.hero { position: relative; background: var(--c-maroon-900); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero__slide img { width: 100%; height: auto; aspect-ratio: 1600 / 603; object-fit: contain; background: var(--c-maroon-900); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: var(--s-3); display: flex; justify-content: center; gap: var(--s-2); }
.hero__dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.6); transition: background .18s var(--ease), transform .18s var(--ease); }
.hero__dots a[aria-selected="true"] { background: var(--c-gold-300); transform: scale(1.2); }
.hero__dots a { box-sizing: content-box; padding: 7px; background-clip: content-box; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.hero__dots a[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--c-gold-300); }
