/* Tổ Yến Sơn Hải (yensao3) — trang chủ y hệt mockup Astra 09-29 (xanh rêu #163827 + nâu vàng đồng #9A6B3C trên nền kem), cỡ đo theo mockup x1.98 */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Noto+Serif+Display:wght@400;500;600&family=Dancing+Script:wght@500&display=swap");
:root { --ys-green: #163827; --ys-green2: #1F4A35; --ys-gold: #9A6B3C; --ys-gold2: #B8894F; --ys-sand: #D9B77A; --ys-ink: #1F2A22; --ys-text: #55594F; --ys-muted: #8A8A80; --ys-line: #ECE5D8; --ys-cream: #FAF7F2; }
body, p, li, a, input, select, textarea, button, td, th, .nav > li > a { font-family: "Be Vietnam Pro", sans-serif !important; }
h1, h2, h3, h4, .ys-serif, .ys-h2, .ys-promo b, .ys-promo span, .ys-adv span, .ys-ptitle, .ys-band h2 { font-family: "Noto Serif Display", Georgia, serif !important; } .ys-script { font-family: "Dancing Script", cursive !important; }
body { background: var(--ys-cream); color: var(--ys-text); }
#top-bar { background: var(--ys-green) !important; } #top-bar li.html, #top-bar a, #top-bar span { color: #E9E1CF !important; font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; }
#header .header-main { background: #fff !important; } #header #logo { width: 290px !important; margin: 0 !important; top: 0 !important; }
#header #logo a { position: relative; top: 0 !important; margin: 0 !important; white-space: nowrap; display: flex; align-items: center; gap: 14px; font-family: "Noto Serif Display", serif !important; font-size: 24px; font-weight: 500; color: var(--ys-gold) !important; line-height: 1; text-transform: uppercase; padding-bottom: 14px; letter-spacing: .02em; }
#header #logo a::before { content: ""; width: 76px; height: 50px; flex: 0 0 76px; background: url(icons/logo.png) center/contain no-repeat; } #header #logo a::after { content: "— Tinh hoa thiên nhiên —"; position: absolute; left: 92px; bottom: 0; font-size: 10px; letter-spacing: .12em; color: var(--ys-gold); font-family: "Noto Serif Display", serif; }
#header .header-main .flex-col.hide-for-medium.flex-left { flex: 1; } #header .header-main .flex-left .header-nav { justify-content: center; }
#header .header-nav-main > li > a { color: var(--ys-text) !important; font-size: 14.5px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 8px 0 !important; } #header .header-nav-main > li { margin: 0 16px !important; }
#header .header-nav-main > li.active > a, #header .header-nav-main > li.current-menu-item > a { color: var(--ys-green) !important; font-weight: 600 !important; box-shadow: inset 0 -2px 0 var(--ys-green); }
#header .header-nav-main.nav-right > li { margin: 0 0 0 30px !important; } #header .header-nav-main.nav-right i { color: var(--ys-green) !important; font-size: 22px !important; } #header .cart-icon strong { border-color: var(--ys-green) !important; color: var(--ys-green) !important; } #header .header-cart-title { display: none; }
.mobile-nav i, .mobile-nav .icon-menu { color: var(--ys-green) !important; }
.ys-sec p { margin-bottom: 0; }
.ys-k { display: block; color: var(--ys-gold); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.ys-h2 { color: var(--ys-ink) !important; font-size: 38px !important; font-weight: 500 !important; line-height: 1.2 !important; margin: 0 !important; }
.ys-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; } .ys-more { color: var(--ys-ink) !important; font-size: 14.5px; border-bottom: 1px solid var(--ys-line); padding-bottom: 4px; white-space: nowrap; margin-bottom: 6px; }
.ys-btn { display: inline-flex; align-items: center; gap: 14px; background: linear-gradient(90deg, #8E6134, #B08250); color: #fff !important; border-radius: 3px; font-size: 14.5px; font-weight: 500; padding: 0 30px; min-height: 42px; } .ys-btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); } .ys-green { background: var(--ys-green); }
/* hero */
.ys-hero .col { padding: 0 !important; } .ys-hero { min-height: 437px; }
.ys-hero-in { position: relative; min-height: 437px; padding: 70px 0 0; box-sizing: border-box; }
.ys-hero-in .ys-k { font-size: 14.5px; letter-spacing: .1em; margin-bottom: 14px; } .ys-bird { position: absolute; left: 318px; top: 38px; width: 76px; height: auto; opacity: .75; }
.ys-hero h1 { color: var(--ys-ink) !important; font-size: 44px !important; font-weight: 500 !important; line-height: 1.3 !important; margin: 0 0 8px !important; }
.ys-lead { display: block; color: var(--ys-text); font-size: 17px; line-height: 1.55; margin-bottom: 26px; } .ys-hero .ys-btn { padding: 0 26px; min-height: 48px; font-size: 15.5px; }
.ys-link { display: table; color: var(--ys-ink) !important; font-size: 15px; border-bottom: 1px solid var(--ys-gold); margin-top: 26px; padding-bottom: 2px; }
.ys-hr1 { position: absolute; right: 30px; top: 66px; color: #CBA776; font-family: "Noto Serif Display", serif; font-size: 18px; line-height: 1.5; } .ys-hr1 i { display: block; width: 30px; height: 2px; background: #CBA776; margin-top: 10px; }
.ys-hr2 { position: absolute; right: 0; top: 206px; color: var(--ys-ink); font-size: 18px; line-height: 1.6; transform: rotate(-3deg); }
.ys-dots { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 12px; } .ys-dots i { width: 9px; height: 9px; border-radius: 50%; background: #C8A67A; } .ys-dots i.on { background: var(--ys-green); }
/* cam kết */
.ys-perks { display: grid; grid-template-columns: repeat(4, 1fr); } .ys-perks p { text-align: center; color: var(--ys-muted); font-size: 13.5px; line-height: 1.55; border-left: 1px solid var(--ys-line); padding: 4px 10px !important; margin: 0 !important; } .ys-perks p:first-child { border: 0; }
.ys-perks img { display: block; width: 48px; height: 48px; margin: 0 auto 10px; } .ys-perks b { display: block; color: var(--ys-ink); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
/* sản phẩm */
.ys-pwrap { display: grid; grid-template-columns: 515px 1fr; gap: 14px; }
.ys-promo { display: flex; flex-direction: column; justify-content: center; padding: 0 30px; background-size: cover; background-position: center; min-height: 405px; border-radius: 2px; }
.ys-promo b { color: var(--ys-ink); font-size: 44px; font-weight: 500; line-height: 1.2; } .ys-promo span { color: var(--ys-ink); font-size: 21px; line-height: 1.35; margin-top: 4px; }
.ys-promo.ys-dark b, .ys-promo.ys-dark span { color: #fff; } .ys-promo.ys-dark b { font-size: 34px; } .ys-promo.ys-dark span { font-size: 16px; margin-top: 18px; }
.ys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
.ys-card { position: relative; background: #fff; border: 1px solid var(--ys-line); padding-bottom: 12px; } .ys-cimg { display: block; height: 124px; background: #F7F3EE; } .ys-cimg img { width: 100%; height: 100%; object-fit: cover; }
.ys-badge { position: absolute; right: 6px; top: 6px; z-index: 1; background: linear-gradient(90deg, #8E6134, #B08250); color: #fff; font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 2px; }
.ys-cname { display: block; color: var(--ys-ink) !important; font-size: 14.5px; font-weight: 500; margin: 8px 20px 0; } .ys-card small { display: block; color: var(--ys-muted); font-size: 12px; margin: 0 20px; }
.ys-price { display: block; margin: 0 20px 8px; } .ys-price b { color: var(--ys-gold); font-size: 15px; font-weight: 700; } .ys-price s { color: var(--ys-muted); font-size: 13px; margin-left: 10px; }
.ys-add { display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #8E6134, #B08250); color: #fff !important; border-radius: 3px; margin: 0 20px; min-height: 32px; font-size: 13.5px; }
.ys-prod .ys-card:nth-child(n) .ys-cimg { height: 124px; }
.ys-grid .ys-card .ys-cimg + .ys-cname { margin-top: 10px; }
/* tư vấn */
.ys-adv-sec .ys-h2 { margin-bottom: 14px !important; font-size: 34px !important; } .ys-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.ys-adv a { position: relative; display: block; height: 150px; background-size: cover; background-position: center; border: 1px solid var(--ys-line); }
.ys-adv span { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0 8px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.82); color: var(--ys-ink); font-size: 19px; padding: 6px 12px; border-radius: 2px; } .ys-adv span img { width: 18px; height: 18px; }
/* bài viết + video */
.ys-blog-sec .ys-h2 { font-size: 34px !important; } .ys-blog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ys-post { background: #fff; border: 1px solid var(--ys-line); } .ys-pimg { display: block; height: 134px; } .ys-pimg img { width: 100%; height: 100%; object-fit: cover; }
.ys-ptitle { display: block; color: var(--ys-ink) !important; font-size: 17px; line-height: 1.4; margin: 12px 20px 0; min-height: 50px; } .ys-pmeta { display: flex; justify-content: space-between; color: var(--ys-muted); font-size: 12.5px; margin: 14px 20px 16px; } .ys-pmeta a { color: var(--ys-gold) !important; font-weight: 600; }
.ys-vids { display: grid; grid-template-columns: 495px 495px; justify-content: center; gap: 18px; margin-top: 22px; }
.ys-vids a { position: relative; display: block; height: 192px; background-size: cover; background-position: center; } .ys-vids a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 60%); }
.ys-vids i { position: absolute; left: 50%; top: 50%; z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: #9A6B3C; border: 3px solid #fff; } .ys-vids i::after { content: ""; position: absolute; left: 24px; top: 18px; border-left: 17px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.ys-vids span { position: absolute; left: 20px; bottom: 14px; z-index: 1; color: #fff; font-size: 15px; line-height: 1.45; font-weight: 500; }
.ys-band { text-align: center; padding: 18px 0 0; } .ys-band h2 { color: var(--ys-ink) !important; font-size: 32px !important; font-weight: 500 !important; margin: 0 0 6px !important; } .ys-band span { display: block; color: var(--ys-text); font-size: 13.5px; margin-bottom: 18px; } .ys-band .ys-btn { min-height: 38px; padding: 0 30px; }
/* cảm nhận */
.ys-tes-sec .ys-h2, .ys-cert-sec .ys-h2 { font-size: 32px !important; } .ys-tes-sec .ys-h2 { margin-bottom: 12px !important; }
.ys-tes { position: relative; display: grid; grid-template-columns: 455px 1fr; gap: 70px; align-items: center; background: #fff; padding: 0 90px; min-height: 160px; }
.ys-tph { width: 455px; height: 160px; object-fit: cover; border-radius: 2px; } .ys-tq { position: relative; padding-left: 64px; } .ys-tq > img { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.ys-tq span { display: block; color: var(--ys-ink); font-size: 16.5px; line-height: 1.7; margin-bottom: 12px; } .ys-tq b { display: block; color: var(--ys-ink); font-size: 13.5px; } .ys-tq small { display: block; color: var(--ys-muted); font-size: 12.5px; } .ys-tq em { color: #E0A33A; font-style: normal; font-size: 17px; letter-spacing: 3px; }
.ys-arr { position: absolute; top: 50%; margin-top: -18px; } .ys-arr.l { left: 24px; } .ys-arr.r { right: 24px; } .ys-arr img { width: 36px; height: 36px; }
/* chứng nhận */
.ys-chead { display: flex; align-items: baseline; gap: 170px; margin-bottom: 14px; } .ys-chead span { color: var(--ys-text); font-size: 16px; white-space: pre; }
.ys-certs { display: grid; grid-template-columns: repeat(3, 245px); justify-content: center; gap: 48px; } .ys-certs p { text-align: center; margin: 0 !important; } .ys-certs img { display: block; width: 245px; height: 160px; object-fit: cover; border: 3px solid #D7BD91; padding: 4px; background: #fff; margin-bottom: 10px; } .ys-certs b { color: var(--ys-ink); font-size: 15px; font-weight: 600; }
/* footer */
.ys-footer { background: var(--ys-green) !important; } .ys-footer, .ys-footer p, .ys-footer li, .ys-footer a { color: #E4DDCC !important; } .ys-footer h4 { color: #fff !important; font-family: "Be Vietnam Pro", sans-serif !important; font-size: 15px !important; font-weight: 600 !important; margin: 0 0 18px !important; border-bottom: 1px solid rgba(217,183,122,.6); display: inline-block; padding-bottom: 3px; }
.ys-footer p.ys-ft-logo { display: flex; align-items: center; gap: 14px; margin: 0 0 18px !important; } .ys-ft-logo img { width: 84px; height: 64px; object-fit: contain; } .ys-ft-logo span { color: #fff; font-family: "Noto Serif Display", serif; font-size: 22px; text-transform: uppercase; line-height: 1.3; } .ys-ft-logo small { display: block; color: var(--ys-sand); font-size: 11px; letter-spacing: .12em; }
.ys-footer p.ys-ft-desc { font-size: 13.5px !important; line-height: 1.65 !important; }
.ys-footer ul { list-style: none; margin: 0 !important; } .ys-ft-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; margin: 0 0 12px !important; } .ys-ft-info img { width: 18px; height: 18px; margin-top: 2px; filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(.95); } .ys-ft-links li { font-size: 13.5px; margin: 0 0 12px !important; list-style: none; }
.ys-ft-map { position: relative; border: 2px solid #C9A56A; height: 176px; overflow: hidden; } .ys-ft-map iframe { width: 100%; height: 100%; border: 0; display: block; } .ys-ft-map span { position: absolute; right: 10px; top: 16px; background: #fff; color: var(--ys-ink); font-size: 12px; line-height: 1.5; padding: 10px 14px; border-radius: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.15); } .ys-ft-map span b { display: block; color: var(--ys-ink); }
@media (min-width: 850px) { .ys-footer .ysf-a { flex-basis: 26% !important; max-width: 26% !important; } .ys-footer .ysf-b { flex-basis: 24% !important; max-width: 24% !important; } .ys-footer .ysf-c { flex-basis: 12% !important; max-width: 12% !important; } .ys-footer .ysf-d { flex-basis: 14% !important; max-width: 14% !important; } .ys-footer .ysf-e { flex-basis: 24% !important; max-width: 24% !important; } }
.ys-ft-bottom { border-top: 1px solid rgba(217,183,122,.4); margin-top: 20px !important; } .ys-ft-bottom .col { padding-bottom: 0 !important; } .ys-ft-copy { display: flex; justify-content: space-between; align-items: center; font-size: 13px !important; padding: 18px 0; margin: 0 !important; } .ys-footer .ys-gold { color: var(--ys-sand) !important; }
@media (max-width: 849px) {
  .ys-hero { background-position: 70% 50% !important; } .ys-hero-in { padding: 36px 16px 40px; min-height: 380px; } .ys-hero h1 { font-size: 30px !important; } .ys-hr1, .ys-hr2, .ys-bird { display: none; } .ys-lead { max-width: 62%; font-size: 15px; }
  .ys-perks, .ys-grid, .ys-blog { grid-template-columns: 1fr 1fr; gap: 10px; } .ys-perks p { border: 0; margin-bottom: 14px !important; }
  .ys-pwrap { grid-template-columns: 1fr; } .ys-promo { min-height: 240px; } .ys-promo b { font-size: 32px; } .ys-h2 { font-size: 28px !important; } .ys-head { flex-wrap: wrap; gap: 6px; }
  .ys-cname, .ys-card small, .ys-price { margin-left: 10px; margin-right: 10px; } .ys-add { margin: 0 10px; } .ys-price s { display: block; margin: 0; }
  .ys-adv { grid-template-columns: 1fr; } .ys-vids { grid-template-columns: 1fr; } .ys-ptitle { margin: 10px 12px 0; font-size: 15px; } .ys-pmeta { margin: 10px 12px 12px; flex-direction: column; gap: 4px; }
  .ys-tes { grid-template-columns: 1fr; padding: 20px; gap: 16px; } .ys-tph { width: 100%; } .ys-arr { display: none; } .ys-chead { flex-direction: column; gap: 4px; } .ys-certs { grid-template-columns: 1fr; justify-items: center; }
  .ys-ft-copy { flex-direction: column; gap: 6px; }
}
.absolute-footer { display: none !important; }
/* mid-fix */ @media (min-width: 850px) and (max-width: 1199px) { .ys-pwrap { grid-template-columns: 1fr; } .ys-promo { min-height: 260px; } } @media (min-width: 850px) and (max-width: 1099px) { .ys-vids { grid-template-columns: 1fr 1fr; } } /* /mid-fix */
#header .header-search > a, #header .header-search .button, #header .header-search a.icon { background: none !important; border: 0 !important; box-shadow: none !important; color: var(--ys-green) !important; }
#header .account-item a.icon, #header .account-item .button, #header .cart-item .button { background: none !important; border: 0 !important; box-shadow: none !important; color: var(--ys-green) !important; }
/* mob-hero */ @media (max-width: 849px) { .section.ys-hero, .section.ysi-hero:not(.ysi-shero) { padding-top: 250px !important; background-color: #F6F0E6 !important; min-height: 0 !important; } .ys-hero .section-bg, .ysi-hero .section-bg { top: 0 !important; bottom: auto !important; height: 250px !important; background-size: cover !important; background-position: 80% 50% !important; } .ysi-hero .section-bg::after, .ysi-shero::before { display: none !important; } .ys-hero-in, .ysi-hero-in { min-height: 0 !important; padding: 20px 16px 28px !important; } .ys-hr1, .ys-hr2, .ys-dots, .ys-bird, .ysi-bird { display: none !important; } .ys-lead { max-width: none !important; }
  div.ysi-hero.ysi-shero { padding-top: 250px !important; background-size: auto 250px !important; background-position: 80% 0 !important; background-repeat: no-repeat !important; background-color: #F6F0E6 !important; } div.ysi-hero.ysi-shero .ysi-hero-in { min-height: 0 !important; padding: 20px 16px 28px !important; } } /* /mob-hero */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
