/* PAN Web - giao dien phucanhnguyen.com (ban Go). Mau + khoi trang chu lay tu CSS rieng cua web cu (pan-giao-dien.css). */
:root {
  --pan-g: #c8161d;
  --pan-g-d: #9e0f15;
  --pan-g-l: #fdeceb;
  --pan-r: #ff6a00;
  --pan-price: #d0021b;
  --pan-moc: #2e9e3e;
  --pan-bg: #f7f3f0;
  --pan-line: #ece4df;
  --pan-txt: #2b2220;
  --pan-mut: #6e625c;
}
/* bieu tuong menu danh muc */
.pan-ic-proj   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V8l7-5 7 5v13M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.pan-ic-news   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h10M7 16h6'/%3E%3C/svg%3E"); }
.pan-ic-info   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E"); }
.pan-ic-phone  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.pan-ic-crm    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.pan-ic-cam    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='14' height='8' rx='2'/%3E%3Cpath d='M16 9l5-2v6l-5-2M7 14v3H4m3 0v3'/%3E%3Ccircle cx='6' cy='10' r='1'/%3E%3C/svg%3E"); }
.pan-ic-wcam   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='13' r='6'/%3E%3Ccircle cx='10' cy='13' r='2.2'/%3E%3Cpath d='M7 21h6M16.5 3.5a5 5 0 0 1 4 4M16 6.5a2 2 0 0 1 1.5 1.5'/%3E%3C/svg%3E"); }
.pan-ic-home   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7M5 9.5V20h14V9.5'/%3E%3Cpath d='M9.5 15a3.5 3.5 0 0 1 5 0M8 12.5a6 6 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='17.5' r='.6'/%3E%3C/svg%3E"); }
.pan-ic-net    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 16.5h.01M11 16.5h.01M8 13l-2-6M16 13l2-6M9 6a4.5 4.5 0 0 1 6 0'/%3E%3C/svg%3E"); }
.pan-ic-finger { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 7.5A7 7 0 0 1 19 12v2M5 12a7 7 0 0 1 .4-2.3M8.5 20A11 11 0 0 1 8 12a4 4 0 0 1 8 0v1.5M12 12v2a13 13 0 0 0 1.5 6M16 17.5a15 15 0 0 1-.3 2.5'/%3E%3C/svg%3E"); }
.pan-ic-office { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5M7 17H4a1 1 0 0 1-1-1v-6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1h-3'/%3E%3Crect x='7' y='14' width='10' height='7'/%3E%3C/svg%3E"); }
.pan-ic-pc     { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.pan-ic-tool   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L21 13l-8 8-3-3 8-8-1.3-1.3M9.3 17.7l-5 5M3 3l6 6M7 3L3 7'/%3E%3C/svg%3E"); }
/* ===== Hero ===== */
.pan-hero { display: grid; grid-template-columns: 260px minmax(0, 1fr) 290px; gap: 10px; height: 380px; margin-bottom: 14px; }
.pan-hero-main { position: relative; border-radius: 8px; overflow: hidden; background: #123; }
.pan-slider, .pan-slide { position: absolute; inset: 0; }
.pan-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; display: flex; align-items: center; }
.pan-slide.is-active { opacity: 1; z-index: 1; }
.pan-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.pan-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,8,0,.82) 0%, rgba(45,8,0,.55) 45%, rgba(0,0,0,0) 80%); }
.pan-slide-txt { position: relative; max-width: 470px; padding: 0 36px; color: #fff; }
.pan-slide-tag { display: inline-block; background: var(--pan-r); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; letter-spacing: .3px; }
.pan-slide-h { color: #fff; font-size: 28px; line-height: 1.25; margin: 12px 0 8px; font-weight: 800; }
.pan-slide-txt p { font-size: 15px; margin: 0 0 18px; color: #f8ece6; }
.pan-slide-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pan-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 6px; font-weight: 700; font-size: 14px; }
.pan-btn-w { background: #fff; color: var(--pan-g-d) !important; }
.pan-btn-r { background: var(--pan-r); color: #fff !important; }
.pan-btn:hover { filter: brightness(1.07); }
.pan-dots { position: absolute; z-index: 3; left: 36px; bottom: 16px; display: flex; gap: 6px; }
.pan-dots button { width: 22px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.45); padding: 0; margin: 0; min-height: 0; border: 0; }
.pan-dots button.is-active { background: #fff; width: 36px; }
.pan-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.pan-mini { border-radius: 8px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff !important; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.pan-mini b { font-size: 17px; line-height: 1.3; position: relative; }
.pan-mini span { font-size: 13px; opacity: .92; position: relative; }
.pan-mini em { font-style: normal; font-weight: 700; font-size: 13px; margin-top: 10px; position: relative; color: #ffe27a; }
.pan-mini-g { background: linear-gradient(135deg, #fff7ef 0%, #ffe9d6 100%); justify-content: center; color: var(--pan-txt) !important; border: 1px solid #ffd9b8; }
.pan-mini-g b { color: var(--pan-g-d); } .pan-mini-g span { color: var(--pan-mut); opacity: 1; } .pan-mini-g em { color: var(--pan-r); }
.pan-mini-g::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,106,0,.08); }
.pan-mini-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0) 65%); }
.pan-mini:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }

/* ===== Khung trang (khoi trang) ===== */
.pan-box, .pan-block { background: #fff; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.pan-sec-title { font-size: 18px; font-weight: 800; text-transform: uppercase; color: var(--pan-txt); margin: 0 0 12px; }

/* nganh hang */
.pan-cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
@media (max-width: 1199px) { .pan-cats { grid-template-columns: repeat(6, 1fr); } }
.pan-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border: 1px solid var(--pan-line); border-radius: 8px; text-align: center; color: var(--pan-txt) !important; transition: .15s; }
.pan-cat:hover { border-color: var(--pan-g); box-shadow: 0 4px 12px rgba(200,22,29,.12); }
.pan-cat-img { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.pan-cat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pan-cat-name { font-size: 12.5px; font-weight: 600; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }

/* dai ly */
.pan-dealer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; color: var(--pan-txt); border-left: 4px solid var(--pan-g); border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; }
.pan-dealer-t { font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--pan-g); }
.pan-dealer-b { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.pan-dealer-b b { background: var(--pan-bg); border: 1px solid var(--pan-line); color: var(--pan-txt); border-radius: 4px; padding: 6px 12px; font-size: 14px; font-weight: 800; letter-spacing: .2px; }
.pan-cta { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.pan-cta a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 6px; font-weight: 700; font-size: 13.5px; }
.pan-cta-call { background: var(--pan-r); color: #fff !important; }
.pan-cta-zalo { background: #fff; color: var(--pan-r) !important; border: 1.5px solid var(--pan-r); }

/* khoi san pham */
.pan-block-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--pan-line); padding-bottom: 10px; margin-bottom: 12px; }
.pan-block-head > .pan-block-title { flex: 0 0 auto; width: auto; }
.pan-block-title { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; color: var(--pan-txt); position: relative; }
.pan-block-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--pan-g); }
.pan-block-kids { display: flex; gap: 6px; flex-wrap: wrap; }
.pan-block-kids a { font-size: 13px; padding: 4px 10px; border: 1px solid var(--pan-line); border-radius: 14px; color: var(--pan-mut); }
.pan-block-kids a:hover { border-color: var(--pan-g); color: var(--pan-g); }
.pan-block-all { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--pan-g) !important; }
.pan-block-deal { background: linear-gradient(180deg, #fff3e6 0, #fff 90px); border: 1px solid #ffd4ad; }
.pan-block-deal .pan-block-title { color: var(--pan-r); }
.pan-block-deal .pan-block-title::before { content: "⚡"; margin-right: 6px; }
.pan-block-deal .pan-block-title::after { background: var(--pan-r); }
.pan-block-body .row { margin-left: -5px !important; margin-right: -5px !important; }

/* dich vu */
.pan-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pan-svc-i { display: flex; flex-direction: column; border: 1px solid var(--pan-line); border-radius: 8px; overflow: hidden; color: var(--pan-txt) !important; background: #fff; transition: .15s; }
.pan-svc-i:hover { border-color: var(--pan-g); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.pan-svc-img { height: 150px; background-size: cover; background-position: center; }
.pan-svc-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pan-svc-b b { font-size: 16px; }
.pan-svc-b span { font-size: 13.5px; color: var(--pan-mut); line-height: 1.45; flex: 1; }
.pan-svc-b em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--pan-g); }

/* cam ket */
.pan-promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pan-promise-i { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 14px 16px; color: var(--pan-moc); }
.pan-promise-i span { display: flex; flex-direction: column; color: var(--pan-txt); }
.pan-promise-i b { font-size: 14.5px; }
.pan-promise-i small { font-size: 12.5px; color: var(--pan-mut); }

/* ===== Man hinh nho ===== */
@media (max-width: 1100px) {
  .pan-hero { grid-template-columns: 240px minmax(0, 1fr); }
  .pan-hero-side { display: none; }
  .pan-usp span:nth-child(n+3) { display: none; }
}
@media (max-width: 849px) {
  .pan-hero { grid-template-columns: 1fr; height: auto; gap: 8px; }
  .pan-hero-space { display: none; }
  .pan-hero-main { height: 230px; }
  .pan-hero-side { display: grid; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .pan-mini { min-height: 110px; padding: 12px; }
  .pan-mini b { font-size: 14px; }
  .pan-mini span, .pan-mini em { font-size: 12px; }
  .pan-slide-txt { padding: 0 18px; }
  .pan-slide-h { font-size: 19px; margin: 8px 0 6px; }
  .pan-slide-txt p { font-size: 13px; margin-bottom: 12px; }
  .pan-btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .pan-dots { left: 18px; bottom: 10px; }
  .pan-cats { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .pan-cat { flex: 0 0 23%; scroll-snap-align: start; }
  .pan-cat-img { width: 56px; height: 56px; }
  .pan-cat-name { font-size: 13px; }
  .pan-svc, .pan-promise { grid-template-columns: 1fr 1fr; }
  .pan-svc-img { height: 110px; }
  .pan-box, .pan-block { padding: 12px 10px; border-radius: 6px; }
  .pan-block-title, .pan-sec-title { font-size: 16px; }
  .pan-block-kids { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .pan-block-kids a { white-space: nowrap; }
  .pan-dealer { padding: 10px 12px; gap: 8px; }
  .pan-dealer .pan-cta { display: none; }
  .pan-dealer-t { font-size: 13px; width: 100%; }
  .pan-dealer-b { gap: 5px; }
  .pan-dealer-b b { padding: 3px 8px; font-size: 12.5px; }
  .pan-block-body .pan-sp:nth-child(n+7) { display: none; }
}
@media (max-width: 549px) {
  .pan-cat { flex-basis: 28%; }
  .pan-promise-i { padding: 10px; gap: 8px; }
  .pan-promise-i svg { width: 26px; height: 26px; }
  .pan-promise-i b { font-size: 13px; }
  .pan-promise-i small { font-size: 11.5px; }
}

/* ===== Chan trang ===== */
.pan-ft { background: #fbf6f2; border-top: 3px solid var(--pan-g); margin-top: 10px; font-size: 14px; color: var(--pan-txt); }
.pan-ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 30px; padding-bottom: 22px; }
.pan-ft-logo { width: 78px; height: auto; margin-bottom: 6px; }
.pan-ft-ten { font-weight: 800; font-size: 15px; color: var(--pan-g); margin-bottom: 8px; }
.pan-ft-info, .pan-ft-list, .pan-ft-cs { list-style: none; margin: 0 0 14px; }
.pan-ft-info li { margin: 0 0 6px; line-height: 1.5; }
.pan-ft-info a { color: var(--pan-price) !important; font-weight: 700; }
.pan-ft-dl { font-size: 13px; color: var(--pan-mut); line-height: 1.5; }
.pan-ft-dl b { color: var(--pan-txt); }
.pan-ft-t { font-weight: 800; text-transform: uppercase; font-size: 14px; margin: 0 0 10px; padding-bottom: 6px; position: relative; }
.pan-ft-t::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--pan-g); }
.pan-ft-list li { margin: 0 0 7px; }
.pan-ft-list a { color: var(--pan-txt) !important; }
.pan-ft-list a:hover { color: var(--pan-g) !important; }
.pan-ft-cs li { margin: 0 0 7px; padding-left: 20px; position: relative; }
.pan-ft-cs li::before { content: "✓"; position: absolute; left: 0; color: var(--pan-moc); font-weight: 800; }
.pan-ft-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--pan-line); line-height: 0; }
.pan-ft-map iframe { width: 100%; height: 150px; border: 0; }
.pan-ft-bot { background: #3a1b18; color: #e6d6cf; font-size: 13px; padding: 12px 0; }
@media (max-width: 849px) {
  .pan-ft-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .pan-ft-cty, .pan-ft-grid > .pan-ft-c:last-child { grid-column: 1 / -1; }
  .pan-ft-bot { padding-bottom: 12px; }
}

@keyframes pan-rung { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes pan-song { 0% { box-shadow: 0 0 0 0 rgba(208,2,27,.45); } 70% { box-shadow: 0 0 0 10px rgba(208,2,27,0); } 100% { box-shadow: 0 0 0 0 rgba(208,2,27,0); } }
@keyframes pan-nhun { 0%, 80%, 100% { transform: translateY(0); } 86% { transform: translateY(-3px); } 92% { transform: translateY(0); } 96% { transform: translateY(-1.5px); } }

/* ===== Nen tang (thay Flatsome) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Be Vietnam Pro", Roboto, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--pan-txt); background: var(--pan-bg); }
a { color: var(--pan-g); text-decoration: none; }
a:hover { color: var(--pan-g-d); }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4, h5 { line-height: 1.3; margin: 0 0 .5em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
.pan-khung { max-width: 1240px; margin: 0 auto; padding: 0 15px; }
.pan-bo-qua { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 200; }
.pan-bo-qua:focus { left: 8px; }
.pan-than { padding: 14px 0 10px; }

/* ===== Dau trang ===== */
.pan-dau { background: #fff; position: relative; z-index: 50; }
.pan-tren { border-bottom: 1px solid var(--pan-line); font-size: 13.5px; }
.pan-tren-hang { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.pan-top-l { display: inline-flex; gap: 18px; align-items: center; color: var(--pan-mut); }
.pan-top-l b { color: var(--pan-price); font-size: 14.5px; font-weight: 800; }
.pan-top-i { display: inline-flex; align-items: center; gap: 6px; color: var(--pan-mut); position: relative; }
.pan-top-i + .pan-top-i::before { content: ""; position: absolute; left: -10px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: #e2d6cf; }
a.pan-top-i:hover { color: var(--pan-g); }
.pan-top-zalo i { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: var(--pan-r); border-radius: 4px; padding: 1px 5px; line-height: 1.35; animation: pan-nhun 3s ease-in-out infinite; }
.pan-menu-tren { list-style: none; margin: 0; padding: 0; display: flex; }
.pan-menu-tren > li { position: relative; }
.pan-menu-tren > li > a { display: block; padding: 8px 10px; color: var(--pan-mut); font-weight: 500; }
.pan-menu-tren > li > a:hover { color: var(--pan-g); }
.pan-menu-tren .co-con > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 6px; }
.pan-menu-tren ul { display: none; position: absolute; right: 0; top: 100%; list-style: none; margin: 0; padding: 6px 0; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.12); border-radius: 6px; z-index: 60; white-space: nowrap; }
.pan-menu-tren li:hover > ul, .pan-menu-tren li:focus-within > ul { display: block; }
.pan-menu-tren ul a { display: block; padding: 7px 16px; color: var(--pan-txt); }
.pan-menu-tren ul a:hover { background: var(--pan-g-l); color: var(--pan-g); }

.pan-giua-hang { display: flex; align-items: center; gap: 24px; min-height: 90px; }
.pan-logo img { height: 72px; width: auto; display: block; }
.pan-giua-hang { min-height: 92px; }
.pan-tim { flex: 1; max-width: 620px; display: flex; position: relative; margin: 0; }
.pan-tim input[type=search] { flex: 1; min-width: 0; height: 42px; border: 2px solid var(--pan-g); border-right: 0; border-radius: 6px 0 0 6px; padding: 0 14px; font-size: 14px; outline: none; background: #fff; }
.pan-tim button { height: 42px; min-width: 56px; border: 0; background: var(--pan-g); color: #fff; border-radius: 0 6px 6px 0; display: inline-flex; align-items: center; justify-content: center; }
.pan-tim-kq { position: absolute; left: 0; right: 56px; top: 44px; background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 10px 24px rgba(0,0,0,.15); z-index: 70; max-height: 420px; overflow: auto; }
.pan-tim-kq a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; color: var(--pan-txt); border-bottom: 1px solid var(--pan-line); font-size: 14px; }
.pan-tim-kq a:hover, .pan-tim-kq a.dang { background: var(--pan-g-l); }
.pan-tim-kq img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.pan-tim-kq b { color: var(--pan-price); font-size: 13px; white-space: nowrap; margin-left: auto; }
.pan-hd-contact { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.pan-hd-c { display: flex; align-items: center; gap: 8px; color: var(--pan-txt); line-height: 1.2; font-size: 12px; }
.pan-hd-c:hover { color: var(--pan-g); }
.pan-hd-c i { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--pan-g-l); color: var(--pan-g); font-style: normal; font-size: 17px; }
.pan-hd-c b { display: block; font-size: 15px; color: var(--pan-price); }
.pan-hd-c.zalo i { background: #fff1e6; color: var(--pan-r); font-weight: 700; font-size: 11px; }
.pan-hd-c.zalo b { color: var(--pan-r); }
.pan-hd-dt, .pan-nut-menu { display: none; }

.pan-xanh { background: linear-gradient(90deg, #c8161d 0%, #d92a1b 60%, #ea4a1c 100%); color: #fff; }
.pan-xanh-hang { display: flex; align-items: center; min-height: 44px; gap: 20px; }
.pan-doc { position: relative; width: 260px; flex: none; align-self: stretch; }
.pan-doc-mo { height: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--pan-g-d); font-weight: 700; font-size: 14px; letter-spacing: .2px; cursor: pointer; user-select: none; }
.pan-doc-ic { display: inline-flex; flex-direction: column; gap: 3px; }
.pan-doc-ic span { width: 16px; height: 2px; background: #fff; border-radius: 1px; }
.pan-mui { margin-left: auto; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-bottom: 3px; }
.pan-doc-ds { display: none; position: absolute; left: 0; right: 0; top: 100%; list-style: none; margin: 0; padding: 4px 0; background: #fff; border-radius: 0 0 6px 6px; box-shadow: 0 8px 22px rgba(0,0,0,.12); z-index: 55; }
.pan-doc:hover .pan-doc-ds, .pan-doc:focus-within .pan-doc-ds, .pan-doc.mo .pan-doc-ds { display: block; }
.pan-doc-ds > li { position: relative; }
.pan-doc-ds > li > a { display: flex; align-items: center; padding: 9px 16px; color: var(--pan-txt); font-size: 14.5px; font-weight: 500; }
.pan-doc-ds > li.co-con > a::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid #b5aaa4; border-top: 1.5px solid #b5aaa4; transform: rotate(45deg); }
.pan-doc-ds > li:hover > a { color: var(--pan-g); background: var(--pan-g-l); font-weight: 600; }
.pan-doc-ds > li[class*=pan-ic-] > a::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-right: 10px; background: #8c8480; opacity: .5; -webkit-mask: var(--ic) no-repeat center / contain; mask: var(--ic) no-repeat center / contain; }
.pan-doc-ds > li[class*=pan-ic-]:hover > a::before { background: var(--pan-moc); opacity: 1; }
.pan-doc-ds ul { display: none; position: absolute; left: 100%; top: 0; min-width: 240px; list-style: none; margin: 0; padding: 6px 0; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.12); border-radius: 0 6px 6px 0; }
.pan-doc-ds li:hover > ul { display: block; }
.pan-doc-ds ul a { display: block; padding: 7px 16px; color: var(--pan-txt); font-size: 14px; }
.pan-doc-ds ul a:hover { color: var(--pan-g); background: var(--pan-g-l); }
.pan-usp { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; margin-left: auto; }
/* trang chu: menu doc mo san, nam trong o trong cua hero */
@media (min-width: 850px) {
  .trang-chu .pan-doc.mo-san .pan-doc-ds { display: block; height: 380px; overflow: visible; border-radius: 0 0 8px 8px; box-shadow: none; border: 1px solid var(--pan-line); border-top: 0; }
  .trang-chu .pan-than { padding-top: 0; }
  .trang-chu .pan-hero { margin-top: 0; }
  .trang-chu .pan-hero-main, .trang-chu .pan-hero-side { margin-top: 10px; height: 370px; }
}

/* ===== The san pham ===== */
.pan-luoi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pan-sp { background: #fff; border: 1px solid var(--pan-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.pan-sp:hover { border-color: #f3c1bd; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.pan-sp-anh { display: block; padding: 8px; position: relative; aspect-ratio: 1; }
.pan-sp-anh img { width: 100%; height: 100%; object-fit: contain; }
.pan-sp-giam { position: absolute; left: 8px; top: 8px; background: var(--pan-price); color: #fff; border-radius: 4px; font-size: 12px; font-weight: 700; padding: 2px 6px; }
.pan-sp-ten { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.7em; margin: 0 10px 6px; font-size: 14px; line-height: 1.35; color: var(--pan-txt); }
.pan-sp-ten:hover { color: var(--pan-g); }
.pan-sp-gia-the { padding: 0 10px 12px; margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pan-gia { font-size: 16px; font-weight: 800; color: var(--pan-price); order: 1; }
.pan-sp-gia-the del { order: 2; font-size: 12.5px; color: #8a949a; }
.pan-glh { display: inline-flex; flex-direction: column; gap: 4px; line-height: 1.3; }
.pan-glh-t { color: #e74c3c; font-weight: 700; font-size: 13px; }
.pan-glh-b { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pan-glh-b a { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
.pan-glh-call { background: var(--pan-r); }
.pan-glh-zalo { background: #fff; color: var(--pan-r) !important; border: 1px solid var(--pan-r); }
.pan-sp-gia-the .pan-glh { font-size: 12px; }

/* tin tuc */
.pan-tin4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pan-tin h3 { font-size: 15px; line-height: 1.35; margin: 8px 0 6px; }
.pan-tin h3 a, .pan-tin h2 a { color: var(--pan-txt); }
.pan-tin h3 a:hover, .pan-tin h2 a:hover { color: var(--pan-g); }
.pan-tin p { font-size: 13.5px; color: var(--pan-mut); margin: 0 0 8px; }
.pan-tin-anh { display: block; aspect-ratio: 5 / 3; overflow: hidden; border-radius: 6px; background: var(--pan-bg); }
.pan-tin-anh img { width: 100%; height: 100%; object-fit: cover; }
.pan-tin-xem { display: inline-block; font-size: 13px; font-weight: 600; border: 1px solid var(--pan-g); border-radius: 4px; padding: 3px 10px; }

/* ===== Duong dan (breadcrumb) ===== */
.pan-moi { font-size: 12.5px; color: var(--pan-mut); margin: 0 0 10px; }
.pan-moi a { color: var(--pan-mut); }
.pan-moi a:hover { color: var(--pan-g); }
.pan-moi > span { margin: 0 4px; color: #c9bdb6; }

/* ===== Trang san pham ===== */
.pan-sp-chinh { background: #fff; border-radius: 8px; padding: 18px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; margin-bottom: 14px; }
.pan-sp-anhs { position: relative; }
.pan-sp-anh-lon { display: none; }
.pan-sp-anh-lon.dang { display: block; }
.pan-sp-anh-lon img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pan-sp-anh-nho { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pan-sp-anh-nho button { width: 64px; height: 64px; padding: 2px; border: 1.5px solid var(--pan-line); border-radius: 6px; background: #fff; }
.pan-sp-anh-nho button.dang { border-color: var(--pan-g); }
.pan-sp-anh-nho img { width: 100%; height: 100%; object-fit: contain; }
.pan-sp-h1 { font-size: 22px; line-height: 1.3; font-weight: 800; }
.pan-sp-ma { font-size: 13px; color: var(--pan-mut); margin: -4px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.pan-sp-ma span { color: var(--pan-line); }
.pan-sp-ma a { font-weight: 600; }
.pan-sp-gia { background: linear-gradient(90deg, #fff4ee, #fff); border: 1px solid #ffe0cf; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pan-sp-gia .pan-gia { font-size: 28px; line-height: 1.1; }
.pan-sp-gia del { color: #8f8580; font-size: 15px; order: 2; }
.pan-sp-gia .pan-glh-t { font-size: 16px; }
.pan-sp-gia .pan-glh-b a { font-size: 14px; padding: 5px 12px; }
.pan-sp-ngan { font-size: 14.5px; line-height: 1.6; }
.pan-sp-ngan ul { margin: 0 0 8px; padding-left: 20px; }
.pan-sp-kho { font-size: 14px; margin: 8px 0 12px; }
.pan-sp-kho .con { color: var(--pan-moc); }
.pan-sp-kho .het { color: var(--pan-r); }
.pan-sp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pan-sp-btns a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 8px; padding: 9px 10px; line-height: 1.3; }
.pan-sp-btns b { font-size: 15.5px; }
.pan-sp-btns span { font-size: 12.5px; opacity: .92; }
.pan-sp-call { background: linear-gradient(180deg, #e5242b, #c8161d); color: #fff !important; }
.pan-sp-zalo { background: #fff; border: 2px solid var(--pan-r); color: var(--pan-r) !important; }
.pan-sp-ud { border: 1px dashed #f3c1bd; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; background: #fffaf7; }
.pan-sp-ud-t { font-weight: 700; color: var(--pan-g); margin-bottom: 4px; }
.pan-sp-ud ul { margin: 0; padding-left: 18px; font-size: 14px; }
.pan-sp-meta { font-size: 13px; color: var(--pan-mut); display: flex; flex-direction: column; gap: 3px; }
.pan-sp-mo-ta { background: #fff; border-radius: 8px; padding: 16px 22px; margin-bottom: 14px; }
.pan-sp-tab { font-size: 16px; text-transform: uppercase; font-weight: 800; border-bottom: 2px solid var(--pan-line); padding-bottom: 8px; }

/* noi dung bai / mo ta */
.pan-noi-dung { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.pan-noi-dung img { height: auto; border-radius: 4px; }
.pan-noi-dung table { border-collapse: collapse; width: 100%; margin: 0 0 1em; display: block; overflow-x: auto; }
.pan-noi-dung td, .pan-noi-dung th { border: 1px solid var(--pan-line); padding: 6px 10px; }
.pan-noi-dung h2 { font-size: 20px; margin-top: 1.2em; }
.pan-noi-dung h3 { font-size: 17px; margin-top: 1em; }
.pan-noi-dung iframe { max-width: 100%; }
.pan-noi-dung .aligncenter { display: block; margin: 0 auto; }
.pan-noi-dung .wp-caption { max-width: 100%; }

/* ===== Trang danh muc / tim kiem ===== */
.pan-dm-cot { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; align-items: start; }
.pan-dm-hop { background: #fff; border-radius: 8px; padding: 12px 0; }
.pan-dm-hop-t { font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 0 16px 8px; border-bottom: 2px solid var(--pan-line); margin-bottom: 4px; }
.pan-dm-hop ul { list-style: none; margin: 0; padding: 0; }
.pan-dm-hop li a { display: block; padding: 7px 16px; color: var(--pan-txt); font-size: 14.5px; }
.pan-dm-hop li li a { padding-left: 30px; font-size: 14px; color: var(--pan-mut); }
.pan-dm-hop li.dang > a { color: var(--pan-g); font-weight: 700; }
.pan-dm-hop a:hover { background: var(--pan-g-l); color: var(--pan-g); }
.pan-dm-phai { background: #fff; border-radius: 8px; padding: 14px 16px; }
.pan-dm-h1 { font-size: 22px; font-weight: 800; }
.pan-dm-con { margin-bottom: 12px; }
.pan-dm-dem { font-size: 13px; color: var(--pan-mut); margin: 0 0 10px; }
.pan-dm-phai .pan-luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pan-dm-mota { margin-top: 20px; border-top: 1px solid var(--pan-line); padding-top: 14px; }
.pan-trong { color: var(--pan-mut); padding: 20px 0; }
.pan-phan-trang { display: flex; justify-content: center; gap: 6px; margin: 18px 0 4px; flex-wrap: wrap; }
.pan-phan-trang a, .pan-phan-trang b, .pan-phan-trang span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pan-line); border-radius: 6px; padding: 0 8px; color: var(--pan-txt); background: #fff; }
.pan-phan-trang b { background: var(--pan-g); border-color: var(--pan-g); color: #fff; }
.pan-phan-trang a:hover { border-color: var(--pan-g); color: var(--pan-g); }

/* ===== Bai viet / trang / chuyen muc ===== */
.pan-bai, .la-trang, .pan-trang-cm { background: #fff; border-radius: 8px; padding: 20px 26px; }
.pan-bai { max-width: 900px; margin: 0 auto 14px; }
.pan-bai-h1 { font-size: 26px; font-weight: 800; }
.pan-bai-ngay { font-size: 13px; color: var(--pan-mut); margin-bottom: 12px; }
.pan-trang-bai .pan-box { max-width: 900px; margin: 0 auto 14px; }
.pan-tin-ds { display: flex; flex-direction: column; gap: 18px; }
.pan-tin-ngang { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--pan-line); padding-bottom: 18px; }
.pan-tin-ngang h2 { font-size: 19px; margin: 0 0 4px; }
.pan-luu-tru { max-width: 1240px; margin: 0 auto; padding: 0 15px; }
.pan-404 { background: #fff; border-radius: 8px; padding: 40px 26px; text-align: center; }

/* ===== Menu dien thoai + thanh duoi ===== */
.pan-dd-menu[hidden] { display: none; }
.pan-dd-menu { position: fixed; inset: 0; z-index: 120; }
.pan-dd-nen { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.pan-dd-ds { position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; padding: 12px 0; box-shadow: 4px 0 20px rgba(0,0,0,.2); }
.pan-dd-ds .pan-tim { margin: 0 12px 10px; }
.pan-dd-ds ul { list-style: none; margin: 0; padding: 0; }
.pan-dd-ds > ul > li > a { display: flex; align-items: center; padding: 11px 16px; font-weight: 600; color: var(--pan-txt); border-bottom: 1px solid var(--pan-line); }
.pan-dd-ds > ul > li[class*=pan-ic-] > a::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-right: 10px; background: var(--pan-moc); -webkit-mask: var(--ic) no-repeat center / contain; mask: var(--ic) no-repeat center / contain; }
.pan-dd-ds ul ul a { display: block; padding: 8px 16px 8px 48px; font-size: 14px; color: var(--pan-mut); border-bottom: 1px solid #f6f0ec; }
.pan-thanh-duoi { display: none; }

/* ===== Man hinh vua / nho ===== */
@media (max-width: 1100px) {
  .pan-luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pan-dm-phai .pan-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pan-hd-contact .zalo { display: none; }
}
@media (max-width: 849px) {
  body { font-size: 16px; }
  .pan-tren, .pan-hd-contact, .pan-usp { display: none; }
  .pan-giua-hang { min-height: 60px; gap: 10px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 8px; }
  .pan-nut-menu { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px 4px; }
  .pan-nut-menu span { width: 22px; height: 2.5px; background: var(--pan-txt); border-radius: 2px; }
  .pan-logo { margin: 0 auto; }
  .pan-logo img { height: 46px; }
  .pan-hd-dt { display: flex; }
  .pan-hd-dt i { width: 36px; height: 36px; }
  .pan-giua-hang > .pan-tim { order: 5; flex: 0 0 100%; max-width: none; }
  .pan-tim input[type=search] { font-size: 16px; height: 40px; }
  .pan-tim button { height: 40px; }
  .pan-xanh { display: none; }
  .pan-luoi, .pan-dm-phai .pan-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pan-tin4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pan-sp-chinh { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .pan-sp-h1 { font-size: 19px; }
  .pan-sp-mo-ta { padding: 12px; }
  .pan-dm-cot { grid-template-columns: 1fr; }
  .pan-dm-trai { display: none; }
  .pan-dm-phai { padding: 12px 10px; }
  .pan-dm-h1 { font-size: 19px; }
  .pan-bai, .la-trang, .pan-trang-cm { padding: 14px; }
  .pan-bai-h1 { font-size: 21px; }
  .pan-tin-ngang { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .pan-tin-ngang h2 { font-size: 16px; }
  .pan-tin-ngang p { display: none; }
  .pan-khung { padding: 0 10px; }
  .pan-thanh-duoi { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.1); padding-bottom: env(safe-area-inset-bottom); }
  .pan-thanh-duoi a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 54px; font-size: 18px; color: var(--pan-txt); line-height: 1.1; }
  .pan-thanh-duoi a:first-child { color: #fff; background: linear-gradient(180deg, #e5242b, #c8161d); }
  .pan-thanh-duoi b { font-size: 13px; color: var(--pan-r); border: 1.8px solid var(--pan-r); border-radius: 6px; padding: 1px 4px; }
  .pan-thanh-duoi span { font-size: 11.5px; font-weight: 600; margin-top: 3px; }
  body { padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) { .pan-top-zalo i { animation: none; } }

/* ===== Mua ngay (#F97316) ===== */
.pan-mua { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; border: 0; border-radius: 8px; padding: 10px; margin: 0 0 10px; background: #F97316; color: #fff; line-height: 1.3; box-shadow: 0 4px 12px rgba(249,115,22,.3); }
.pan-mua:hover { background: #ea670c; }
.pan-mua b { font-size: 17px; letter-spacing: .3px; }
.pan-mua span { font-size: 12.5px; opacity: .95; }
.pan-mua-nho { margin: -4px 10px 10px; border: 0; border-radius: 6px; background: #F97316; color: #fff; font-weight: 700; font-size: 13px; padding: 7px 0; }
.pan-mua-nho:hover { background: #ea670c; }
.pan-sp-sl { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 14px; }
.pan-sl { display: inline-flex; border: 1px solid var(--pan-line); border-radius: 6px; overflow: hidden; }
.pan-sl button { width: 34px; height: 34px; border: 0; background: #faf6f3; font-size: 18px; }
.pan-sl input { width: 52px; height: 34px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.pan-sl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pan-hop[hidden] { display: none; }
.pan-hop { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pan-hop-nen { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.pan-hop-than { position: relative; background: #fff; border-radius: 12px; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 22px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.pan-hop-x { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--pan-mut); padding: 4px 8px; }
.pan-hop h2 { font-size: 20px; margin: 0 0 10px; }
.pan-mua-sp { background: #fff7ef; border: 1px solid #ffd9b8; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; display: flex; flex-direction: column; font-size: 14px; }
.pan-mua-sp span { color: var(--pan-price); font-weight: 800; }
#f-mua label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
#f-mua label i { color: var(--pan-price); font-style: normal; }
#f-mua input { display: block; width: 100%; margin-top: 4px; height: 42px; border: 1px solid #d9cfc9; border-radius: 6px; padding: 0 12px; font-size: 16px; font-weight: 400; }
#f-mua input:focus { outline: 2px solid #fdba74; border-color: #F97316; }
#f-mua input.sai { border-color: var(--pan-price); background: #fff5f5; }
.pan-mua-hang { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.pan-an { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pan-mua-loi { color: var(--pan-price); font-size: 14px; margin: 0 0 8px; }
.pan-mua-gui { margin-top: 4px; }
.pan-mua-gui[disabled] { opacity: .6; }
.pan-mua-chu { font-size: 12.5px; color: var(--pan-mut); margin: 4px 0 0; text-align: center; }
#mua-xong { text-align: center; }
.pan-xong-dau { width: 56px; height: 56px; border-radius: 50%; background: var(--pan-moc); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
#xong-anh { display: block; margin: 8px auto; width: 240px; height: 240px; image-rendering: pixelated; border: 1px solid var(--pan-line); border-radius: 8px; }
#mua-xong .pan-btn { margin-top: 12px; border: 0; }

/* ===== Tu van (khung chat PAN) ===== */
.pan-tu-van { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; width: 100%; border: 2px solid #F97316; border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; background: #fff7ef; color: #c2410c; line-height: 1.3; }
.pan-tu-van b { font-size: 15.5px; }
.pan-tu-van span { width: 100%; font-size: 12.5px; color: var(--pan-mut); }
.pan-tu-van:hover { background: #ffedd5; }
.pan-bong-chat { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 28px; padding: 12px 18px; background: #F97316; color: #fff; font-size: 20px; box-shadow: 0 6px 18px rgba(249,115,22,.45); }
.pan-bong-chat span { font-size: 15px; font-weight: 700; }
.pan-bong-chat:hover { background: #ea670c; }
.pan-khung-chat[hidden] { display: none; }
.pan-khung-chat { position: fixed; right: 18px; bottom: 18px; z-index: 140; width: 370px; height: min(600px, calc(100vh - 36px)); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.3); background: #fff; }
.pan-khung-chat iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 849px) {
  .pan-bong-chat { right: 12px; bottom: 66px; padding: 10px 14px; }
  .pan-khung-chat { inset: 0; width: auto; height: auto; border-radius: 0; }
}

/* ===== Trang rieng (gioi thieu, tai ve, lien he, keu goi cuoi bai) - lay tu CSS rieng web cu ===== */
/* ===== Trang gioi thieu ===== */
.trang-bai.loai-page { background: var(--pan-bg); }
.pan-gt { padding-top: 14px; padding-bottom: 6px; }
.pan-gt-hero { background: linear-gradient(120deg, #fff7f0 0%, #fff 60%); border: 1px solid #fbe3d0; border-radius: 10px; padding: 26px 28px; margin-bottom: 14px; }
.pan-gt-tag { display: inline-block; background: var(--pan-g); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; }
.pan-gt-hero h1 { font-size: 30px; font-weight: 800; color: var(--pan-txt); margin: 10px 0 6px; }
.pan-gt-hero > p { font-size: 15.5px; color: var(--pan-mut); max-width: 760px; margin-bottom: 18px; }
.pan-gt-so { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pan-gt-so div { background: #fff; border: 1px solid var(--pan-line); border-radius: 8px; padding: 12px 14px; }
.pan-gt-so b { display: block; font-size: 22px; font-weight: 800; color: var(--pan-g); line-height: 1.2; }
.pan-gt-so span { font-size: 13px; color: var(--pan-mut); }
.pan-gt-nd p { font-size: 15px; line-height: 1.7; margin-bottom: .8em; }
.pan-gt-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pan-gt-mem { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; border: 1px solid var(--pan-line); border-radius: 10px; padding: 18px 10px; }
.pan-gt-av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #e0401a, #9e0f15); margin-bottom: 6px; }
.pan-gt-mem b { font-size: 15.5px; }
.pan-gt-mem small { font-size: 13px; color: var(--pan-mut); }
.pan-gt-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #fff; border-left: 4px solid var(--pan-g); border-radius: 8px; padding: 16px 20px; margin-bottom: 14px; }
.pan-gt-cta b { display: block; font-size: 17px; }
.pan-gt-cta span { font-size: 14px; color: var(--pan-mut); }
.pan-cta-lg a { height: 42px; font-size: 15px; padding: 0 18px; }
.pan-gt-cta span a { color: var(--pan-g); font-weight: 600; }
.pan-gt-lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pan-gt-lv a { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--pan-line); border-top: 3px solid var(--pan-g); border-radius: 8px; padding: 12px 14px; color: var(--pan-txt) !important; transition: .15s; }
.pan-gt-lv a:hover { box-shadow: 0 6px 16px rgba(0,0,0,.07); border-color: #f3c1bd; border-top-color: var(--pan-g); }
.pan-gt-lv b { font-size: 15.5px; }
.pan-gt-lv span { font-size: 13.5px; color: var(--pan-mut); line-height: 1.55; }
.pan-gt-qt { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: qt; }
.pan-gt-qt li { counter-increment: qt; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 44px 10px 12px; margin: 0; background: #fff7f0; border-radius: 8px; text-align: center; }
.pan-gt-qt li::before { content: counter(qt); position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--pan-g); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.pan-gt-qt b { font-size: 14px; }
.pan-gt-qt span { font-size: 12.5px; color: var(--pan-mut); line-height: 1.5; }
.pan-gt-vs { list-style: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.pan-gt-vs li { position: relative; padding-left: 26px; margin: 0; font-size: 14.5px; line-height: 1.55; }
.pan-gt-vs li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--pan-moc); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.pan-gt-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.pan-gt-3 div { background: #fff; border-radius: 8px; padding: 16px 18px; border-left: 4px solid var(--pan-r); }
.pan-gt-3 b { display: block; font-size: 16px; text-transform: uppercase; color: var(--pan-g); margin-bottom: 4px; }
.pan-gt-3 span { font-size: 14px; color: var(--pan-txt); line-height: 1.55; }
@media (max-width: 849px) {
  .pan-gt-hero { padding: 18px 16px; }
  .pan-gt-hero h1 { font-size: 22px; }
  .pan-gt-so { grid-template-columns: 1fr 1fr; }
  .pan-gt-team { grid-template-columns: 1fr; }
  .pan-gt-lv, .pan-gt-vs, .pan-gt-3 { grid-template-columns: 1fr; }
  .pan-gt-qt { grid-template-columns: 1fr 1fr; }
}

/* ===== Trang tai lieu & phan mem (/tai-ve/) ===== */
.pan-tv { max-width: 1000px; margin: 0 auto 30px; }
.pan-tv-head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.pan-tv-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.pan-tv-head p { margin: 0; color: var(--pan-mut); font-size: 14px; }
.pan-tv-head p a { color: var(--pan-price); font-weight: 700; }
.pan-tv-tim { max-width: 280px; height: 40px; margin: 0; border: 1.5px solid var(--pan-line); border-radius: 8px; box-shadow: none; font-size: 14px; }
.pan-tv-tim:focus { border-color: var(--pan-g); }
.pan-tv-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pan-tv-tabs button { margin: 0; min-height: 0; padding: 6px 14px; border-radius: 16px; border: 1px solid var(--pan-line); background: #fff; color: var(--pan-txt); font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.4; }
.pan-tv-tabs button span { font-size: 11.5px; color: var(--pan-mut); }
.pan-tv-tabs button.on { background: var(--pan-g); border-color: var(--pan-g); color: #fff; }
.pan-tv-tabs button.on span { color: #fde2e0; }
.pan-tv-grid { display: grid; gap: 6px; }
.pan-tv-i { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--pan-line); border-radius: 8px; padding: 8px 12px; transition: border-color .15s, box-shadow .15s; }
.pan-tv-i:hover { border-color: #f3c1bd; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.pan-tv-i[hidden] { display: none; }
.pan-tv-ic { flex: 0 0 30px; display: flex; align-items: center; justify-content: center; }
.pan-tv-ic svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.08)); }
.pan-tv-zip, .pan-tv-rar, .pan-tv-7z { background: #b5651d; }
.pan-tv-pdf { background: #c8161d; }
.pan-tv-doc { background: #2b579a; }
.pan-tv-xls { background: #217346; }
.pan-tv-ppt { background: #d24726; }
.pan-tv-exe, .pan-tv-iso, .pan-tv-apk { background: #5d4b44; }
.pan-tv-link { background: var(--pan-r); }
.pan-tv-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pan-tv-b b { font-size: 14.5px; line-height: 1.35; color: var(--pan-txt); }
.pan-tv-mt { color: var(--pan-mut); }
.pan-tv-meta { font-size: 12.5px; line-height: 1.4; color: #8f8580; }
.pan-tv-act { display: flex; flex-direction: column; align-items: stretch; gap: 2px; flex: 0 0 150px; text-align: center; }
.pan-tv-btn { display: flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border-radius: 6px; background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff !important; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pan-tv-btn:hover { filter: brightness(1.06); }
.pan-tv-btn { font-size: 13.5px; }
.pan-tv-src { font-size: 11px; color: #8f8580; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pan-tv-rong { text-align: center; color: var(--pan-mut); padding: 20px 0; }
@media (max-width: 549px) {
  .pan-tv-tim { max-width: none; width: 100%; }
  .pan-tv-i { flex-wrap: wrap; gap: 10px 12px; }
  .pan-tv-ic { flex-basis: 30px; }
  .pan-tv-b { flex-basis: calc(100% - 44px); }
  .pan-tv-act { flex: 0 0 100%; flex-direction: row-reverse; align-items: center; justify-content: space-between; }
  .pan-tv-btn { width: 120px; }
}
:root {
  --pan-g: #c8161d;
  --pan-g-d: #9e0f15;
  --pan-g-l: #fdeceb;
  --pan-r: #ff6a00;
  --pan-price: #d0021b;
  --pan-moc: #2e9e3e;
  --pan-bg: #f7f3f0;
  --pan-line: #ece4df;
  --pan-txt: #2b2220;
  --pan-mut: #6e625c;
}
body { color: var(--pan-txt); }
/* ===== Trang Lien he + form tu van ===== */
.page-id-89 #main { background: var(--pan-bg); }
.pan-lh-khung { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; margin-bottom: 14px; }
.pan-lh-trai { display: flex; flex-direction: column; gap: 10px; }
.pan-lh-the { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--pan-line); border-radius: 10px; padding: 14px 16px; color: var(--pan-txt) !important; }
a.pan-lh-the:hover { border-color: #f3c1bd; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.pan-lh-the .i { flex: 0 0 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pan-g-l); color: var(--pan-g); font-size: 20px; font-weight: 800; }
.pan-lh-the small { display: block; font-size: 13px; color: var(--pan-mut); }
.pan-lh-the b { display: block; font-size: 19px; color: var(--pan-price); }
.pan-lh-goi .i { background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff; animation: pan-rung 2.4s infinite; }
.pan-lh-zalo .i { font-size: 12px; background: #fff1e6; color: var(--pan-r); }
.pan-lh-zalo b { color: var(--pan-r); }
.pan-lh-tt b { font-size: 15.5px; color: var(--pan-txt); }
.pan-lh-phai { background: #fff; border-radius: 10px; border: 1px solid var(--pan-line); padding: 16px 18px; }
.pan-lh-mo { color: var(--pan-mut); font-size: 14px; margin: -4px 0 10px; }
.pan-lh-ifr { border-radius: 8px; overflow: hidden; line-height: 0; }
.pan-lh-ifr iframe { width: 100%; height: 340px; border: 0; }
.pan-ftv form { margin: 0; }
.pan-ftv-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pan-ftv input, .pan-ftv select, .pan-ftv textarea { width: 100%; border: 1.5px solid var(--pan-line); border-radius: 8px; box-shadow: none; font-size: 14.5px; margin-bottom: 10px; }
.pan-ftv input:focus, .pan-ftv select:focus, .pan-ftv textarea:focus { border-color: var(--pan-g); }
.pan-ftv button { width: 100%; min-height: 46px; margin: 0; border: 0; border-radius: 8px; background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff; font-weight: 800; font-size: 16px; text-transform: none; letter-spacing: 0; }
.pan-ftv-ghi { font-size: 12.5px; color: var(--pan-mut); text-align: center; margin: 8px 0 0; }
.pan-ftv-ok { background: #edf6ea; border: 1px solid #cfe6c8; border-radius: 8px; padding: 16px; font-size: 15px; line-height: 1.6; }
@media (max-width: 849px) { .pan-lh-khung { grid-template-columns: 1fr; } .pan-lh-ifr iframe { height: 260px; } }
@media (max-width: 549px) { .pan-ftv-hang { grid-template-columns: 1fr; gap: 0; } }
.pan-lh-trai > p, .pan-lh-trai > br, .pan-lh-khung > p, .pan-lh-khung > br { display: none; }
.pan-lh-trai p { margin: 0; }
.pan-ftv input, .pan-ftv select { height: 44px; padding: 0 12px; }
.pan-ftv textarea { padding: 10px 12px; }

/* ===== Khung keu goi cuoi bai mo ta san pham ===== */
.pan-cta-bai { margin: 20px 0 6px; padding: 20px 22px; border-radius: 12px; background: linear-gradient(135deg, #fff4ea 0%, #fff 55%, #fdecea 100%); border: 1.5px solid #f7c9a8; position: relative; overflow: hidden; }
.pan-cta-bai::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 26px solid rgba(255,106,0,.07); }
.pan-cta-bai-t { font-size: 20px; font-weight: 800; color: var(--pan-g); line-height: 1.3; margin-bottom: 4px; }
.pan-cta-bai-mo { margin: 0 0 10px; font-size: 15px; color: var(--pan-txt); }
.pan-cta-bai-ds { list-style: none; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.pan-cta-bai-ds li { margin: 0; padding-left: 24px; position: relative; font-size: 14.5px; font-weight: 600; }
.pan-cta-bai-ds li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--pan-moc); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.pan-cta-bai-nut { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.pan-cta-bai-nut a { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: 10px; font-size: 16px; }
.pan-cta-bai-nut .goi { background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff !important; box-shadow: 0 6px 16px rgba(240,90,0,.3); }
.pan-cta-bai-nut .goi span { display: inline-block; animation: pan-rung 2.4s infinite; }
.pan-cta-bai-nut .zalo { background: #fff; color: var(--pan-r) !important; border: 2px solid var(--pan-r); }
.pan-cta-bai-nut .zalo span { font-size: 11px; font-weight: 800; background: var(--pan-r); color: #fff; border-radius: 4px; padding: 1px 5px; }
.pan-cta-bai-nut a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pan-cta-bai-gio { margin: 10px 0 0; font-size: 12.5px; color: var(--pan-mut); }
@media (max-width: 549px) { .pan-cta-bai-ds { grid-template-columns: 1fr; } .pan-cta-bai-nut a { width: 100%; justify-content: center; } .pan-cta-bai-t { font-size: 18px; } }

/* lien ket noi bo ma san pham */
a.pan-lk { color: var(--pan-g) !important; font-weight: 600; border-bottom: 1px dashed rgba(200,22,29,.45); }
a.pan-lk:hover { border-bottom-style: solid; }


.pan-bao-gui { border-radius: 8px; padding: 12px 16px; margin: 0 0 12px; font-weight: 600; }
.pan-bao-gui.tot { background: #ecfdf3; border: 1px solid #86efac; color: #166534; }
.pan-bao-gui.loi { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.pan-bay { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pan-ft ul { padding-left: 0; }
.pan-tin-ngang.khong-anh { grid-template-columns: 1fr !important; }

/* ===================== 1:1 voi web cu (so do lay tu web dang chay 20/11) ===================== */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/tinh/font/roboto-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url(/tinh/font/roboto-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* phong du phong cung kich thuoc Roboto: luc phong chua tai xong chu khong to hon roi thu nho lai */
@font-face { font-family: 'Roboto Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 100.3%; ascent-override: 92.4%; descent-override: 24.4%; line-gap-override: 0%; }
body { font-family: Roboto, 'Roboto Fallback', sans-serif; font-size: 16px; line-height: 1.6; color: #2b2220; -webkit-font-smoothing: antialiased; }
.pan-khung { max-width: 1210px; padding: 0 15px; }
/* thanh tren */
.pan-tren { background: #fbf6f2; border-bottom: 0; font-size: 13.5px; }
.pan-tren-hang { min-height: 46px; }
.pan-top-i { color: #6e625c; }
.pan-top-call { padding-left: 2px; }
.pan-top-call svg { width: 22px; height: 22px; flex: 0 0 22px; padding: 4px; border-radius: 50%; background: #d0021b; color: #fff; animation: pan-rung 2.4s infinite; }
.pan-top-call::after { content: ""; position: absolute; left: 2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(208,2,27,.45); animation: pan-song 2.4s infinite; pointer-events: none; }
.pan-top-i > svg:not(:first-child), .pan-top-i:not(.pan-top-call) svg { color: #d0021b; flex: 0 0 15px; }
.pan-top-zalo i { background: #ff6a00; }
.pan-menu-tren > li { margin: 0 7px; }
.pan-menu-tren > li:first-child { margin-left: 0; }
.pan-menu-tren > li:last-child { margin-right: 0; }
.pan-menu-tren > li > a { padding: 5px 0; line-height: 36px; font-size: 13.5px; font-weight: 500; letter-spacing: .27px; color: rgba(74,74,74,.85); }
/* dong giua */
.pan-giua-hang { min-height: 78px; gap: 0; }
.pan-logo { flex: 0 0 180px; }
.pan-logo img { height: 78px; width: auto; }
.pan-tim { max-width: 620px; }
.pan-tim input[type=search] { height: 42px; padding: 0 10.5px; font-size: 14px; border-width: 2px; }
.pan-tim button { height: 42px; min-width: 56px; background: #c8161d; }
.pan-hd-contact { gap: 18px; }
.pan-hd-c i { width: 38px; height: 38px; background: #fdeceb; color: #c8161d; }
.pan-hd-c b { font-size: 15px; font-weight: 700; color: #d0021b; }
.pan-hd-c.zalo b { color: #ff6a00; }
/* thanh do */
.pan-xanh-hang { min-height: 44px; }
.pan-doc { width: 260px; }
.pan-doc-mo { padding: 12px 15px; min-height: 44px; background: #9e0f15; color: #f1f1f1; font-family: "Be Vietnam Pro", Roboto, 'Roboto Fallback', Arial, sans-serif; font-size: 14px; font-weight: 700; }
.pan-doc-ds { padding: 0; border-radius: 0 0 6px 6px; box-shadow: 1px 1px 15px rgba(0,0,0,.15); }
.pan-doc-ds > li + li { border-top: 1px solid #ececec; }
.pan-doc-ds > li > a { padding: 10px 15px; font-family: "Be Vietnam Pro", Roboto, 'Roboto Fallback', Arial, sans-serif; font-size: 14.5px; font-weight: 500; line-height: 23.2px; }
.pan-usp { gap: 22px; font-size: 13.5px; font-weight: 500; }
.pan-usp span::before { content: "✓"; color: #ffe082; margin-right: 6px; font-weight: 700; }
/* trang chu: hero sat thanh do, menu doc phu cot trai */
@media (min-width: 850px) {
  .trang-chu .pan-doc.mo-san .pan-doc-ds { height: auto; border: 0; box-shadow: 1px 1px 15px rgba(0,0,0,.15); }
  .trang-chu .pan-hero-main, .trang-chu .pan-hero-side { margin-top: 0; height: 380px; }
}
/* chan trang */
.pan-ft { margin-top: 0; }
.pan-ft-grid { padding-top: 30px; padding-bottom: 22px; gap: 32px; }
.pan-ft-info li { line-height: 21px; }
/* nut noi (giong plugin pan-chat-web cua web cu) */
/* PAN – Chat website (tong do – cam theo website, diem xanh "dang online") */
.pcw-cum, .pcw-khung { --pcw-do: #c8161d; --pcw-do2: #9b0f15; --pcw-cam: #ff6a00; --pcw-chu: #1f2937; --pcw-mo: #6b7280; --pcw-vien: #ececec; --pcw-xanh: #22c55e; font-family: inherit; box-sizing: border-box; }
.pcw-khung *, .pcw-cum * { box-sizing: border-box; }

/* ---- cum nut noi goc phai: loi moi / goi / chat ---- */
.pcw-cum { position: fixed; right: 20px; bottom: 20px; z-index: 99990; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.pcw-nut { position: relative; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 24px 0 18px; border: 0; border-radius: 30px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a00 0%, var(--pcw-cam) 35%, var(--pcw-do) 100%); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .2px;
  box-shadow: 0 10px 28px rgba(200,22,29,.42), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .18s, box-shadow .18s; }
.pcw-nut:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(200,22,29,.5); }
.pcw-nut svg { width: 30px; height: 30px; fill: #fff; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.pcw-nut svg .pcw-cham { fill: var(--pcw-do); }
.pcw-online { position: absolute; left: 38px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--pcw-xanh); border: 2px solid #fff; }
.pcw-online::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--pcw-xanh); opacity: .5; animation: pcw-nhip 1.8s ease-out infinite; }
.pcw-dem { position: absolute; top: -6px; right: -4px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #fff; color: var(--pcw-do); font-size: 13px; line-height: 24px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pcw-cum:not(.pcw-dang-mo) .pcw-nut::after { content: ""; position: absolute; inset: -5px; border-radius: 35px; border: 2px solid rgba(255,106,0,.5); animation: pcw-song 2.4s ease-out infinite; pointer-events: none; }
.pcw-cum:not(.pcw-dang-mo) .pcw-nut { animation: pcw-lac-nhe 7s ease-in-out 3s infinite; }
.pcw-nut.pcw-lac { animation: pcw-lac-manh 1s ease-in-out 3 !important; }
.pcw-cum.pcw-dang-mo .pcw-nhan, .pcw-cum.pcw-dang-mo .pcw-online { display: none; }
.pcw-cum.pcw-dang-mo .pcw-nut { padding: 0 15px; }

/* nut goi: bieu tuong tron, rung chuong + song lan */
.pcw-goi { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 60px; height: 60px; margin-right: 0; border-radius: 30px; text-decoration: none !important;
  background: radial-gradient(circle at 30% 30%, #ff9a3c, var(--pcw-cam) 45%, var(--pcw-do) 100%); color: #fff; box-shadow: 0 10px 26px rgba(200,22,29,.4); transition: width .25s ease; overflow: visible; }
.pcw-goi svg { position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; fill: #fff; animation: pcw-rung 2.2s ease-in-out infinite; transform-origin: 50% 50%; }
.pcw-goi::before, .pcw-goi::after { content: ""; position: absolute; right: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,106,0,.55); animation: pcw-song 2s ease-out infinite; pointer-events: none; }
.pcw-goi::after { animation-delay: 1s; }
.pcw-nhan-goi { opacity: 0; white-space: nowrap; font-size: 15px; font-weight: 700; padding: 0 64px 0 20px; transition: opacity .2s; pointer-events: none; }
.pcw-nhan-goi b { font-weight: 900; }
.pcw-goi:hover { width: 250px; }
.pcw-goi:hover .pcw-nhan-goi { opacity: 1; }
.pcw-cum.pcw-dang-mo .pcw-goi { display: none; }

/* bong bong loi moi */
.pcw-moi { position: relative; max-width: 260px; margin-bottom: -4px; padding: 12px 34px 12px 14px; background: #fff; color: var(--pcw-chu); border-radius: 16px 16px 4px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.18);
  font-size: 14px; line-height: 1.4; font-weight: 600; cursor: pointer; border: 1px solid #f3e1d8; animation: pcw-hien .45s cubic-bezier(.2,1.4,.4,1); }
.pcw-moi[hidden] { display: none !important; }
.pcw-moi::after { content: ""; position: absolute; right: 26px; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.pcw-moi-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #f3f4f6; color: var(--pcw-mo); font-size: 11px; line-height: 22px; cursor: pointer; padding: 0; margin: 0; }
.pcw-moi-x:hover { background: #e5e7eb; }

@keyframes pcw-song { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes pcw-nhip { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pcw-rung { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-18deg); } 10%, 20%, 30% { transform: rotate(18deg); } }
@keyframes pcw-lac-nhe { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-4deg); } 92% { transform: rotate(4deg); } 94% { transform: rotate(-3deg); } 96% { transform: rotate(2deg); } }
@keyframes pcw-lac-manh { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-8deg) scale(1.06); } 40% { transform: rotate(8deg) scale(1.06); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(4deg); } }
/* hieu ung xuat hien KHONG dung opacity: neu trinh duyet tam dung hieu ung (tab an / cua so bi che) van nhin thay */
@keyframes pcw-hien { from { transform: translateY(12px) scale(.9); } to { transform: none; } }
@keyframes pcw-mo-khung { from { transform: translateY(16px) scale(.97); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pcw-cum *, .pcw-cum *::before, .pcw-cum *::after, .pcw-cum .pcw-nut, .pcw-khung { animation: none !important; } }

/* ---- khung chat ---- */
.pcw-khung { position: fixed; right: 20px; bottom: 96px; z-index: 99991; width: 370px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 120px);
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); color: var(--pcw-chu); font-size: 14px; line-height: 1.45;
  animation: pcw-mo-khung .25s ease-out; }
.pcw-khung[hidden], .pcw-khung form[hidden] { display: none !important; }
.pcw-dau { display: flex; align-items: center; gap: 11px; padding: 14px 12px 14px 14px; background: linear-gradient(135deg, var(--pcw-do) 0%, var(--pcw-do2) 70%, #7a0b10 100%); color: #fff; position: relative; }
.pcw-dau::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--pcw-cam), #ffd166, var(--pcw-cam)); }
.pcw-avt { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pcw-avt img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; }
.pcw-avt i { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--pcw-xanh); border: 2px solid #fff; }
.pcw-tt { flex: 1; min-width: 0; } .pcw-tt b { display: block; font-size: 16px; }
.pcw-tt small { display: block; opacity: .92; font-size: 12px; }
.pcw-dau-goi { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); flex: none; }
.pcw-dau-goi svg { width: 19px; height: 19px; fill: #fff; } .pcw-dau-goi:hover { background: rgba(255,255,255,.28); }
.pcw-dong { border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; padding: 4px 7px; border-radius: 8px; margin: 0; } .pcw-dong:hover { background: rgba(255,255,255,.15); }
.pcw-tin { flex: 1; overflow-y: auto; padding: 14px 12px; background: #fbf7f4; display: flex; flex-direction: column; gap: 8px; }
.pcw-b { max-width: 82%; padding: 9px 12px; border-radius: 16px; word-wrap: break-word; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.pcw-hang-nv { align-self: flex-start; display: flex; align-items: flex-end; gap: 8px; max-width: 90%; }
.pcw-hang-nv .pcw-b { max-width: none; min-width: 0; }
.pcw-av { width: 32px; height: 32px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); margin-bottom: 2px; }
.pcw-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcw-av-chu { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--pcw-cam), var(--pcw-do)); color: #fff; font-weight: 800; font-size: 14px; }
.pcw-nv { align-self: flex-start; background: #fff; border: 1px solid var(--pcw-vien); border-bottom-left-radius: 4px; }
.pcw-khach { align-self: flex-end; background: linear-gradient(135deg, var(--pcw-cam), var(--pcw-do)); color: #fff; border-bottom-right-radius: 4px; }
.pcw-khach a { color: #fff; }
.pcw-ai { display: block; font-size: 11.5px; font-weight: 800; color: var(--pcw-do); margin-bottom: 1px; }
.pcw-nd { white-space: pre-wrap; }
.pcw-b time { display: block; font-size: 10.5px; opacity: .65; text-align: right; margin-top: 2px; }
.pcw-bao { align-self: center; font-size: 12px; color: #b91c1c; background: #fee2e2; padding: 4px 10px; border-radius: 10px; }
.pcw-bd { padding: 12px 14px 14px; border-top: 1px solid var(--pcw-vien); display: flex; flex-direction: column; gap: 8px; }
.pcw-bd p { margin: 0; font-size: 12.5px; color: var(--pcw-mo); }
.pcw-goi-y { display: flex; flex-wrap: wrap; gap: 6px; }
.pcw-chip { text-transform: none !important; letter-spacing: 0 !important; min-height: 0 !important; border: 1px solid #fbd5c0; background: #fff7f2; color: #9a3412; border-radius: 16px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; line-height: 1.3; transition: all .15s; }
.pcw-chip:hover { border-color: var(--pcw-cam); background: #ffedd5; }
.pcw-chip.pcw-chon { background: linear-gradient(135deg, var(--pcw-cam), var(--pcw-do)); color: #fff; border-color: transparent; }
.pcw-bd input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 11px; font: inherit; margin: 0; }
.pcw-bd input:focus, .pcw-nhap textarea:focus { outline: 2px solid rgba(255,106,0,.35); border-color: var(--pcw-cam); }
.pcw-bd button[type=submit] { height: 44px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #ff8a00, var(--pcw-cam) 35%, var(--pcw-do)); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; margin: 0; box-shadow: 0 6px 16px rgba(200,22,29,.3); }
.pcw-bd button[type=submit]:disabled { opacity: .6; }
.pcw-loi { color: #b91c1c; }
.pcw-loi:empty { display: none; }
.pcw-khung form, .pcw-khung .pcw-bd p, .pcw-khung .pcw-bd input { margin: 0 !important; } /* giao dien website hay them le duoi -> khoang trang thua */
.pcw-hang2 { display: flex; gap: 8px; } .pcw-hang2 input { flex: 1; min-width: 0; }
.pcw-bd button[type=submit] { text-transform: none !important; letter-spacing: 0 !important; }
.pcw-tin { min-height: 110px; }
.pcw-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.pcw-nhap { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--pcw-vien); margin: 0; }
.pcw-nhap textarea { flex: 1; resize: none; min-height: 42px; max-height: 110px; padding: 10px 12px; border: 1px solid #d6d6d6; border-radius: 13px; font: inherit; margin: 0; box-shadow: none; }
.pcw-nhap button { width: 44px; height: 42px; flex: none; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--pcw-cam), var(--pcw-do)); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; }
.pcw-nhap button svg { width: 20px; height: 20px; fill: #fff; }

/* nut "Chat" thay cho "Chat Zalo" o thanh menu duoi / thanh nut trang san pham (dien thoai) */
.pcw-mo-chat { position: relative; }
.pan-mnav a.pcw-mo-chat svg { color: var(--pcw-do, #c8161d); }
.pan-sp-bar a.pcw-mo-chat { background: linear-gradient(135deg, #ff6a00, #c8161d) !important; color: #fff !important; }
.pcw-dem2 { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #c8161d; color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; font-style: normal; }
.pan-sp-bar .pcw-dem2 { background: #fff; color: #c8161d; top: -6px; left: auto; right: 8px; }

/* dien thoai */
@media (max-width: 849px) {
  .pcw-cum { right: 12px; bottom: 76px; gap: 10px; }
  .pcw-nut { height: 54px; padding: 0 13px; } .pcw-nut .pcw-nhan { display: none; } .pcw-online { left: 32px; top: 9px; }
  .pcw-goi { width: 54px !important; height: 54px; } .pcw-goi::before, .pcw-goi::after { width: 54px; height: 54px; } .pcw-goi svg { right: 13px; top: 13px; } .pcw-nhan-goi { display: none; }
  .pcw-moi { max-width: 220px; font-size: 13px; }
  /* khung dang "tam truot tu duoi len", cao ~60% man hinh – van thay trang web phia tren */
  .pcw-khung { right: 8px; left: 8px; width: auto; max-width: none; bottom: 140px; top: auto; height: 60vh; height: 60dvh; min-height: 360px; max-height: 600px; border-radius: 18px; }
  .pcw-dau { padding: 9px 8px 9px 12px; gap: 9px; }
  .pcw-avt { width: 36px; height: 36px; font-size: 18px; } .pcw-avt img { width: 30px; height: 30px; } .pcw-avt i { width: 10px; height: 10px; }
  .pcw-tt b { font-size: 15px; line-height: 1.25; } .pcw-tt small { font-size: 11.5px; }
  .pcw-dau-goi { width: 34px; height: 34px; } .pcw-dau-goi svg { width: 17px; height: 17px; }
  .pcw-tin { padding: 10px 10px; gap: 7px; }
  .pcw-b { padding: 7px 11px; }
  .pcw-av { width: 28px; height: 28px; } .pcw-av-chu { font-size: 12px; }
  .pcw-bd { padding: 10px 12px 12px; gap: 7px; }
  .pcw-bd p { font-size: 12px; }
  .pcw-goi-y { gap: 5px; }
  .pcw-chip { padding: 4px 9px; font-size: 12.5px; }
  .pcw-bd button[type=submit] { height: 42px; }
  .pcw-nhap { padding: 8px 10px; }
  /* iPhone tu phong to ca trang khi bam vao o nhap co chu < 16px -> de 16px */
  .pcw-khung .pcw-bd input, .pcw-khung .pcw-nhap textarea { font-size: 16px !important; }
  .pcw-bd input { height: 42px; }
  .pcw-nhap textarea { min-height: 40px; padding: 8px 12px; }
  .pcw-nhap button { height: 40px; width: 42px; }
  /* da co nut Goi + Chat o thanh duoi -> an cum nut noi, khung chat sat thanh duoi */
  body.pcw-co-nav .pcw-cum { display: none !important; }
  body.pcw-co-nav .pcw-khung { bottom: 70px; }
  /* ban phim dang mo (JS dat --pcw-vv-*): khung vua dung phan man hinh con thay */
  .pcw-khung.pcw-co-phim { top: var(--pcw-vv-top) !important; bottom: auto !important; height: var(--pcw-vv-cao) !important; min-height: 0; max-height: none; }
  .pcw-khung.pcw-co-phim .pcw-dau small { display: none; }
}

.pcw-cum[hidden] { display: none !important; }
@media (max-width: 849px) { .pcw-cum { bottom: 66px; } }

/* ===== Trang bai viet 1:1 (Flatsome blog-single, do 20/11) ===== */
.trang-bai.loai-post .pan-than { padding: 30px 0; background: #fff; }
.bv-hang { max-width: 1240px; margin: 0 auto; display: flex; }
.bv-chinh { flex: 0 0 75%; max-width: 75%; padding: 0 30px 30px; }
.bv-phu { flex: 0 0 25%; max-width: 25%; padding: 0 30px 30px; border-left: 1px solid #ececec; }
.bv-the { background: #fff; box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24); margin-bottom: 30px; }
.bv-dau-chu { padding: 24px; }
.bv-cm { margin: 0 0 5.6px; font-size: 11.2px; line-height: 11.76px; font-weight: 700; letter-spacing: .56px; text-transform: uppercase; }
.bv-cm a { color: #2b2220; }
.bv-h1 { margin: 0 0 13.6px; font-size: 27.2px; line-height: 35.36px; font-weight: 700; color: #0a0a0a; }
.bv-gach { width: 30px; height: 3px; background: rgba(0,0,0,.1); margin: 16px 0; }
.bv-anh { position: relative; }
.bv-anh img { display: block; width: 100%; height: auto; }
.bv-ngay { position: absolute; top: 36px; left: -6.4px; width: 45px; height: 45px; }
.bv-ngay-o { width: 45px; height: 45px; padding: 2px; border: 2px solid #c8161d; background: #fff; color: #c8161d; font-weight: 700; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.bv-ngay-d { font-size: 16px; line-height: 14px; }
.bv-ngay-t { font-size: 12.8px; line-height: 11px; }
.bv-noi { padding: 22.5px; font-size: 15px; line-height: 24px; }
.bv-noi p, .bv-noi ol, .bv-noi ul { margin: 0 0 19.5px; }
.bv-noi code { font-family: monospace; font-size: 13.5px; background: #f1f1f1; padding: 3.2px 8px; margin: 0 3.2px; border-radius: 4px; }
.bv-tac-gia { display: flex; align-items: flex-start; gap: 15px; padding: 32px 24px; border-top: 1px solid #ececec; }
.bv-tg-anh svg { display: block; border-radius: 50%; }
.bv-tg-ten { margin: 0 0 8px; padding-top: 15px; font-size: 16px; line-height: 19.2px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #0a0a0a; }
.bv-truoc-sau { display: flex; justify-content: space-between; align-items: center; min-height: 88px; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; }
.bv-truoc-sau > div { flex: 1; padding: 0 15px; }
.bv-truoc-sau .phai { text-align: right; }
.bv-truoc-sau a { color: #2b2220; font-size: 16px; }
.bv-mui { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 2px; }
.bv-mui.trai { transform: rotate(-135deg); }
.bv-bl { padding: 16px 26px 30px; }
.bv-bl-t { margin: 0 0 10px; font-size: 19.2px; line-height: 30.72px; font-weight: 800; color: #0a0a0a; }
.pan-bl-ghi { font-size: 14px; color: #6e625c; margin: 0 0 14px; }
.bv-bl-f textarea, .bv-bl-f input[type=text], .bv-bl-f input[type=email] { display: block; width: 100%; border: 1px solid #ddd; border-radius: 8px; font-size: 14.5px; color: #333; background: #fff; margin: 0 0 14.5px; }
.bv-bl-f textarea { height: 120px; padding: 10px 10.9px; }
.bv-bl-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.bv-bl-f input[type=text], .bv-bl-f input[type=email] { height: 36px; padding: 0 10.9px; }
.bv-gui { height: 42px; padding: 0 22px; border: 0; border-radius: 8px; background: linear-gradient(#ff7a1a, #f05a00); color: #fff; font-size: 15.52px; font-weight: 800; cursor: pointer; }
.bv-w { margin: 0 0 24px; }
.bv-w-t { display: block; padding-top: 3px; font-size: 16px; line-height: 16.8px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #2b2220; }
.bv-w-gach { width: 30px; height: 3px; background: rgba(0,0,0,.1); margin: 10.56px 0 16px; }
.bv-w ul { list-style: none; margin: 0; padding: 0; }
.bv-moi li { display: flex; align-items: flex-start; gap: 15px; padding: 10px 0; border-bottom: 1px solid #ececec; }
.bv-moi li:last-child { border-bottom: 0; }
.bv-moi-o { flex: 0 0 45px; }
.bv-moi-anh { width: 45px; height: 45px; background-size: cover; background-position: center; }
.bv-moi a { color: #2b2220; font-size: 16px; line-height: 19.2px; display: block; margin-bottom: 6px; }
.bv-dm li { border-top: 1px solid #ececec; padding: 6px 0; }
.bv-dm li:first-child { border-top: 0; }
.bv-dm a { color: #2b2220; }
@media (max-width: 849px) {
  .bv-hang { display: block; }
  .bv-chinh, .bv-phu { max-width: none; padding: 0 15px 30px; border-left: 0; }
  .bv-h1 { font-size: 22px; line-height: 1.3; }
  .bv-bl-hang { grid-template-columns: 1fr; }
}
/* tinh chinh sau khi do lech (20/11) */
.pan-xanh-hang { height: 44px; min-height: 0; }
.pan-doc-mo { height: 44px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.pan-top-l { position: relative; top: -2px; }
.pan-tim { max-width: 616px; }
.pan-tim input[type=search] { color: #2b2220; }
.bv-cm { color: #0a0a0a; }
.bv-w-t { padding-top: 0; margin-top: 3px; line-height: 19px; }
.bv-w-gach { margin: 14px 0 16px; }
.bv-moi li { padding-bottom: 12.8px; }
.pcw-nut { margin: 0 16px 16px 0; text-transform: uppercase; line-height: 38.4px; }

/* noi dung bai: kieu chu co ban cua giao dien cu (pre, ol, ul) + hang chia se */
.bv-noi pre { background: #f1f1f1; padding: 20px; margin: 15px 0 19.5px; border: 1px solid #ddd; overflow-x: auto; white-space: pre-wrap; }
.bv-noi pre code { display: block; background: none; padding: 0; margin: 0; line-height: 21.6px; border-radius: 0; }
.bv-noi ol, .bv-noi ul { padding: 0; }
.bv-noi li { margin-left: 1.3em; }
.bv-noi li p { margin: 0 0 19.5px; }
.bv-chia-se { text-align: center; }
.bv-gach-giua { width: 30px; height: 3px; background: rgba(0,0,0,.1); margin: 15px auto; }
.bv-cs-hang { display: flex; justify-content: center; gap: 2px; height: 28.4px; }
.bv-cs-hang a { width: 28px; height: 28px; border: 2px solid #c0c0c0; border-radius: 50%; color: #c0c0c0; display: inline-flex; align-items: center; justify-content: center; }
.bv-cs-hang a:hover { background: #c0c0c0; color: #fff; }
.bv-noi pre code { padding: 3.2px 8px; margin: 0 3.2px; }
.bv-chia-se { padding-top: 15px; }
.bv-gach-giua { margin: 0 auto 15px; }
.pan-bl-ghi { margin: 0 0 5.6px; line-height: 22.4px; }
.bv-bl-f textarea { margin-bottom: 22px; }
.bv-gui { margin-top: 14.5px; line-height: 37.248px; }
.bv-moi li { padding-bottom: 11.2px; }
.pan-ft-grid::after { content: ""; grid-column: 1 / -1; }
.bv-noi pre { white-space: pre; }
.bv-noi pre code { padding: 16px 24px; white-space: pre; }
.bv-bl { background: rgba(0,0,0,.05); border: 1px solid #ece4df; border-radius: 10px; padding: 15px 25px 0; margin: 0; }
.bv-bl-f { padding-bottom: 20.8px; }
.pan-bl-ghi { font-size: 12.5px; line-height: 20px; color: #6e625c; margin: 0 0 8px; }
.bv-bl-f textarea, .bv-bl-f input[type=text], .bv-bl-f input[type=email] { border-color: #ece4df; }

/* ===== Thanh nut duoi man hinh dien thoai ===== */
.pan-mnav, .pan-mtim { display: none; }
@media (max-width: 849px) {
  .pan-mnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.1); padding-bottom: env(safe-area-inset-bottom); }
  .pan-mnav-i { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; height: 58px; padding-bottom: 7px; color: var(--pan-mut) !important; font-size: 11px; font-weight: 600; }
  .pan-mnav-i.on { color: var(--pan-g) !important; }
  .pan-mnav-call { color: var(--pan-r) !important; }
  .pan-mnav-call i { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: -22px; box-shadow: 0 4px 12px rgba(240,90,0,.4); border: 3px solid #fff; animation: pan-rung 2.4s infinite; }
  .pan-mnav-zalo { font-size: 10.5px; font-weight: 800; color: var(--pan-r); border: 1.8px solid var(--pan-r); border-radius: 6px; padding: 1px 4px; line-height: 1.3; }
  .pan-mtim:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 58px; z-index: 97; background: #fff; padding: 10px 12px; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
  .pan-mtim form { display: flex; margin: 0; }
  .pan-mtim input[type=search] { flex: 1; height: 42px; margin: 0; border: 2px solid var(--pan-g); border-right: 0; border-radius: 6px 0 0 6px; font-size: 16px; box-shadow: none; }
  .pan-mtim button { height: 42px; margin: 0; background: var(--pan-g); color: #fff; border-radius: 0 6px 6px 0; padding: 0 16px; }
  body:not(.trang-san-pham) { padding-bottom: 58px; }
  .wp-elce { display: none !important; }
  .back-to-top { bottom: 70px !important; }
}
@keyframes pan-rung { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }


/* dien thoai 1:1: dau trang 70px (logo giua, menu trai, goi phai), khong o tim / thanh do, an nut chat noi; noi dung bai 16px */
.pan-thanh-duoi { display: none !important; }
@media (max-width: 849px) {
  body { padding-bottom: 58px; }
  .pan-giua-hang { min-height: 70px; height: 70px; padding: 0 15px; flex-wrap: nowrap; }
  .pan-giua-hang > .pan-tim { display: none; }
  .pan-logo { flex: 0 0 auto; margin: 0 auto; }
  .pan-logo img { height: 70px; width: auto; }
  .pan-nut-menu { padding: 0; width: 24px; }
  .pan-hd-dt i { width: 38px; height: 38px; font-size: 20px; }
  .pcw-cum { display: none !important; }
  .trang-bai.loai-post .pan-than { padding: 30px 0; }
  .bv-chinh { padding: 0 15px 30px; }
  .bv-dau-chu { padding: 24px; }
  .bv-h1 { font-size: 22.4px; line-height: 29.12px; margin: 0 0 11.2px; }
  .bv-noi { padding: 24px; font-size: 16px; line-height: 25.6px; }
  .bv-noi p, .bv-noi ol, .bv-noi ul, .bv-noi li p { margin: 0 0 20.8px; }
}
@media (max-width: 849px) { .pan-giua-hang { position: relative; } .pan-logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; } .pan-hd-dt { margin-left: auto; } }

/* ===== Trang danh muc + san pham 1:1 (CSS rieng web cu) ===== */
/* the san pham (ap dung ca trang danh muc) */
.product-small.col { padding-bottom: 10px; }
.product-small .col-inner { height: 100%; }
.product-small .box { background: #fff; border: 1px solid var(--pan-line); border-radius: 8px; overflow: hidden; height: 100%; transition: box-shadow .15s, border-color .15s; display: flex; flex-direction: column; }
.product-small .box:hover { border-color: #f3c1bd; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.product-small .box-image { padding: 8px; background: #fff; width: 100%; }
.product-small .box-text { padding: 6px 10px 12px; text-align: left !important; flex: 1; display: flex; flex-direction: column; }
.product-small .box-text .title-wrapper { flex: 1; }
.product-small .name.product-title { font-size: 14px; line-height: 1.35; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 6px; }
.product-small .name.product-title a { color: var(--pan-txt); }
.product-small .price-wrapper .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.product-small .price ins { order: 1; text-decoration: none; }
.product-small .price del { order: 2; font-size: 12.5px; color: #8a949a; opacity: 1; }
.product-small .price ins .amount, .product-small .price > .amount { font-size: 16px; font-weight: 800; color: var(--pan-price); }
.product-small .price del .amount { color: #8a949a; }
.badge-container { margin: 8px 0 0 8px !important; }
.badge-inner.on-sale { background: var(--pan-price) !important; border-radius: 4px; font-size: 12px; font-weight: 700; padding: 2px 6px; }
.product-small .pan-glh { font-size: 12px; }

/* ===== Trang chi tiet san pham ===== */
.single-product #main { background: var(--pan-bg); }
.single-product .product-main { background: #fff; border-radius: 8px; margin: 12px auto 14px; max-width: 1240px; padding: 18px 6px 10px; }
.single-product .product-info .breadcrumbs { font-size: 12.5px; text-transform: none; }
.single-product .product-title { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--pan-txt); }
.single-product .product-info .is-divider { display: none; }
.pan-sp-ma { font-size: 13px; color: var(--pan-mut); margin: -4px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.pan-sp-ma span { color: var(--pan-line); }
.pan-sp-ma a { color: var(--pan-g); font-weight: 600; }
.pan-sp-gia { background: linear-gradient(90deg, #fff4ee, #fff); border: 1px solid #ffe0cf; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.pan-sp-gia-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pan-sp-gia-now, .pan-sp-gia-now .amount { font-size: 28px; font-weight: 800; color: var(--pan-price); line-height: 1.1; }
.pan-sp-gia del { color: #8f8580; font-size: 15px; }
.pan-sp-gia-off { background: var(--pan-price); color: #fff; font-weight: 700; font-size: 13px; padding: 2px 7px; border-radius: 4px; }
.pan-sp-gia-save { font-size: 13.5px; color: var(--pan-mut); margin-top: 4px; }
.pan-sp-gia-save b { color: var(--pan-price); }
.pan-sp-gia-ny { font-size: 12.5px; color: var(--pan-mut); margin-top: 4px; }
.pan-sp-gia-lh { font-size: 15px; }
.pan-sp-gia-lh b { color: var(--pan-price); font-size: 18px; }
.single-product .product-short-description { font-size: 14.5px; line-height: 1.6; }
.single-product .product-short-description p { margin-bottom: .4em; }
.pan-sp-kho { font-size: 14px; margin: 8px 0 12px; }
.pan-sp-kho .con { color: var(--pan-moc); }
.pan-sp-kho .het { color: var(--pan-r); }
.pan-sp-kho { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pan-sp-bh b { color: var(--pan-moc); }
.pan-sp-side-sub { font-size: 12.5px; color: var(--pan-mut); margin: 6px 0 0; }
/* mo ta + khung "san pham ban dang xem" dung yen khi cuon */
.pan-pf { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.pan-pf-side { position: sticky; top: 16px; }
.pan-dangxem { background: #fff; border: 1.5px dashed #f5b38f; border-radius: 8px; padding: 14px 16px 16px; text-align: center; margin-bottom: 14px; }
.pan-dangxem-t { font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--pan-g); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--pan-line); }
.pan-dangxem-img img { width: 100%; max-width: 230px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; }
.pan-dangxem-n { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 8px 0 6px; color: var(--pan-txt); }
.pan-dangxem-p { display: flex; justify-content: center; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pan-dangxem-p b, .pan-dangxem-p b .amount { font-size: 22px; font-weight: 800; color: var(--pan-price); }
.pan-dangxem-p del { color: #8f8580; font-size: 14px; }
.pan-dangxem-bh { font-size: 13px; color: var(--pan-moc); font-weight: 600; margin-top: 4px; }
.pan-dangxem-mua { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 12px; border-radius: 8px; background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff !important; font-weight: 800; font-size: 16px; box-shadow: 0 3px 10px rgba(240,90,0,.25); }
.pan-dangxem-zalo { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--pan-r) !important; }
@media (max-width: 849px) { .pan-pf { display: block; } .pan-pf-side { display: none; } }
/* cot phai trang san pham: 4 khung mau */
.pan-sp-side.pan-side-a { display: flex; gap: 12px; align-items: center; background: #edf6ea; border-color: #d7ebd1; }
.pan-side-a i { color: #2d3a2f; flex: 0 0 52px; display: flex; } .pan-side-a i svg { width: 52px; height: 52px; }
.pan-side-a b { display: block; text-transform: uppercase; font-size: 13.5px; color: var(--pan-txt); margin-bottom: 2px; }
.pan-side-a span { font-size: 13px; color: var(--pan-mut); line-height: 1.45; }
.pan-sp-side.pan-side-ck { background: #fff7f0; border-color: #fbe3d0; }
.pan-side-ck-t { font-weight: 800; font-size: 14px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1.5px dashed #e9b99a; }
.pan-side-ck-t .r { color: var(--pan-g); } .pan-side-ck-t .g { color: var(--pan-moc); }
.pan-side-ck ul { list-style: none; margin: 0; }
.pan-side-ck li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; text-transform: uppercase; margin: 0 0 10px; color: var(--pan-txt); }
.pan-side-ck li svg { flex: 0 0 24px; }
.pan-sp-side.pan-side-ht { background: #fffbea; border-color: #f5e8b8; }
.pan-side-ht-t { text-transform: uppercase; color: var(--pan-mut); font-size: 13.5px; margin-bottom: 8px; }
.pan-side-ht-l { font-size: 13.5px; margin-bottom: 6px; line-height: 1.5; }
.pan-side-ht-l a { color: var(--pan-price) !important; font-weight: 800; font-size: 15px; }
.pan-sp-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-bottom: 14px; }
.pan-sp-btns a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 8px; padding: 9px 8px; line-height: 1.25; min-height: 58px; }
.pan-sp-btns b { font-size: 16px; letter-spacing: .3px; }
.pan-sp-btns span { font-size: 12.5px; font-weight: 400; opacity: .95; }
.pan-sp-call { background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff !important; box-shadow: 0 3px 10px rgba(240,90,0,.25); }
.pan-sp-zalo { background: #fff; color: var(--pan-g) !important; border: 2px solid var(--pan-g); }
.pan-sp-btns a:hover { filter: brightness(1.05); transform: translateY(-1px); }
.pan-sp-ud { border: 1px dashed #f5b38f; background: #fffaf6; border-radius: 8px; padding: 10px 14px 6px; margin-bottom: 12px; }
.pan-sp-ud-t { font-weight: 800; color: var(--pan-g); font-size: 14.5px; margin-bottom: 6px; }
.pan-sp-ud ul { margin: 0; list-style: none; }
.pan-sp-ud li { font-size: 14px; margin: 0 0 5px; padding-left: 22px; position: relative; }
.pan-sp-ud li::before { content: "✓"; position: absolute; left: 2px; color: var(--pan-moc); font-weight: 800; }
.single-product .product_meta { font-size: 12.5px; }
.single-product .product_meta .tagged_as { display: none; }
#product-sidebar { padding-top: 4px; }
.pan-sp-side { border: 1px solid var(--pan-line); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
.pan-sp-side-t { font-weight: 800; text-transform: uppercase; font-size: 13.5px; color: var(--pan-g); margin-bottom: 8px; }
.pan-sp-side ul { list-style: none; margin: 0; }
.pan-sp-ck li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin: 0 0 9px; }
.pan-sp-ck svg { color: var(--pan-moc); flex: 0 0 22px; }
.pan-sp-ht li { font-size: 13px; color: var(--pan-mut); margin: 0 0 8px; }
.pan-sp-ht a { display: block; font-size: 17px; font-weight: 800; color: var(--pan-price) !important; }
.single-product .product-footer { background: transparent; }
.single-product .product-footer .container { max-width: 1240px; }
.single-product .product-section { background: #fff; border-radius: 8px; padding: 6px 18px 14px; margin-bottom: 14px; border: 0 !important; }
.single-product .product-section-title { font-size: 18px !important; font-weight: 800; text-transform: uppercase; color: var(--pan-txt) !important; border-left: 4px solid var(--pan-g); padding-left: 10px; margin: 12px 0 14px !important; letter-spacing: 0 !important; }
.single-product .product-section .large-10, .single-product .product-section .large-2 { flex-basis: 100%; max-width: 100%; padding-bottom: 0; }
.single-product .product-main, .single-product .product-footer .container { max-width: 1210px; }
.single-product .product-section .large-2 h5 { font-size: 18px; font-weight: 800; color: var(--pan-txt); border-left: 4px solid var(--pan-g); padding-left: 10px; margin: 14px 0 12px; letter-spacing: 0; }
.single-product .product_meta .sku_wrapper { display: none; }
.single-product #review_form_wrapper .review-form-inner { border: 1px solid var(--pan-line) !important; border-radius: 8px; }
.pan-mota { position: relative; max-height: 720px; overflow: hidden; transition: max-height .3s; }
.pan-mota.mo { max-height: none; }
.pan-anh-bai { margin-top: 18px; }
.pan-anh-bai h3 { font-size: 17px; }
.pan-anh-bai figure { margin: 0 auto 14px; max-width: 620px; text-align: center; }
.pan-anh-bai img { width: 100%; height: auto; border: 1px solid var(--pan-line); border-radius: 8px; }
.pan-anh-bai figcaption { font-size: 13px; color: var(--pan-mut); margin-top: 6px; font-style: italic; }
.pan-mota:not(.mo)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.pan-mota-btn { display: block; margin: 10px auto 4px; background: #fff; border: 1.5px solid var(--pan-g); color: var(--pan-g); border-radius: 20px; padding: 0 22px; font-weight: 700; font-size: 14px; min-height: 36px; text-transform: none; }
.single-product .related { background: #fff; border-radius: 8px; padding: 6px 16px 10px; margin-bottom: 14px; }
.pan-daxem-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pan-daxem-i { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--pan-line); border-radius: 8px; padding: 8px; color: var(--pan-txt) !important; background: #fff; }
.pan-daxem-i:hover { border-color: #f3c1bd; }
.pan-daxem-i img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.pan-daxem-i span { font-size: 13px; line-height: 1.35; height: 2.7em; overflow: hidden; }
.pan-daxem-i b { color: var(--pan-price); font-size: 14px; }
.pan-sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; display: none; grid-template-columns: 1.3fr 1fr; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
.pan-sp-bar a { display: flex; align-items: center; justify-content: center; height: 52px; font-weight: 800; font-size: 15px; }
.pan-sp-bar .c { background: linear-gradient(180deg, #ff7a1a, #f05a00); color: #fff !important; }
.pan-sp-bar .z { color: var(--pan-g) !important; }
@media (max-width: 849px) {
  .pan-sp-bar { display: grid; }
  .single-product .wp-elce { display: none !important; }
  .single-product #wrapper { padding-bottom: 52px; }
  .single-product .product-main { margin: 0 0 10px; border-radius: 0; padding-top: 10px; }
  .single-product .product-title { font-size: 19px; }
  .pan-sp-gia-now, .pan-sp-gia-now .amount { font-size: 24px; }
  .pan-daxem-list { grid-template-columns: repeat(3, 1fr); }
  .single-product .product-section { padding: 4px 12px 10px; border-radius: 0; }
}

/* ===== Trang danh muc ===== */
.archive.woocommerce .category-page-title { background: #fff; }
.category-page-title .page-title-inner { padding-top: 12px; padding-bottom: 4px; min-height: 0; }
.category-page-title .breadcrumbs { font-size: 13px; text-transform: none; letter-spacing: 0; }
.category-page-title .woocommerce-result-count, .category-page-title .woocommerce-ordering { display: none !important; }
.pan-dm-head { background: #fff; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.pan-dm-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pan-dm-title { font-size: 22px; font-weight: 800; margin: 0; color: var(--pan-txt); }
.pan-dm-count { color: var(--pan-mut); font-size: 14px; }
.pan-dm-kids { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pan-dm-kids a { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pan-line); border-radius: 8px; padding: 6px 12px 6px 6px; font-size: 14px; font-weight: 600; color: var(--pan-txt) !important; background: #fff; }
.pan-dm-kids a:hover { border-color: var(--pan-g); color: var(--pan-g) !important; }
.pan-dm-kids img { width: 36px; height: 36px; object-fit: contain; }
.pan-dm-sort { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pan-line); font-size: 14px; }
.pan-dm-sort > span { color: var(--pan-mut); margin-right: 4px; white-space: nowrap; }
/* nut "Goi / Zalo de co gia tot" (tu functions.php) theo mau menh Hoa */
.pan-glh .pan-glh-t { color: var(--pan-price) !important; }
.pan-glh a.pan-glh-call { background: var(--pan-r) !important; color: #fff !important; }
.pan-glh a.pan-glh-zalo { background: #fff !important; color: var(--pan-r) !important; border: 1px solid var(--pan-r); }
.pan-dm-sort a { padding: 5px 12px; border-radius: 16px; border: 1px solid var(--pan-line); color: var(--pan-txt) !important; }
.pan-dm-sort a.on { background: var(--pan-g); border-color: var(--pan-g); color: #fff !important; font-weight: 600; }
.pan-dm-sort a:hover:not(.on) { border-color: var(--pan-g); color: var(--pan-g) !important; }
.archive.woocommerce #shop-sidebar .widget { background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.archive.woocommerce #shop-sidebar .widget-title { font-size: 14px; font-weight: 800; color: var(--pan-g); letter-spacing: 0; }
.archive.woocommerce #shop-sidebar .is-divider { display: none; }
.archive.woocommerce #shop-sidebar .product-categories a { text-transform: none; font-size: 14px; }
/* khung danh muc ben trai */
.archive.woocommerce #shop-sidebar .widget.pan-cdm { padding: 12px 10px 8px; }
#shop-sidebar .pan-cdm-t { font-weight: 800; text-transform: uppercase; font-size: 14px; color: var(--pan-g); padding: 0 6px 10px; margin-bottom: 4px; border-bottom: 2px solid var(--pan-line); }
#shop-sidebar .pan-cdm ul { list-style: none; margin: 0; display: block !important; }
#shop-sidebar .pan-cdm li { margin: 0; padding: 0; border-top: 0; display: block; }
#shop-sidebar .pan-cdm a { display: flex; align-items: center; gap: 8px; padding: 8px 8px; border-radius: 6px; color: var(--pan-txt) !important; font-size: 14.5px; line-height: 1.3; }
#shop-sidebar .pan-cdm a:hover { background: var(--pan-g-l); color: var(--pan-g) !important; }
#shop-sidebar .pan-cdm .n { flex: 1; }
#shop-sidebar .pan-cdm .c { font-size: 11.5px; color: var(--pan-mut); background: var(--pan-bg); border-radius: 10px; padding: 1px 7px; min-width: 24px; text-align: center; }
#shop-sidebar .pan-cdm-l1 > li { border-bottom: 1px solid #f1ebe7; }
#shop-sidebar .pan-cdm-l1 > li:last-child { border-bottom: 0; }
#shop-sidebar .pan-cdm-l1 > li.pan-ic > a::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: var(--pan-moc); -webkit-mask: var(--ic) no-repeat center / contain; mask: var(--ic) no-repeat center / contain; }
#shop-sidebar .pan-cdm-l1 > li.mo > a { font-weight: 700; }
#shop-sidebar .pan-cdm-l2, #shop-sidebar .pan-cdm-l3 { padding: 0 0 6px 30px; }
#shop-sidebar .pan-cdm-l2 a, #shop-sidebar .pan-cdm-l3 a { font-size: 14px; padding: 6px 8px; color: #4d423d !important; }
#shop-sidebar .pan-cdm-l2 a::before, #shop-sidebar .pan-cdm-l3 a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #cdbfb7; flex: 0 0 5px; }
#shop-sidebar .pan-cdm-l3 { padding-left: 14px; }
#shop-sidebar .pan-cdm li.dang > a { background: var(--pan-g-l); color: var(--pan-g) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--pan-g); }
#shop-sidebar .pan-cdm li.dang > a::before { background: var(--pan-g) !important; }
#shop-sidebar .pan-cdm li.dang > a .c { background: #fff; color: var(--pan-g); }
.pan-dm-help .pan-cta { margin-top: 6px; }
#shop-sidebar .pan-cdm ul ul { border-left: 0 !important; margin-left: 0 !important; }
#shop-sidebar .widget_price_filter .button { background: var(--pan-g); border-radius: 6px; color: #fff; }
#shop-sidebar .widget_price_filter .ui-slider .ui-slider-range, #shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle { background: var(--pan-g); }
.pan-dm-mota { background: #fff; border-radius: 8px; padding: 14px 18px 10px; margin-top: 14px; }
.pan-dm-mota .pan-mota { max-height: 300px; }
.pan-dm-mota .term-description h3 { font-size: 18px; }
.pan-dm-help .pan-cta a { height: 32px; font-size: 13px; padding: 0 10px; }
.archive.woocommerce .products .product-small .box { height: 100%; }
.woocommerce-pagination .page-numbers li > .current { background: var(--pan-g); border-color: var(--pan-g); }
@media (max-width: 849px) {
  .pan-dm-head { border-radius: 0; margin: 0 -15px 10px; padding: 12px 15px; }
  .pan-dm-title { font-size: 19px; }
  .pan-dm-kids { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pan-dm-kids a { white-space: nowrap; }
  .pan-dm-sort { flex-wrap: nowrap; overflow-x: auto; }
  .pan-dm-sort a { white-space: nowrap; }
}


/* bo cuc kieu Flatsome (do 20/11): hang 1210, cot trai 25% / phai 75%, luoi 4 cot */
.trang-danh-muc .pan-than { padding: 0; }
.shop-page-title .page-title-inner { padding: 12px 15px 4px; min-height: 32px; display: flex; }
.shop-page-title .pan-moi { margin: 0; font-size: 13px; line-height: 15.6px; font-weight: 700; color: #222; text-transform: none; }
.shop-page-title .pan-moi a { color: #6e625c; font-weight: 400; }
.shop-page-title .pan-moi > span { color: #c9bdb6; font-weight: 400; }
.dm-hang { display: flex; padding-top: 30px; }
.dm-trai { flex: 0 0 25%; max-width: 25%; padding: 0 15px 30px; }
.dm-phai { flex: 0 0 75%; max-width: 75%; padding: 0 15px 30px; }
.dm-hang.pan-khung { padding-left: 0; padding-right: 0; }
#shop-sidebar .widget { background: #fff; border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; }
#shop-sidebar .widget.pan-cdm { padding: 12px 10px 8px; }
#shop-sidebar .widget-title { display: block; font-size: 14px; font-weight: 800; color: #c8161d; text-transform: uppercase; letter-spacing: 0; line-height: 16.8px; margin-bottom: 14px; }
.pan-dm-help { padding: 12px 14px; }
.pan-dm-help .pan-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.pan-dm-help .pan-cta a { display: inline-flex; align-items: center; border-radius: 6px; font-weight: 700; }
/* loc gia: thanh keo 2 dau */
.pan-lg-thanh { position: relative; height: 22px; margin: 0 6px 12px; }
.pan-lg-day { position: absolute; left: 0; right: 0; top: 9px; height: 5px; border-radius: 3px; background: #c8161d; opacity: .55; }
.pan-lg-thanh input[type=range] { position: absolute; left: -6px; right: -6px; width: calc(100% + 12px); top: 0; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.pan-lg-thanh input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #c8161d; border: 0; cursor: pointer; }
.pan-lg-thanh input[type=range]::-moz-range-thumb { pointer-events: auto; width: 15px; height: 15px; border-radius: 50%; background: #c8161d; border: 0; cursor: pointer; }
.pan-lg-duoi { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.pan-lg-duoi .button { background: #c8161d; color: #fff; border: 0; border-radius: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; height: 30px; padding: 0 14px; }
.pan-lg-duoi .price_label span { font-weight: 700; }
/* luoi + the SP (Flatsome product-small) */
.products { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.products > .product-small.col { flex: 0 0 25%; max-width: 25%; padding: 0 9.8px 10px; }
.trang-chu .products > .product-small.col { flex-basis: 20%; max-width: 20%; }
.product-small .col-inner { height: 100%; }
.product-small .box { position: relative; }
.product-small .box-image { position: relative; aspect-ratio: 1; padding: 8px; }
.product-small .box-image a { display: block; width: 100%; height: 100%; }
.product-small .box-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-small .name.product-title { font-size: 14px; line-height: 18.9px; }
.product-small .price-wrapper .price .pan-gia { display: block; font-size: 16px; line-height: 16px; font-weight: 800; color: #d0021b; }
.product-small .pan-sp-giam { position: absolute; left: 8px; top: 8px; z-index: 1; }
/* 2 nut tren the (anh duyet 20/11): Mua ngay cam + Tu van xanh la */
.pan-the-nut { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.pan-the-nut button { height: 32px; border-radius: 6px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; }
.pan-mua-the { border: 0; color: #fff; background: linear-gradient(135deg, #ff8a3d, #f05a00); box-shadow: 0 2px 6px rgba(240,90,0,.25); }
.pan-tv-the { border: 1px solid #9fd3a8; color: #2e9e3e; background: #eef8f0; }
.pan-mua-the:hover { filter: brightness(1.06); } .pan-tv-the:hover { background: #e2f3e5; }
@media (max-width: 549px) { .pan-the-nut { grid-template-columns: 1fr 40px; } .pan-tv-the b { display: none; } }
/* phan trang kieu Flatsome */
.woocommerce-pagination { margin: 4px 0 0; }
.nav-pagination { list-style: none; margin: 0; padding: 0; text-align: center; }
.nav-pagination li { display: inline-block; margin: 0 5.44px 0 0; }
.nav-pagination .page-number { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border: 2px solid #ececec; border-radius: 99px; font-size: 13.6px; font-weight: 700; color: #6e625c; background: #fff; }
.nav-pagination .page-number.current, .nav-pagination a.page-number:hover { background: #c8161d; border-color: #c8161d; color: #fff; }
.nav-pagination .dots { border-color: transparent; background: none; }
@media (max-width: 849px) {
  .dm-hang { display: block; padding-top: 10px; }
  .dm-trai { display: none; }
  .dm-phai { max-width: none; padding: 0 15px 30px; }
  .products > .product-small.col, .trang-chu .products > .product-small.col { flex-basis: 50%; max-width: 50%; }
}
/* tinh chinh trang danh muc (do lech 20/11) */
#shop-sidebar .pan-cdm-l1 { padding: 0; }
#shop-sidebar .pan-cdm-l1 > li > a { font-weight: 500; font-size: 14.5px; }
#shop-sidebar .pan-cdm-l1 > li.mo > a { font-weight: 700; }
.pan-lg-thanh { margin-bottom: 6px; }
.pan-dm-title { width: 100%; }
.pan-dm-top { row-gap: 12px; }
.product-small .box-image { aspect-ratio: auto; padding: 0; }
.product-small .box-image a { position: relative; display: block; height: auto; padding-top: 100%; margin-bottom: 8px; }
.product-small .box-image img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 8px); }
.nav-pagination li { font-size: 13.6px; }
.pan-dm-help .pan-cta { margin-top: 12px; }

/* danh muc tren dien thoai: tieu de trang nen trang, duong dan giua + nut LOC mo cot loc tu trai */
.category-filtering { display: none; }
@media (max-width: 849px) {
  .shop-page-title { background: #fff; }
  .shop-page-title .page-title-inner { flex-direction: column; padding: 12px 15px 4px; min-height: 0; }
  .shop-page-title .pan-moi { text-align: center; padding-top: 5px; }
  .category-filtering { display: block; text-align: center; padding: 10px 0; }
  .filter-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 16px; line-height: 19.2px; letter-spacing: .8px; text-transform: uppercase; color: #2b2220; }
  .dm-hang { padding-top: 30px; }
  .dm-trai { display: block; position: fixed; inset: 0; z-index: 130; max-width: none; padding: 0; pointer-events: none; }
  .dm-trai .dm-nen { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
  .dm-trai #shop-sidebar { position: absolute; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); overflow-y: auto; background: #f7f3f0; padding: 15px; transform: translateX(-100%); transition: transform .25s; }
  .dm-trai.mo { pointer-events: auto; }
  .dm-trai.mo .dm-nen { opacity: 1; }
  .dm-trai.mo #shop-sidebar { transform: none; }
}
@media (max-width: 849px) { .shop-page-title .pan-moi { padding-top: 0; margin-top: 5px; } .shop-page-title .page-title-inner { padding-bottom: 18px; } }

/* ===== Trang san pham 1:1 (do 20/11) ===== */
.trang-san-pham .pan-than { padding: 0; }
.product-main { background: #fff; border-radius: 8px; margin: 12px auto 14px; max-width: 1210px; padding: 18px 6px 10px; }
.product-main > .row { display: flex; }
.product-gallery { flex: 0 0 41.6667%; max-width: 41.6667%; padding: 0 15px; position: relative; }
.product-gallery .pan-sp-anh-lon img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.zoom-button { position: absolute; left: 22px; top: 425px; width: 39px; height: 39px; border: 2px solid #c0c0c0; border-radius: 50%; color: #c0c0c0; display: flex; align-items: center; justify-content: center; }
.product-info { flex: 1 1 auto; padding: 10px 30px 30px 15px; border-right: 1px solid #ececec; }
.product-info .pan-moi { font-size: 12.5px; line-height: 15px; font-weight: 700; color: #222; margin: 0 0 6.25px; }
.product-info .pan-moi a { color: #6e625c; font-weight: 400; }
.product-title { font-size: 22px; line-height: 28.6px; font-weight: 800; color: #2b2220; margin: 0 0 11px; }
.product-short-description { font-size: 14.5px; line-height: 23.2px; }
.product-short-description ul { padding: 0; margin: 0 0 14.5px; }
.product-short-description li { margin: 0 0 8.7px 18.85px; }
.product-short-description p { margin: 0 0 .4em; }
.pan-sp-gia .pan-sp-gia-now .amount { font-size: 28px; line-height: 30.8px; }
.pan-sp-mua2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 0 0 10px; }
.pan-sp-mua2 .pan-mua, .pan-sp-mua2 .pan-tu-van { margin: 0; min-height: 52px; }
.pan-sp-mua2 .pan-tu-van { flex-direction: column; border-color: #9fd3a8; background: #eef8f0; color: #2e9e3e; }
.pan-sp-mua2 .pan-tu-van span { width: auto; color: #4b7a53; }
.product_meta { font-size: 12.5px; line-height: 20px; margin: 0 0 12.5px; display: flex; flex-direction: column; }
.product_meta a { color: #c8161d; }
.sp-chia-se { justify-content: flex-start; height: auto; margin-top: 8px; }
#product-sidebar { flex: 0 0 25%; max-width: 25%; padding: 4px 15px 30px 30px; }
.product-footer > .container { max-width: 1210px; margin: 0 auto; padding: 0 15px; }
.pan-pf { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.product-section { background: #fff; border-radius: 8px; padding: 6px 18px 14px; margin-bottom: 14px; }
.product-section h5 { font-size: 18px; line-height: 21.6px; font-weight: 800; text-transform: uppercase; color: #2b2220; border-left: 4px solid #c8161d; padding-left: 10px; margin: 14px 0 12px; }
.pf-noi { padding: 0 15px; margin: 0 -15px; }
.pf-noi .entry-content { font-size: 15px; line-height: 24px; }
.pf-noi .entry-content p, .pf-noi .entry-content ul, .pf-noi .entry-content ol, .pf-noi .entry-content table { margin: 0 0 19.5px; }
.pf-noi .entry-content ul, .pf-noi .entry-content ol { padding: 0; }
.pf-noi .entry-content li { margin-left: 1.3em; margin-bottom: .6em; }
.pf-noi .entry-content h2 { font-size: 21px; margin: 0 0 12px; }
.pf-noi .entry-content table { width: 100%; border-collapse: collapse; }
.pf-noi .entry-content th, .pf-noi .entry-content td { border-bottom: 1px solid #ececec; padding: 7px 10px 7px 0; text-align: left; font-size: 14px; }
.pf-noi .entry-content th { text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.pan-pf-side { position: sticky; top: 14px; }
.related { background: #fff; border-radius: 8px; padding: 6px 16px 10px; margin-bottom: 14px; }
.product-section-title-related { font-size: 18px; line-height: 21.6px; font-weight: 800; text-transform: uppercase; color: #2b2220; border-left: 4px solid #c8161d; padding: 15px 0 15px 10px; margin: 12px 0 14px; }
.products.lq5 > .product-small.col { flex-basis: 20%; max-width: 20%; }
.dg-t { font-size: 18px; font-weight: 400; margin: 0 0 8px; }
.dg-chua { margin: 0 0 16px; }
.review-form-inner { border: 1px solid #ece4df; border-radius: 8px; padding: 20px 24px; }
.review-form-inner .comment-reply-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.dg-f label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.dg-f select, .dg-f textarea, .dg-f input[type=text], .dg-f input[type=email] { display: block; width: 100%; margin-top: 4px; border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; font: inherit; font-weight: 400; }
.dg-f .required { color: #b20000; }
.pan-sp-bar { display: none; }
@media (max-width: 849px) {
  .product-main { margin: 0; border-radius: 0; padding: 10px 0; }
  .product-main > .row { display: block; }
  .product-gallery, .product-info { max-width: none; padding: 0 15px; border: 0; }
  .zoom-button { display: none; }
  #product-sidebar { display: none; }
  .pan-pf { grid-template-columns: 1fr; }
  .pan-pf-side { display: none; }
  .products.lq5 > .product-small.col { flex-basis: 50%; max-width: 50%; }
  .trang-san-pham .pan-mnav { display: none; }
  .pan-sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; }
}
.pan-sp-kho { margin-top: 12px; }
.product_meta { display: block; }
.product_meta > span { display: block; border-top: 1px dotted #ddd; padding: 5px 0; }
.pan-sp-side ul { padding: 0; }

/* danh gia SP (kieu WooCommerce + giao dien cu, do 20/11) */
.dg-t { font-size: 18.75px; line-height: 30px; font-weight: 700; color: #0a0a0a; margin: 30px 0 10px; }
.dg-chua { font-size: 15px; line-height: 24px; margin: 0 0 19.5px; }
.review-form-inner { margin-top: 29.5px; padding: 30px 49px; font-size: 15px; line-height: 24px; }
.review-form-inner .comment-reply-title { font-size: 18px; line-height: 28.8px; font-weight: 800; color: #0a0a0a; margin: 27px 0 10px; }
.dg-f label { display: block; font-size: 13.5px; line-height: 21.6px; font-weight: 700; color: #222; margin: 0 0 5.4px; }
.dg-sao { margin: 0 0 10px; display: flex; gap: 14px; height: 23px; align-items: center; }
.dg-sao a { display: inline-flex; color: #c8c8c8; }
.dg-sao a svg { fill: currentColor; }
.dg-sao a:hover, .dg-sao a.on { color: #f5a623; }
.dg-an { position: absolute !important; left: -9999px; }
.dg-o { margin: 0; }
.dg-f textarea, .dg-f input[type=text], .dg-f input[type=email] { display: block; width: 100%; font-size: 14.5px; line-height: 23.2px; color: #333; background: #fff; border: 1px solid #ece4df; border-radius: 8px; margin: 0 0 14.5px; }
.dg-f textarea { height: 120px; padding: 10.15px 10.875px 0; }
.dg-f input[type=text], .dg-f input[type=email] { height: 36.34px; padding: 0 10.875px; }
.dg-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.dg-luu { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; margin: 0 0 14px; }
.dg-luu label { display: inline; font-weight: 400; font-size: 14px; margin: 0; }
.dg-gui { height: 42px; padding: 0 22px; border: 0; border-radius: 8px; background: linear-gradient(#ff7a1a, #f05a00); color: #fff; font-size: 14.55px; font-weight: 800; line-height: 34.92px; cursor: pointer; }
.pan-mota-btn { line-height: 33.6px; }
@media (max-width: 849px) { .review-form-inner { padding: 20px 15px; } .dg-hai { grid-template-columns: 1fr; } }
.pf-noi > .panel { padding: 23px 0 22px; }
.dg-chua { margin-bottom: 26.5px; }
.dg-o { margin-bottom: 7.25px; }
.dg-luu { margin-bottom: 24.75px; }
.dg-f { padding-bottom: 36.5px; }
.dg-t { margin-top: 34px; }
.review-form-inner { margin-top: 49.5px; }
.dg-f { padding-bottom: 59.5px; }

/* trang chu: khoi bai viet kieu Flatsome blog_posts + menu doc 40px (do 20/11) */
.pan-doc-ds > li > a { height: 40px; padding: 0 15px; }
.tin-hang { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.tin-hang .post-item { flex: 0 0 25%; max-width: 25%; padding: 0 9.8px 19.6px; }
.box-blog-post .image-cover { position: relative; padding-top: 60%; overflow: hidden; }
.box-blog-post .image-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.box-blog-post .box-text { padding: 10px 2px; font-size: 14.4px; line-height: 23.04px; }
.post-item .post-title { font-size: 15px; line-height: 20.25px; font-weight: 700; color: #0a0a0a; margin: 1.5px 0; }
.post-item .post-title a { color: #0a0a0a; }
.post-item .is-divider { width: 30px; height: 2px; background: rgba(0,0,0,.1); margin: 7.2px 0; }
.from_the_blog_excerpt { margin: 1.44px 0; }
.post-item .button.is-outline { display: inline-block; margin: 11.52px 11.52px 0 0; padding: 0 13.824px; height: 29.23px; line-height: 25.23px; border: 2px solid #c0c0c0; border-radius: 0; color: #c0c0c0; font-size: 11.52px; font-weight: 700; letter-spacing: .3456px; text-transform: uppercase; }
.post-item .button.is-outline:hover { background: #c0c0c0; color: #fff; }
@media (max-width: 849px) { .tin-hang .post-item { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 549px) { .tin-hang .post-item { flex-basis: 100%; max-width: 100%; } }

/* trang chu tren dien thoai: the SP nhu web cu (do 20/11): cot dem 2px, anh dem 8px, chi hien 6 SP / khoi */
@media (max-width: 549px) {
  .pan-block-body .product-small.col { padding: 0 2px 10px; }
  .pan-block-body .product-small.col:nth-child(n+7) { display: none; }
  .pan-block-body .box-image { padding: 8px; }
  .pan-block-body .box-text { font-size: 13.6px; line-height: 21.76px; }
  .pan-block-body .price-wrapper, .pan-block-body .price { line-height: 13.6px; font-size: 13.6px; }
}
@media (max-width: 549px) { .pan-block-body .box-image a { margin-bottom: 0; } .pan-block-body .box-image img { inset: 0; width: 100%; height: 100%; } }
@media (max-width: 849px) { body.trang-chu .pan-than { padding-top: 0; } body.trang-chu .pan-home { padding-bottom: 6px; } }

/* Tin tuc + chuyen muc bai (pan-tt): CSS giao dien rieng cua web cu */
.pan-tt { padding-top: 14px; padding-bottom: 20px; }
.pan-tt-dau { background: #fff; border-radius: 10px; padding: 18px 20px 14px; margin-bottom: 14px; }
.pan-tt-dau h1 { font-size: 26px; font-weight: 800; margin: 0 0 4px; color: var(--pan-txt); }
.pan-tt-dau p { color: var(--pan-mut); font-size: 14.5px; margin: 0 0 12px; }
.pan-tt-loc { display: flex; gap: 8px; flex-wrap: wrap; }
.pan-tt-loc a { padding: 6px 14px; border-radius: 18px; border: 1px solid var(--pan-line); color: var(--pan-txt) !important; font-size: 14px; font-weight: 600; background: #fff; }
.pan-tt-loc a span { font-size: 12px; color: var(--pan-mut); font-weight: 400; }
.pan-tt-loc a.on { background: var(--pan-g); border-color: var(--pan-g); color: #fff !important; }
.pan-tt-loc a.on span { color: #fde2e0; }
.pan-tt-loc a:hover:not(.on) { border-color: var(--pan-g); color: var(--pan-g) !important; }
.pan-tt-khung { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
/* the bai */
.pan-tt-the { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--pan-line); transition: box-shadow .15s, transform .15s; }
.pan-tt-the:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.pan-tt-anh { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3eeea; }
.pan-tt-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pan-tt-the:hover .pan-tt-anh img { transform: scale(1.04); }
.pan-tt-anh-trong { display: block; width: 100%; height: 100%; }
.pan-tt-nd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pan-tt-nhan { align-self: flex-start; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--pan-g) !important; background: var(--pan-g-l); padding: 2px 8px; border-radius: 4px; letter-spacing: .2px; }
.pan-tt-nd h3 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
.pan-tt-nd h3 a { color: var(--pan-txt) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pan-tt-nd h3 a:hover { color: var(--pan-g) !important; }
.pan-tt-nd p { margin: 0; font-size: 13.5px; color: var(--pan-mut); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pan-tt-cuoi { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #8f8580; padding-top: 6px; border-top: 1px solid #f1ebe7; margin-top: 4px; }
.pan-tt-cuoi a { font-weight: 700; color: var(--pan-r) !important; }
/* bai noi bat */
.pan-tt-noi { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
.pan-tt-noi-phu { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.pan-tt-noi-phu .pan-tt-the { flex-direction: row; }
.pan-tt-noi-phu .pan-tt-anh { flex: 0 0 42%; aspect-ratio: auto; }
.pan-tt-noi-phu .pan-tt-nd p { -webkit-line-clamp: 2; flex: 0 0 auto; }
.pan-tt-noi-phu .pan-tt-nd h3 { font-size: 15px; }
.pan-tt-noi-phu .pan-tt-cuoi { margin-top: auto; }
.pan-tt-the.lon .pan-tt-nd h3 { font-size: 20px; }
.pan-tt-the.lon .pan-tt-nd p { -webkit-line-clamp: 3; font-size: 14.5px; }
/* luoi */
.pan-tt-luoi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pan-tt-trang { display: flex; justify-content: center; gap: 6px; margin: 18px 0 4px; }
.pan-tt-trang .page-numbers { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--pan-line); color: var(--pan-txt) !important; font-weight: 600; padding: 0 8px; }
.pan-tt-trang .page-numbers.current { background: var(--pan-g); border-color: var(--pan-g); color: #fff !important; }
.pan-tt-rong { background: #fff; border-radius: 10px; padding: 30px; text-align: center; color: var(--pan-mut); }
/* cot phai */
.pan-tt-phai { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.pan-tt-hop { background: #fff; border-radius: 10px; padding: 14px 16px; border: 1px solid var(--pan-line); }
.pan-tt-hop-t { font-weight: 800; text-transform: uppercase; font-size: 13.5px; color: var(--pan-g); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--pan-line); }
.pan-tt-tim { display: flex; margin: 0; }
.pan-tt-tim input { flex: 1; height: 40px; margin: 0; border: 1.5px solid var(--pan-line); border-right: 0; border-radius: 8px 0 0 8px; box-shadow: none; }
.pan-tt-tim button { height: 40px; margin: 0; min-height: 0; padding: 0 14px; background: var(--pan-g); color: #fff; border-radius: 0 8px 8px 0; }
.pan-tt-ds-cm { list-style: none; margin: 0; }
.pan-tt-ds-cm li { margin: 0; border-bottom: 1px solid #f1ebe7; }
.pan-tt-ds-cm li:last-child { border-bottom: 0; }
.pan-tt-ds-cm a { display: flex; justify-content: space-between; padding: 8px 2px; color: var(--pan-txt) !important; font-size: 14px; }
.pan-tt-ds-cm a:hover { color: var(--pan-g) !important; }
.pan-tt-ds-cm span { font-size: 12px; color: var(--pan-mut); background: var(--pan-bg); border-radius: 10px; padding: 1px 8px; }
.pan-tt-moi { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: var(--pan-txt) !important; border-bottom: 1px solid #f1ebe7; }
.pan-tt-moi:last-child { border-bottom: 0; }
.pan-tt-moi img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: 0 0 64px; }
.pan-tt-moi b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.35; font-weight: 600; }
.pan-tt-moi small { font-size: 12px; color: #8f8580; }
.pan-tt-moi:hover b { color: var(--pan-g); }
.pan-tt-tv { background: linear-gradient(160deg, #fff7f0, #fff); border-color: #fbe3d0; }
.pan-tt-tv p { font-size: 13.5px; color: var(--pan-mut); margin: 0 0 10px; }
@media (max-width: 1099px) { .pan-tt-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 849px) {
  .pan-tt-khung { grid-template-columns: 1fr; }
  .pan-tt-phai { position: static; }
  .pan-tt-noi { grid-template-columns: 1fr; }
  .pan-tt-noi-phu .pan-tt-the { flex-direction: column; }
  .pan-tt-noi-phu .pan-tt-anh { aspect-ratio: 16 / 9; flex: 0 0 auto; }
  .pan-tt-noi-phu { grid-template-rows: none; }
  .pan-tt-dau h1 { font-size: 21px; }
  .pan-tt-loc { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pan-tt-loc a { white-space: nowrap; }
}
@media (max-width: 549px) { .pan-tt-luoi { grid-template-columns: 1fr; } }
.pan-than > .pan-tt { padding-top: 0; }
.pan-tt-ds-cm { padding: 0; }
.pan-tt-loc a, .pan-tt-ds-cm a, .pan-tt-moi { text-decoration: none; }

/* nen duoi chan trang (trang ngan) cung mau day chan trang nhu web cu */
html { background-color: #3a1b18; }
body { background-color: var(--pan-bg); }
.pan-tt-nd h3 { color: #0a0a0a; }

/* trang mau "page-blank" (Gioi thieu, Lien he): noi dung tu co .container nhu Flatsome */
body.mau-blank .pan-than { padding-top: 0; }
.pan-noi-trang > .container { max-width: 1210px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }
.pan-noi-trang > p:empty { display: none; }
/* reset co ban cua Flatsome cho noi dung trang blank */
:where(.pan-noi-trang p) { margin-top: 0; }
.pan-noi-trang p:empty { display: none; }
:where(.pan-noi-trang ul, .pan-noi-trang ol) { padding: 0; }

/* web cu: .pan-cta-lg bi .pan-cta a (dat sau) de len -> nut van 36px */
.pan-cta-lg a { height: 36px; font-size: 13.5px; padding: 0 14px; }
.pan-noi-trang .pan-gt-cta > p { display: contents; }
.pan-noi-trang .pan-gt-cta br, .pan-noi-trang section > br { display: none; }
/* form lien he: kieu o nhap co ban cua Flatsome */
.pan-ftv input, .pan-ftv select, .pan-ftv textarea { color: #333; line-height: 23.2px; }
.pan-ftv textarea { min-height: 120px; }
.pan-ftv button { line-height: 38.4px; }
.pan-ftv .pan-bay { margin: 0 0 8px; height: 0; overflow: hidden; }
.pan-ftv textarea { display: block; }

/* mau "page-blank-title-center" (Tai ve): nen trang, tieu de giua nhu Flatsome (do 20/11) */
body.mau-giua .pan-than { padding: 0; background: #fff; }
.tg-trang { max-width: 1210px; margin: 0 auto; padding: 30px 15px 60px; }
.tg-trang .entry-header { text-align: center; }
.tg-trang .entry-title { font-size: 27.2px; line-height: 35.36px; font-weight: 700; color: #0a0a0a; margin: 0 0 13.6px; }
.tg-trang .is-divider { width: 30px; height: 3px; background: rgba(0,0,0,.1); margin: 16px auto; }
.tg-trang .entry-content { padding: 22.5px 0; font-size: 15px; line-height: 24px; }
.tg-trang .pan-tv-head p { line-height: 22.4px; }
.tg-trang .pan-tv-btn { line-height: 21.6px; }
.tg-trang .pan-tv-src { line-height: 17.6px; }
.tg-trang .pan-tv-tim { max-width: none; width: 100%; height: 36.47px; padding: 0 10.9125px; border: 1px solid #ddd; border-radius: 0; box-shadow: inset 0 1px 2px rgba(0,0,0,.1); font-size: 14.55px; line-height: 23.28px; color: #333; }
/* nen be cho phan noi dung (body trong suot -> phan dem duoi chan trang cung mau nau nhu web cu) */
body { background: transparent; }
.pan-than { background: var(--pan-bg); }
/* the SP: ten chu thuong, gia 0.9em nhu web cu (do 20/11) */
.product-small .name, .product-small .name a { font-weight: 400; }
.products .box-text, .pan-block-body .box-text { font-size: 14.4px; line-height: 23.04px; }
.product-small .price-wrapper .price { font-size: inherit; line-height: 1; }
@media (max-width: 549px) { .products .box-text, .pan-block-body .box-text { font-size: 13.6px; line-height: 21.76px; } }
/* tieu de danh muc nam tren nen trang (ngoai main nhu web cu); muc cuoi duong dan dam */
.shop-page-title { background: #fff; }
.pan-moi > span:last-child { color: inherit; margin: 0; font-weight: inherit; }
/* cot danh muc: bieu tuong xam mo, muc dang xem mau xanh (nhu web cu) */
#shop-sidebar .pan-cdm-l1 > li.pan-ic > a::before { background: #8c8480; opacity: .5; }
#shop-sidebar .pan-cdm-l1 > li.pan-ic.dang > a::before, #shop-sidebar .pan-cdm-l1 > li.pan-ic:hover > a::before { background: var(--pan-moc); opacity: 1; }
/* loc gia: vi tri thanh / nut nhu widget WooCommerce cu (do 20/11) */
#shop-sidebar .widget_price_filter .widget-title { display: block; height: 17px; line-height: 14.7px; margin: 5px 0 4px; }
#shop-sidebar .pan-lg-thanh { margin: -9px 6px 8px; }
#shop-sidebar .pan-lg-duoi { align-items: flex-start; min-height: 42px; }
#shop-sidebar .pan-lg-duoi .button { height: 31px; padding: 0 14.28px; font-size: 11.9px; line-height: 28.56px; }
#shop-sidebar .pan-lg-duoi .price_label { padding-top: 2px; }
#shop-sidebar .pan-lg-duoi .price_label { padding-top: 2px; }

/* nut mua trang SP (gon, 20/11 theo y anh): 1 nut chinh MUA NGAY + hang 3 nut nho Tu van / Goi / Zalo */
.pan-sp-hd { margin: 0 0 14px; }
.pan-sp-hd .pan-mua { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; min-height: 0; margin: 0 0 8px; padding: 0 14px; border: 0; border-radius: 8px; background: linear-gradient(180deg, #ff8a2a, #f97316); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .4px; box-shadow: 0 3px 10px rgba(249,115,22,.28); cursor: pointer; }
.pan-sp-hd .pan-mua:hover { filter: brightness(1.05); }
.pan-sp-hd-phu { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; }
.pan-sp-hd-phu > * { display: flex; align-items: center; justify-content: center; height: 40px; min-height: 0; margin: 0; padding: 0 6px; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; background: #fff; cursor: pointer; text-decoration: none; }
.pan-sp-hd-phu .pan-tu-van { border: 1.5px solid #9fd3a8; background: #eef8f0; color: #2e9e3e; flex-direction: row; width: auto; }
.pan-sp-hd-phu .pan-sp-call { border: 1.5px solid #f9a66c; color: #ea580c !important; background: #fff7ed; box-shadow: none; }
.pan-sp-hd-phu .pan-sp-zalo { border: 1.5px solid var(--pan-g); color: var(--pan-g) !important; }
.pan-sp-hd-phu > *:hover { filter: brightness(.97); }
@media (max-width: 400px) { .pan-sp-hd-phu > * { font-size: 12.5px; padding: 0 4px; } }

/* chan trang: cot them (sua truc tiep) */
.pan-ft-grid.co-4 { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.pan-ft-grid.co-5 { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 24px; }
.pan-ft-grid.co-6 { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr; gap: 20px; }
.pan-ft-lk { list-style: none; margin: 0 0 14px; padding: 0; }
.pan-ft-lk li { margin: 0 0 7px; }
.pan-ft-lk a { color: inherit; }
.pan-ft-lk a:hover { color: var(--pan-g); }
@media (max-width: 849px) { .pan-ft-grid.co-4, .pan-ft-grid.co-5, .pan-ft-grid.co-6 { grid-template-columns: 1fr; } }

/* danh gia SP + binh luan bai (da duyet) */
.dg-sao-hien { display: inline-flex; gap: 2px; vertical-align: middle; }
.dg-sao-hien i { width: 15px; height: 15px; background: #d6d3d1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.8 5.8 6.2.9-4.5 4.4 1 6.2L12 17.4l-5.5 2.9 1-6.2L3 9.7l6.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.8 5.8 6.2.9-4.5 4.4 1 6.2L12 17.4l-5.5 2.9 1-6.2L3 9.7l6.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dg-sao-hien i.on { background: #f59e0b; }
.dg-tom { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 16px 18px; margin: 6px 0 16px; background: #fffaf3; border: 1px solid #f3e1cf; border-radius: 10px; }
.dg-tom-tb { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 120px; }
.dg-tom-tb b { font-size: 38px; line-height: 1; color: #b45309; }
.dg-tom-tb > span { font-size: 14px; color: var(--pan-mut); margin-top: -4px; }
.dg-tom-tb small { color: var(--pan-mut); font-size: 13px; }
.dg-tom-pb { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 5px; }
.dg-pb { display: grid; grid-template-columns: 34px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; color: var(--pan-mut); }
.dg-pb i { height: 8px; background: #eee6df; border-radius: 4px; overflow: hidden; }
.dg-pb i b { display: block; height: 100%; background: #f59e0b; border-radius: 4px; }
.dg-pb em { font-style: normal; text-align: right; }
.dg-ds, .bl-ds { list-style: none; margin: 0 0 20px; padding: 0; }
.dg-mot, .bl-mot { padding: 12px 0; border-bottom: 1px solid #f0e8e2; }
.dg-mot-dau, .bl-dau { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 4px; }
.dg-mot-dau time, .bl-dau time { color: #9a8f89; font-size: 13px; }
.dg-mot p, .bl-mot p { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-line; }
.dg-tl { margin: 8px 0 0 14px; padding: 8px 12px; background: #f4f8f2; border-left: 3px solid var(--pan-moc); border-radius: 0 6px 6px 0; font-size: 14px; line-height: 1.55; white-space: pre-line; }

/* form danh gia moi (20/11): 1 hang 5 sao lon, lien he SDT hoac email, bao loi tai cho */
.review-form-inner { margin-top: 24px; padding: 24px 28px 26px; }
.review-form-inner .comment-reply-title { margin: 0 0 14px; }
.dg-chon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.dg-nhan { width: 100%; font-size: 14px; font-weight: 700; color: #222; }
.dg-5sao { display: inline-flex; gap: 4px; }
.dg-5sao button { background: none; border: 0; padding: 2px; margin: 0; cursor: pointer; line-height: 0; min-height: 0; }
.dg-5sao svg { fill: #d6d3d1; transition: fill .12s, transform .12s; }
.dg-5sao button.on svg, .dg-5sao button.xem svg { fill: #f59e0b; }
.dg-5sao button:hover svg { transform: scale(1.12); }
.dg-sao-chu { font-size: 14px; color: #8a7f7a; min-width: 110px; }
.dg-sao-chu.co { color: #b45309; font-weight: 700; }
.dg-f textarea { height: 110px; }
.dg-luu { align-items: center; }
.dg-loi { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; }
.dg-gui { display: inline-flex; align-items: center; }
.dg-gui[disabled] { opacity: .7; cursor: default; }
.dg-ghi { margin-left: 12px; font-size: 13px; color: #8a7f7a; }
.bl-luu { margin: 8px 0 10px; font-size: 14px; }
@media (max-width: 549px) { .review-form-inner { padding: 18px 14px; } .dg-ghi { display: block; margin: 8px 0 0; } }
.dg-f { padding-bottom: 0; }

/* danh gia: anh dinh kem + nut huu ich */
.dg-them-anh { margin: 0 0 12px; }
.dg-nut-anh { display: inline-flex !important; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px dashed #e7c9a9; border-radius: 8px; background: #fffaf3; color: #9a3412 !important; cursor: pointer; font-weight: 600 !important; margin: 0 !important; }
.dg-nut-anh small { font-weight: 400; color: #8a7f7a; }
.dg-anh-xem, .dg-anh { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dg-anh-xem span { position: relative; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 1px solid #eee6df; }
.dg-anh-xem img, .dg-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-anh-xem button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 22px; padding: 0; cursor: pointer; min-height: 0; }
.dg-anh a { width: 92px; height: 92px; border-radius: 8px; overflow: hidden; border: 1px solid #eee6df; }
.dg-hi { margin-top: 8px; padding: 3px 10px; border: 1px solid #e5ddd7; border-radius: 14px; background: #fff; color: #6e625c; font-size: 13px; cursor: pointer; min-height: 0; line-height: 1.6; }
.dg-hi:hover { border-color: #f59e0b; color: #b45309; }
.dg-hi.da { border-color: #f59e0b; background: #fff7ed; color: #b45309; cursor: default; }

/* nut "Sua trang nay" (chi may nhan vien) */
.pan-nut-sua { position: fixed; left: 14px; bottom: 14px; z-index: 990; display: flex; align-items: center; background: #1e293b; border-radius: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-size: 13.5px; line-height: 1; }
.pan-nut-sua a { color: #fff; padding: 10px 6px 10px 14px; font-weight: 600; text-decoration: none; }
.pan-nut-sua a:hover { color: #fde68a; }
.pan-nut-sua button { background: none; border: 0; margin: 0; min-height: 0; color: #94a3b8; font-size: 17px; line-height: 1; padding: 8px 12px 8px 6px; cursor: pointer; }
.pan-nut-sua button:hover { color: #fff; }
@media (max-width: 849px) { .pan-nut-sua { bottom: 76px; left: 10px; font-size: 13px; } }

/* hang link chinh sach + logo Bo Cong Thuong (chan trang) */
.pan-ft-cs-hang { border-top: 1px solid #eadfd6; }
.pan-ft-cs-hang .pan-khung { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.pan-ft-cs-lk { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.pan-ft-cs-lk a { color: #57534e; text-decoration: none; }
.pan-ft-cs-lk a:hover { color: var(--pan-r, #c8161d); text-decoration: underline; }
.pan-bct { display: block; line-height: 0; flex: 0 0 auto; }
.pan-bct img { width: 133px; height: auto; }
@media (max-width: 849px) { .pan-ft-cs-hang .pan-khung { justify-content: center; } .pan-ft-cs-lk { justify-content: center; gap: 6px 14px; font-size: 13px; } }

/* ===== yeu cau bao gia (gom nhieu SP / goi) + goi lap dat tron goi ===== */
.pan-them-bg { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 0; background: none; border: 0; min-height: 0; color: #1d4ed8; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.pan-them-bg small { color: #78716c; font-weight: normal; }
.pan-them-bg:hover { color: #1e40af; text-decoration: underline; }
.pan-them-bg.da { color: #15803d; }
.pan-bg-nut { position: fixed; left: 16px; bottom: 16px; z-index: 994; }
.pan-bg-nut[hidden] { display: none; }
.pan-bg-nut button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: #1d4ed8; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(29, 78, 216, .35); }
.pan-bg-nut button:hover { background: #1e40af; }
.pan-bg-nut b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: #1d4ed8; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; }
.pan-bg-nut.nay { animation: pan-bg-nay .5s ease; }
@keyframes pan-bg-nay { 40% { transform: scale(1.12); } }
body:has(.pan-bg-nut:not([hidden])) .tb-the { bottom: 72px; }
body:has(.pan-bg-nut:not([hidden])) .pan-nut-sua { bottom: 72px; }
.pan-bg-than { width: min(640px, 100%); }
.pan-bg-than h2 { margin: 0 0 4px; font-size: 20px; }
.pan-bg-mo { margin: 0 0 12px; color: #57534e; font-size: 14px; }
.pan-bg-ds { border: 1px solid #e7e5e4; border-radius: 10px; margin: 0 0 14px; max-height: 260px; overflow-y: auto; }
.pan-bg-dong { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-top: 1px solid #f0eeec; }
.pan-bg-dong:first-child { border-top: 0; }
.pan-bg-dong img, .pan-bg-dong .pan-bg-ic { width: 48px; height: 48px; border-radius: 6px; object-fit: contain; background: #f5f5f4; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pan-bg-dong b { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pan-bg-dong small { color: #b91c1c; font-weight: 600; }
.pan-bg-sl { display: inline-flex; align-items: center; border: 1px solid #d6d3d1; border-radius: 8px; overflow: hidden; }
.pan-bg-sl button { width: 28px; height: 30px; min-height: 0; padding: 0; margin: 0; border: 0; background: #fafaf9; font-size: 16px; cursor: pointer; }
.pan-bg-sl input { width: 44px; height: 30px; border: 0; text-align: center; font-size: 14px; padding: 0; margin: 0; -moz-appearance: textfield; }
.pan-bg-sl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pan-bg-xoa { width: 28px; height: 28px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #a8a29e; font-size: 18px; cursor: pointer; }
.pan-bg-xoa:hover { background: #fee2e2; color: #b91c1c; }
.pan-bg-trong { padding: 14px; text-align: center; color: #78716c; font-size: 14px; }
.pan-bg-tong { padding: 8px 12px; text-align: right; background: #fafaf9; font-size: 13.5px; color: #57534e; border-top: 1px solid #f0eeec; }
.pan-bg-tong b { color: #b91c1c; }
#f-bg label { display: block; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #292524; }
#f-bg label i { color: #dc2626; font-style: normal; }
#f-bg label small { font-weight: normal; color: #a8a29e; }
#f-bg input, #f-bg textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: 40px; padding: 0 10px; border: 1px solid #d6d3d1; border-radius: 8px; font: inherit; font-weight: normal; font-size: 15px; }
#f-bg textarea { height: auto; padding: 8px 10px; resize: vertical; }
#f-bg input:focus, #f-bg textarea:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.pan-bg-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.pan-bg-loi { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; }
.pan-bg-loi[hidden] { display: none; }
.pan-bg-gui { width: 100%; height: 46px; border: 0; border-radius: 10px; background: #1d4ed8; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.pan-bg-gui:hover { background: #1e40af; } .pan-bg-gui[disabled] { opacity: .7; }
.pan-bg-xong { text-align: center; padding: 10px 0 0; }
.pan-bg-xong[hidden], .pan-bg-buoc1[hidden] { display: none; }
.pan-bg-xong-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 30px; line-height: 56px; }
.pan-bg-xong p { color: #44403c; font-size: 15px; }
@media (max-width: 600px) { .pan-bg-2 { grid-template-columns: 1fr; } .pan-bg-dong { grid-template-columns: 40px minmax(0, 1fr) auto; } .pan-bg-dong img, .pan-bg-dong .pan-bg-ic { width: 40px; height: 40px; } .pan-bg-xoa { grid-column: 3; grid-row: 1; align-self: start; } .pan-bg-sl { grid-column: 2; justify-self: start; } .pan-bg-nut { bottom: 84px; left: 10px; } body:has(.pan-bg-nut:not([hidden])) .tb-the { bottom: 138px; } }
.pan-goi-dau { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 0 0 14px; }
.pan-goi-dau .pan-sec-title { margin: 0; }
.pan-goi-mo { margin: 0; color: #78716c; font-size: 14px; }
.pan-goi-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 14px; padding-top: 6px; }
.pan-goi { position: relative; display: flex; flex-direction: column; border: 1.5px solid #ece7e3; border-radius: 12px; padding: 16px; background: #fff; transition: box-shadow .2s, transform .2s; }
.pan-goi:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pan-goi.noi-bat { border-color: #c8161d; box-shadow: 0 6px 20px rgba(200, 22, 29, .12); }
.pan-goi-nb { position: absolute; top: -11px; left: 16px; background: #c8161d; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.pan-goi-anh { margin: -4px -4px 10px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #f5f5f4; }
.pan-goi-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pan-goi h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.pan-goi-mt { margin: 0 0 8px; color: #78716c; font-size: 13.5px; }
.pan-goi-gia { margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; }
.pan-goi-gia b { color: #c8161d; font-size: 22px; }
.pan-goi-gia s { color: #a8a29e; font-size: 14px; }
.pan-goi-hm { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: #44403c; }
.pan-goi-hm li { position: relative; padding: 3px 0 3px 22px; margin: 0; }
.pan-goi-hm li::before { content: "\2713"; position: absolute; left: 0; top: 3px; color: #16a34a; font-weight: 700; }
.pan-goi-nut { margin-top: auto; height: 42px; border: 0; border-radius: 10px; background: #c8161d; color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.pan-goi-nut:hover { background: #a50f16; }
.pan-goi-trang { padding-top: 16px; padding-bottom: 24px; }
.pan-goi-h1 { margin: 6px 0 14px; font-size: 26px; }
.pan-goi-cuoi { margin: 14px 0 0; color: #57534e; }
body:has(#hop-bg:not([hidden])) .pan-bg-nut, body:has(#hop-bg:not([hidden])) .tb-the { display: none; }
.pan-goi-trang .pan-goi-dau .pan-sec-title { display: none; }

/* khoi uy tin: con so, chung nhan dai ly, logo khach hang */
.pan-ut-so { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 6px; }
.pan-ut-o { text-align: center; padding: 16px 10px; border-radius: 12px; background: linear-gradient(180deg, #fff7f5, #fff); border: 1px solid #f3e1dc; }
.pan-ut-o b { display: block; font-size: 30px; line-height: 1.1; color: #c8161d; font-weight: 800; }
.pan-ut-o span { display: block; margin-top: 4px; color: #57534e; font-size: 14px; }
.pan-ut-h { margin: 18px 0 10px; font-size: 16px; color: #292524; }
.pan-ut-cn { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pan-ut-cn-o { display: block; text-decoration: none; color: #44403c; text-align: center; font-size: 13px; }
.pan-ut-cn-o img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 8px; padding: 6px; box-sizing: border-box; }
.pan-ut-cn-o span { display: block; margin-top: 4px; }
.pan-ut-kh { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pan-ut-kh-o { height: 70px; display: flex; align-items: center; justify-content: center; border: 1px solid #ece7e3; border-radius: 10px; background: #fff; padding: 8px; }
.pan-ut-kh-o img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.pan-ut-kh-o:hover img { filter: none; opacity: 1; }
.pan-ut-gt { padding-top: 10px; padding-bottom: 20px; }
