@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Serif:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --red: #742c24;
  --red-dark: #5a1f18;
  --red-soft: #fdf6f5;
  --gold: #b18b52;
  --gold-light: #dcc59e;
  --ink: #2b2520;
  --muted: #756e65;
  --paper: #faf8f3;
  --surface: #f2ede3;
  --surface-deep: #e8e0d1;
  --white: #ffffff;
  --line: #e4ddd1;
  --green: #1f6b45;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(43, 37, 32, 0.05);
  --shadow-md: 0 10px 30px rgba(43, 37, 32, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, .serif {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(52px, 6vw, 76px);
}

/* ===== PREVIEW BAR (Dành cho duyệt thiết kế 5 trang) ===== */
.design-switcher {
  background: #1d1916;
  color: #e9e2d7;
  font-size: 12px;
  border-bottom: 1px solid #38302a;
  position: sticky;
  top: 0;
  z-index: 999;
}
.design-switcher .wrap {
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px clamp(20px, 3vw, 48px);
  white-space: nowrap;
}
.design-switcher .wrap > div:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  flex-shrink: 1;
}
@media (max-width: 1320px) {
  .design-switcher .wrap > div:first-child {
    display: none;
  }
}
.pc-mobile-toggle-btn {
  flex-shrink: 0;
}
.design-switcher .badge-mode {
  background: var(--gold);
  color: #1d1916;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  margin-right: 6px;
}
.switcher-links {
  display: flex;
  gap: 6px;
}
.switcher-links a {
  padding: 4px 11px;
  border-radius: 4px;
  color: #cfc6b8;
  border: 1px solid transparent;
  font-weight: 500;
}
.switcher-links a:hover {
  color: #fff;
  background: #2e2823;
}
.switcher-links a.active {
  background: var(--red);
  color: #fff;
  border-color: #964137;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--red);
  color: #f5ecde;
  font-size: 12.5px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .topbar-right span:first-child {
    display: none;
  }
  .topbar-right span:nth-child(2)::before {
    display: none;
  }
}
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.topbar-right span::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold-light);
}
.topbar-right span:first-child::before {
  display: none;
}

/* ===== HEADER MAIN ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.2vw, 32px);
  height: 96px;
}
.brand-logo {
  flex-shrink: 0;
}
.brand-logo img {
  height: clamp(46px, 4.2vw, 56px);
  width: auto;
  object-fit: contain;
}
.header-search {
  flex: 1;
  min-width: 210px;
  max-width: 450px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #d5ccb9;
  border-radius: var(--radius);
  padding: 2px 6px 2px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(116, 44, 36, 0.08);
}
.search-box input {
  border: 0;
  background: transparent;
  width: 100%;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.search-box button {
  border: 0;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-box button:hover {
  background: var(--red-dark);
}
.search-suggest {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 1400px) {
  .search-suggest a:nth-of-type(4) {
    display: none;
  }
}
@media (max-width: 1120px) {
  .search-suggest a:nth-of-type(3) {
    display: none;
  }
}
.search-suggest a:hover {
  color: var(--red);
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  flex-shrink: 0;
}
.hotline-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hotline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3ebe0;
  border: 1px solid var(--gold-light);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.hotline-box small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.2;
}
.hotline-box strong {
  font-size: 18px;
  color: var(--red);
  letter-spacing: 0.3px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--ink);
}
.btn-outline-gold:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-zalo {
  background: #0068ff;
  border-color: #0068ff;
  color: #fff;
}
.btn-zalo:hover {
  background: #0054cc;
  border-color: #0054cc;
  color: #fff;
}

/* ===== NAVIGATION BAR (Flatsome Header Bottom) ===== */
.main-nav {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
}
.main-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.3vw, 20px);
  overflow: visible;
}
.nav-cat-btn {
  background: var(--surface);
  color: var(--red);
  font-weight: 700;
  font-size: clamp(12px, 0.98vw, 13px);
  padding: 13px clamp(11px, 1.25vw, 17px);
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.15vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  display: inline-block;
  padding: 13px 0;
  font-size: clamp(12px, 1.02vw, 13.5px);
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 1160px) and (min-width: 961px) {
  .nav-cat-btn {
    font-size: 11.5px;
    padding: 12px 10px;
  }
  .nav-links-desktop {
    gap: 6px;
  }
  .nav-links-desktop > li > a {
    font-size: 11.8px;
  }
}
@media (max-width: 1050px) and (min-width: 961px) {
  .nav-links-desktop > li:nth-child(6) {
    display: none;
  }
}
.nav-links > li > a:hover,
.nav-links > li > a.current {
  color: var(--red);
  font-weight: 600;
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 90;
}
.nav-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ink);
}
.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--red);
}

/* ===== HERO SECTION ===== */
.hero-section {
  margin-top: 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
}
.hero-copy {
  padding: clamp(14px, 1.8vw, 26px) clamp(20px, 2.5vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-copy h1 {
  font-size: clamp(20px, 1.82vw, 25px);
  line-height: 1.26;
  margin-bottom: 8px;
}
.hero-copy p {
  color: #5c5449;
  font-size: clamp(13px, 1.02vw, 14.5px);
  line-height: 1.52;
  margin: 0 0 14px;
  max-width: none;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hero-cta-group .btn {
  padding: 9px 18px;
  font-size: 13.5px;
}
.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(14px, 1.5vw, 20px);
  padding-top: clamp(12px, 1.2vw, 15px);
  border-top: 1px solid #dfd7c7;
}
.hero-stats strong {
  display: block;
  font-family: 'Noto Serif', serif;
  font-size: clamp(17px, 1.45vw, 20px);
  color: var(--red);
  white-space: nowrap;
}
.hero-stats span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}

.hero-media {
  position: relative;
  background: #000;
  min-height: 0;
}
.hero-media-video {
  background: #000;
  padding: 0;
  display: block;
}
.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: #000;
}
.hero-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.hero-play-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(32, 24, 19, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(220, 197, 158, 0.35);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
}
.hero-play-card strong {
  display: block;
  font-size: 14px;
  color: #fff6e8;
}
.hero-play-card small {
  font-size: 12px;
  color: #d6c8b4;
}
.play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #1f1812;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* ===== BENEFITS BAR ===== */
.benefits-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3ede2;
  border: 1px solid var(--gold-light);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.benefit-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.benefit-item small {
  color: var(--muted);
  font-size: 12.5px;
}

/* ===== SECTIONS & HEADINGS ===== */
.section {
  padding: 56px 0 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 31px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ===== CATEGORY GRID (Ảnh lớn nổi bật, tối giản chữ) ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.cat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cat-thumb {
  width: 100%;
  height: 195px;
  background: var(--surface);
  overflow: hidden;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-card:hover .cat-thumb img {
  transform: scale(1.05);
}
.cat-info {
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cat-info strong {
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  margin: 0;
}
.cat-info span {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  padding: 2px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

/* ===== FILTER TABS & PRODUCT GRID (4 columns UX Builder style) ===== */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pill-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.pill-btn.active,
.pill-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-pic {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  background: #faf7f0;
  overflow: hidden;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-grid-3 .product-pic {
  aspect-ratio: 4 / 3;
  height: auto;
}
/* Riêng nhóm Tượng đứng có thể bật class .product-pic-portrait (tỷ lệ 3:4) */
.product-pic.is-portrait,
.statue-grid .product-pic {
  aspect-ratio: 3 / 4;
}
.product-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-pic img {
  transform: scale(1.03);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 251, 244, 0.94);
  border: 1px solid var(--gold-light);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}
/* Ẩn bớt chữ phụ trên thẻ sản phẩm cho thoáng mắt */
.product-cat,
.product-specs-line,
.price-unit,
.detail-link {
  display: none;
}
.product-body {
  padding: 13px 15px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: 8px;
  flex: 1;
}
.product-title {
  grid-column: 1 / -1;
  align-self: start;
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  line-height: 1.38;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-title a:hover {
  color: var(--red);
}
.product-price-row {
  display: block;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.price-val {
  font-size: 16px;
  font-weight: 700;
  color: #c92127;
}
.product-actions {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.quote-link-btn {
  border: 1px solid var(--red);
  background: var(--red-soft);
  padding: 5px 11px;
  border-radius: 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.quote-link-btn:hover {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

/* ===== STORY & PROCESS ===== */
.craft-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #d9cfbe;
}
.craft-banner.craft-banner-video {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
}
.craft-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.craft-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.craft-banner img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.craft-content {
  padding: 26px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.craft-content h2 {
  font-size: 27px;
  line-height: 1.26;
  margin-bottom: 12px;
}
.craft-content p {
  color: #544c42;
  font-size: 14.5px;
  line-height: 1.62;
  margin: 0 0 18px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  font-family: 'Noto Serif', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  background: #f6efe4;
  border: 1px solid var(--gold-light);
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.step-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ===== HOME BLOG CARDS (Thay thế thẻ tin tức khô khan của bản ChatGPT) ===== */
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.blog-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.blog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  font-size: 11.5px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 6px;
}
.blog-meta span {
  color: var(--muted);
  font-weight: 400;
}
.blog-card-body h3 {
  font-size: 18px;
  line-height: 1.38;
  margin-bottom: 8px;
}
.blog-card-body h3 a:hover {
  color: var(--red);
}
.blog-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-readmore {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

/* ===== FAQ & CTA ===== */
.faq-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 6px 26px;
}
.faq-box details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-box details:last-child {
  border-bottom: 0;
}
.faq-box summary {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-box summary::-webkit-details-marker {
  display: none;
}
.faq-box summary:hover {
  color: var(--red);
}
.faq-box summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f5efe4;
  border: 1px solid #e2d6c1;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--red);
  flex-shrink: 0;
}
.faq-box details[open] summary {
  color: var(--red);
}
.faq-box details[open] summary::after {
  content: "−";
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.faq-box details p {
  margin: 10px 0 2px;
  color: #4d463e;
  font-size: 14.5px;
  line-height: 1.75;
}

/* Khối FAQ chèn cuối Bài viết Tin tức / Mô tả sản phẩm / Cột nội dung Danh mục (nhỏ gọn bằng nội dung) */
.cat-left-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.compact-faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
}
.compact-faq-card > h2 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
}
.compact-faq-card .faq-box {
  border: 0;
  padding: 0;
  background: transparent;
}
.faq-compact details {
  padding: 12px 0;
}
.faq-compact summary {
  font-size: 14.5px;
}
.faq-compact summary::after {
  width: 22px;
  height: 22px;
  font-size: 15px;
}
.faq-compact details p {
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0 0;
}

.article-faq-wrap {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.article-faq-wrap .article-faq-title {
  font-family: 'Noto Serif', serif;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 12px;
}
.article-faq-wrap .faq-box {
  background: #faf7f1;
  padding: 2px 18px;
}

.cta-banner {
  margin: 56px 0;
  background: var(--red);
  color: #fff6e8;
  padding: 36px 44px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid #8e3b31;
}
.cta-banner h2 {
  color: #fff8ed;
  font-size: 29px;
  margin-bottom: 6px;
}
.cta-banner p {
  margin: 0;
  color: #ebd5c7;
  font-size: 14.5px;
}
.cta-banner .btn {
  background: #fff8ed;
  color: var(--red);
  border-color: #fff8ed;
  white-space: nowrap;
}
.cta-banner .btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #241914;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #ebe4d6;
  border-top: 1px solid #d8cebd;
  padding: 52px 0 28px;
  margin-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 36px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col p,
.footer-col a {
  font-size: 13.5px;
  color: #5c5449;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 9px;
}
.footer-col a:hover {
  color: var(--red);
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #d6cbb8;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #4f473e;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 20px 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb span {
  margin: 0 6px;
  color: #b5ab9c;
}

/* ===== CATALOG / CATEGORY PAGE ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  margin-top: 22px;
}
.filter-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  height: max-content;
  position: sticky;
  top: 54px;
}
.filter-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dad1c2;
}
.filter-box h3 {
  font-size: 17px;
  margin: 0;
}
.filter-close-mobile {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}
.filter-close-mobile:hover {
  color: var(--red);
}
.filter-group {
  padding: 13px 0;
  border-bottom: 1px solid #dfd7c9;
}
.filter-group:last-of-type {
  border-bottom: 0;
}
.filter-group strong {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 4px 0;
  cursor: pointer;
}
.filter-group input[type="checkbox"] {
  accent-color: var(--red);
}
.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #dad1c2;
}
.filter-reset-btn {
  background: var(--white);
  border: 1px solid #cfc4b2;
  color: var(--ink);
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
}
.filter-reset-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.filter-apply-btn {
  padding: 9px 12px;
  font-size: 13px;
}
.catalog-empty-note {
  background: #faf6ee;
  border: 1px dashed #d8cbb6;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  margin-top: 12px;
}
.catalog-empty-note p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.catalog-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.catalog-toolbar select {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

/* ===== SINGLE PRODUCT PAGE (Ảnh lớn tràn khung sắc nét) ===== */
.single-product-grid {
  display: grid;
  grid-template-columns: 55% minmax(0, 1fr);
  gap: 34px;
  margin-top: 12px;
  align-items: stretch;
}
.sp-gallery-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sp-gallery-main {
  position: relative;
  flex: 1 1 380px;
  height: 380px;
  min-height: 360px;
  background: #faf7f0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.sp-gallery-main img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sp-zoom-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(39, 31, 24, 0.88);
  color: #fff8ed;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 5px;
  pointer-events: none;
}
.sp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
  flex-shrink: 0;
}
.sp-thumbs button {
  padding: 5px;
  overflow: hidden;
  background: #faf7f0;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  height: 98px;
}
.sp-thumbs button.active,
.sp-thumbs button:hover {
  border-color: var(--red);
}
.sp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}

/* Hộp 5 Cam kết chất lượng dưới dải ảnh nhỏ sản phẩm */
.sp-under-gallery-policy {
  margin-top: 12px;
  padding: 14px 18px;
  background: #f8f4eb;
  border: 1px solid #dfd3bf;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  flex-shrink: 0;
}
.sp-policy-title {
  font-family: 'Noto Serif', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}
.sp-policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.sp-policy-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #3a342d;
}
.sp-policy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #167344;
  font-weight: 700;
}
.sp-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.sp-summary h1 {
  font-size: 27px;
  line-height: 1.3;
  margin: 0 0 6px;
}
.sp-code {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.sp-price-card {
  background: #f2ece1;
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 13px;
}
.sp-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.sp-price-card .big-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
}
.sp-price-unit {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.sp-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e1efe5;
  color: #16603a;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.sp-price-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.config-selector {
  margin-bottom: 11px;
}
.config-selector label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 5px;
}
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opt-chip {
  padding: 5px 11px;
  border: 1px solid #d4cbbd;
  background: var(--white);
  border-radius: 5px;
  font-size: 12.5px;
}
.opt-chip.active {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
  font-weight: 600;
}
.sp-summary-actions {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}
.sp-cta-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.btn-call-green {
  background: #167344;
  border-color: #167344;
  color: #fff;
}
.btn-call-green:hover {
  background: #105b35;
  border-color: #105b35;
  color: #fff;
}
.sp-purchase-box {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sp-purchase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
.sp-cart-open-btn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  padding: 2px 0;
}
.sp-cart-open-btn:hover {
  text-decoration: underline;
}
.sp-purchase-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-bottom: 9px;
}
.qty-stepper {
  display: inline-flex;
  border: 1px solid #cfc5b5;
  border-radius: 5px;
  overflow: hidden;
  background: var(--white);
}
.qty-stepper button {
  width: 34px;
  height: 42px;
  border: 0;
  background: var(--white);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
}
.qty-stepper button:hover {
  background: var(--surface);
}
.qty-stepper input {
  width: 40px;
  height: 42px;
  border: 0;
  border-inline: 1px solid #cfc5b5;
  text-align: center;
  font-weight: 600;
  font-size: 13.5px;
  outline: none;
}
.btn-add-cart {
  height: 42px;
  padding: 0 12px;
  background: var(--white);
  border: 1.5px solid var(--red);
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  border-radius: 5px;
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--red-soft);
}
.btn-order-direct {
  height: 42px;
  padding: 0 14px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff8ed;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 5px;
  white-space: nowrap;
}
.btn-order-direct:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.sp-cart-pill {
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.sp-cart-pill:hover {
  border-color: var(--red);
}
.product-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 44px;
}
.sp-desc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  line-height: 1.85;
  font-size: 15px;
  color: #352f29;
}
.sp-desc-card > h2,
.sp-desc-collapsible > h2 {
  font-size: 26px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--surface);
}
.sp-toc-box {
  margin: 0 0 18px;
  max-width: 100%;
  list-style: none;
}
.sp-toc-box .ez-toc-list {
  list-style: none;
  padding-left: 4px;
}
.sp-desc-more-btn {
  display: none;
}
.sp-desc-card h3 {
  font-size: 20px;
  color: var(--red);
  margin: 24px 0 10px;
}
.sp-desc-card figure {
  margin: 18px 0;
  text-align: center;
  background: #faf7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.sp-desc-card figure img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 5px;
}
.sp-desc-card figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}
.sp-commit-list {
  list-style: none;
  padding: 16px 20px;
  margin: 14px 0 18px;
  background: #faf6ee;
  border: 1px solid #e5dac7;
  border-radius: 8px;
}
.sp-commit-list li {
  position: relative;
  padding: 5px 0 5px 24px;
  font-size: 14.5px;
}
.sp-commit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--red);
  font-weight: 700;
}
.sp-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.sp-specs-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
}
.sp-specs-box h2 {
  font-size: 21px;
  margin: 0 0 6px;
}
.sp-specs-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.sp-specs-dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.sp-specs-dl > div {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.sp-specs-dl > div:nth-child(odd) {
  background: #f7f3eb;
}
.sp-specs-dl dt {
  font-weight: 600;
  color: var(--ink);
}
.sp-specs-dl dd {
  margin: 0;
  color: #463f37;
}
dialog.sp-lightbox {
  width: min(1040px, 95vw);
  max-height: 94vh;
  padding: 14px 18px;
  background: #231f1b;
  color: #fff8ed;
  border: 0;
  border-radius: 10px;
}
dialog.sp-lightbox::backdrop {
  background: rgba(18, 14, 11, 0.88);
}
.sp-lb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13.5px;
}
.sp-lb-close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
}
.sp-lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.sp-lb-stage img {
  max-height: 74vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.sp-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(35, 31, 27, 0.85);
  color: #fff;
  font-size: 24px;
}
.sp-lb-prev { left: 8px; }
.sp-lb-next { right: 8px; }
.sp-lb-caption {
  text-align: center;
  font-size: 13.5px;
  color: #e6dac8;
  margin: 10px 0 2px;
}
.zalo-preview-box {
  margin: 10px 0 14px;
  border: 1px solid #dfd3bf;
  background: #faf6ee;
  border-radius: 6px;
  padding: 8px 12px;
}
.zalo-preview-box summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}
.zalo-preview-box textarea {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e2d8c7;
  border-radius: 4px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}
.modal-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px) {
  .product-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .modal-btn-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .sp-purchase-inline {
    grid-template-columns: auto 1fr;
  }
}

/* =========================================================================
   SINGLE POST (BÀI VIẾT MẶC ĐỊNH FLATSOME DOTHOCUNG.NET.VN + SIDEBAR MỚI
   + HỘP CHÈN SẢN PHẨM TRONG BÀI KIỂU CELLPHONES SFORUM)
   ========================================================================= */
.flatsome-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 840px) 330px;
  justify-content: space-between;
  gap: 38px;
  margin-top: 18px;
}

/* Giữ đúng tinh thần bài viết mặc định của Flatsome dothocung.net.vn */
.flatsome-single-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 42px;
}
.entry-header-flatsome {
  text-align: center;
  margin-bottom: 26px;
}
.entry-cat-links {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 8px;
}
.entry-header-flatsome h1 {
  font-size: 30px;
  line-height: 1.3;
  color: #1f1b18;
  max-width: 680px;
  margin: 0 auto 14px;
}
.is-divider {
  height: 3px;
  width: 36px;
  background: rgba(116, 44, 36, 0.25);
  margin: 0 auto 12px;
}
.entry-meta-small {
  font-size: 12.5px;
  color: var(--muted);
}

/* Hộp Mục lục bài viết chuẩn dothocung.net.vn (sạch, bo góc, không lỗi gạch) */
.ez-toc-container {
  background: #f9f8f4;
  border: 1px solid #ded8cc;
  border-radius: 6px;
  padding: 14px 20px;
  margin: 22px 0 28px;
  max-width: 560px;
}
.ez-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.ez-toc-toggle-btn {
  border: 1px solid #d5cebf;
  background: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
}
.ez-toc-list {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}
.ez-toc-list li {
  color: #3f3831;
  margin-bottom: 4px;
}
.ez-toc-list a {
  display: inline-block;
  padding: 4px 2px;
  min-height: 26px;
  line-height: 1.45;
}
.ez-toc-list a:hover {
  color: var(--red);
  text-decoration: underline;
}

.entry-content p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #2b2520;
}
.entry-content h2 {
  font-size: 23px;
  margin: 32px 0 14px;
  color: #1f1b18;
}
.entry-content h3 {
  font-size: 19px;
  margin: 24px 0 10px;
}
.entry-content figure {
  margin: 24px 0;
}
.entry-content figure img {
  border-radius: 6px;
  width: 100%;
}
.entry-content figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 8px;
}

/* =========================================================================
   HỘP CHÈN SẢN PHẨM TRONG BÀI KIỂU CELLPHONES SFORUM (ẢNH TO + ÍT CHỮ)
   ========================================================================= */
.cps-product-embed {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid #e3dbd0;
  border-radius: 10px;
  padding: 16px;
  margin: 26px 0;
  box-shadow: 0 4px 18px rgba(43, 37, 32, 0.05);
  align-items: stretch;
}
.cps-product-embed:hover {
  border-color: var(--gold);
}
.cps-left {
  display: flex;
  flex-direction: column;
}
.cps-media-wrap {
  width: 100%;
  margin-bottom: 10px;
}
.cps-thumb {
  display: block;
  width: 100%;
  height: 245px;
  background: #f5f1e8;
  border-radius: 8px;
  overflow: hidden;
}
.cps-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cps-product-embed:hover .cps-thumb img {
  transform: scale(1.04);
}
.cps-mini-specs,
.cps-badges,
.cps-price-note {
  display: none;
}
.cps-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.38;
}
.cps-title a:hover {
  color: var(--red);
}
.cps-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cps-price-now {
  font-size: 19px;
  font-weight: 700;
  color: #c92127;
}

.cps-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.cps-highlights {
  background: #f7f4ec;
  border: 1px solid #ebe3d4;
  border-radius: 8px;
  padding: 14px 16px;
  flex: 1;
}
.cps-highlights h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--ink);
}
.cps-highlights ul {
  margin: 0;
  padding-left: 17px;
  font-size: 13px;
  color: #463f37;
  line-height: 1.62;
}
.cps-highlights li {
  margin-bottom: 5px;
}
.cps-cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.cps-btn-main {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}
.cps-btn-main:hover {
  background: var(--red-dark);
  color: #fff;
}
.cps-btn-quote {
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
}
.cps-btn-quote:hover {
  background: var(--red-soft);
}

/* =========================================================================
   CHÈN SẢN PHẨM TRONG BÀI KIỂU BAOCHAUELEC.COM (SLIDER 3 SP + HỘP ĐƠN NGANG)
   Dùng object-fit: contain tỷ lệ 4:3 để KHÔNG BAO GIỜ CẮT MẤT GÓC ẢNH ĐỒ THỜ
   ========================================================================= */
.bce-slider-wrap {
  position: relative;
  margin: 28px 0 32px;
  background: #f8f5ed;
  border: 1px solid #e4dccd;
  border-radius: 12px;
  padding: 16px 16px 18px;
}
.bce-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bce-slider-head span {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.bce-slider-nav {
  display: flex;
  gap: 6px;
}
.bce-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d5cbb9;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}
.bce-nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.bce-slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.bce-slider-viewport::-webkit-scrollbar {
  display: none;
}
.bce-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
}
.bce-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid #e5dfd3;
  border-radius: 10px;
  overflow: hidden;
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.bce-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bce-card-pic {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fdfbf7;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bce-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.bce-card:hover .bce-card-pic img {
  transform: scale(1.03);
}
.bce-card-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 4px 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bce-card-title a:hover {
  color: var(--red);
}
.bce-card-price {
  font-size: 16px;
  font-weight: 700;
  color: #d01f27;
  margin: auto 4px 0;
}
.bce-card-rating {
  margin: 8px 4px 2px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.bce-stars {
  color: #965f06;
  font-weight: 700;
}

/* Hộp 1 sản phẩm đơn ngang chuẩn baochauelec.com (.bxsc_spnb) - Ảnh 4:3 nguyên vẹn không cắt */
.bce-single-box {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 20px;
  align-items: center;
  background: #f8f5ed;
  border: 1.5px solid #e2d9c8;
  border-radius: 10px;
  padding: 12px 18px 12px 12px;
  margin: 26px 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bce-single-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.bce-single-thumb {
  width: 240px;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #ebe4d7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.bce-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}
.bce-single-info h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 7px;
  line-height: 1.38;
}
.bce-single-info h4 a:hover {
  color: var(--red);
}
.bce-single-info .bce-price {
  font-size: 19px;
  font-weight: 700;
  color: #d01f27;
  display: block;
  margin-bottom: 5px;
}
.bce-single-meta {
  font-size: 12.5px;
  color: var(--muted);
}
.bce-buynow-btn {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 13px 22px;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.bce-buynow-btn:hover {
  background: var(--red-dark);
  color: #fff;
}

/* Hộp Sidebar Đỏ 2 cột sản phẩm nổi bật lấy cảm hứng từ Sidebar baochauelec.com */
.sb-bce-redbox {
  background: var(--red);
  border-radius: 10px;
  padding: 14px 12px 12px;
  border: 1px solid #8a382e;
}
.sb-bce-redbox-title {
  color: #fff8ec;
  text-align: center;
  font-family: 'Noto Serif', serif;
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}
.sb-bce-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sb-bce-item {
  background: #fff;
  border-radius: 7px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.sb-bce-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #faf7f0;
  border-radius: 5px;
  margin-bottom: 7px;
}
.sb-bce-item h5 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sb-bce-item .p-red {
  margin-top: auto;
  color: #d01f27;
  font-weight: 700;
  font-size: 12.5px;
}

/* ===== NÚT NỔI "SẢN PHẨM CÓ TRONG BÀI" KIỂU CELLPHONES ===== */
.cps-floating-pill {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  background: #b62420;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(182, 36, 32, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cps-floating-pill:hover {
  background: var(--red-dark);
}
.cps-drawer {
  position: fixed;
  right: 24px;
  bottom: 74px;
  width: min(410px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  z-index: 96;
  overflow: hidden;
  display: none;
}
.cps-drawer.open {
  display: block;
}
.cps-drawer-head {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}
.cps-drawer-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}
.cps-drawer-list {
  padding: 12px 16px;
  max-height: 340px;
  overflow-y: auto;
}
.cps-drawer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cps-drawer-item:last-child {
  border-bottom: 0;
}
.cps-drawer-item img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
}
.cps-drawer-item strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  margin-bottom: 3px;
}
.cps-drawer-item .p-price {
  color: #c92127;
  font-weight: 700;
  font-size: 13px;
}

/* =========================================================================
   SIDEBAR MỚI CHO TRANG TIN TỨC & BÀI VIẾT (THAY THẾ SIDEBAR CŨ DOTHOCUNG)
   ========================================================================= */
.new-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sb-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.sb-title {
  font-family: 'Noto Serif', serif;
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--surface-deep);
  position: relative;
}
.sb-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.sb-search {
  display: flex;
  border: 1px solid #d5ccb9;
  border-radius: 5px;
  overflow: hidden;
}
.sb-search input {
  border: 0;
  padding: 9px 12px;
  width: 100%;
  font-size: 13.5px;
  outline: none;
}
.sb-search button {
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 0 14px;
  font-weight: 600;
}

.sb-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sb-cat-list li {
  border-bottom: 1px dashed var(--line);
}
.sb-cat-list li:last-child {
  border-bottom: 0;
}
.sb-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
}
.sb-cat-list a:hover {
  color: var(--red);
}
.sb-count {
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  padding: 1px 8px;
  border-radius: 99px;
}

.sb-prod-list,
.sb-post-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.sb-mini-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.sb-mini-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  aspect-ratio: 4 / 3;
  background: #faf7f0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.sb-mini-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sb-mini-info h5 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sb-mini-info h5 a:hover {
  color: var(--red);
}
.sb-mini-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.sb-mini-date {
  font-size: 11.5px;
  color: var(--muted);
}

.sb-consult-sticky {
  position: sticky;
  top: 56px;
  background: linear-gradient(160deg, #742c24 0%, #4e1b15 100%);
  color: #fff6e8;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.sb-consult-sticky .eyebrow {
  color: var(--gold-light);
  font-size: 10.5px;
}
.sb-consult-sticky h4 {
  color: #fff8ed;
  font-size: 20px;
  margin-bottom: 8px;
}
.sb-consult-sticky p {
  font-size: 13px;
  color: #ead7c8;
  margin: 0 0 16px;
}
.sb-consult-actions {
  display: grid;
  gap: 8px;
}
.sb-consult-actions .btn-light {
  background: #fff8ed;
  color: var(--red);
  border-color: #fff8ed;
  font-weight: 700;
}

/* ===== BLOG ARCHIVE LIST ===== */
.blog-archive-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.archive-post-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: center;
}
.archive-post-row:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.archive-post-row img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 5px;
}
.archive-post-row h3 {
  font-size: 20px;
  margin: 6px 0 8px;
}
.archive-post-row h3 a:hover {
  color: var(--red);
}
.archive-post-row p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

/* ===== MODAL QUOTE FORM ===== */
dialog#quoteDialog {
  border: 0;
  border-radius: 10px;
  padding: 0;
  width: min(560px, 94vw);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
dialog#quoteDialog::backdrop {
  background: rgba(28, 20, 15, 0.65);
}
.modal-head {
  background: var(--red);
  color: #fff7eb;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 {
  color: #fff7eb;
  font-size: 20px;
}
.modal-head button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
}
.modal-body {
  padding: 22px 24px 26px;
}
.selected-prod-banner {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 14px;
  border-radius: 4px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  margin-bottom: 12px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d5ccb9;
  border-radius: 5px;
  background: var(--white);
}

/* ===== MOBILE BAR & RESPONSIVE ===== */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 1024px) {
  .cat-grid,
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-bar,
  .process-steps,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .craft-banner,
  .single-product-grid,
  .flatsome-blog-layout,
  .catalog-layout,
  .category-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== CATEGORY BOTTOM: NỘI DUNG DANH MỤC (2FR) + BÀI TIN LIÊN QUAN (1FR) KIỂU BẢN CHATGPT ===== */
.category-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.category-editorial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px 20px;
  min-width: 0;
}
.category-reading {
  position: relative;
  max-height: 410px;
  overflow: hidden;
  line-height: 1.85;
  color: #363029;
  font-size: 15px;
}
.category-editorial > h2,
.category-reading h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
}
.category-reading h3 {
  font-size: 20px;
  line-height: 1.45;
  margin: 22px 0 10px;
  color: var(--red);
}
.category-reading p {
  margin: 0 0 14px;
}
.category-reading ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.category-reading li {
  margin-bottom: 6px;
}
.category-reading img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 12px 0;
}
.category-editorial:not(.reading-expanded) .category-reading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
}
.category-editorial.reading-expanded .category-reading {
  max-height: none;
  overflow: visible;
}
.category-toc {
  border: 1px solid #d5c5ab;
  border-radius: 6px;
  background: #f8f4eb;
  padding: 2px 14px;
  margin: 14px 0 18px;
  max-width: 480px;
}
.category-toc summary {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
  cursor: pointer;
}
.category-toc summary span {
  color: var(--red);
  font-weight: 500;
}
.category-toc-links {
  border-top: 1px dashed #dfd2bd;
  padding: 8px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-toc-links button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 5px 4px;
  font-size: 13.5px;
  color: var(--red);
  cursor: pointer;
}
.category-toc-links button:hover {
  text-decoration: underline;
}
.category-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px solid #e0d6c5;
  border-radius: 6px;
  background: #faf6ee;
  color: var(--red);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.category-read-more:hover {
  border-color: var(--red);
  background: #f3ece0;
}

/* Cột phải: Tin tức sản phẩm & Cẩm nang liên quan */
.category-news-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.category-news-sidebar .cns-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f3efe6;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
}
.category-news-sidebar .cns-head h2 {
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.category-news-sidebar .cns-head a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}
.category-news-sidebar .cns-head a:hover {
  text-decoration: underline;
}
.category-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
}
.category-news-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.category-news-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.category-news-item .cns-thumb {
  width: 96px;
  aspect-ratio: 4 / 3;
  background: #f6f2ea;
  border-radius: 5px;
  border: 1px solid #ebe4d7;
  overflow: hidden;
}
.category-news-item .cns-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.category-news-item h3 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
  color: var(--ink);
}
.category-news-item:hover h3 {
  color: var(--red);
}
.category-news-item small {
  font-size: 11.5px;
  color: var(--muted);
}

/* ===== MOBILE FILTER TOGGLE & INTERACTIVE PHONE PREVIEW FRAME ===== */
.mobile-filter-toggle {
  display: none;
}

.pc-mobile-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  background: #2b241d;
  color: #f7e6c4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.pc-mobile-toggle-btn:hover,
.pc-mobile-toggle-btn.is-active {
  background: var(--gold);
  color: #1b1612;
}

html.in-mobile-frame .design-switcher {
  display: none !important;
}

body.mobile-sim-open {
  overflow: hidden;
  background: #1c1815;
}
body.mobile-sim-open > *:not(.design-switcher):not(.pc-phone-stage) {
  display: none !important;
}
.pc-phone-stage {
  display: none;
}
body.mobile-sim-open .pc-phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 42px);
  padding: 12px 16px;
  background: radial-gradient(circle at top, #2d251e 0%, #171310 100%);
}
.pc-phone-shell {
  width: 406px;
  max-width: 100%;
  height: min(844px, calc(100vh - 96px));
  background: #111;
  border-radius: 36px;
  padding: 10px 8px;
  border: 2px solid #4a3f33;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}
.pc-phone-notch {
  width: 110px;
  height: 18px;
  background: #1d1d1d;
  border-radius: 99px;
  margin: 0 auto 6px;
  flex-shrink: 0;
}
.pc-phone-shell iframe {
  width: 100%;
  flex: 1;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
}
.pc-phone-caption {
  margin-top: 8px;
  font-size: 12px;
  color: #cbbba2;
  text-align: center;
}

/* ===== RESPONSIVE TABLET (<= 1024px) ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .craft-banner,
  .craft-banner.craft-banner-video,
  .single-product-grid,
  .flatsome-blog-layout,
  .catalog-layout,
  .category-content-layout,
  .product-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .craft-video-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hero-media {
    order: -1;
  }
  .catalog-main-col {
    display: contents;
  }
  .catalog-toolbar {
    order: 1;
    justify-content: space-between;
    margin-bottom: 4px;
  }
  .filter-box {
    position: static;
    order: 2;
    padding: 16px;
    margin-bottom: 6px;
  }
  .filter-close-mobile {
    display: inline-block;
  }
  #catalogProductGrid {
    order: 3;
  }
  #catalogEmptyNote {
    order: 4;
  }
  .catalog-main-col .pagination {
    order: 5;
  }
  .mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--white);
    border: 1px solid #d4c6af;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    cursor: pointer;
    white-space: nowrap;
  }
  .catalog-layout .filter-box.is-collapsed-mobile {
    display: none;
  }

  /* Thứ tự Trang Chi tiết sản phẩm trên Mobile/Tablet:
     1. Ảnh lớn + 4 ảnh nhỏ -> 2. Tên + Ô giá + Đặt hàng -> 3. Cam kết chất lượng -> 4. Thông số kỹ thuật -> 5. Mô tả chi tiết + FAQ -> 6. Tin tức */
  .single-product-grid {
    gap: 12px;
  }
  .sp-gallery-col {
    display: contents;
  }
  .sp-gallery-main {
    order: 1;
    flex: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .sp-thumbs {
    order: 2;
    margin-top: 0;
  }
  .sp-summary {
    order: 3;
    margin-top: 4px;
  }
  .sp-under-gallery-policy {
    order: 4;
    margin-top: 4px;
  }

  .product-content-layout {
    gap: 18px;
    margin-top: 20px;
  }
  .sp-right-sidebar {
    display: contents;
  }
  .sp-specs-box {
    order: 1;
  }
  .sp-desc-card {
    order: 2;
  }
  .sp-right-sidebar .category-news-sidebar {
    order: 3;
  }
}

/* ===== RESPONSIVE MOBILE ĐIỆN THOẠI (<= 680px) — ƯU TIÊN HÌNH ẢNH, TỐI GIẢN CHỮ ===== */
@media (max-width: 680px) {
  .wrap {
    padding: 0 12px;
  }
  .section {
    padding: 22px 0 0;
  }
  .topbar {
    display: none;
  }

  /* Header siêu gọn 2 hàng + Breadcrumb 1 dòng */
  .header-main {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 0;
    gap: 7px;
  }
  .brand-logo img {
    height: 38px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn,
  .hotline-box small {
    display: none;
  }
  .hotline-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .hotline-box strong {
    font-size: 14px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .search-box {
    padding: 1px 4px 1px 10px;
  }
  .search-box input {
    padding: 6px 0;
    font-size: 13px;
  }
  .search-box button {
    padding: 6px 12px;
    font-size: 12px;
  }
  .search-suggest {
    display: none;
  }
  .nav-cat-btn {
    padding: 8px 10px;
    font-size: 12px;
    margin-right: 4px;
  }
  .main-nav .wrap {
    gap: 6px;
  }
  .nav-links {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links > li > a {
    padding: 8px 0;
    font-size: 12.5px;
  }
  .breadcrumb {
    padding: 8px 0 6px;
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Mọi tiêu đề Section tối giản 1 hàng gọn: Ẩn chữ phụ eyebrow & câu mô tả dài */
  .section-head {
    margin-bottom: 10px !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .section-head > div {
    min-width: 0;
    flex: 1;
  }
  .section-head .eyebrow,
  .section-head > p {
    display: none !important;
  }
  .section-head h1,
  .section-head h2 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .section-head .btn {
    border: 0;
    background: transparent;
    color: var(--red);
    padding: 2px 0;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Dải nút lọc dạng 1 hàng vuốt ngang thay vì rớt 3 dòng chữ */
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    margin-bottom: 12px !important;
    padding-bottom: 2px;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .pill-btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* HERO TRANG CHỦ: ĐƯA ẢNH NGUYÊN VẸN LÊN ĐẦU — KHÔNG CẮT CẠNH PHẢI, LƯỢC BỎ ĐOẠN VĂN DÀI */
  .hero-section {
    margin-top: 8px;
  }
  .hero-grid {
    min-height: 0;
  }
  .hero-grid > * {
    min-width: 0;
  }
  .hero-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
    background: #faf7f0;
    padding: 6px;
  }
  .hero-media.hero-media-video {
    aspect-ratio: auto;
    background: #1d120e;
    padding: 0;
    gap: 0;
  }
  .hero-media-video .hero-video-wrap {
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
  .hero-video-caption,
  .hero-play-card {
    display: none;
  }
  .hero-copy {
    padding: 12px 14px 14px;
  }
  .hero-copy .eyebrow,
  .hero-copy p,
  .hero-stats {
    display: none;
  }
  .hero-copy h1 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .hero-cta-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 9px 6px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* 4 Cam kết đầu trang: Chỉ hiện Icon + Tiêu đề ngắn 2x2, ẩn dòng giải thích dài */
  .benefits-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    margin-top: 8px;
  }
  .benefit-item {
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
  .benefit-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .benefit-item strong {
    font-size: 11.5px;
    margin: 0;
    line-height: 1.25;
  }
  .benefit-item small {
    display: none;
  }

  /* 8 DANH MỤC ĐỒ THỜ: LƯỚI 2 CỘT THẺ NGANG SẮC NÉT (ẢNH 56px TRÁI + TÊN RÕ RÀNG BÊN PHẢI) */
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .cat-card {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
  }
  .cat-thumb {
    width: 56px;
    height: 44px;
    flex-shrink: 0;
    padding: 2px;
    border-radius: 5px;
    background: #faf7f0;
    border: 1px solid #ece4d6;
  }
  .cat-thumb img {
    object-fit: contain;
  }
  .cat-info {
    padding: 0;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .cat-info strong {
    font-family: 'Noto Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cat-info span {
    display: none;
  }

  /* LƯỚI SẢN PHẨM 2 CỘT — ẢNH TO RÕ, CHỮ NGẮN GỌN */
  .product-grid-4,
  .product-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  .product-badge {
    top: 5px;
    left: 5px;
    font-size: 9.5px;
    padding: 2px 5px;
  }
  .product-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 8px 9px;
  }
  .product-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.32;
    margin: 0 0 5px;
  }
  .product-price-row {
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px dashed var(--line);
  }
  .price-val {
    font-size: 13.5px;
  }
  .product-actions {
    padding-top: 5px;
    border-top: 0;
    justify-content: stretch;
  }
  .quote-link-btn {
    width: 100%;
    text-align: center;
    padding: 5px 6px;
    font-size: 11px;
  }

  /* KHỐI LÀNG NGHỀ & QUY TRÌNH: Cắt bớt chữ dài, 4 bước gọn 2x2 */
  .craft-banner img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .craft-content {
    padding: 14px 14px 16px;
  }
  .craft-content .eyebrow {
    display: none;
  }
  .craft-content h2 {
    font-size: 19px;
    margin-bottom: 6px;
  }
  .craft-content p {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }
  .step-card {
    padding: 10px 11px;
  }
  .step-num {
    font-size: 11px;
    padding: 1px 7px;
    margin-bottom: 4px;
  }
  .step-card h3 {
    font-size: 13.5px;
    margin: 0;
    line-height: 1.3;
  }
  .step-card p {
    display: none;
  }

  /* TIN TỨC TRANG CHỦ & TRANG TIN TỨC: THẺ NGANG NHỎ GỌN (ẢNH TRÁI 106px + TIÊU ĐỀ 2 DÒNG, ẨN TÓM TẮT DÀI) */
  .blog-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-card {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
    align-items: center;
  }
  .blog-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
  }
  .blog-thumb img {
    object-fit: contain;
  }
  .blog-card-body {
    padding: 0;
  }
  .blog-meta {
    font-size: 10.5px;
    margin-bottom: 3px;
  }
  .blog-card-body h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-body p,
  .blog-readmore {
    display: none;
  }

  .archive-post-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    align-items: center;
  }
  .archive-post-row img {
    width: 108px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #faf7f0;
    border-radius: 5px;
  }
  .archive-post-row h3 {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .archive-post-row p,
  .archive-post-row .blog-readmore {
    display: none;
  }

  /* TRANG DANH MỤC & CHI TIẾT SẢN PHẨM TRÊN MOBILE: THU GỌN TỐI ĐA CHỮ DÀI */
  .catalog-layout {
    gap: 10px;
    margin-top: 8px;
  }
  .mobile-filter-toggle {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .catalog-toolbar {
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 12px;
    gap: 6px;
  }
  .catalog-toolbar select {
    padding: 5px 8px;
    font-size: 12px;
    max-width: 175px;
  }
  .category-content-layout {
    margin-top: 24px;
    padding-top: 20px;
    gap: 16px;
  }
  .category-reading {
    max-height: 165px;
    font-size: 13.5px;
    line-height: 1.65;
  }
  .category-editorial > h2,
  .category-reading h2 {
    font-size: 17.5px;
    margin-bottom: 10px;
  }
  .category-toc {
    display: none;
  }

  /* CHI TIẾT SẢN PHẨM: Gọn từng khối, Mô tả tự thu gọn 210px có nút Xem thêm */
  .sp-thumbs {
    gap: 6px;
  }
  .sp-thumbs button {
    height: 60px;
    padding: 3px;
  }
  .sp-summary h1 {
    font-size: 18px;
    line-height: 1.32;
    margin-bottom: 4px;
  }
  .sp-code {
    font-size: 11.5px;
    margin-bottom: 8px;
  }
  .sp-price-card {
    padding: 9px 12px;
    margin-bottom: 10px;
  }
  .sp-price-card .big-price {
    font-size: 20px;
  }
  .sp-price-card p {
    display: none;
  }
  .config-selector {
    margin-bottom: 8px;
  }
  .config-selector label {
    font-size: 12px;
    margin-bottom: 4px;
  }
  /* Các chip lựa chọn nằm trên 1 hàng vuốt ngang siêu gọn */
  .option-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 5px;
  }
  .option-chips::-webkit-scrollbar {
    display: none;
  }
  .opt-chip {
    padding: 5px 9px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  #spMainQuoteBtn {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
  }
  .sp-cta-row2 {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .sp-cta-row2 .btn {
    padding: 8px 6px;
    font-size: 12px;
  }
  .sp-purchase-box {
    padding-top: 8px;
  }
  .btn-order-direct {
    height: 40px !important;
    font-size: 12.5px;
  }

  /* Hộp 5 cam kết gọn gàng */
  .sp-under-gallery-policy {
    padding: 10px 12px;
  }
  .sp-policy-title {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .sp-policy-list {
    gap: 3px;
  }
  .sp-policy-list li {
    font-size: 12px;
    padding-left: 16px;
    line-height: 1.38;
  }

  /* Bảng Thông số kỹ thuật gọn, ẩn ghi chú phụ */
  .sp-specs-box {
    padding: 14px 14px 12px;
  }
  .sp-specs-box h2 {
    font-size: 17.5px;
    margin-bottom: 8px;
  }
  .sp-specs-note {
    display: none;
  }
  .sp-specs-dl > div {
    grid-template-columns: 102px minmax(0, 1fr);
    padding: 7px 8px;
    font-size: 12.5px;
    gap: 8px;
  }

  /* Khung Mô tả chi tiết sản phẩm THU GỌN 210px trên Mobile + Nút Xem thêm */
  .sp-desc-card,
  .category-editorial,
  .compact-faq-card {
    padding: 14px;
  }
  .sp-desc-collapsible {
    position: relative;
    max-height: 210px;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.65;
  }
  .sp-desc-collapsible:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
  }
  .sp-desc-collapsible.is-expanded {
    max-height: none;
  }
  .sp-desc-card > h2,
  .sp-desc-collapsible > h2 {
    font-size: 17.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  .sp-toc-box {
    padding: 9px 12px;
    margin: 0 0 12px;
  }
  .sp-toc-box .ez-toc-header {
    font-size: 13.5px;
  }
  .sp-toc-box .ez-toc-list {
    font-size: 13px;
    line-height: 1.65;
    margin-top: 8px;
  }
  .sp-desc-more-btn {
    display: inline-flex;
    margin-top: 8px;
    padding: 9px 12px;
    font-size: 12.5px;
  }

  /* FAQ siêu gọn dạng 1 dòng câu hỏi bấm mở */
  .faq-box {
    padding: 2px 12px;
  }
  .faq-box details,
  .faq-compact details {
    padding: 10px 0;
  }
  .faq-box summary,
  .faq-compact summary {
    font-size: 13px;
    line-height: 1.38;
    gap: 10px;
  }
  .faq-box details p,
  .faq-compact details p {
    font-size: 12.5px;
    line-height: 1.6;
  }
  .article-faq-wrap {
    margin-top: 16px;
    padding-top: 14px;
  }
  .article-faq-wrap .article-faq-title,
  .compact-faq-card > h2 {
    font-size: 16.5px;
    margin-bottom: 8px;
  }

  /* Tin tức cột phụ gọn */
  .category-news-sidebar .cns-head {
    padding: 11px 14px;
  }
  .category-news-sidebar .cns-head h2 {
    font-size: 16px;
  }
  .category-news-list {
    padding: 12px 14px;
    gap: 10px;
  }
  .category-news-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
  }
  .category-news-item .cns-thumb {
    width: 84px;
  }
  .category-news-item h3 {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* BÀI VIẾT CHI TIẾT: Chữ vừa mắt, Hộp sản phẩm nổi bật */
  .cps-product-embed,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .flatsome-single-article {
    padding: 14px 13px;
  }
  .entry-header-flatsome {
    margin-bottom: 14px;
  }
  .flatsome-entry-title {
    font-size: 20px !important;
    line-height: 1.32 !important;
  }
  .entry-content {
    font-size: 14px !important;
    line-height: 1.68 !important;
  }
  .entry-content h2 {
    font-size: 17.5px !important;
    margin: 18px 0 8px !important;
  }
  .entry-content h3 {
    font-size: 15.5px !important;
    margin: 14px 0 6px !important;
  }
  .bce-single-box {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
    margin: 16px 0;
  }
  .bce-single-thumb {
    width: 98px;
  }
  .bce-single-info h4 {
    font-size: 13.5px;
    margin-bottom: 3px;
  }
  .bce-single-info .bce-price {
    font-size: 15px;
  }
  .bce-single-meta {
    font-size: 11.5px;
  }
  .bce-buynow-btn {
    grid-column: 1 / -1;
    width: 100%;
    padding: 9px 12px;
    font-size: 12.5px;
  }
  .bce-slider-wrap {
    padding: 10px;
    margin: 18px 0;
  }
  .bce-slider-track {
    grid-auto-columns: 74%;
    gap: 8px;
  }

  /* Sidebar Blog trên Mobile: Ẩn hộp Tìm kiếm trùng lặp & gọn hộp Tư vấn, ưu tiên Hộp Đỏ 2 cột sản phẩm */
  .new-blog-sidebar .sb-search,
  .new-blog-sidebar .sb-consult-box p {
    display: none;
  }
  .new-blog-sidebar > .sb-card:has(.sb-search) {
    display: none;
  }
  .new-blog-sidebar {
    gap: 14px;
  }

  /* Banner CTA & Footer gọn 2 cột trên Mobile */
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 15px;
    margin: 22px 0;
    gap: 10px;
  }
  .cta-banner h2 {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .cta-banner p {
    display: none;
  }
  .cta-banner .btn {
    width: 100%;
    padding: 9px 14px;
    font-size: 13px;
  }
  .site-footer {
    padding: 22px 0 16px;
    margin-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .footer-grid > .footer-col:first-child,
  .footer-grid > .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-grid > .footer-col:first-child p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
  }
  .footer-col h4 {
    font-size: 14.5px;
    margin-bottom: 8px;
  }
  .footer-col p,
  .footer-col a {
    font-size: 12.5px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    margin-top: 18px;
    padding-top: 12px;
    font-size: 12.5px;
    color: #4f473e;
  }

  /* Nút nổi sản phẩm trong bài tự nhích lên trên Thanh dính đáy Mobile */
  .cps-floating-pill {
    bottom: 64px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .cps-drawer {
    bottom: 108px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  /* Thanh dính đáy màn hình Điện thoại (1 chạm Gọi / Zalo / Báo giá) */
  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.98);
    border-top: 1px solid #dfd5c5;
    box-shadow: 0 -4px 16px rgba(34, 24, 16, 0.08);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    z-index: 98;
  }
  .mobile-sticky-bar a,
  .mobile-sticky-bar button {
    min-height: 38px;
    padding: 7px 6px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
  }
  body {
    padding-bottom: 58px;
  }
}

/* ===== BẢNG / NGĂN KÉO CHỌN DANH MỤC SẢN PHẨM (DESKTOP MEGA MENU + MOBILE DRAWER) ===== */
.nav-cat-btn {
  cursor: pointer;
  user-select: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-cat-btn:hover,
.nav-cat-btn.is-open {
  background: var(--red);
  color: #fff;
}

.pc-cat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 18, 12, 0.52);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pc-cat-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.pc-cat-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: min(860px, calc(100vw - 32px));
  max-height: min(82vh, 680px);
  background: #fffdf9;
  border: 1px solid #dccdb6;
  border-top: 4px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(28, 16, 10, 0.26);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  overflow: hidden;
}
.pc-cat-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.pc-cat-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8f2e7;
  border-bottom: 1px solid #e5dac8;
  gap: 12px;
}
.pc-cat-drawer-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-cat-close {
  border: 1px solid #d9cbb6;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.pc-cat-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.pc-cat-drawer-body {
  padding: 16px 18px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pc-cat-item {
  background: #fff;
  border: 1px solid #e7decb;
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pc-cat-item:hover,
.pc-cat-item.is-active {
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(110, 31, 25, 0.08);
}
.pc-cat-item-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pc-cat-item-thumb {
  width: 56px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #faf6ee;
  border: 1px solid #ebe2d3;
  flex-shrink: 0;
  padding: 2px;
}
.pc-cat-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pc-cat-item-main {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}
.pc-cat-item-main strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.3;
}
.pc-cat-item-main:hover strong {
  color: var(--red);
}
.pc-cat-item-main small {
  font-size: 12px;
  color: var(--muted);
}
.pc-cat-expand-btn {
  border: 1px solid #e5dac8;
  background: #faf5ec;
  color: var(--red);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: none;
}

.pc-cat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #ece3d4;
}
.pc-cat-subs a {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #faf6ee;
  border: 1px solid #e4d9c6;
  color: var(--ink);
  transition: all 0.15s ease;
}
.pc-cat-subs a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.pc-cat-drawer-foot {
  padding: 11px 18px;
  background: #f8f2e7;
  border-top: 1px solid #e5dac8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .pc-cat-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 84vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }
  .pc-cat-drawer.is-open {
    transform: translateY(0);
  }
  .pc-cat-drawer-head {
    padding: 12px 14px;
  }
  .pc-cat-drawer-head h3 {
    font-size: 15.5px;
  }
  .pc-cat-drawer-body {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 9px;
  }
  .pc-cat-expand-btn {
    display: inline-grid;
    place-items: center;
  }
  .pc-cat-item:not(.is-expanded) .pc-cat-subs {
    display: none;
  }
  .pc-cat-drawer-foot {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    flex-wrap: wrap;
  }
}

/* ===== WORDPRESS + WOOCOMMERCE PRODUCTION COMPATIBILITY ===== */
body.admin-bar .pc-cat-drawer {
  max-height: calc(82vh - 32px);
}
.entry-content img,
.sp-desc-collapsible img,
.category-reading img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.aligncenter {
  display: block;
  margin: 16px auto;
}
.alignleft {
  float: left;
  margin: 6px 18px 12px 0;
}
.alignright {
  float: right;
  margin: 6px 0 12px 18px;
}
.wp-caption {
  width: auto !important;
  max-width: 100% !important;
  background: #faf7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  margin: 16px 0;
  text-align: center;
}
.sp-desc-card,
.sp-summary,
.sp-specs-box,
.category-news-sidebar,
.flatsome-single-article,
.category-editorial,
.compact-faq-card {
  min-width: 0;
  max-width: 100%;
}
.entry-content,
.sp-desc-collapsible,
.category-reading {
  overflow-wrap: break-word;
  word-break: break-word;
}
.entry-content table,
.sp-desc-collapsible table,
.category-reading table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.wp-caption-text {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 2px;
  font-style: italic;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.mfp-hide,
#main-menu.mobile-sidebar,
#login-form-popup,
.ux-body-overlay,
#callnowbutton,
.call-now-button {
  display: none !important;
}
.product-price-row {
  display: flex;
  align-items: center;
  align-self: stretch;
}
.product-actions {
  align-self: stretch;
}
/* Hàng 1: Dải danh mục con nổi bật tràn hết chiều ngang | Hàng 2: "+ Xem thêm" thẳng hàng với "Sắp xếp" */
.cat-featured-pills {
  margin-bottom: 10px !important;
}
.cat-extra-pills {
  background: #f7f2e7;
  border: 1px solid #e3d6c1;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px !important;
}
.cat-extra-pills[hidden] {
  display: none !important;
}
.catalog-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.catalog-action-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-top-controls .catalog-toolbar {
  flex-shrink: 0;
  margin-left: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.catalog-top-controls .catalog-toolbar select {
  height: 35px;
  padding: 0 13px;
  border-radius: 99px;
  border: 1px solid #d5c8b4;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.catalog-layout {
  margin-top: 0;
  align-items: start;
}
.cat-sub-pills {
  align-items: center;
  gap: 7px;
}
.cat-sub-pills .pill-btn,
.catalog-action-left .pill-btn {
  padding: 7px 13px;
  font-size: 12.5px;
}
.pill-btn.pill-more-toggle {
  border: 1px dashed #b9996b;
  background: #f8f2e6;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
}
.pill-btn.pill-more-toggle:hover,
.pill-btn.pill-more-toggle.is-open {
  border-style: solid;
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}
.pill-btn.pill-more-toggle.is-open:hover {
  background: var(--red);
  color: #fff;
}
@media (max-width: 680px) {
  .filter-pills.cat-sub-pills {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 6px;
  }
  .catalog-top-controls {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .catalog-top-controls .catalog-toolbar {
    margin-left: auto;
  }
  .catalog-top-controls .catalog-toolbar select {
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 6px;
    max-width: 155px;
  }
  .catalog-action-left .pill-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Ensure Easy Table of Contents plugin & legacy Flatsome [row]/[col]/[ux_image] in old posts blend cleanly */
.entry-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}
.entry-content .row > .col {
  flex: 1 1 260px;
  min-width: 0;
}
.entry-content .pc-legacy-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.entry-content .img-inner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
#ez-toc-container {
  background: #f8f4eb !important;
  border: 1px solid #dfd3bf !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  margin: 16px 0 20px !important;
  width: 100% !important;
  box-shadow: none !important;
}

/* Dynamic WooCommerce Attribute Filter Badges & Active Chips Bar */
.filter-box.is-loading {
  opacity: 0.62;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.filter-group label.filter-term-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4.5px 0;
}
.filter-term-name {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.filter-term-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: #ede6d8;
  padding: 1px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}
.filter-term-label input[type="checkbox"]:checked ~ .filter-term-name {
  color: var(--red);
  font-weight: 600;
}
.filter-term-label input[type="checkbox"]:checked ~ .filter-term-count {
  background: var(--red);
  color: #fff;
}
.active-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #faf5ea;
  border: 1px solid #e2d5be;
  border-radius: 10px;
  padding: 9px 13px;
  margin-bottom: 16px;
}
.active-filter-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 2px;
}
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--white);
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}
.active-filter-chip:hover {
  background: var(--red);
  color: #fff;
}
.active-filter-clear {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
}
.active-filter-clear:hover {
  color: var(--red);
}
@media (max-width: 680px) {
  .active-filter-clear {
    margin-left: 0;
  }
}
/* Menu Thanh Ngang: Tách riêng Desktop & Mobile, chia đều cân đối trên Mobile (không bị khoảng trống giữa & không trượt ngang) */
.nav-links-mobile {
  display: none !important;
}
@media (max-width: 960px) {
  .main-nav {
    overflow: hidden;
  }
  .main-nav .wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0 !important;
    padding-left: 10px;
    padding-right: 6px;
    overflow: hidden !important;
  }
  .nav-cat-btn {
    margin-right: 0 !important;
    padding: 9px 10px !important;
    font-size: 11.8px !important;
    gap: 5px !important;
    align-self: stretch;
  }
  .nav-links-desktop {
    display: none !important;
  }
  .nav-links-mobile {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    align-items: stretch !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y;
  }
  .nav-links-mobile > li {
    flex: 1 1 auto !important;
    min-width: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .nav-links-mobile > li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 13px;
    background: #e2d7c5;
  }
  .nav-links-mobile > li > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 9px 4px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--ink);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-links-mobile > li > a.current,
  .nav-links-mobile > li > a:hover {
    color: var(--red);
    font-weight: 700 !important;
  }
}
@media (max-width: 385px) {
  .main-nav .wrap {
    padding-left: 8px;
    padding-right: 4px;
  }
  .nav-cat-btn {
    padding: 9px 7px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }
  .nav-links-mobile > li > a {
    font-size: 11.5px !important;
    padding: 9px 2px !important;
  }
}

/* ===== TỐI ƯU UX/UI DANH MỤC CON, THANH CÔNG CỤ 1 HÀNG & NGĂN KÉO BỘ LỌC TRÊN MOBILE ===== */
.pill-all-mob,
.more-txt-mob,
.only-mobile-toggle {
  display: none !important;
}
.filter-group-extra[hidden],
.catalog-filter-backdrop[hidden] {
  display: none !important;
}
.filter-group-more-btn {
  margin-top: 6px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.filter-group-more-btn:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  body.is-filter-sheet-open {
    overflow: hidden;
  }
  .catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 12, 0.54);
    z-index: 1290;
  }
  .filter-box#catalogFilterBox:not(.is-collapsed-mobile) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 1300 !important;
    max-height: 82vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: #fcfaf5 !important;
    border: 0 !important;
    border-top: 2px solid var(--gold) !important;
    box-shadow: 0 -10px 32px rgba(24, 15, 10, 0.28) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  .filter-box#catalogFilterBox .filter-box-head {
    padding: 13px 16px 11px;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .filter-box#catalogFilterBox .filter-groups-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 4px 16px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-box#catalogFilterBox .filter-actions {
    padding: 11px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    flex-shrink: 0;
  }
  .mobile-filter-toggle {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    border-radius: 99px !important;
    height: 35px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 680px) {
  .pill-all-desk,
  .more-txt-desk {
    display: none !important;
  }
  .pill-all-mob,
  .more-txt-mob {
    display: inline !important;
  }
  .only-mobile-toggle {
    display: inline-flex !important;
  }
  #catSubPills:not(.is-mob-expanded) .is-mob-overflow-pill {
    display: none !important;
  }
  .cat-featured-pills .pill-btn,
  .cat-extra-pills .pill-btn {
    padding: 6px 11px !important;
    font-size: 12px !important;
  }
  .catalog-top-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
  }
  .catalog-action-left {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }
  .catalog-action-left .pill-more-toggle {
    height: 35px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
  .catalog-top-controls .catalog-toolbar {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
  }
  .catalog-top-controls .catalog-toolbar select {
    height: 35px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    border-radius: 99px !important;
    width: 100% !important;
    max-width: 148px !important;
    text-overflow: ellipsis !important;
  }
}

/* ===== BẢNG THÔNG SỐ SEO LỖ BAN & HỘP LIÊN KẾT SILO CHỦ ĐỀ (DANH MỤC / SẢN PHẨM / BÀI VIẾT) ===== */
.pc-seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0 18px;
  border: 1px solid #e2d6c1;
  border-radius: 8px;
  background: #fffdf9;
}
.pc-seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  min-width: 480px;
  display: table !important;
}
.pc-seo-table th,
.pc-seo-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #ece3d3;
  text-align: left;
  vertical-align: top;
}
.pc-seo-table th {
  background: #f5efe3;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
}
.pc-seo-table tr:last-child td {
  border-bottom: 0;
}
.pc-silo-box {
  margin: 20px 0;
  padding: 15px 18px;
  background: #faf5eb;
  border: 1px solid #dfcfb4;
  border-left: 4px solid var(--red);
  border-radius: 10px;
}
.pc-silo-box-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--red);
  margin: 0 0 8px;
}
.pc-silo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.pc-silo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid #d7c7ad;
  color: var(--ink);
  font-size: 12.8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}
.pc-silo-pill:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.pc-prod-lead-spec {
  background: #fcf8f0;
  border: 1px solid #e4d8c3;
  border-left: 4px solid var(--gold);
  border-radius: 9px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.72;
}
.pc-prod-lead-list {
  list-style: none;
  padding: 10px 0 0;
  margin: 10px 0 0;
  border-top: 1px dashed #e2d5be;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  font-size: 13.8px;
  color: #3f372e;
}
.pc-prod-lead-list li {
  margin: 0 !important;
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
}
.pc-prod-lead-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
}
.pc-editorial-note {
  margin: 14px 0 16px;
  padding: 13px 16px;
  background: #faf6ed;
  border: 1px solid #e5d9c3;
  border-left: 3.5px solid var(--gold);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.78;
  color: #352e26;
}
.pc-editorial-note p {
  margin: 0 !important;
}
.category-reading li,
.sp-desc-collapsible li {
  margin-bottom: 9px;
  line-height: 1.76;
}
.category-reading a,
.sp-desc-collapsible a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(116, 44, 36, 0.35);
  text-underline-offset: 3px;
}
.category-reading a:hover,
.sp-desc-collapsible a:hover {
  text-decoration-color: var(--red);
}
@media (max-width: 680px) {
  .pc-prod-lead-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .pc-seo-table {
    min-width: 0 !important;
    font-size: 12.8px;
  }
  .pc-seo-table th,
  .pc-seo-table td {
    padding: 8px 8px;
  }
}
.pc-post-silo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.pc-post-silo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6dccb;
  border-radius: 8px;
  padding: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.16s ease;
}
.pc-post-silo-card:hover {
  border-color: var(--red);
}
.pc-post-silo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #faf7f0;
  border-radius: 5px;
  margin-bottom: 6px;
}
.pc-post-silo-card strong {
  font-size: 12.8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}
.pc-post-silo-card span {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
@media (max-width: 680px) {
  .pc-post-silo-grid {
    grid-template-columns: 1fr;
  }
  .pc-post-silo-card {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .pc-post-silo-card img {
    width: 82px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}


/* ===== NÚT SỬA NHANH CHO ADMIN ĐÃ ĐĂNG NHẬP (ẨN 100% VỚI KHÁCH HÀNG) ===== */
.sp-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.pc-admin-edit-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 99px;
  background: #1d2327;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid #1d2327;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: background 0.15s ease, transform 0.15s ease;
}
.pc-admin-edit-inline:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}
.pc-card-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(29, 35, 39, 0.88);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease;
}
.pc-card-edit-btn:hover {
  background: var(--red);
}
.pc-admin-floating-bar {
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  background: #1d2327;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  gap: 4px;
}
.pc-admin-float-main,
.pc-admin-float-sub {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.pc-admin-float-main {
  background: var(--red);
  color: #fff !important;
}
.pc-admin-float-main:hover {
  background: #8f342a;
}
.pc-admin-float-sub {
  color: #f0ece4 !important;
  background: rgba(255, 255, 255, 0.09);
}
.pc-admin-float-sub:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .pc-admin-floating-bar {
    left: 10px;
    bottom: 68px;
  }
}
