/**
 * giasaurieng.vn — gsr-style.css
 * Nạp SAU gcp-4-style.css. Override bảng màu sang tông "sầu riêng"
 * (vỏ gai xanh đậm + cơm vàng) và thêm các thành phần mới của module gsr.
 * Mọi selector đóng khung trong .gcp-wrap.gsr hoặc .gsr-* nên không đụng phần cà phê.
 */

/* ---------- Bảng màu — lấy từ logo (lá xanh #35a804 · cơm vàng #fccb1a) ---------- */
.gcp-wrap.gsr{
  --ink:#16240d;           /* xanh lá gần đen */
  --bazan:#2a7d10;         /* xanh logo, làm đậm cho chữ/viền */
  --bazan-dark:#123c07;    /* xanh rất đậm — nền footer, hover */
  --cream:#f5f5ea;
  --cream-2:#e7ecd8;
  --paper:#fffef7;
  --gold:#f0b100;          /* vàng cơm sầu riêng */
  --olive:#5c6b4a;
  --slate:#3f6b57;
  --up-text:#2f8a12;  --up-bg:rgba(47,138,18,.12);   /* tăng = xanh, khớp logo */
  --down-text:#c0491f; --down-bg:rgba(192,73,31,.12);
  --line:rgba(22,36,13,.15);

  --gsr-green:#33990a;      /* xanh logo thuần — icon, đường biểu đồ */
  --gsr-husk:#256c0d;       /* nền nút / primary (đủ tương phản chữ trắng) */
  --gsr-husk-dark:#123c07;
  --gsr-ripe:#f0b100;       /* vàng nhấn */
  --gsr-ripe-deep:#9a6807;  /* vàng đậm cho nhãn nhỏ */
  --gsr-ripe-soft:#fbedc4;  /* vàng nhạt — dải biểu đồ, tag */
  --gsr-leaf-soft:#e6f2d9;  /* xanh nhạt — nền chip, tag vùng */
}

/* ---------- Chống CSS Flatsome lấn vào component gsr (nút, input viết hoa/đậm lộn xộn) ---------- */
.gcp-wrap.gsr{ font-family:'Be Vietnam Pro', system-ui, -apple-system, sans-serif; }
.gcp-wrap.gsr button,
.gcp-wrap.gsr .gsr-btn,
.gcp-wrap.gsr .gsr-chip,
.gcp-wrap.gsr .gsr-pill,
.gcp-wrap.gsr a.gsr-btn{ text-transform:none !important; letter-spacing:normal !important; font-family:'Be Vietnam Pro', system-ui, sans-serif !important; }
.gcp-wrap.gsr .gsr-chip{ white-space:nowrap; }
.gcp-wrap.gsr input,
.gcp-wrap.gsr select,
.gcp-wrap.gsr textarea{
  font-family:'Be Vietnam Pro', system-ui, sans-serif !important;
  font-weight:400 !important; font-size:16px !important; text-transform:none !important; letter-spacing:normal !important;
  box-shadow:none !important; -webkit-appearance:none; appearance:none; color:var(--ink) !important;
  line-height:1.5; text-shadow:none !important;
}
.gcp-wrap.gsr ::placeholder{ font-weight:400 !important; opacity:.5; color:var(--ink); }
.gcp-wrap.gsr select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23256c0d' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; padding-right:36px;
}
.gcp-wrap.gsr label{ text-transform:none; font-weight:inherit; }

/* Dấu tiếng Việt (mũ, huyền, hỏi…) bị cắt ở đầu chữ -> bỏ overflow:hidden + nới line-height */
.gcp-wrap.gsr{ overflow:visible; }
.gcp-wrap.gsr h1, .gcp-wrap.gsr h2, .gcp-wrap.gsr h3,
.gcp-wrap.gsr .hero-title, .gcp-wrap.gsr .gcp-post-title, .gcp-wrap.gsr .gsr-card-title{
  font-family:'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif !important;
  line-height:1.32;
}
.gcp-wrap.gsr .gcp-hero{ padding-top:44px; overflow:visible; }

/* ---------- Hero: split headline + snapshot ---------- */
.gsr-hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:end;}
@media (max-width:880px){ .gsr-hero-grid{grid-template-columns:1fr; gap:28px;} }
.gcp-wrap.gsr .gsr-h1{font-size:clamp(1.5rem,3.4vw,2.2rem); line-height:1.3; font-weight:800; max-width:none;}
.gcp-wrap.gsr .hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:22px;}
.gsr-btn{display:inline-flex; align-items:center; gap:7px; padding:11px 18px; border-radius:11px; font-weight:700; font-size:.85rem; text-decoration:none; border:1.5px solid transparent;}
.gsr-btn-primary{background:var(--gsr-husk); color:#fff;}
.gsr-btn-primary:hover{background:var(--bazan-dark);}
.gsr-btn-ghost{border-color:var(--line); color:var(--ink);}
.gsr-btn-ghost:hover{border-color:var(--gsr-husk); color:var(--gsr-husk);}

.gsr-snap{background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:0 18px 40px -20px rgba(23,61,39,.3); overflow:hidden;}
.gsr-snap-head{display:flex; justify-content:space-between; align-items:center; padding:12px 18px; background:var(--cream-2); border-bottom:1px solid var(--line); font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bazan-dark);}
.gsr-snap-big{font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:1.7rem; letter-spacing:-.02em; padding:18px 18px 2px;}
.gsr-snap-sub{padding:0 18px 14px; font-size:.78rem; opacity:.65;}
.gsr-snap-cells{display:grid; grid-template-columns:1fr 1fr 1fr; border-top:1px solid var(--line);}
.gsr-snap-cells > div{padding:12px 14px; border-right:1px solid var(--line); display:flex; flex-direction:column; gap:3px;}
.gsr-snap-cells > div:last-child{border-right:0;}
.gsr-snap-cells .k{font-size:.62rem; text-transform:uppercase; letter-spacing:.09em; opacity:.6;}
.gsr-snap-cells .v{font-weight:700; font-size:.95rem;}

/* ---------- Bộ lọc bảng giá ---------- */
.gsr-controls{display:flex; flex-direction:column; gap:12px; margin-bottom:16px;}
.gsr-chips{display:flex; flex-wrap:wrap; gap:7px;}
.gsr-chip{border:1.5px solid var(--line); background:var(--paper); color:var(--ink); opacity:.72; padding:6px 13px; border-radius:999px; font-size:.8rem; font-weight:600; cursor:pointer; font-family:inherit; transition:.14s;}
.gsr-chip:hover{opacity:1;}
.gsr-chip.is-on{background:var(--gsr-husk); border-color:var(--gsr-husk); color:#fff; opacity:1;}
.gsr-search{position:relative; display:flex; align-items:center; max-width:280px;}
.gsr-search svg{position:absolute; left:11px; opacity:.5;}
.gsr-search input{font-family:inherit; font-size:.85rem; padding:8px 12px 8px 32px; border:1.5px solid var(--line); border-radius:10px; background:var(--paper); color:var(--ink); width:100%;}

/* ---------- Bảng giá gsr ---------- */
.gcp-wrap.gsr .gsr-table td, .gcp-wrap.gsr .gsr-table th{font-size:.9rem;}
.gsr-prod{font-weight:700;}
.gsr-prod .ten-ghichu{display:block; font-weight:400; font-size:.72rem; opacity:.55; margin-top:2px;}
.gsr-region-tag{font-family:'IBM Plex Mono',monospace; font-size:.72rem; font-weight:600; color:var(--gsr-husk); background:var(--gsr-leaf-soft); padding:3px 8px; border-radius:6px; white-space:nowrap;}
.gsr-table .change-cell.up{color:var(--up-text);}
.gsr-table .change-cell.down{color:var(--down-text);}
.gsr-table .change-cell.flat{opacity:.55;}
.gsr-empty{padding:26px; text-align:center; opacity:.6; font-size:.9rem;}
.gsr-ut-tag{display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:.6rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--gsr-ripe-deep,#9a6807); background:var(--gsr-ripe-soft); border:1px solid color-mix(in srgb,var(--gsr-ripe) 35%,transparent); padding:1px 6px; border-radius:5px; vertical-align:middle;}
.gcp-wrap.gsr .gsr-table tr.gsr-row-ut td.price-cell{opacity:.82;}
.gsr-ut-note{margin-top:10px; font-size:.78rem; line-height:1.6; opacity:.72; display:flex; gap:8px; align-items:baseline; flex-wrap:wrap;}
.gcp-wrap.gsr [hidden]{ display:none !important; }   /* bộ lọc JS đặt tr.hidden — thắng mọi override */
.gsr-table-foot{margin-top:10px; font-size:.75rem; opacity:.6;}

/* ---------- Thẻ vùng ---------- */
.gsr-region-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px;}
.gsr-rcard{display:flex; flex-direction:column; gap:8px; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:16px 18px; text-decoration:none; color:var(--ink); transition:.15s;}
.gsr-rcard:hover{border-color:var(--gsr-husk); transform:translateY(-2px);}
.gsr-rcard-top{display:flex; justify-content:space-between; font-weight:700;}
.gsr-rcard-top span{color:var(--gsr-husk);}
.gsr-rcard-price{font-weight:700; font-size:.95rem;}
.gsr-rcard-meta{font-size:.72rem; opacity:.6;}

/* ---------- Biểu đồ ---------- */
.gcp-wrap.gsr #gsrChart{width:100%; height:auto; display:block;}
.gcp-wrap.gsr #gsrChart .gsr-grid{stroke:var(--line); stroke-width:1;}
.gcp-wrap.gsr #gsrChart .gsr-axis{font-family:'IBM Plex Mono',monospace; font-size:11px; fill:var(--ink); opacity:.55;}
.gcp-wrap.gsr #gsrChart .gsr-band{fill:var(--gsr-ripe-soft); opacity:.55;}
.gcp-wrap.gsr #gsrChart .gsr-line-hi{fill:none; stroke:var(--gsr-ripe); stroke-width:2.5; stroke-linejoin:round;}
.gcp-wrap.gsr #gsrChart .gsr-line-lo{fill:none; stroke:var(--gsr-husk); stroke-width:2.5; stroke-linejoin:round;}
.gcp-wrap.gsr #gsrChart .gsr-dot-hi{fill:var(--gsr-ripe);}
.gcp-wrap.gsr #gsrChart .gsr-dot-lo{fill:var(--gsr-husk);}
.gcp-wrap.gsr .gsr-chart-legend{display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:12px;}
.gcp-wrap.gsr .gsr-cl{display:inline-flex; align-items:center; gap:7px; font-size:.85rem; font-weight:600;}
.gcp-wrap.gsr .gsr-cl i{width:12px; height:12px; border-radius:3px; flex:0 0 auto;}
.gcp-wrap.gsr .gsr-cl b{font-weight:700;}

/* ---------- Tác giả ---------- */
.gsr-author{display:flex; gap:14px; align-items:flex-start; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:18px; margin-top:22px;}
.gsr-author-av{width:42px; height:42px; flex:none; border-radius:11px; background:var(--gsr-husk); color:#fff; display:grid; place-items:center; font-weight:800;}
.gsr-author-n{font-weight:700;}
.gsr-author-m{font-size:.82rem; opacity:.65; margin-top:2px;}

/* ---------- FAQ ---------- */
.gsr-faq{border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--paper);}
.gsr-faq details{border-bottom:1px solid var(--line);}
.gsr-faq details:last-child{border-bottom:0;}
.gsr-faq summary{padding:15px 18px; cursor:pointer; font-weight:700; font-size:.92rem; list-style:none; display:flex; justify-content:space-between; gap:12px; align-items:center;}
.gsr-faq summary::-webkit-details-marker{display:none;}
.gsr-faq summary::after{content:"+"; font-family:'IBM Plex Mono',monospace; color:var(--gsr-husk); font-size:1.1rem;}
.gsr-faq details[open] summary::after{content:"\2013";}
.gsr-faq details[open] summary{color:var(--gsr-husk);}
.gsr-faq-a{padding:0 18px 16px; font-size:.88rem; opacity:.78;}

/* ---------- Footer ---------- */
/* [gsr_footer] xuất qua wp_footer -> ẩn hẳn footer mặc định của Flatsome */
#footer, .footer-wrapper, .absolute-footer{display:none !important;}
.gsr-footer-mount{display:block; width:100%;}

.gsr-footer{background:var(--bazan-dark); color:#e9f2df; border-radius:0; padding:52px 0 30px;}
.gsr-footer .gcp-inner{max-width:1120px; margin:0 auto; padding:0 24px;}
.gsr-foot-top{display:flex; align-items:center; gap:16px;}
.gsr-foot-mark{width:40px; height:40px; flex:0 0 auto;}
.gsr-foot-brand{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.3rem; letter-spacing:-.01em; color:#fff;}
.gsr-foot-brand span{color:var(--gsr-ripe);}
.gsr-foot-tag{font-size:.9rem; opacity:.72; margin:2px 0 0;}
.gsr-foot-hr{border:0; border-top:1px solid rgba(255,255,255,.16); margin:24px 0;}
.gsr-foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px;}
@media (max-width:860px){ .gsr-foot-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .gsr-foot-grid{grid-template-columns:1fr;} }
.gsr-foot-about p{font-size:.9rem; line-height:1.7; opacity:.78; margin:0; max-width:42ch;}
.gsr-footer h4{font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gsr-ripe); margin:0 0 14px; opacity:.95;}
.gsr-footer ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
.gsr-footer a{color:#e9f2df; opacity:.82; text-decoration:none; font-size:.9rem; transition:opacity .12s, color .12s;}
.gsr-footer a:hover{opacity:1; color:#fff;}
.gsr-foot-disc{font-size:.82rem; line-height:1.65; opacity:.62; margin:0; max-width:none;}
.gsr-foot-disc strong{color:var(--gsr-ripe); opacity:.85; font-weight:600;}
.gsr-foot-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; font-size:.8rem; opacity:.6;}
.gsr-foot-bottom-links{display:flex; gap:20px;}
@media (max-width:860px){ .gsr-foot-top{align-items:flex-start;} }

/* ---------- Cẩm nang chi tiết ---------- */
.gsr-guide{max-width:760px;}
.gsr-guide > h2{font-size:clamp(1.5rem,3.2vw,2rem); line-height:1.3; margin:0;}
.gsr-guide h3{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.08rem; line-height:1.4; color:var(--ink); margin:24px 0 8px;}
.gsr-guide h3:first-of-type{margin-top:18px;}
.gsr-guide p{line-height:1.78; margin:0 0 12px; color:var(--ink); opacity:.9;}
.gsr-guide .gcp-inline-link{color:var(--gsr-husk); font-weight:600; text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--gsr-husk) 35%,transparent); text-underline-offset:2px;}
.gsr-guide .gcp-inline-link:hover{text-decoration-color:var(--gsr-husk);}

/* ---------- Trang Giới thiệu ---------- */
.gsr-about .gsr-prose h2{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.25rem; line-height:1.35; margin:30px 0 10px;}
.gsr-about .gsr-prose h2:first-child{margin-top:6px;}
.gsr-about-updated{font-size:.72rem; opacity:.55; margin-top:14px;}
.gsr-about-method{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; margin:14px 0 16px;}
@media (max-width:600px){ .gsr-about-method{grid-template-columns:1fr;} }
.gsr-about-method > div{background:var(--paper); padding:16px 18px; display:flex; flex-direction:column; gap:5px;}
.gsr-about-method .k{font-family:'IBM Plex Mono',monospace; font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--bazan-dark); opacity:.85;}
.gsr-about-method .v{font-size:.9rem; line-height:1.6; opacity:.88;}
.gsr-about-founder{display:flex; gap:16px; align-items:flex-start; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:20px; margin:12px 0 16px;}
.gsr-about-founder-av{width:44px; height:44px; flex:0 0 auto; border-radius:12px; background:var(--gsr-husk); color:#fff; display:grid; place-items:center; font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.1rem;}
.gsr-about-founder-n{font-weight:700; margin:0 0 6px;}
.gsr-about-founder p{margin:0 0 10px;}
.gsr-about-founder p:last-child{margin-bottom:0;}
@media (max-width:560px){ .gsr-about-founder{flex-direction:column; gap:12px;} }

/* Trang Nhà sáng lập */
.gsr-fp-head{display:flex; gap:20px; align-items:flex-start;}
.gsr-fp-av{width:64px; height:64px; flex:0 0 auto; border-radius:16px; background:var(--gsr-husk); color:#fff; display:grid; place-items:center; font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.6rem;}
.gsr-fp-meta{list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:5px; font-size:.8rem; opacity:.7;}
.gsr-fp-meta a{color:var(--gsr-husk); font-weight:600; text-decoration:none;}
.gsr-fp-list{margin:8px 0 14px; padding-left:0; list-style:none; display:flex; flex-direction:column; gap:10px;}
.gsr-fp-list li{padding-left:20px; position:relative; line-height:1.7; opacity:.9;}
.gsr-fp-list li::before{content:""; position:absolute; left:2px; top:.7em; width:7px; height:7px; border-radius:2px; background:var(--gsr-ripe);}
.gsr-fp-list strong{font-weight:700; opacity:1;}
@media (max-width:560px){ .gsr-fp-head{flex-direction:column; gap:14px;} .gsr-fp-av{width:56px; height:56px; font-size:1.4rem;} }

/* ---------- Trang tĩnh (prose) ---------- */
.gsr-prose{max-width:760px;}
.gsr-prose h2{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.15rem; letter-spacing:-.01em; margin:26px 0 8px; color:var(--ink);}
.gsr-prose h2:first-child{margin-top:0;}
.gsr-prose p{line-height:1.75; margin:0 0 12px; color:var(--ink); opacity:.9;}
.gsr-prose strong{font-weight:700; opacity:1;}
.gsr-step{display:inline-flex; align-items:center; gap:7px; background:var(--paper); border:1px solid var(--line); border-radius:999px; padding:6px 14px; margin:0 8px 8px 0; font-size:.85rem; font-weight:600;}
.gsr-step b{width:20px; height:20px; border-radius:50%; background:var(--gsr-husk); color:#fff; display:grid; place-items:center; font-size:.72rem;}

.gsr-contact-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:6px 20px; box-shadow:var(--shadow,0 18px 40px -20px rgba(23,61,39,.28)); max-width:520px; margin-top:26px;}

/* ==========================================================================
   TRANG LIÊN HỆ (thiết kế riêng)
   ========================================================================== */
.gsr-lh-methods{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px;}
.gsr-lh-method{
  display:flex; flex-direction:column; gap:6px;
  background:var(--paper); border:1px solid var(--line); border-radius:16px;
  padding:22px 20px; text-decoration:none; color:var(--ink); transition:.16s;
}
a.gsr-lh-method:hover{border-color:var(--gsr-husk); transform:translateY(-2px);}
.gsr-lh-ic{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  background:var(--gsr-leaf-soft); color:var(--gsr-husk); margin-bottom:6px;
}
.gsr-lh-k{font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; opacity:.6;}
.gsr-lh-v{font-weight:700; font-size:1.15rem; line-height:1.3;}
.gsr-lh-v--sm{font-size:.95rem; word-break:break-word;}
.gsr-lh-d{font-size:.85rem; opacity:.68; line-height:1.5;}
.gsr-lh-go{margin-top:auto; padding-top:8px; font-size:.85rem; font-weight:700; color:var(--gsr-husk);}
.gsr-lh-method--primary{background:var(--gsr-husk); border-color:var(--gsr-husk); color:#fff;}
.gsr-lh-method--primary .gsr-lh-ic{background:rgba(255,255,255,.16); color:#fff;}
.gsr-lh-method--primary .gsr-lh-k,
.gsr-lh-method--primary .gsr-lh-d{opacity:.85;}
.gsr-lh-method--primary .gsr-lh-go{color:#fff;}
a.gsr-lh-method--primary:hover{background:var(--gsr-husk-dark); transform:translateY(-2px);}
.gsr-lh-method--static{cursor:default;}

.gsr-lh-callout{
  display:flex; gap:20px; align-items:flex-start;
  background:var(--gsr-ripe-soft); border:1px solid color-mix(in srgb,var(--gsr-ripe) 40%,var(--line));
  border-radius:16px; padding:24px;
}
.gsr-lh-callout-ic{font-size:2rem; flex:0 0 auto; line-height:1;}
.gsr-lh-callout-body h3{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:1.15rem; margin:0 0 6px; color:var(--ink);}
.gsr-lh-callout-body p{font-size:.92rem; line-height:1.65; margin:0 0 14px; color:var(--ink); opacity:.85;}
.gsr-lh-callout-body strong{font-weight:700; opacity:1;}
@media (max-width:560px){ .gsr-lh-callout{flex-direction:column; gap:12px; padding:20px;} }

/* Form liên hệ */
.gsr-form{background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:24px; display:flex; flex-direction:column; gap:16px; max-width:680px;}
.gsr-form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
@media (max-width:520px){ .gsr-form-grid{grid-template-columns:1fr;} }
.gsr-field{display:flex; flex-direction:column; gap:5px;}
.gsr-field > span{font-family:'Be Vietnam Pro',sans-serif; font-size:.82rem; font-weight:600; opacity:.85;}
.gsr-field > span b{color:var(--down-text); font-weight:700;}
.gsr-form input, .gsr-form select, .gsr-form textarea{
  font-family:inherit; font-size:16px; color:var(--ink); background:var(--cream);
  border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; width:100%;
}
.gsr-form input:focus, .gsr-form select:focus, .gsr-form textarea:focus{outline:none; border-color:var(--gsr-husk); background:#fff;}
.gsr-form textarea{resize:vertical; min-height:110px; line-height:1.55;}
.gsr-form button[type=submit]{align-self:flex-start; margin-top:2px;}
.gsr-hp{position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important;}
.gsr-form-note{font-size:.82rem; opacity:.65; margin:0;}
.gsr-form-note a{color:var(--gsr-husk); font-weight:600;}
.gsr-form-msg{border-radius:10px; padding:11px 16px; font-size:.9rem; font-weight:600; margin-bottom:14px;}
.gsr-form-msg.ok{background:var(--up-bg); color:var(--up-text);}
.gsr-form-msg.err{background:var(--down-bg); color:var(--down-text);}
.gsr-cc-row{display:flex; gap:16px; justify-content:space-between; align-items:baseline; padding:13px 0; border-bottom:1px dashed var(--line); font-size:.92rem;}
.gsr-cc-row:last-of-type{border-bottom:0;}
.gsr-cc-k{font-family:'IBM Plex Mono',monospace; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; opacity:.55; flex:0 0 auto;}
.gsr-cc-row a{color:var(--gsr-husk); font-weight:600; text-decoration:none;}
.gsr-cc-actions{display:flex; gap:10px; padding:16px 0 12px; flex-wrap:wrap;}

@media (max-width:640px){
  .gsr-static .gsr-cc-row{flex-direction:column; gap:2px;}
  .gsr-contact-card{padding:6px 16px;}
  .gsr-cc-actions .gsr-btn{flex:1 1 100%;}
}

/* ==========================================================================
   HUB CHUYÊN MỤC + TRANG CHỦ ĐỀ CON
   ========================================================================== */
.gsr-pills{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px;}
.gsr-pill{display:inline-block; padding:7px 14px; border-radius:999px; border:1.5px solid var(--line); background:var(--paper); color:var(--muted,#65695a); font-size:.82rem; font-weight:600; text-decoration:none; opacity:.8; transition:.14s;}
.gsr-pill:hover{opacity:1; color:var(--ink);}
.gsr-pill.is-on{background:var(--gsr-husk); border-color:var(--gsr-husk); color:#fff; opacity:1;}

.gsr-hub-layout{display:grid; grid-template-columns:1fr 300px; gap:32px; align-items:start;}
@media (max-width:900px){ .gsr-hub-layout{grid-template-columns:1fr;} }

.gsr-side-box{background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:16px;}
.gsr-side-title{font-family:'IBM Plex Mono',monospace; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bazan-dark); margin:0 0 12px;}
.gsr-side-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column;}
.gsr-side-list li{padding:10px 0; border-bottom:1px dashed var(--line); display:flex; flex-direction:column; gap:3px;}
.gsr-side-list li:last-child{border-bottom:0; padding-bottom:0;}
.gsr-side-list a{color:var(--ink); text-decoration:none; font-weight:600; font-size:.9rem; line-height:1.4;}
.gsr-side-list a:hover{color:var(--gsr-husk);}
.gsr-side-list time{font-size:.72rem; opacity:.5;}
.gsr-side-empty{font-size:.85rem; opacity:.6; margin:0;}
.gsr-side-topics{display:flex; flex-direction:column;}
.gsr-side-topics a{display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--line); color:var(--ink); text-decoration:none; font-weight:600; font-size:.9rem;}
.gsr-side-topics a:last-child{border-bottom:0; padding-bottom:0;}
.gsr-side-topics a span{color:var(--gsr-husk);}
.gsr-side-price{display:flex; flex-direction:column; gap:4px; margin-bottom:14px;}
.gsr-side-name{font-size:.8rem; opacity:.7;}
.gsr-side-price strong{font-size:1.15rem; font-weight:700;}
.gsr-side-chg{font-size:.8rem; font-weight:600;}
.gsr-side-chg.up{color:var(--up-text);} .gsr-side-chg.down{color:var(--down-text);} .gsr-side-chg.flat{opacity:.55;}
.gsr-side-box .gsr-btn{width:100%; justify-content:center;}

/* Post card */
.gsr-card-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px;}
.gsr-card-grid-2{grid-template-columns:1fr 1fr; margin-top:18px;}
@media (max-width:520px){ .gsr-card-grid-2{grid-template-columns:1fr;} }
.gsr-card{display:flex; flex-direction:column; background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden; text-decoration:none; color:var(--ink); transition:.16s;}
.gsr-card:hover{border-color:var(--gsr-husk); transform:translateY(-2px);}
.gsr-card-thumb{display:block; aspect-ratio:16/10; background:var(--cream-2); overflow:hidden;}
.gsr-card-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.gsr-card-ph{width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:2rem; opacity:.4;}
.gsr-card-body{display:flex; flex-direction:column; gap:7px; padding:15px 16px 16px;}
.gsr-card-date{font-size:.7rem; letter-spacing:.05em; opacity:.5;}
.gsr-card-title{font-family:'Be Vietnam Pro',sans-serif; font-weight:700; font-size:1rem; line-height:1.35; margin:0; color:var(--ink);}
.gsr-card-excerpt{font-size:.85rem; opacity:.68; line-height:1.55;}
.gsr-card-more{font-size:.8rem; font-weight:600; color:var(--gsr-husk); margin-top:2px;}
.gsr-card-hero{display:grid; grid-template-columns:1.15fr 1fr; align-items:stretch;}
.gsr-card-hero .gsr-card-thumb{aspect-ratio:auto; height:100%; min-height:220px;}
.gsr-card-hero .gsr-card-body{justify-content:center; padding:24px;}
.gsr-card-hero .gsr-card-title{font-size:1.35rem; font-weight:800; letter-spacing:-.01em;}
.gsr-card-hero .gsr-card-excerpt{font-size:.92rem;}
@media (max-width:640px){ .gsr-card-hero{grid-template-columns:1fr;} .gsr-card-hero .gsr-card-thumb{min-height:180px;} .gsr-card-hero .gsr-card-body{padding:16px;} .gsr-card-hero .gsr-card-title{font-size:1.15rem;} }

.gsr-cat-head{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; max-width:none;}
.gsr-cat-head .gcp-inline-link{white-space:nowrap; flex:0 0 auto; color:var(--gsr-husk); font-weight:600; font-size:.88rem; text-decoration:none;}

.gsr-empty-box{background:var(--paper); border:1px dashed var(--line); border-radius:14px; padding:28px 22px; text-align:center;}
.gsr-empty-ic{font-size:1.8rem;}
.gsr-empty-t{font-weight:700; margin:8px 0 4px;}
.gsr-empty-m{font-size:.88rem; opacity:.65; margin:0;}
.gsr-empty-m a{color:var(--gsr-husk); font-weight:600;}

.gsr-crumb{padding:16px 0 0; font-size:.72rem; opacity:.6;}
.gsr-crumb a{color:var(--gsr-husk); text-decoration:none;}

/* ==========================================================================
   TRANG 404
   ========================================================================== */
.gsr-404 .gcp-hero{padding-top:44px;}
.gsr-404-top{display:flex; gap:32px; align-items:center;}
@media (max-width:760px){ .gsr-404-top{flex-direction:column; align-items:flex-start; gap:20px;} }
.gsr-404-num{
  display:flex; align-items:center; gap:2px; flex:0 0 auto;
  font-family:'Be Vietnam Pro',sans-serif; font-weight:900; font-size:clamp(4.5rem,13vw,7.5rem);
  line-height:1; color:var(--gsr-husk); letter-spacing:-.04em;
}
.gsr-404-durian{display:inline-flex; margin:0 -.06em;}
.gsr-404-durian svg{width:.9em; height:.9em; transform:translateY(.02em);}
.gsr-404-search{display:flex; gap:8px; margin-top:20px; max-width:420px;}
.gsr-404-search input{
  flex:1; font-family:inherit; font-size:16px; padding:11px 14px;
  border:1.5px solid var(--line); border-radius:11px; background:var(--paper); color:var(--ink);
}
.gsr-404-search input:focus{outline:none; border-color:var(--gsr-husk);}
.gsr-404-search .gsr-btn{flex:0 0 auto;}

.gsr-404-cols{display:grid; grid-template-columns:1fr 300px; gap:32px; align-items:start;}
@media (max-width:880px){ .gsr-404-cols{grid-template-columns:1fr;} }
.gsr-404-links{display:flex; flex-wrap:wrap; gap:10px;}
.gsr-404-links--sm a{
  display:inline-block; padding:7px 14px; border-radius:999px;
  border:1.5px solid var(--line); background:var(--paper); color:var(--ink);
  font-size:.86rem; font-weight:600; text-decoration:none; transition:.14s;
}
.gsr-404-links--sm a:hover{border-color:var(--gsr-husk); color:var(--gsr-husk);}

/* ---------- Menu tint sang xanh sầu riêng ---------- */
.gsr-menu-wrap .gcp-menu-item.is-active{color:#256c0d;}
.gsr-menu-wrap .gcp-menu-item:hover{color:#256c0d;}

/* =========================================================================
   MOBILE  (<= 640px) — tối ưu toàn bộ trang gsr
   ===================================================================== */
@media (max-width:640px){

  .gcp-wrap.gsr .gcp-inner{padding-left:16px; padding-right:16px;}
  .gcp-wrap.gsr .gcp-hero{padding:24px 0 4px;}
  .gcp-wrap.gsr .gcp-section{padding:8px 0 22px;}
  .gcp-wrap.gsr .section-head{margin-bottom:14px;}
  .gcp-wrap.gsr .section-head h2{font-size:1.18rem;}
  .gcp-wrap.gsr .gsr-h1{font-size:1.4rem; line-height:1.32;}
  .gcp-wrap.gsr .gcp-hero{padding-top:32px;}

  /* Hero + snapshot */
  .gsr-hero-grid{gap:20px;}
  .gcp-wrap.gsr .hero-actions{gap:8px;}
  .gsr-btn{flex:1 1 100%; justify-content:center; padding:12px 16px;}
  .gsr-snap-big{font-size:1.5rem;}
  .gsr-snap-cells .v{font-size:.9rem;}

  /* --- Bộ lọc: xuống dòng, không cắt chữ --- */
  .gsr-controls{gap:10px; margin-bottom:14px;}
  .gsr-chips{flex-wrap:wrap; gap:8px;}
  .gsr-chip{flex:0 1 auto; padding:8px 14px; font-size:.82rem; line-height:1;}
  .gsr-search{max-width:none;}
  .gsr-search input{padding:11px 12px 11px 34px; font-size:16px;} /* 16px: iOS không zoom */

  /* --- Bảng giá -> thẻ xếp chồng --- */
  .gcp-wrap.gsr .table-wrap{border:0; background:transparent; overflow:visible;}
  .gcp-wrap.gsr .gsr-table{min-width:0; border-collapse:separate; border-spacing:0;}
  .gcp-wrap.gsr .gsr-table thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
  .gcp-wrap.gsr .gsr-table tbody{display:block;}
  .gcp-wrap.gsr .gsr-table tr{
    display:block; background:var(--paper); border:1px solid var(--line);
    border-radius:12px; padding:12px 14px; margin-bottom:10px;
  }
  .gcp-wrap.gsr .gsr-table tr[hidden]{ display:none; }   /* bộ lọc: ẩn dòng không khớp */
  .gcp-wrap.gsr .gsr-table th[scope="row"]{
    display:block; white-space:normal; font-size:.98rem; padding:0 0 8px;
    border-bottom:1px dashed var(--line); margin-bottom:8px;
  }
  .gcp-wrap.gsr .gsr-table td{
    display:flex; align-items:baseline; justify-content:space-between; gap:12px;
    padding:4px 0; border:0; font-size:.9rem; text-align:right;
  }
  .gcp-wrap.gsr .gsr-table td::before{
    content:attr(data-nhan); flex:0 0 auto; text-align:left;
    font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.04em;
    text-transform:uppercase; color:var(--ink); opacity:.5; font-weight:600;
  }
  .gcp-wrap.gsr .gsr-table td[data-nhan="Khu vực"]{padding-top:0;}
  .gcp-wrap.gsr .gsr-table .price-cell{font-size:1rem;}
  .gcp-wrap.gsr .gsr-table-foot{padding:0 2px;}

  /* Thẻ vùng: 1 cột */
  .gsr-region-grid{grid-template-columns:1fr;}

  /* Chart: cao hơn chút cho dễ đọc */
  .gcp-wrap.gsr .chart-frame{padding:12px 4px 4px;}

  /* FAQ */
  .gsr-faq summary{font-size:.88rem; padding:13px 14px;}
  .gsr-faq-a{padding:0 14px 14px;}

  /* Tác giả */
  .gsr-author{flex-direction:column; gap:10px; padding:16px;}

  /* Footer */
  .gsr-footer{padding:32px 0 22px;}
  .gsr-footer .gcp-inner{padding:0 16px;}
  .gsr-foot-grid{gap:20px; margin-bottom:22px;}

  /* Hub / chủ đề con */
  .gsr-card-grid{grid-template-columns:1fr;}
  .gsr-cat-head{flex-direction:column; align-items:flex-start; gap:6px;}
  .gsr-pills{gap:6px;}
  .gsr-pill{font-size:.76rem; padding:6px 12px;}
  .gsr-hub-side{margin-top:8px;}

  /* 404 */
  .gsr-404-search{flex-direction:column; max-width:none;}
  .gsr-404-search .gsr-btn{width:100%; justify-content:center;}
}

/* Rất hẹp: snapshot 3 ô -> vẫn 1 hàng nhưng nhỏ */
@media (max-width:380px){
  .gsr-snap-cells > div{padding:10px 8px;}
  .gsr-snap-cells .k{font-size:.56rem;}
}

/* ==========================================================================
   BÀI VIẾT (single) + TRANG LƯU TRỮ  — giasaurieng.vn
   ========================================================================== */
.gsr-single .gsr-single-head{padding-top:14px;}
.gsr-single .gcp-post-title{font-size:clamp(1.55rem,3.6vw,2.35rem); line-height:1.28; font-weight:800; letter-spacing:-.01em; max-width:22ch;}
.gsr-single-meta{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px; font-size:.78rem; opacity:.6;}
.gsr-single-meta time,.gsr-single-meta span{white-space:nowrap;}

.gsr-single-cover{margin:20px 0 4px; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--cream-2); line-height:0;}
.gsr-single-cover img,.gsr-single-cover-img{width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover;}

.gsr-single-main{min-width:0;}

/* Nội dung bài — rich text */
.gsr-post-content{max-width:none; font-size:1.02rem;}
.gsr-post-content > *:first-child{margin-top:0;}
.gsr-post-content p{line-height:1.8; margin:0 0 16px; opacity:.92;}
.gsr-post-content h2{font-family:'Be Vietnam Pro',sans-serif; font-weight:800; font-size:clamp(1.25rem,2.4vw,1.55rem); line-height:1.34; letter-spacing:-.01em; margin:34px 0 12px; color:var(--ink);}
.gsr-post-content h3{font-family:'Be Vietnam Pro',sans-serif; font-weight:700; font-size:1.15rem; line-height:1.4; margin:26px 0 10px; color:var(--ink);}
.gsr-post-content h4{font-weight:700; font-size:1rem; margin:20px 0 8px;}
.gsr-post-content h2::after{content:""; display:block; width:44px; height:3px; border-radius:2px; background:var(--gsr-ripe); margin-top:10px;}
.gsr-post-content ul,.gsr-post-content ol{margin:0 0 16px; padding-left:1.35em; line-height:1.8;}
.gsr-post-content li{margin:0 0 7px; opacity:.92;}
.gsr-post-content li::marker{color:var(--gsr-husk);}
.gsr-post-content a{color:var(--gsr-husk); font-weight:600; text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--gsr-husk) 35%,transparent); text-underline-offset:2px;}
.gsr-post-content a:hover{text-decoration-color:var(--gsr-husk);}
.gsr-post-content strong{font-weight:700; opacity:1;}
.gsr-post-content blockquote{margin:20px 0; padding:14px 20px; border-left:4px solid var(--gsr-ripe); background:var(--paper); border-radius:0 12px 12px 0;}
.gsr-post-content blockquote p{margin:0; opacity:.85; font-style:italic;}
.gsr-post-content img{max-width:100%; height:auto; border-radius:12px; display:block;}
.gsr-post-content figure{margin:22px 0;}
.gsr-post-content figcaption{font-size:.82rem; opacity:.6; margin-top:8px; text-align:center;}
.gsr-post-content hr{border:0; border-top:1px dashed var(--line); margin:32px 0;}
.gsr-post-content code{font-family:'IBM Plex Mono',monospace; font-size:.9em; background:var(--cream-2); padding:2px 6px; border-radius:5px;}
.gsr-post-content pre{background:var(--gsr-husk-dark); color:#eef3e6; padding:16px 18px; border-radius:12px; overflow-x:auto; margin:20px 0;}
.gsr-post-content pre code{background:none; padding:0; color:inherit;}
.gsr-post-content .wp-block-table,.gsr-post-content figure.wp-block-table{overflow-x:auto;}
.gsr-post-content table{width:100%; border-collapse:collapse; margin:20px 0; font-size:.92rem;}
.gsr-post-content th,.gsr-post-content td{border:1px solid var(--line); padding:10px 12px; text-align:left;}
.gsr-post-content thead th{background:var(--cream-2); font-weight:700;}

/* Thẻ tag */
.gsr-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px;}
.gsr-tag{font-size:.8rem; font-weight:600; color:var(--gsr-husk); background:var(--gsr-leaf-soft); padding:5px 11px; border-radius:999px; text-decoration:none;}
.gsr-tag:hover{background:var(--gsr-husk); color:#fff;}

/* Bài trước / bài sau */
.gsr-pnav{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:22px;}
.gsr-pnav-i{display:flex; flex-direction:column; gap:4px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); text-decoration:none; color:var(--ink); transition:.16s;}
.gsr-pnav-i:hover{border-color:var(--gsr-husk); transform:translateY(-2px);}
.gsr-pnav-next{text-align:right; align-items:flex-end;}
.gsr-pnav-k{font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; opacity:.55;}
.gsr-pnav-t{font-weight:700; font-size:.92rem; line-height:1.4;}

/* Phân trang lưu trữ */
.gsr-pagi{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; justify-content:center;}
.gsr-pagi .page-numbers{display:inline-grid; place-items:center; min-width:40px; height:40px; padding:0 12px; border:1px solid var(--line); border-radius:10px; background:var(--paper); font-weight:700; font-size:.9rem; color:var(--ink); text-decoration:none;}
.gsr-pagi a.page-numbers:hover{border-color:var(--gsr-husk); color:var(--gsr-husk);}
.gsr-pagi .page-numbers.current{background:var(--gsr-husk); border-color:var(--gsr-husk); color:#fff;}
.gsr-pagi .page-numbers.dots{border:0; background:none;}

.gsr-archive .gsr-card-grid-arch{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));}

@media (max-width:900px){
  .gsr-single .gsr-hub-layout,.gsr-archive .gsr-hub-layout{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .gsr-single .gcp-post-title{max-width:none;}
  .gsr-post-content{font-size:.98rem;}
  .gsr-pnav{grid-template-columns:1fr;}
  .gsr-pnav-next{text-align:left; align-items:flex-start;}
  .gsr-single-cover{border-radius:12px;}
}
