/*
Theme Name: GoldenSilk Child
Theme URI: https://changagoikhachsan.vn
Description: Child theme của Flatsome cho website local GoldenSilk — chăn ga gối đệm khách sạn. Chứa biến màu, font và style đồng bộ theo thương hiệu GoldenSilk.
Author: GoldenSilk
Template: flatsome
Version: 2.1.0
Text Domain: goldensilk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===================================================================
   GOLDENSILK — Biến màu & nền tảng
   =================================================================== */
:root {
  --gs-gold: #B8934A;
  --gs-gold-2: #CBA662;
  --gs-ink: #1F2937;
  --gs-line: #E5DFD3;
  --gs-soft: #FAF7F0;
  --gs-cream: #FBFAF4;
  --gs-muted: #6B7280;
  --gs-white: #FFFFFF;
}

body { color: var(--gs-ink); background: #fff; }

h1, h2, h3, .section-title, .gs-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gs-ink);
  letter-spacing: -0.01em;
}

p, li, a, span, input, textarea, select, button {
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
}

/* ===================================================================
   Section title có gạch vàng
   =================================================================== */
.gs-eyebrow { width: 46px; height: 3px; background: var(--gs-gold); margin: 0 0 16px; border-radius: 2px; }
.gs-eyebrow.center { margin-left: auto; margin-right: auto; }

.gs-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gs-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}
.gs-section-title:after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background: var(--gs-gold);
  margin: 14px auto 0;
}
.gs-h2-left {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--gs-ink);
  margin: 0 0 16px;
  line-height: 1.25;
}
.gs-lead-center { text-align: center; max-width: 640px; margin: 0 auto 0; color: var(--gs-muted); font-size: 15.5px; line-height: 1.7; }

/* ===================================================================
   Button
   =================================================================== */
.gs-btn-primary, .gs-btn-secondary, .gs-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px; border-radius: 8px; font-weight: 700;
  text-decoration: none !important; transition: all .25s ease; position: relative; overflow: hidden;
}
.gs-btn-primary { background: var(--gs-gold); color: #fff !important; border: 1px solid var(--gs-gold); }
.gs-btn-primary:hover { background: #a37f3e; color: #fff !important; }
.gs-btn-secondary { background: #fff; color: var(--gs-ink) !important; border: 1px solid var(--gs-ink); }
.gs-btn-secondary:hover { background: var(--gs-ink); color: #fff !important; }
.gs-btn-outline { background: #fff; color: var(--gs-gold) !important; border: 1px solid var(--gs-gold); }
.gs-btn-outline:hover { background: var(--gs-gold); color: #fff !important; }
.gs-btn-primary::after, .gs-btn-secondary::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); pointer-events: none; transition: left .55s ease; z-index: 1;
}
.gs-btn-primary:hover::after, .gs-btn-secondary:hover::after { left: 130%; }

/* ===================================================================
   Card chung
   =================================================================== */
.gs-card {
  background: #fff; border: 1px solid var(--gs-line); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(184,147,74,.06); padding: 24px; transition: all .25s ease; height: 100%;
}
.gs-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(184,147,74,.14); border-color: #d9c393; }

/* Checklist */
.gs-check-list { list-style: none; padding: 0; margin: 0; }
.gs-check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--gs-ink); }
.gs-check-list li:before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gs-gold); font-weight: 800; }

/* Form (Contact Form 7) */
.gs-form-card input:not(.wpcf7-submit), .gs-form-card textarea, .gs-form-card select,
.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
  border: 1px solid var(--gs-line) !important; border-radius: 8px !important; min-height: 46px;
  background: #fff; box-shadow: none !important; width: 100%;
}
.gs-form-card textarea, .wpcf7 textarea { min-height: 120px; }
.gs-form-card .cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.gs-form-card .cf7-field { margin-bottom: 14px; }
.gs-form-card .wpcf7-form-control-wrap { display: block; }
.gs-form-card input.wpcf7-submit {
  width: 100%; min-height: 48px; background: var(--gs-gold) !important; color: #fff !important;
  border: 1px solid var(--gs-gold) !important; border-radius: 8px !important; font-weight: 700;
  cursor: pointer; transition: all .25s; text-transform: none !important;
}
.gs-form-card input.wpcf7-submit:hover { background: #a37f3e !important; }
.gs-form-note { font-size: 12px; color: var(--gs-muted); text-align: center; margin-top: 14px; }
.wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; margin-top: 4px; }
.wpcf7-response-output { font-size: 13px; border-radius: 8px; margin: 14px 0 0 !important; padding: 10px 12px !important; }
@media (max-width: 549px) { .gs-form-card .cf7-row { grid-template-columns: 1fr; } }

/* ===================================================================
   Header
   =================================================================== */
#logo a img, .header-logo img, img.header_logo { display: none !important; }
#logo a::after, a.header-logo::after {
  content: "GoldenSilk";
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; font-weight: 700; color: var(--gs-ink);
  white-space: nowrap;
}
#logo, #logo a { display: flex; align-items: center; }

.header-main .header-nav-main > li > a, .header-main .header-nav > li > a {
  color: var(--gs-ink) !important; text-transform: uppercase !important; font-weight: 600;
  font-size: 16px; letter-spacing: .3px;
}
.header-main .header-nav-main > li > a:hover { color: var(--gs-gold) !important; }
.header-main .header-nav .current-menu-item > a, .header-main .header-nav .current_page_item > a {
  color: var(--gs-gold) !important; font-weight: 700; position: relative;
}
/* Gạch vàng nằm NGAY DƯỚI chữ (absolute — không bị flex đẩy sang phải) */
.header-main .header-nav .current-menu-item > a:after, .header-main .header-nav .current_page_item > a:after {
  content: ''; position: absolute; left: 50%; top: calc(50% + 12px); transform: translateX(-50%);
  width: 26px; height: 2px; background: var(--gs-gold);
}
.header-main { border-bottom: 1px solid var(--gs-line); }

/* Anchor offset cho menu neo tới section trên trang chủ (#cong-trinh, #tin-tuc) */
.gs-anchor { display: block; height: 0; scroll-margin-top: 96px; }
.header-main .button.primary:not(.is-outline) {
  background: var(--gs-gold) !important; border-color: var(--gs-gold) !important; color: #fff !important;
  text-transform: none !important;
}
.header-main .button.primary:not(.is-outline):hover { background: #a37f3e !important; }

@media (min-width: 850px) {
  .header-main .flex-row > .flex-col.logo { flex: 0 0 auto; }
  .header-main .flex-row > .flex-col.flex-left { flex: 1 1 0; }
  .header-main .flex-row > .flex-col.flex-right { flex: 0 0 auto; }
  .header-main .flex-left .header-nav-main { margin-left: auto; margin-right: auto; }
}

/* ===================================================================
   Footer — nền kem sáng, chữ tối (phong cách tối giản, sáng sủa)
   =================================================================== */
.gs-footer { background: var(--gs-soft); }
#footer .footer-widgets, #footer .footer-widgets p, #footer .footer-widgets li, #footer .footer-widgets span { color: var(--gs-muted) !important; }
#footer .footer-widgets h1, #footer .footer-widgets h2, #footer .footer-widgets h3, #footer .footer-widgets h4 { color: var(--gs-ink) !important; }
.absolute-footer { background: #F1E7D3 !important; border-top: 1px solid var(--gs-line) !important; }
.absolute-footer, .absolute-footer a { color: var(--gs-muted) !important; }

#footer .gs-foot-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--gs-ink) !important; margin: 0 0 14px; }
#footer .gs-foot-desc { font-size: 14px; line-height: 1.75; color: var(--gs-muted) !important; margin: 0 0 16px; max-width: 320px; }
#footer .gs-foot-h { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--gs-ink) !important; margin: 0 0 18px; padding-bottom: 10px; position: relative; }
#footer .gs-foot-h:after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gs-gold); }
#footer .gs-foot-list { list-style: none; padding: 0; margin: 0; }
#footer .gs-foot-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 13.5px; color: var(--gs-muted) !important; line-height: 1.55; }
#footer .gs-foot-list li svg { color: var(--gs-gold); flex: none; margin-top: 2px; }
#footer .gs-foot-list a { color: var(--gs-muted) !important; }
#footer .gs-foot-list a:hover { color: var(--gs-gold) !important; }
#footer .gs-foot-social { display: flex; gap: 10px; margin-top: 4px; }
#footer .gs-foot-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gs-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--gs-ink) !important; transition: all .2s;
}
#footer .gs-foot-social a:hover { background: var(--gs-gold); border-color: var(--gs-gold); color: #fff !important; }

/* ===================================================================
   HERO SLIDER — 2 ảnh banner full-bleed, tự chạy
   =================================================================== */
.gs-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.gs-hero-slider {
  position: relative; overflow: hidden;
  width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%);
  aspect-ratio: 1672 / 941; background: var(--gs-soft);
}
.gs-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.gs-hero-slide.active { opacity: 1; }
/* contain = hiện ĐỦ ảnh, không cắt (khung khớp tỉ lệ ảnh nên không viền) */
.gs-hero-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.gs-hero-slide .gs-img-ph { width: 100%; height: 100%; border: 0; border-radius: 0; }
.gs-hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 9px; justify-content: center; z-index: 3; }
.gs-hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: all .25s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.gs-hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }
.gs-hero-cta-bar { display: flex; gap: 14px; justify-content: center; padding: 24px 16px 4px; flex-wrap: wrap; }
@media (max-width: 549px) { .gs-hero-slider { max-height: none; } .gs-hero-cta-bar .gs-btn-primary, .gs-hero-cta-bar .gs-btn-outline { width: auto; } }

/* ===================================================================
   HERO (split cũ — vẫn dùng cho ảnh trang trong)
   =================================================================== */
.gs-hero { background: linear-gradient(90deg, #fff 0%, var(--gs-soft) 100%); overflow: hidden; position: relative; }
.gs-hero-h1 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; margin: 0 0 20px; color: var(--gs-ink);
}
.gs-hero-h1 .accent { color: var(--gs-gold); }
.gs-hero-lead { font-size: 16.5px; line-height: 1.7; color: var(--gs-muted); margin: 0 0 26px; max-width: 480px; }
.gs-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.gs-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.gs-trust-item { display: flex; gap: 10px; align-items: flex-start; }
.gs-trust-item svg { color: var(--gs-gold); flex: none; margin-top: 1px; }
.gs-trust-item .t { font-weight: 600; font-size: 14px; color: var(--gs-ink); }
.gs-trust-item .s { font-size: 12.5px; color: var(--gs-muted); }
.gs-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.gs-hero-visual img { width: 100%; height: 440px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(184,147,74,.18); display: block; }
.gs-hero-visual::after {
  content: ''; position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px;
  border: 2px solid var(--gs-gold); border-radius: 20px; z-index: -1; opacity: .4;
}
.gs-img-ph {
  position: relative; width: 100%; min-height: 360px; background: linear-gradient(160deg, #fbf6ec, #f1e9d8);
  border: 1px solid var(--gs-line); border-radius: 18px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #a3925f; font-size: 13.5px; padding: 20px;
}
@media (max-width: 849px) { .gs-hero-visual img { height: 300px; } .gs-hero-visual::after { display: none; } }

/* ===================================================================
   Vì sao chọn GoldenSilk — thống kê + gallery
   =================================================================== */
.gs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 22px; }
.gs-stat .num { font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 700; color: var(--gs-gold); line-height: 1; }
.gs-stat .lbl { font-size: 13.5px; line-height: 1.5; color: var(--gs-muted); margin-top: 6px; }
.gs-why-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.gs-why-gallery .gimg {
  overflow: hidden; border-radius: 16px; border: 1px solid var(--gs-line);
  background: linear-gradient(160deg, #fdfaf4, #f0e8d8); box-shadow: 0 12px 30px rgba(184,147,74,.12); transition: box-shadow .35s;
}
.gs-why-gallery .gimg:nth-child(1) { aspect-ratio: 4/5; }
.gs-why-gallery .gimg:nth-child(2) { aspect-ratio: 1/1; margin-top: 36px; }
.gs-why-gallery .gimg:nth-child(3) { aspect-ratio: 1/1; }
.gs-why-gallery .gimg:nth-child(4) { aspect-ratio: 4/5; margin-top: 36px; }
.gs-why-gallery .gimg:hover { box-shadow: 0 20px 44px rgba(184,147,74,.22); }
.gs-why-gallery .gimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gs-why-gallery .gimg:hover img { transform: scale(1.07); }
@media (max-width: 849px) { .gs-why-gallery .gimg:nth-child(2), .gs-why-gallery .gimg:nth-child(4) { margin-top: 18px; } }

/* ===================================================================
   Danh mục sản phẩm — card grid
   =================================================================== */
.gs-catcard {
  display: block; background: #fff; border: 1px solid var(--gs-line); border-radius: 14px;
  overflow: hidden; height: 100%; transition: all .25s; text-align: center;
}
.gs-catcard:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(184,147,74,.16); border-color: #d9c393; }
.gs-catcard .ph {
  background: linear-gradient(160deg, #fbf6ec, #f1e9d8); height: 210px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--gs-gold);
}
.gs-catcard .ph.has-img { padding: 0; }
.gs-catcard .ph.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gs-catcard:hover .ph.has-img img { transform: scale(1.07); }
.gs-catcard .b { padding: 18px 14px; }
.gs-catcard h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; color: var(--gs-ink); margin: 0 0 6px; line-height: 1.3; }
.gs-catcard .lnk { font-size: 13px; font-weight: 600; color: var(--gs-gold); }
.gs-catcard:hover .lnk { color: var(--gs-ink); }

/* --- Danh mục: marquee 1 dòng tự chạy (slide liên tục, dừng khi hover) --- */
.gs-cat-marquee {
  overflow: hidden; position: relative; padding: 8px 0 14px;
  /* Full-bleed: chạy sát mép màn hình bất kể container (body đã ẩn overflow-x) */
  width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.gs-cat-track { display: flex; width: max-content; animation: gs-cat-slide 20s linear infinite; will-change: transform; }
.gs-cat-marquee:hover .gs-cat-track { animation-play-state: paused; }
/* margin-right (không dùng gap) để nửa track = đúng 1 bộ card -> lặp liền mạch */
.gs-cat-track .gs-catcard { flex: 0 0 280px; width: 280px; margin-right: 24px; }
@keyframes gs-cat-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 549px) { .gs-cat-track .gs-catcard { flex-basis: 230px; width: 230px; margin-right: 18px; } }

/* ===================================================================
   Bảng giá tham khảo (tái dùng khối GoldenSilk có sẵn)
   =================================================================== */
.gs-pricing .gs-table-wrap { overflow-x: auto; border: 1px solid var(--gs-line); border-radius: 10px; }
.gs-pricing table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.gs-pricing th { background: var(--gs-ink); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; white-space: nowrap; }
.gs-pricing td { padding: 12px 14px; border-top: 1px solid var(--gs-line); vertical-align: top; line-height: 1.6; }
.gs-pricing tbody tr:nth-child(even) { background: var(--gs-soft); }
.gs-pricing td b { color: var(--gs-gold); }
.gs-pricing-note { background: var(--gs-soft); border-left: 3px solid var(--gs-gold); padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 18px 0 0; line-height: 1.7; font-size: 15px; }

/* ===================================================================
   Slider logo khách hàng (marquee tự chạy)
   =================================================================== */
.gs-logo-marquee {
  overflow: hidden; position: relative; width: 100%; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.gs-logo-track { display: flex; width: max-content; align-items: center; animation: gs-logo-slide 30s linear infinite; will-change: transform; }
.gs-logo-marquee:hover .gs-logo-track { animation-play-state: paused; }
.gs-logo-track .gs-logo { flex: 0 0 auto; width: 175px; height: 92px; margin-right: 24px; display: flex; align-items: center; justify-content: center; }
.gs-logo-track .gs-logo img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .95; transition: all .3s; }
.gs-logo-track .gs-logo:hover img { opacity: 1; transform: scale(1.05); }
.gs-logo-ph { border: 1px dashed var(--gs-line); border-radius: 10px; background: #fff; color: #b3a172; font-size: 12px; }
@keyframes gs-logo-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 549px) { .gs-logo-track .gs-logo { width: 130px; height: 74px; margin-right: 18px; } }

/* ===================================================================
   Cam kết dịch vụ (benefits strip — thay khối đối tác)
   =================================================================== */
.gs-benefits { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.gs-benefit { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--gs-line); border-radius: 16px; transition: all .25s; height: 100%; }
.gs-benefit:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(184,147,74,.14); border-color: #d9c393; }
.gs-benefit .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--gs-soft); color: var(--gs-gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gs-benefit h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 16.5px; color: var(--gs-ink); margin: 0 0 8px; }
.gs-benefit p { font-size: 13px; color: var(--gs-muted); line-height: 1.6; margin: 0; }
@media (max-width: 849px) { .gs-benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) { .gs-benefits { grid-template-columns: 1fr; } }

/* Ảnh trong khối "Câu chuyện / Giới thiệu" (trang trong) */
.gs-hero-visual .gs-story-img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 50px rgba(184,147,74,.16); display: block; }
@media (max-width: 849px) { .gs-hero-visual .gs-story-img { height: 300px; } }

/* ===================================================================
   Testimonial (placeholder carousel đơn giản, không JS)
   =================================================================== */
.gs-testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gs-testi { background: #fff; border: 1px solid var(--gs-line); border-radius: 16px; padding: 24px; height: 100%; }
.gs-testi .stars { color: var(--gs-gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.gs-testi .quote { font-size: 14.5px; line-height: 1.75; color: var(--gs-ink); margin: 0 0 16px; font-style: italic; }
.gs-testi .who { display: flex; align-items: center; gap: 12px; }
.gs-testi .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, #fbf6ec, #f1e9d8);
  display: flex; align-items: center; justify-content: center; color: var(--gs-gold); font-weight: 700; flex: none;
}
.gs-testi .name { font-weight: 700; font-size: 13.5px; color: var(--gs-ink); }
.gs-testi .role { font-size: 12px; color: var(--gs-muted); }
@media (max-width: 849px) { .gs-testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) { .gs-testi-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Quy trình hợp tác (timeline 4 bước)
   =================================================================== */
.gs-timeline { display: flex; gap: 14px; position: relative; margin-top: 8px; }
.gs-timeline .step { flex: 1; text-align: center; position: relative; }
.gs-timeline .step:before { content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px; background: var(--gs-line); z-index: 0; }
.gs-timeline .step:last-child:before { display: none; }
.gs-timeline .dot {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--gs-gold);
  color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(184,147,74,.25);
}
.gs-timeline .lbl { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--gs-ink); line-height: 1.35; }
.gs-timeline .desc { display: block; margin-top: 4px; font-size: 12.5px; color: var(--gs-muted); line-height: 1.5; }
@media (max-width: 849px) {
  .gs-timeline { flex-direction: column; gap: 0; max-width: 340px; margin: 8px auto 0; }
  .gs-timeline .step { display: flex; align-items: flex-start; gap: 16px; text-align: left; padding: 8px 0; }
  .gs-timeline .step:before { top: 48px; left: 23px; width: 2px; height: calc(100% - 8px); }
  .gs-timeline .dot { flex: none; }
  .gs-timeline .lbl, .gs-timeline .desc { margin-top: 0; }
}

/* ===================================================================
   FAQ accordion
   =================================================================== */
.gs-faq { max-width: 820px; margin: 0 auto; }
.gs-faq details { background: #fff; border: 1px solid var(--gs-line); border-radius: 12px; margin-bottom: 14px; padding: 0 22px; }
.gs-faq details[open] { box-shadow: 0 12px 30px rgba(184,147,74,.10); border-color: #d9c393; }
.gs-faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: 16.5px; font-weight: 600; color: var(--gs-ink); display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
}
.gs-faq summary::-webkit-details-marker { display: none; }
.gs-faq summary:after { content: '+'; color: var(--gs-gold); font-size: 24px; font-weight: 300; line-height: 1; flex: none; }
.gs-faq details[open] summary:after { content: '\2013'; }
.gs-faq .ans { padding: 0 0 20px; margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--gs-muted); }

/* ===================================================================
   CTA band — nền kem/vàng nhạt, chữ tối (sáng sủa, không dùng nền tối)
   =================================================================== */
.gs-cta-band { background: linear-gradient(135deg, #FBF6EC 0%, #F3E6C9 100%); border-radius: 0; border-top: 1px solid var(--gs-line); border-bottom: 1px solid var(--gs-line); }
.gs-cta-band h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px,3vw,30px); font-weight: 700; color: var(--gs-ink); margin: 0 0 10px; }
.gs-cta-band p { font-size: 15px; color: var(--gs-muted); margin: 0; max-width: 480px; line-height: 1.7; }

/* ===================================================================
   Các công trình đã thực hiện (grid 4 cột)
   =================================================================== */
.gs-project { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; box-shadow: 0 10px 26px rgba(184,147,74,.10); transition: all .25s; }
.gs-project img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gs-project:hover { box-shadow: 0 18px 40px rgba(184,147,74,.20); }
.gs-project:hover img { transform: scale(1.06); }
.gs-project-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; color: #b3a172; font-size: 13.5px; font-weight: 600; border: 1px dashed var(--gs-line); background: linear-gradient(160deg, #fbf6ec, #f1e9d8); }
.gs-project-ph small { font-weight: 400; font-size: 11.5px; }

/* ===================================================================
   Section sản phẩm theo danh mục (trang chủ) + WooCommerce catalog
   =================================================================== */
.gs-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gs-line); flex-wrap: wrap; }
.gs-cat-head-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(20px,2.4vw,28px); font-weight: 700; color: var(--gs-ink); margin: 0; position: relative; padding-left: 14px; }
.gs-cat-head-title:before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--gs-gold); }
.gs-cat-more { font-size: 14px; font-weight: 700; color: var(--gs-gold); white-space: nowrap; }
.gs-cat-more:hover { color: var(--gs-ink); }

/* Nút "Nhận báo giá" trong lưới + giá "Liên hệ báo giá" */
.gs-price-contact { color: var(--gs-gold); font-weight: 700; font-size: 15px; }
.woocommerce a.button.gs-quote-btn, .gs-quote-btn {
  background: var(--gs-gold) !important; color: #fff !important; border-radius: 8px !important;
  font-weight: 600 !important; text-transform: none !important; padding: 8px 16px !important; font-size: 13.5px !important;
}
.woocommerce a.button.gs-quote-btn:hover { background: #a37f3e !important; }
.woocommerce a.button.gs-quote-btn-lg, .gs-quote-btn-lg {
  display: inline-block; background: var(--gs-gold) !important; color: #fff !important; border-radius: 8px !important;
  font-weight: 700 !important; text-transform: none !important; padding: 13px 30px !important; margin-top: 8px;
}
.woocommerce a.button.gs-quote-btn-lg:hover { background: #a37f3e !important; }

/* --- Card sản phẩm ĐỀU NHAU: ảnh vuông đồng nhất, card cùng cao, nút canh đáy --- */
.woocommerce ul.products li.product .box-image,
.product-small .box-image {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: #f4efe4;
}
.woocommerce ul.products li.product .box-image > a,
.woocommerce ul.products li.product .box-image .image-cover,
.product-small .box-image > a { position: absolute; inset: 0; display: block; }
.woocommerce ul.products li.product .box-image img,
.product-small .box-image img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; margin: 0 !important;
}
.woocommerce ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product .product-small.box { display: flex; flex-direction: column; flex: 1 1 auto; }
.woocommerce ul.products li.product .box-text { text-align: center; padding: 12px 6px 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-small .name a {
  font-family: 'Playfair Display', Georgia, serif !important; color: var(--gs-ink) !important; font-size: 14.5px !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; line-height: 1.35;
}
.woocommerce ul.products li.product .gs-quote-btn { margin-top: auto; align-self: center; }

/* Ẩn sidebar shop/category cho full-width + tối ưu mobile 2 cột */
#shop-sidebar, .shop-sidebar { display: none !important; }
.woocommerce-products-header__title.page-title { font-family: 'Playfair Display', Georgia, serif; color: var(--gs-ink); }

/* MOBILE: 2 sản phẩm 1 hàng (trang danh mục + shop) */
@media (max-width: 549px) {
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product { width: 48% !important; float: left; margin: 0 4% 2.5em 0 !important; clear: none !important; }
  .woocommerce ul.products[class*="columns-"] li.product:nth-child(2n),
  .woocommerce-page ul.products[class*="columns-"] li.product:nth-child(2n) { margin-right: 0 !important; }
  .woocommerce ul.products[class*="columns-"] li.product:nth-child(2n+1),
  .woocommerce-page ul.products[class*="columns-"] li.product:nth-child(2n+1) { clear: both !important; }
  .gs-cat-head { margin-bottom: 16px; }
}

/* ===================================================================
   Tin tức — trình bày kiểu trang báo (1 bài chính + 4 bài phụ)
   =================================================================== */
.gs-news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 849px) { .gs-news-grid { grid-template-columns: 1fr; } }

.gs-news-feat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gs-line); border-radius: 16px; overflow: hidden; height: 100%; transition: all .25s; text-decoration: none !important; }
.gs-news-feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(184,147,74,.16); border-color: #d9c393; }
.gs-news-feat .thumb { height: 330px; background: linear-gradient(160deg, #fbf6ec, #f1e9d8); display: block; }
.gs-news-feat .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-news-feat .body { padding: 24px 28px; }
.gs-news-feat .cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gs-gold); margin-bottom: 10px; }
.gs-news-feat h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; line-height: 1.35; color: var(--gs-ink); margin: 0 0 12px; font-weight: 700; }
.gs-news-feat .ex { font-size: 14px; line-height: 1.7; color: var(--gs-muted); margin: 0 0 14px; }
.gs-news-feat .more { font-size: 13.5px; font-weight: 700; color: var(--gs-gold); }

.gs-news-list { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.gs-news-mini { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--gs-line); border-radius: 12px; padding: 10px; transition: all .25s; flex: 1; text-decoration: none !important; }
.gs-news-mini:hover { transform: translateX(3px); box-shadow: 0 10px 24px rgba(184,147,74,.12); border-color: #d9c393; }
.gs-news-mini .thumb { width: 108px; height: 80px; flex: none; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #fbf6ec, #f1e9d8); }
.gs-news-mini .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-news-mini .cat { display: block; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gs-gold); margin-bottom: 4px; }
.gs-news-mini h4 { font-size: 14px; line-height: 1.4; color: var(--gs-ink); margin: 0; font-weight: 600; }
@media (max-width: 849px) { .gs-news-feat .thumb { height: 240px; } .gs-news-mini { flex: none; } }

/* ===================================================================
   TRANG GIỚI THIỆU
   =================================================================== */
.gs-mvv { height: 100%; }
.gs-mvv .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--gs-soft); display: flex; align-items: center; justify-content: center; color: var(--gs-gold); margin-bottom: 18px; }
.gs-mvv h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--gs-ink); margin: 0 0 10px; }
.gs-mvv p { font-size: 14.5px; line-height: 1.7; color: var(--gs-muted); margin: 0; }

.gs-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gs-branch { background: #fff; border: 1px solid var(--gs-line); border-radius: 14px; padding: 22px; text-align: center; }
.gs-branch .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--gs-soft); color: var(--gs-gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.gs-branch h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; margin: 0 0 6px; color: var(--gs-ink); }
.gs-branch p { font-size: 13.5px; line-height: 1.6; color: var(--gs-muted); margin: 0; }
@media (max-width: 849px) { .gs-branch-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   TRANG LIÊN HỆ
   =================================================================== */
.gs-contact { text-align: center; height: 100%; }
.gs-contact .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--gs-soft); color: var(--gs-gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.gs-contact .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gs-muted); font-weight: 700; margin-bottom: 4px; }
.gs-contact .val { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; color: var(--gs-ink); font-weight: 600; word-break: break-word; display: block; }
.gs-contact a.val:hover { color: var(--gs-gold); }
.gs-map-ph {
  background: linear-gradient(160deg, #fbf6ec, #f1e9d8); border: 1px solid var(--gs-line); border-radius: 18px;
  min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.gs-map-ph .pin { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--gs-gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(184,147,74,.16); }
.gs-map-ph .t { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 600; color: var(--gs-ink); }

/* ===================================================================
   Trang con — banner đầu trang (nền kem sáng, chữ tối)
   =================================================================== */
.gs-page-banner { position: relative; background: var(--gs-soft); border-bottom: 1px solid var(--gs-line); }
.gs-page-banner .gs-banner-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.gs-banner-title { font-family: 'Playfair Display', Georgia, serif; color: var(--gs-ink); font-size: clamp(28px,4vw,48px); font-weight: 700; line-height: 1.16; margin: 0 0 14px; }
.gs-banner-sub { color: var(--gs-muted); font-size: 16px; line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ===================================================================
   Ẩn tiêu đề mặc định trang chủ
   =================================================================== */
.home .entry-title, .home .page-title, .home .page-header { display: none !important; }
.page-template-page-blank .section + .section { border-top: 1px solid var(--gs-line); }

/* ===================================================================
   Reveal nhẹ khi cuộn
   =================================================================== */
.gs-rise { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.gs-rise.gs-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .gs-rise { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 849px) {
  .gs-hero { text-align: center; }
  .gs-card { padding: 20px; }
  .gs-section-title { margin-bottom: 24px; }
  .gs-testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 549px) {
  .gs-btn-primary, .gs-btn-secondary, .gs-btn-outline { width: 100%; margin-bottom: 10px; }
  .gs-stats { grid-template-columns: 1fr 1fr; }
  .gs-why-gallery { grid-template-columns: 1fr; }
}

html, body { overflow-x: hidden; max-width: 100%; }
