/* ==========================================================================
   NEWFIXALL.CSS — Tự tạo để sửa lỗi xung đột z-index & hiển thị menu dropdown
   Lỗi: Trên trang chi tiết sản phẩm, khi cuộn xuống, thanh pin mua nhanh
        (.pdp-sticky-buybar) che khuất menu dropdown của thanh điều hướng (.nav).
   Quy tắc: Không chỉnh sửa các file CSS cũ. Tất cả bản vá tập trung tại đây.
   ========================================================================== */

/* 1. Đảm bảo toàn bộ khung Header Stack luôn có z-index cao hơn thanh pin sản phẩm */
.site-header-stack {
  position: sticky;
  top: 0;
  z-index: 90 !important;
}

/* 2. Đảm bảo header chính và thanh điều hướng (.nav) có thứ tự xếp lớp rõ ràng */
.site-header-stack > .hdr,
.hdr {
  position: sticky;
  top: 0;
  z-index: 91 !important;
}

.site-header-stack > .hdr,
.site-header-stack > .nav {
  position: relative;
  top: auto;
}

.site-header-stack > .nav,
.nav {
  position: relative;
  z-index: 92 !important;
}

/* Nâng z-index khi hover hoặc focus menu để dropdown luôn nổi bật nhất */
.site-header-stack:hover,
.site-header-stack:focus-within,
.nav:hover,
.nav:focus-within {
  z-index: 93 !important;
}

/* 3. Menu dropdown xổ xuống (.drop) luôn hiển thị trên bề mặt và có z-index cao */
.nav .drop,
.nav li .drop,
.has-drop .drop {
  z-index: 99 !important;
  pointer-events: auto;
}

/* 4. Dropdown gợi ý tìm kiếm (.sugg) hiển thị phía trên thanh pin sản phẩm */
.hdr-search .sugg,
.sugg {
  z-index: 95 !important;
}

/* 4b. .hdr là stacking context riêng, nên .sugg bên trong nó bị .nav (z 92-93) che.
      Nâng .hdr lên trên .nav để kết quả search luôn hiển thị phía trên menu */
.site-header-stack > .hdr,
.hdr {
  z-index: 94 !important;
}

/* 5. Thanh pin sản phẩm mua nhanh (.pdp-sticky-buybar)
      Hạ z-index xuống 70 để luôn nằm DƯỚI Header & Menu Dropdown (z-index 90-99),
      nhưng vẫn NỔI TRÊN toàn bộ nội dung thân trang thông thường (z-index 1-10) khi scroll */
.pdp-sticky-buybar {
  z-index: 70 !important;
}

/* 6. Đảm bảo Drawer và Modal vẫn nổi trên tất cả */
.drawer-bg {
  z-index: 950 !important;
}
.drawer {
  z-index: 951 !important;
}
.search-drawer-bg {
  z-index: 960 !important;
}
.search-drawer {
  z-index: 961 !important;
}
.vch-modal,
.promo-modal-backdrop {
  z-index: 9999 !important;
}

/* 7. Tối ưu nhãn Tag: Sản phẩm lớn chữ lớn, sản phẩm nhỏ chữ nhỏ */
.card-img {
  container-type: inline-size;
}

.card-img .tags {
  top: 6px !important;
  left: 6px !important;
  max-width: calc(100% - 52px) !important;
  z-index: 4 !important;
  gap: 3px !important;
}

.card-img .tag {
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  white-space: normal !important;
  display: inline-block !important;
  word-break: break-word !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 3px !important;
}

/* --- Nhóm sản phẩm nhỏ (Slider .cat-rail, .rail, cột đôi .two, gợi ý .pdp-xsell, mobile) --- */
.two .card-img .tags,
.cat-rail .card-img .tags,
.rail .card-img .tags,
.rec-rail .card-img .tags,
.pdp-xsell .card-img .tags {
  top: 5px !important;
  left: 5px !important;
  max-width: calc(100% - 44px) !important;
  gap: 2px !important;
}

.two .card-img .tag,
.cat-rail .card-img .tag,
.rail .card-img .tag,
.rec-rail .card-img .tag,
.pdp-xsell .card-img .tag {
  font-size: 8px !important;
  padding: 1.5px 4.5px !important;
  line-height: 1.2 !important;
  border-radius: 2.5px !important;
}

.two .card-img .tag-sale,
.cat-rail .card-img .tag-sale,
.rail .card-img .tag-sale,
.rec-rail .card-img .tag-sale,
.pdp-xsell .card-img .tag-sale {
  font-size: 7.5px !important;
  padding: 1.5px 4px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.two .card-img .tag-pct,
.cat-rail .card-img .tag-pct,
.rail .card-img .tag-pct,
.rec-rail .card-img .tag-pct,
.pdp-xsell .card-img .tag-pct {
  top: 5px !important;
  right: 5px !important;
  font-size: 9px !important;
  padding: 2px 4.5px !important;
}

/* --- Nhóm sản phẩm lớn (Lưới .grid-4, #gridNew, #gridNew2..4, danh mục lớn .coll-grid) --- */
.grid-4 .card-img .tags,
#gridNew .card-img .tags,
#gridNew2 .card-img .tags,
#gridNew3 .card-img .tags,
#gridNew4 .card-img .tags,
#gridSale .card-img .tags,
.coll-grid .card-img .tags,
.collection-products .card-img .tags {
  top: 8px !important;
  left: 8px !important;
  max-width: calc(100% - 62px) !important;
  gap: 4px !important;
}

.grid-4 .card-img .tag,
#gridNew .card-img .tag,
#gridNew2 .card-img .tag,
#gridNew3 .card-img .tag,
#gridNew4 .card-img .tag,
#gridSale .card-img .tag,
.coll-grid .card-img .tag,
.collection-products .card-img .tag {
  font-size: 10px !important;
  padding: 3px 7px !important;
  line-height: 1.3 !important;
  border-radius: 3.5px !important;
}

.grid-4 .card-img .tag-sale,
#gridNew .card-img .tag-sale,
#gridNew2 .card-img .tag-sale,
#gridNew3 .card-img .tag-sale,
#gridNew4 .card-img .tag-sale,
#gridSale .card-img .tag-sale,
.coll-grid .card-img .tag-sale,
.collection-products .card-img .tag-sale {
  font-size: 9.5px !important;
  padding: 3px 7px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
}

@media (min-width: 1200px) {
  .grid-4 .card-img .tag,
  #gridNew .card-img .tag,
  #gridNew2 .card-img .tag,
  #gridNew3 .card-img .tag,
  #gridNew4 .card-img .tag,
  #gridSale .card-img .tag,
  .coll-grid .card-img .tag,
  .collection-products .card-img .tag {
    font-size: 10.5px !important;
    padding: 3.5px 8px !important;
  }
  .grid-4 .card-img .tag-sale,
  #gridNew .card-img .tag-sale,
  #gridNew2 .card-img .tag-sale,
  #gridNew3 .card-img .tag-sale,
  #gridNew4 .card-img .tag-sale,
  #gridSale .card-img .tag-sale,
  .coll-grid .card-img .tag-sale,
  .collection-products .card-img .tag-sale {
    font-size: 10px !important;
    padding: 3.5px 8px !important;
  }
}

/* Tự động thích ứng theo Container Query (Hỗ trợ trình duyệt hiện đại) */
@container (min-width: 230px) {
  .tag {
    font-size: 10px !important;
    padding: 3px 7px !important;
  }
  .tag-sale {
    font-size: 9.5px !important;
    padding: 3px 7px !important;
    line-height: 1.25 !important;
  }
  .tag-pct {
    font-size: 11px !important;
    padding: 3px 7px !important;
  }
}

@container (max-width: 210px) {
  .tags {
    top: 5px !important;
    left: 5px !important;
    max-width: calc(100% - 44px) !important;
  }
  .tag {
    font-size: 8px !important;
    padding: 1.5px 4.5px !important;
  }
  .tag-sale {
    font-size: 7.5px !important;
    padding: 1.5px 4px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }
  .tag-pct {
    font-size: 9px !important;
    padding: 2px 4.5px !important;
    top: 5px !important;
    right: 5px !important;
  }
}

/* 8. Hiệu ứng tương tác cho các khối Công nghệ vải có gắn link trên trang chủ */
.fab .fab-item-link {
  transition: transform .25s ease, opacity .25s ease;
  cursor: pointer;
}
.fab .fab-item-link img {
  transition: transform .35s ease;
}
.fab .fab-item-link:hover img {
  transform: scale(1.02);
}
.fab .fab-item-link:hover b {
  color: var(--brass, #C8963E);
  transition: color .2s ease;
}

/* 9. Bỏ lớp phủ làm tối banner: lớp gradient .hero-ov (banner chính trang chủ),
      độ mờ opacity của ảnh banner module sản phẩm (.sec-banner) và banner đầu trang danh mục (.cbn) */
.hero-ov {
  display: none !important;
}
.sec-banner img,
.cbn img {
  opacity: 1 !important;
}

/* 9b. Loop sản phẩm: ảnh không dùng position:absolute (khách báo ảnh bị mờ).
       Bỏ khóa tỉ lệ 3/4 + object-fit:cover (ảnh bị cắt/phóng to): ảnh hiển thị đúng tỉ lệ gốc, cao tự động.
       Xếp ảnh bằng CSS Grid: .im1 và .im2 chồng cùng một ô, nằm trong luồng bình thường;
       hiệu ứng đổi ảnh khi hover vẫn dùng opacity như cũ.
       Bỏ scale khi hover vì phóng to bằng transform làm ảnh bị nội suy mờ */
.card-img {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  aspect-ratio: auto !important;
  height: auto !important;
}
.card-img > img {
  position: static !important;
  inset: auto !important;
  grid-area: 1 / 1;
  width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: block;
}
.card:hover .card-img img {
  transform: none !important;
}

/* 9c. Thanh menu dưới trên mobile (.tabbar): lưới cố định 5 cột nhưng khi tắt mục "Club" chỉ còn 4 mục,
       nên các mục bị dồn về bên trái và chừa trống cột cuối. Chuyển sang chia đều theo số mục thực tế (4 hoặc 5) */
.tabbar {
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(0, 1fr) !important;
}
.tabbar a {
  min-width: 0;
}

/* 10. Tên sản phẩm trên thẻ không in đậm: thẻ h3 mặc định của trình duyệt là bold */
.card-name {
  font-weight: 400 !important;
}

/* 11. Trang hệ thống cửa hàng: theo giao diện Torano (Fraunces cho tiêu đề, nền kem/mist, nhấn màu đồng) */
.stores-wrap { padding: 8px 0 64px; }
.stores-head { text-align: center; padding: 28px 16px 24px; margin-bottom: 20px; background: var(--cream, #F5EBD8); border-radius: var(--r-card, 8px); }
.stores-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7A5A1E; }
.stores-head .h-page { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 10px 0 0; }
@media (min-width: 900px) {
  .stores-head .h-page { font-size: 40px; }
}
.stores-sub { color: var(--slate, #5A636E); font-size: 14px; max-width: 620px; margin: 12px auto 0; line-height: 1.65; }
.stores-hotline { margin-top: 14px; font-size: 14px; color: var(--slate, #5A636E); }
.stores-hotline a { font-weight: 700; color: var(--ink, #16181C); text-decoration: none; border-bottom: 1px solid var(--brass, #C8963E); }
.stores-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 14px; background: var(--mist, #F1F2F4); border-radius: var(--r-card, 8px); margin-bottom: 24px; }
.stores-filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 0; }
.stores-filter-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate, #5A636E); }
.stores-select, .stores-search-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-btn, 6px); background: #fff; font-size: 14px; font-family: var(--font); color: var(--ink, #16181C); box-sizing: border-box; }
.stores-select:focus, .stores-search-input:focus { outline: none; border-color: var(--ink, #16181C); }
.stores-filter-actions { flex: 0 0 auto; }
.stores-reset-btn { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink, #16181C); border-radius: var(--r-btn, 6px); background: transparent; font-size: 13px; font-weight: 700; color: var(--ink, #16181C); cursor: pointer; font-family: var(--font); }
.stores-reset-btn:hover { background: var(--ink, #16181C); color: #fff; }
.stores-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) {
  .stores-layout { grid-template-columns: minmax(320px, 400px) 1fr; align-items: start; }
}
.stores-list-pane, .stores-map-pane { min-width: 0; }
.stores-list-header { display: flex; align-items: center; gap: 10px; }
.stores-count-badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink, #16181C); padding: 4px 0; border-bottom: 2px solid var(--brass, #C8963E); }
.stores-list-scroll { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-height: 640px; overflow-y: auto; padding-right: 6px; }
.store-card { position: relative; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-card, 8px); padding: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.store-card::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: transparent; }
.store-card:hover { border-color: var(--ink, #16181C); }
.store-card.active { border-color: var(--ink, #16181C); box-shadow: 0 6px 18px rgba(22, 24, 28, .08); }
.store-card.active::before { background: var(--brass, #C8963E); }
.store-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.store-card-name { font-size: 14px; font-weight: 700; letter-spacing: .03em; margin: 0; color: var(--ink, #16181C); }
.store-card-status { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green, #2E7D5B); background: rgba(46, 125, 91, .1); padding: 3px 8px; border-radius: var(--r-tag, 4px); white-space: nowrap; }
.store-card-address { font-size: 13px; color: var(--slate, #5A636E); margin: 8px 0 0; line-height: 1.55; }
.store-card-meta { font-size: 12.5px; color: var(--ink, #16181C); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.store-card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.store-card-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-btn, 6px); background: #fff; font-size: 12px; font-weight: 700; color: var(--ink, #16181C); cursor: pointer; text-decoration: none; font-family: var(--font); }
.store-card-btn:hover { border-color: var(--ink, #16181C); }
.store-card-btn.primary { background: var(--ink, #16181C); border-color: var(--ink, #16181C); color: #fff; }
.store-card-btn.primary:hover { background: #000; }
.stores-map-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.stores-map-curr-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink, #16181C); }
.stores-map-frame { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-card, 8px); overflow: hidden; background: var(--mist, #F1F2F4); border: 1px solid var(--line, #DCDEE2); }
.stores-map-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

/* 12. Trang tin tức & chi tiết bài viết: theo giao diện Torano */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 8px 0 64px; }
.blog-layout.no-sidebar { max-width: 800px; margin: 0 auto; }
@media (min-width: 900px) {
  .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
}
.art-main { min-width: 0; }
.art-head { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line, #DCDEE2); }
.art-cat-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7A5A1E; background: var(--cream, #F5EBD8); padding: 5px 10px; border-radius: var(--r-tag, 4px); text-decoration: none; margin-bottom: 14px; }
.art-head .h-page, .art-main h1 { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 36px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; margin: 0 0 14px; }
@media (min-width: 900px) {
  .art-head .h-page, .art-main h1 { font-size: 50px; }
}
.art-meta-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--slate, #5A636E); }
.art-meta-bar span { display: inline-flex; align-items: center; gap: 6px; }
.art-lead { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 19px; line-height: 1.6; color: var(--ink, #16181C); margin: 0 0 28px; padding: 16px 20px; background: var(--cream, #F5EBD8); border-left: 3px solid var(--brass, #C8963E); border-radius: 0 var(--r-card, 8px) var(--r-card, 8px) 0; }
.art-content { font-size: 16px; line-height: 1.8; color: #2a2e35; }
.art-content img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: var(--r-card, 8px); }
.art-content h2, .art-content h3 { font-family: var(--font-product, "Fraunces", Georgia, serif); color: var(--ink, #16181C); line-height: 1.3; margin: 32px 0 12px; }
.art-content h2 { font-size: 26px; }
.art-content h3 { font-size: 21px; }
.art-content p { margin: 0 0 18px; }
.art-content a { color: var(--ink, #16181C); text-decoration: underline; text-decoration-color: var(--brass, #C8963E); text-underline-offset: 3px; }
.art-content blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brass, #C8963E); font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 19px; font-style: italic; color: var(--ink, #16181C); }
.art-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line, #DCDEE2); display: flex; flex-direction: column; gap: 16px; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.art-tags b { margin-right: 4px; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.art-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.share-label { font-weight: 700; margin-right: 4px; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-btn, 6px); background: #fff; font-size: 12px; font-weight: 700; color: var(--ink, #16181C); cursor: pointer; text-decoration: none; font-family: var(--font); }
.share-btn:hover { border-color: var(--ink, #16181C); }
.art-comments { margin-top: 48px; }
.art-comments-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line, #DCDEE2); }
.cmt-item { display: flex; gap: 12px; margin-bottom: 16px; }
.cmt-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cream, #F5EBD8); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; color: #7A5A1E; }
.cmt-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.cmt-author { font-weight: 700; font-size: 14px; }
.cmt-date { font-size: 12px; color: var(--slate, #5A636E); }
.cmt-body { font-size: 14px; line-height: 1.6; margin-top: 4px; }
.cmt-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) {
  .cmt-row { grid-template-columns: 1fr 1fr; }
}
.cmt-input, .cmt-textarea { width: 100%; padding: 12px; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-btn, 6px); font-size: 14px; font-family: var(--font); box-sizing: border-box; background: #fff; color: var(--ink, #16181C); }
.cmt-input:focus, .cmt-textarea:focus { outline: none; border-color: var(--ink, #16181C); }
.cmt-form { display: flex; flex-direction: column; gap: 10px; }
.cmt-alert { padding: 12px 14px; border-radius: var(--r-btn, 6px); font-size: 14px; margin-bottom: 12px; }
.cmt-alert-success { background: rgba(46, 125, 91, .1); color: var(--green, #2E7D5B); }
.cmt-alert-error { background: rgba(180, 57, 47, .1); color: var(--red, #B4392F); }
.art-related { margin-top: 56px; }
.blog-grid { display: grid; gap: 24px; }
.art-card { display: flex; flex-direction: column; min-width: 0; }
.art-card__img-link { display: block; position: relative; }
.art-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card, 8px); display: block; }
.art-card__img-placeholder { display: block; width: 100%; aspect-ratio: 3 / 2; background: var(--mist, #F1F2F4); border-radius: var(--r-card, 8px); }
.art-card__tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #7A5A1E; }
.art-card__body { padding-top: 12px; }
.art-card__meta { font-size: 12px; color: var(--slate, #5A636E); display: flex; gap: 10px; flex-wrap: wrap; }
.art-card__title { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 19px; line-height: 1.3; margin: 6px 0 8px; font-weight: 600; }
.art-card__title a { color: var(--ink, #16181C); text-decoration: none; }
.art-card__excerpt { font-size: 13.5px; color: var(--slate, #5A636E); line-height: 1.6; }
.art-card__link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink, #16181C); text-decoration: none; border-bottom: 1px solid var(--brass, #C8963E); }
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sb-box { background: var(--mist, #F1F2F4); border-radius: var(--r-card, 8px); padding: 18px; }
.sb-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink, #16181C); }
.sb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-menu a, .sb-post-item a { color: var(--ink, #16181C); text-decoration: none; font-size: 14px; font-family: var(--font-product, "Fraunces", Georgia, serif); line-height: 1.35; font-weight: 600; }
.sb-menu a:hover, .sb-post-item a:hover { text-decoration: underline; text-decoration-color: var(--brass, #C8963E); }
.sb-post-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line, #DCDEE2); }
.sb-post-item:last-child { border-bottom: 0; }
.sb-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-card, 8px); overflow: hidden; background: #fff; }
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sb-meta span { font-size: 11.5px; color: var(--slate, #5A636E); }
.sb-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-tag-item { display: inline-block; padding: 5px 11px; border: 1px solid var(--line, #DCDEE2); border-radius: 999px; font-size: 12px; color: var(--ink, #16181C); text-decoration: none; background: #fff; }
.sb-tag-item:hover { border-color: var(--ink, #16181C); }
.sb-tag-item.active { background: var(--ink, #16181C); color: #fff; border-color: var(--ink, #16181C); }
.art-tags .sb-tag-item { background: #fff; }

/* 13. Trang danh sách tin tức (templates/blog.liquid): banner, bộ lọc chuyên mục, bài nổi bật, lưới thẻ */
.blog-hero { text-align: center; padding: 36px 20px 32px; margin: 8px 0 24px; background: var(--cream, #F5EBD8); border-radius: var(--r-card, 8px); }
.blog-hero-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7A5A1E; }
.blog-hero-title { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin: 12px 0 0; color: var(--ink, #16181C); }
.blog-hero-sub { max-width: 620px; margin: 12px auto 0; font-size: 15px; line-height: 1.65; color: var(--slate, #5A636E); }
@media (min-width: 900px) {
  .blog-hero { padding: 48px 32px 42px; }
  .blog-hero-title { font-size: 52px; }
}
.blog-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line, #DCDEE2); border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink, #16181C); text-decoration: none; background: #fff; transition: border-color .15s, background .15s; }
.blog-pill:hover { border-color: var(--ink, #16181C); }
.blog-pill.active { background: var(--ink, #16181C); border-color: var(--ink, #16181C); color: #fff; }
.blog-main { min-width: 0; }
.art-featured-card { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line, #DCDEE2); }
@media (min-width: 760px) {
  .art-featured-card { grid-template-columns: 1.15fr 1fr; gap: 40px; }
}
.art-featured-media { position: relative; display: block; border-radius: var(--r-card, 8px); overflow: hidden; background: var(--mist, #F1F2F4); }
.art-featured-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.art-featured-media:hover .art-featured-img { transform: scale(1.03); }
.art-featured-tag { position: absolute; top: 14px; left: 14px; background: #fff; color: #7A5A1E; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 5px 10px; border-radius: var(--r-tag, 4px); }
.art-featured-body { min-width: 0; }
.art-featured-title { font-family: var(--font-product, "Fraunces", Georgia, serif); font-size: 28px; line-height: 1.2; font-weight: 600; margin: 10px 0 12px; }
@media (min-width: 900px) {
  .art-featured-title { font-size: 36px; }
}
.art-featured-title a { color: var(--ink, #16181C); text-decoration: none; }
.art-featured-title a:hover { text-decoration: underline; text-decoration-color: var(--brass, #C8963E); }
.art-featured-excerpt { font-size: 15px; line-height: 1.7; color: var(--slate, #5A636E); margin: 0 0 22px; }
.art-featured-action .btn { height: 46px; padding: 0 22px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.art-card { position: relative; background: #fff; }
.art-card__img-link { position: relative; display: block; border-radius: var(--r-card, 8px); overflow: hidden; background: var(--mist, #F1F2F4); }
.art-card__img { aspect-ratio: 4 / 3; transition: transform .5s ease; }
.art-card:hover .art-card__img { transform: scale(1.04); }
.art-card__tag { position: absolute; top: 12px; left: 12px; background: #fff; padding: 4px 8px; border-radius: var(--r-tag, 4px); }
.art-card__body { padding-top: 14px; }
.art-card__title { font-size: 20px; margin: 8px 0 8px; }
.art-card__excerpt { font-size: 13.5px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line, #DCDEE2); border-radius: var(--r-btn, 6px); font-size: 14px; font-weight: 700; color: var(--ink, #16181C); text-decoration: none; background: #fff; }
.pager a:hover { border-color: var(--ink, #16181C); }
.pager span.on { background: var(--ink, #16181C); border-color: var(--ink, #16181C); color: #fff; }
