/* Thuỷ Sinh Lam Ngọc (thuysinh) — trang chủ theo mockup (đợt 9). Đỏ #b90000 + cam #fc5e31. Tiền tố ln- */
:root { --c1: #b90000; --c1d: #9b0000; --c2: #fc5e31; --ink: #1b1b1b; --mu: #5f5f5f; --ft: #b10000; --line: #e6e6e6; --hf: "Be Vietnam Pro", Inter, sans-serif; --bf: Inter, sans-serif; --r: 6px; --rb: 4px; }
#header .banner-top { display: none !important; }
#logo { width: auto !important; }
.ln-tb { color: #fff; font-size: 14px; } .ln-tb a { color: #fff !important; font-weight: 600; }
#header #logo a { display: block; width: 330px; height: 62px; background: url("icons/logo.png") left center / contain no-repeat; font-size: 0 !important; color: transparent !important; }
@media (min-width: 850px) { #header .header-main .flex-left { flex: 1; justify-content: center; } }
#header .header-search-form { width: 100%; max-width: 640px; margin: 0 auto; }
#header .header-search-form .search-field { height: 46px; border: 1px solid #e0e0e0; background: #f4f4f4; box-shadow: none; border-radius: 4px 0 0 4px; font-size: 14.5px; }
#header .header-search-form .ux-search-submit { height: 46px; width: 54px; background: var(--c1) !important; border-radius: 0 4px 4px 0; }
#header .cart-item .header-cart-title { font-size: 15px; color: #222; text-transform: none; font-weight: 500; }
#header .cart-item .cart-icon, #header .cart-item i { color: var(--c1) !important; font-size: 26px; }
.header-bottom { background: var(--c1) !important; }
#header .header-bottom-nav > li { margin: 0 24px; }
#header .header-bottom-nav > li > a { color: #fff !important; font-size: 16px; font-weight: 600; padding: 0; text-transform: none; }
.ln-sec h2, .ln-h2 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; color: #1b1b1b; }
.ln-sec .b9-all { color: var(--c1) !important; }
/* hero */
.ln-hero { min-height: 530px; padding: 70px 0 !important; }
.ln-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,15,10,.6) 0%, rgba(5,15,10,.25) 40%, rgba(5,15,10,0) 60%); }
.ln-h1 { color: #fff !important; font-size: 66px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; }
.ln-hero-s { color: #fff; font-size: 21px; margin-bottom: 30px; }
.ln-btns { display: flex; gap: 16px; }
.ln-btns a { min-height: 52px; padding: 0 30px; font-size: 16px; }
/* cam kết */
.ln-com-sec { padding: 28px 0 22px !important; }
.ln-com { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ln-com > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ln-com img { width: 56px; height: 56px; }
.ln-com span { font-size: 17px; color: #222; font-weight: 500; }
/* loại bể */
.ln-tank-sec { padding: 26px 0 30px !important; }
.ln-tank { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.ln-tank a { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.ln-tank img { width: 100%; aspect-ratio: 466 / 258; object-fit: cover; display: block; transition: transform .4s; }
.ln-tank a:hover img { transform: scale(1.04); }
.ln-tank a::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.ln-tank b { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: #fff; font-size: 24px; font-family: var(--hf); }
/* SP */
.ln-prod-sec { padding: 20px 0 30px !important; }
.ln-hd2 { margin-top: 42px; }
.ln-prod { --n: 4; --gap: 22px; --pc-ar: 1 / .76; --pc-pad: 0px; --pc-bg: #e3edf5; }
.ln-prod .b9-pc-img img { mix-blend-mode: multiply; }
.ln-prod .b9-pc { border-radius: 4px; }
.ln-prod .b9-pc-t { font-size: 20px; font-weight: 500; }
.ln-prod .b9-pc-p { font-size: 21px; font-weight: 800; }
.ln-prod .b9-pc-btn a { min-height: 42px; font-size: 14.5px; border-radius: 4px; }
/* bắt đầu */
.ln-start-sec { padding: 52px 0 56px !important; }
.ln-start-sec .section-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.ln-w { color: #fff !important; font-size: 46px !important; margin-bottom: 30px !important; }
.ln-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.ln-steps > div { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.ln-steps > div + div::before { content: ""; position: absolute; top: 34px; right: calc(50% + 56px); width: calc(100% - 112px); height: 2px; background: rgba(255,255,255,.85); }
.ln-steps img { width: 68px; height: 68px; }
.ln-steps b { color: #fff; font-size: 22px; font-weight: 600; }
/* mẫu bể */
.ln-gal-sec { padding: 46px 0 30px !important; }
.ln-gal { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ln-gal img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.ln-gal-b { grid-row: span 2; aspect-ratio: 700 / 404; }
/* tin */
.ln-news-sec { padding: 34px 0 44px !important; }
.ln-news { --gap: 22px; --po-ar: 450 / 268; }
.ln-news .b9-po { border: 0; }
.ln-news .b9-po-b { padding: 16px 0 0; }
.ln-news .b9-po-t { font-size: 23.5px; } .ln-news .b9-po-e { font-size: 16.5px; }
#footer .b9-ft { --ft: #b10000; --ftlogo: 52px; }
@media (min-width: 850px) and (max-width: 1199px) { #header .header-bottom-nav > li { margin: 0 12px; } .ln-steps b { font-size: 16px; } }
@media (max-width: 849px) {
  #header #logo a { width: 220px; height: 44px; background-position: center; }
  .ln-sec h2, .ln-h2 { font-size: 27px; } .ln-w { font-size: 28px !important; margin-bottom: 20px !important; }
  .ln-hero { min-height: 0; padding: 262px 0 30px !important; background-color: #0c1a14 !important; }
  .ln-hero .section-bg { bottom: auto; height: 250px; } .ln-hero .section-bg .bg { object-position: 60% 50% !important; } .ln-hero .section-bg::after { display: none; }
  .ln-h1 { font-size: 36px; } .ln-hero-s { font-size: 17px; }
  .ln-btns a { flex: 1; padding: 0 12px; }
  .ln-com { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } .ln-com img { width: 40px; height: 40px; } .ln-com span { font-size: 13.5px; text-align: center; }
  .ln-tank { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ln-prod { --nm: 2; }
  .ln-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } .ln-steps > div::before { display: none; } .ln-steps img { width: 48px; height: 48px; } .ln-steps b { font-size: 14px; text-align: center; }
  .ln-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; } .ln-gal-b { grid-column: 1 / -1; grid-row: auto; } .ln-gal img:not(.ln-gal-b) { aspect-ratio: 4 / 3; }
  .ln-news { --nm: 1; }
}
/* _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; }
