/* Đồng Xanh (nongsan5) — trang chủ y hệt mockup (xanh lá #339538 màu gốc, nền kem), cỡ đo theo mockup x1.98 (09-29) */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Dancing+Script:wght@500;700&display=swap");
:root { --dx-green: #339538; --dx-dark: #1E5631; --dx-ink: #1B2A1F; --dx-text: #4A5448; --dx-muted: #737B70; --dx-line: #E6E2D6; --dx-cream: #FAF7EF; --dx-orange: #F58A2A; --dx-red: #C8261C; }
body, p, li, a, input, select, textarea, button, h1, h2, h3, h4, td, th, .nav > li > a { font-family: "Be Vietnam Pro", sans-serif !important; }
.dx-script, .dx-script * { font-family: "Dancing Script", cursive !important; }
#top-bar { background: #DCEBCB !important; } #top-bar li.html, #top-bar span { color: var(--dx-dark) !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; } #top-bar .flex-center { flex: 1; } .dx-tb { display: inline-flex; gap: 12px; align-items: center; } .dx-tb img { width: 20px; height: 20px; } .dx-tbr { font-family: "Dancing Script", cursive !important; font-size: 18px !important; }
#header .header-main { background: var(--dx-cream) !important; } #header #logo { width: 270px !important; }
#header #logo a { position: relative; white-space: nowrap; display: flex; align-items: center; gap: 12px; font-size: 32px; font-weight: 800; color: var(--dx-dark) !important; line-height: 1; text-transform: none; padding-bottom: 14px; }
#header #logo a::before { content: ""; width: 66px; height: 60px; flex: 0 0 66px; background: url(icons/logo.png) center/contain no-repeat; } #header #logo a::after { content: "Nông sản sạch cho mọi nhà"; position: absolute; left: 78px; bottom: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dx-green); }
#header .header-search-form { width: 490px; max-width: 490px; margin-left: 50px; } #header .header-search-form .search-field { border: 1.5px solid #CFD6C4 !important; border-radius: 30px 0 0 30px !important; height: 46px !important; box-shadow: none !important; padding-left: 46px !important; font-size: 15px !important; background: #fff url(icons/search.png) 16px center/20px no-repeat !important; }
#header .header-search-form .ux-search-submit { background: var(--dx-dark) !important; border-radius: 0 30px 30px 0 !important; height: 46px !important; min-height: 46px !important; width: 60px; margin: 0 !important; box-shadow: none !important; } #header .header-search-form .flex-row { align-items: stretch; }
.dx-hlinks { display: inline-flex; align-items: center; gap: 34px; } .dx-hlinks a { display: inline-flex; align-items: center; gap: 10px; color: var(--dx-ink) !important; font-size: 14px; } .dx-hlinks .ph { font-size: 17px; font-weight: 600; } .dx-hlinks img { width: 28px; height: 28px; } .dx-hlinks .cart { position: relative; } .dx-hlinks .cart i { position: absolute; left: 18px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--dx-orange); color: #fff; font-size: 12px; font-style: normal; display: flex; align-items: center; justify-content: center; }
#header .header-bottom { background: var(--dx-cream) !important; border: 0 !important; } #header .header-bottom .header-nav > li > a { color: var(--dx-ink) !important; font-size: 16.5px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; }
#header .header-bottom .header-nav > li { margin: 0 18px !important; } #header .header-bottom .header-nav > li.active > a { color: var(--dx-dark) !important; font-weight: 700 !important; box-shadow: inset 0 -3px 0 var(--dx-green); }
.mobile-nav i, .mobile-nav .icon-menu { color: var(--dx-dark) !important; }
.dx-sec p { margin-bottom: 0; } .dx-center { text-align: center; }
.dx-kicker { color: var(--dx-green) !important; font-size: 14px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px !important; }
.dx-h2 { color: var(--dx-ink) !important; font-size: 38px !important; font-weight: 600 !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
.dx-p { color: var(--dx-text) !important; font-size: 16px !important; line-height: 1.7 !important; margin: 0 0 20px !important; }
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 30px; font-size: 17px; font-weight: 600; padding: 0 30px; min-height: 54px; text-decoration: none !important; } .dx-btn-g { background: var(--dx-dark); color: #fff !important; } .dx-btn-line { border: 2px solid var(--dx-dark); color: var(--dx-dark) !important; }
/* hero */
.dx-hero .col { padding: 0 !important; } .dx-hero-in { position: relative; height: 520px; background-size: 64% 100%; background-position: right center; background-repeat: no-repeat; }
.dx-hero-in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 47%; background: var(--dx-cream); border-radius: 0 50% 50% 0 / 0 30% 60% 0; }
.dx-leaves { position: absolute; left: 0; top: 0; height: 100%; width: auto; z-index: 1; opacity: .9; }
.dx-hero-t { position: relative; z-index: 2; padding: 70px 0 0 100px; max-width: 720px; }
.dx-hero-title { color: var(--dx-dark) !important; font-size: 58px !important; font-weight: 700 !important; line-height: 1.12 !important; margin: 0 0 16px !important; } .dx-hero-lead { color: var(--dx-text) !important; font-size: 20px !important; line-height: 1.55 !important; margin: 0 0 24px !important; }
.dx-btns { display: flex; gap: 20px; margin: 0 0 22px !important; } .dx-hero .dx-btn { min-width: 220px; }
.dx-perks { display: flex; gap: 36px; margin: 0 !important; } .dx-perks span { display: inline-flex; align-items: center; gap: 14px; color: var(--dx-text); font-size: 15px; } .dx-perks i { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--dx-green); display: flex; align-items: center; justify-content: center; } .dx-perks img { width: 28px; height: 28px; }
.dx-hero-note { position: absolute; left: 51%; top: 130px; z-index: 2; color: #fff !important; font-size: 34px !important; line-height: 1.15 !important; transform: rotate(-10deg); text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.dx-sign { position: absolute; right: 30px; top: 250px; z-index: 2; background: #C49A6C; color: #3B2A18 !important; font-family: "Dancing Script", cursive !important; font-size: 21px !important; line-height: 1.4; padding: 22px 26px; border-radius: 6px; transform: rotate(4deg); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
/* danh mục */
.dx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; } .dx-cats a { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--dx-ink) !important; font-size: 17px; font-weight: 500; }
.dx-cats span { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: var(--dx-cream); border: 1px solid var(--dx-line); } .dx-cats img { width: 100%; height: 100%; object-fit: cover; }
/* câu chuyện */
.dx-farm { position: relative; } .dx-farm-main { width: 88%; height: 470px; object-fit: cover; border-radius: 14px; } .dx-farm-note { position: absolute; left: 30px; top: 60px; color: #fff !important; font-size: 30px !important; line-height: 1.2 !important; transform: rotate(-8deg); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.dx-pol { position: absolute; background: #fff; padding: 10px 10px 8px; border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.18); margin: 0; width: 220px; } .dx-pol img { width: 100%; height: 150px; object-fit: cover; } .dx-pol figcaption { font-family: "Dancing Script", cursive !important; text-align: center; color: var(--dx-dark); font-size: 19px; line-height: 1.2; margin-top: 6px; }
.dx-pol-1 { right: 0; top: 30px; transform: rotate(4deg); } .dx-pol-2 { right: 70px; bottom: -30px; transform: rotate(-5deg); }
.dx-story .dx-h2 { font-size: 40px !important; } .dx-3 { display: grid; grid-template-columns: repeat(3, auto); gap: 30px; margin: 0 0 24px; } .dx-3 p { display: flex; align-items: center; gap: 16px; margin: 0 !important; color: var(--dx-text); font-size: 15.5px; line-height: 1.4; } .dx-3 img { width: 46px; height: 46px; }
/* sản phẩm */
.dx-headc { position: relative; text-align: center; } .dx-side-note { position: absolute; right: 0; top: 10px; color: var(--dx-dark) !important; font-size: 26px !important; line-height: 1.2 !important; transform: rotate(-8deg); }
.dx-more { position: absolute; right: 0; bottom: 18px; color: var(--dx-dark) !important; font-weight: 600; border-bottom: 1.5px solid; }
.dx-tabs { display: flex; justify-content: center; gap: 14px; margin: 0 0 20px !important; } .dx-tabs a { border: 1px solid #E0DCCC; background: #F7F4EA; color: var(--dx-dark) !important; border-radius: 30px; padding: 7px 36px; font-size: 14.5px; } .dx-tabs a.on { background: var(--dx-dark); color: #fff !important; border-color: var(--dx-dark); }
.dx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; } .dx-card { position: relative; background: #fff; border-radius: 10px; padding: 12px 20px 16px; box-shadow: 0 2px 12px rgba(30,86,49,.05); }
.dx-cimg { display: block; height: 176px; margin-bottom: 8px; } .dx-cimg img { width: 100%; height: 100%; object-fit: contain; } .dx-card-t .dx-cimg { height: 130px; }
.dx-badge { position: absolute; left: 16px; top: 14px; z-index: 1; color: #fff; font-style: normal; font-size: 12.5px; padding: 3px 12px; border-radius: 999px; } .dx-b-o { background: var(--dx-orange); } .dx-b-g { background: #53B144; }
.dx-cname { display: block; color: var(--dx-ink) !important; font-size: 17px; font-weight: 500; } .dx-price { color: var(--dx-text) !important; font-size: 16px !important; } .dx-price b { color: var(--dx-red); font-size: 19px; font-weight: 700; }
.dx-add { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--dx-dark); color: #fff !important; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; }
/* banner */
.dx-bn { display: grid; grid-template-columns: 1fr 1.53fr 1fr; gap: 14px; } .dx-bn a { position: relative; height: 280px; border-radius: 10px; background-size: cover; background-position: center; padding: 34px 38px; color: #fff !important; text-decoration: none !important; overflow: hidden; }
.dx-bn a::before { content: ""; position: absolute; inset: 0; } .dx-bn a > * { position: relative; } .dx-bn-1::before { background: linear-gradient(90deg, rgba(250,247,239,.95) 0%, rgba(250,247,239,.7) 40%, rgba(250,247,239,0) 70%); } .dx-bn a.dx-bn-1 { color: var(--dx-ink) !important; } .dx-bn a.dx-bn-1 b { color: var(--dx-dark); } .dx-bn a.dx-bn-1 span { color: var(--dx-text); }
.dx-bn-2::before { background: linear-gradient(90deg, rgba(30,86,49,.95) 0%, rgba(30,86,49,.7) 42%, rgba(30,86,49,0) 65%); } .dx-bn-3::before { background: linear-gradient(270deg, rgba(30,86,49,.95) 0%, rgba(30,86,49,.7) 45%, rgba(30,86,49,0) 72%); } .dx-bn-3 { text-align: right; }
.dx-bn b { display: block; font-size: 34px; font-weight: 700; line-height: 1.12; margin-bottom: 10px; } .dx-bn span { display: block; font-size: 15px; line-height: 1.5; } .dx-bn i { position: absolute; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; background: var(--dx-dark); color: #fff; font-style: normal; font-size: 22px; display: flex; align-items: center; justify-content: center; } .dx-bn-1 i { left: 38px; } .dx-bn-3 i { right: 38px; background: #fff; color: var(--dx-dark); }
.dx-bn-2 b { font-size: 42px; transform: rotate(-4deg); } .dx-bn-2 span { font-size: 20px; font-weight: 600; } .dx-bn-2 strong { display: block; font-size: 64px; line-height: 1; } .dx-bn-2 em { display: inline-block; margin-top: 14px; background: var(--dx-orange); border-radius: 30px; padding: 10px 26px; font-style: normal; font-weight: 600; font-size: 15px; }
/* khách hàng */
.dx-testi { background: var(--dx-dark) !important; } .dx-testi .dx-h2 { color: #fff !important; font-size: 34px !important; margin-bottom: 4px !important; } .dx-sub { color: rgba(255,255,255,.85) !important; font-size: 16px !important; margin: 0 0 22px !important; }
.dx-tsts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; } .dx-tsts > div { display: flex; gap: 22px; background: #fff; border-radius: 10px; padding: 18px 22px; } .dx-tsts img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: 0 0 112px; }
.dx-tsts p { margin: 0 !important; color: var(--dx-text) !important; font-size: 14px; font-style: italic; line-height: 1.55; } .dx-stars { display: block; color: #F5A623; font-size: 18px; font-style: normal; letter-spacing: 2px; margin-bottom: 6px; } .dx-tsts b { display: block; color: var(--dx-dark); font-style: normal; font-size: 16px; margin-top: 8px; }
/* tin tức */
.dx-news3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; } .dx-news3 a { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; color: var(--dx-muted) !important; text-decoration: none !important; font-size: 15px; line-height: 1.5; padding-bottom: 16px; box-shadow: 0 2px 12px rgba(30,86,49,.05); }
.dx-news3 img { width: 100%; height: 170px; object-fit: cover; margin-bottom: 10px; } .dx-news3 small { font-size: 12.5px; margin: 0 22px; } .dx-news3 b { color: var(--dx-ink); font-size: 19px; font-weight: 600; margin: 2px 22px 4px; } .dx-news3 span { margin: 0 22px 8px; } .dx-news3 em { color: var(--dx-dark); font-style: normal; font-weight: 600; margin: 0 22px; }
/* cam kết */
.dx-cm { display: grid; grid-template-columns: repeat(3, 1fr); } .dx-cm p { display: flex; justify-content: center; align-items: center; gap: 26px; margin: 0 !important; border-right: 1px solid #E2D9BF; } .dx-cm p:last-child { border: 0; } .dx-cm img { width: 64px; height: 64px; } .dx-cm span { color: var(--dx-dark); font-size: 17px; } .dx-cm b { display: block; font-size: 22px; font-weight: 600; } .dx-cm strong { font-weight: 700; }
/* footer */
.dx-footer { background: var(--dx-dark) !important; } .dx-footer, .dx-footer p, .dx-footer li, .dx-footer a { color: rgba(255,255,255,.9) !important; } .dx-footer h4 { color: #fff !important; font-size: 17px !important; font-weight: 600 !important; margin: 0 0 14px !important; }
.dx-footer p.dx-ft-logo { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; } .dx-ft-logo img { width: 60px; height: 60px; } .dx-ft-logo span { color: #fff; font-size: 30px; font-weight: 700; line-height: 1; } .dx-ft-logo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.dx-ft-txt { font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 0 14px !important; } .dx-social { display: flex; gap: 12px; } .dx-social a { width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; } .dx-social img { width: 20px; height: 20px; }
.dx-footer ul { list-style: none; margin: 0 !important; } .dx-ft-info li { display: flex; gap: 16px; font-size: 15.5px; margin: 0 0 14px !important; } .dx-ft-info img { width: 20px; height: 20px; margin-top: 2px; } .dx-ft-links li { font-size: 15px; margin: 0 0 10px !important; }
.dx-nl { display: flex; background: #fff; border-radius: 8px; padding: 4px; margin: 0; } .dx-nl input { border: 0 !important; box-shadow: none !important; margin: 0 !important; height: 44px !important; font-size: 14px !important; } .dx-nl button { background: var(--dx-dark); color: #fff; border: 0; border-radius: 6px; margin: 0; padding: 0 18px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.dx-ft-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 18px !important; } .dx-ft-bottom .col { padding-bottom: 0 !important; } .dx-ft-copy { display: flex; justify-content: space-between; align-items: center; font-size: 15px !important; padding: 16px 0; margin: 0 !important; } .dx-ft-copy .dx-script { font-size: 26px; display: inline-flex; align-items: center; gap: 8px; } .dx-ft-copy img { width: 40px; height: 40px; }
.absolute-footer { display: none !important; }
@media (max-width: 849px) {
  .dx-hero-in { height: auto; background-size: cover; } .dx-hero-in::before { width: 100%; border-radius: 0; opacity: .88; } .dx-hero-t { padding: 36px 20px 40px; } .dx-hero-title { font-size: 38px !important; } .dx-hero-lead br { display: none; } .dx-btns { flex-direction: column; gap: 12px; } .dx-hero-note, .dx-sign, .dx-leaves, .dx-side-note { display: none; } .dx-perks { flex-direction: column; gap: 10px; }
  .dx-cats { grid-template-columns: repeat(3, 1fr); gap: 12px; } .dx-cats span { width: 96px; height: 96px; } .dx-farm-main { width: 100%; height: 300px; } .dx-pol { display: none; } .dx-h2 { font-size: 28px !important; } .dx-3 { grid-template-columns: 1fr; gap: 12px; }
  .dx-tabs { flex-wrap: wrap; } .dx-tabs a { padding: 6px 16px; } .dx-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .dx-bn { grid-template-columns: 1fr; } .dx-tsts, .dx-news3, .dx-cm { grid-template-columns: 1fr; gap: 14px; } .dx-cm p { border: 0; justify-content: flex-start; } .dx-more { position: static; } .dx-ft-copy { flex-direction: column; gap: 6px; }
}
#top-bar .flex-row { min-height: 40px !important; height: 40px; }
/* mid-fix */ @media (min-width: 850px) and (max-width: 1199px) { .dx-cats { grid-template-columns: repeat(4, 1fr) !important; } } @media (max-width: 849px) { #header .mobile-nav .header-button-1, #header .mobile-nav li.html { display: none !important; } } @media (max-width: 849px) { #header #logo { width: 190px !important; max-width: 190px !important; } #header .mobile-nav .nav-icon a { padding: 0 !important; } #header .mobile-nav .nav-icon .menu-title { display: none !important; } #logo a { font-size: 24px; } #logo a::before { width: 46px; flex-basis: 46px; } #logo a::after { left: 56px; font-size: 9px; } } .dx-nl button { white-space: nowrap; flex: 0 0 auto; } .dx-nl input { min-width: 0; } /* /mid-fix */
/* mob-hero */ @media (max-width: 849px) { .dx-hero-in { height: auto !important; padding-top: 240px !important; background-size: auto 240px !important; background-position: 88% 0 !important; background-repeat: no-repeat !important; background-color: var(--dx-cream) !important; } .dx-hero-in::before, .dx-leaves, .dx-hero-note { display: none !important; } .dx-hero-t { padding: 20px 16px 26px !important; } } @media (max-width: 849px) { #header #logo { width: auto !important; max-width: 200px !important; } #header #logo a { font-size: 22px !important; } #header #logo a::before { width: 40px !important; flex-basis: 40px !important; height: 36px !important; } #header #logo a::after { left: 50px !important; font-size: 8px !important; } #header .header-main .flex-col.logo { flex: 1 1 auto; min-width: 0; } } /* /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; }
