:root {
  --blue: #246a86;
  --blue-dark: #174c45;
  --blue-soft: #edf7f4;
  --orange: #c87932;
  --orange-dark: #a65f26;
  --ink: #1d2c2f;
  --muted: #687a78;
  --line: #d8e5df;
  --surface: #fbfaf3;
  --surface-card: #ffffff;
  --soft: #f3f7f4;
  --shadow: 0 16px 36px rgba(23, 76, 69, 0.1);
  --shadow-strong: 0 20px 46px rgba(23, 76, 69, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 138px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaf3 0%, #f3f7f4 48%, #fbfaf3 100%);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(23, 76, 69, 0.05);
}

.topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 28px 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  display: block;
  width: 220px;
  height: 84px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.company {
  display: grid;
  gap: 2px;
  color: var(--blue-dark);
}

.company strong {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.company span {
  color: var(--muted);
  font-size: 13px;
}

.company-slogan {
  color: var(--orange);
  font-weight: 800;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 156px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue-dark);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-chip:hover {
  border-color: #a7cfc5;
  box-shadow: 0 10px 24px rgba(23, 76, 69, 0.1);
  transform: translateY(-1px);
}

.contact-chip i {
  color: var(--orange);
  font-size: 20px;
}

.contact-chip small,
.contact-chip span {
  display: block;
}

.contact-chip small {
  color: var(--muted);
  font-size: 11px;
}

.contact-chip span {
  font-weight: 800;
  line-height: 1.25;
}

.contact-chip.zalo i {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  color: var(--blue);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px 8px;
}

.nav a,
.nav-selected {
  padding: 9px 16px;
  border-radius: 6px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-selected {
  border: 0;
  background: transparent;
}

.nav a span,
.nav-selected span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
}

.nav a.active,
.nav a:hover,
.nav-selected:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

.nav a.active span,
.nav a:hover span,
.nav-selected:hover span {
  background: rgba(255, 255, 255, 0.9);
  color: var(--orange-dark);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 28px 28px;
}

.category-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 22px;
  padding: 0;
  text-align: center;
}

.panel-title {
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: visible;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}

.category-items::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue-dark);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.category-item.active,
.category-item:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 250, 247, 0.96) 50%, rgba(232, 243, 239, 0.96) 100%);
  box-shadow: 0 18px 44px rgba(23, 76, 69, 0.07);
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -235px;
  width: 720px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), #2f7b73);
  box-shadow: -14px -14px 0 rgba(200, 121, 50, 0.82);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: 52px 42px 44px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin-bottom: 24px;
  color: #4f625f;
  font-size: 17px;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.primary-btn {
  background: var(--orange);
  color: #fff;
}

.primary-btn:hover {
  background: var(--orange-dark);
  box-shadow: 0 12px 24px rgba(166, 95, 38, 0.18);
  transform: translateY(-1px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.78);
  border-color: #b8d0ca;
  color: var(--blue);
}

.secondary-btn:hover {
  background: var(--blue-soft);
  border-color: #8bbcb1;
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-metrics span {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d7e7e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.15;
}

.hero-products {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(92px, 0.5fr));
  grid-auto-rows: 132px;
  align-content: center;
  align-items: center;
  gap: 14px;
  padding: 48px 38px 74px 8px;
  min-width: 0;
}

.hero-products img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  filter: drop-shadow(0 16px 20px rgba(23, 76, 69, 0.14));
}

.hero-products .sprayer {
  grid-row: span 2;
  height: 300px;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px 38px;
}

.trust-strip div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  padding: 22px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  min-height: 132px;
}

.trust-strip div:first-child {
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
}

.trust-strip div:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.trust-strip i {
  grid-row: span 2;
  color: var(--blue);
  font-size: 30px;
}

.trust-strip strong {
  color: var(--blue-dark);
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
}

.catalogue,
.quote-section,
.contact-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 58px 28px 44px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.catalogue-tools {
  display: flex;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 330px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #b8d0ca;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(23, 76, 69, 0.05);
}

.search-box input,
.catalogue-tools select,
.quote-cart textarea,
.selection-layout textarea,
.zalo-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.catalogue-tools select {
  height: 48px;
  min-width: 180px;
  padding: 0 12px;
  border: 1px solid #b8d0ca;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(23, 76, 69, 0.05);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalogue-layout {
  display: block;
  align-items: start;
}

.catalogue-list {
  min-width: 0;
}

.catalogue-layout .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: 210px auto;
  min-height: 450px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #99c2b7;
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px);
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 249, 0.9)),
    radial-gradient(circle at center, rgba(36, 106, 134, 0.05), transparent 58%);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
  padding: 18px;
}

.product-category {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.25;
}

.product-card h3 a:hover {
  color: var(--blue);
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.spec-list span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  align-self: end;
  margin-top: 6px;
}

.add-quote,
.detail-btn {
  min-height: 44px;
  border-radius: 7px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.add-quote {
  border: 0;
  background: var(--orange);
  color: #fff;
}

.add-quote:hover,
.detail-btn:hover {
  transform: translateY(-1px);
}

.add-quote:hover {
  background: var(--orange-dark);
}

.detail-btn {
  border: 1px solid #b8d0ca;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
}

.detail-btn:hover {
  border-color: #8bbcb1;
  background: var(--blue-soft);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  background:
    linear-gradient(135deg, rgba(36, 106, 134, 0.05), rgba(200, 121, 50, 0.05)),
    var(--surface-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-copy p {
  max-width: 720px;
  color: var(--muted);
}

.safety-note {
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: var(--surface-card);
  color: var(--ink);
  font-size: 14px;
}

.quote-cart {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue-dark);
}

.cart-head button {
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font-weight: 700;
}

.cart-items {
  display: grid;
  gap: 8px;
  min-height: 72px;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 34px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row span {
  min-width: 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.cart-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-row input {
  width: 48px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-dark);
  text-align: center;
}

.cart-row button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
}

.quote-cart textarea {
  resize: vertical;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.zalo-input {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 800;
}

.zalo-input span {
  font-size: 13px;
}

.zalo-input input,
.selection-layout textarea {
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-card);
}

.selection-layout textarea {
  resize: vertical;
  min-height: 86px;
}

.primary-btn.full {
  width: 100%;
  border: 0;
}

.secondary-btn.full {
  width: 100%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.tagline {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.contact-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.footer {
  padding: 44px 28px 22px;
  background:
    linear-gradient(135deg, rgba(23, 76, 69, 0.98), rgba(30, 61, 63, 0.98)),
    var(--blue-dark);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: 40px;
  max-width: 1380px;
  margin: 0 auto;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand img {
  width: 220px;
  height: 82px;
  object-fit: contain;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-column {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.footer-column ul,
.footer-column dl,
.footer-column nav {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.footer-column li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  list-style: none;
  min-width: 0;
}

.footer-column i {
  color: #e5b06c;
}

.footer-column dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-column dd {
  margin: 4px 0 0;
}

.footer-column a,
.footer-column dd {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-column nav a {
  justify-self: start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1380px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.product-detail-body {
  background:
    linear-gradient(180deg, rgba(237, 247, 244, 0.78) 0, rgba(251, 250, 243, 0) 460px),
    var(--surface);
}

.product-page {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.product-topbar-mini {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(320px, auto) minmax(230px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 12px 18px;
  border: 1px solid rgba(216, 229, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 244, 0.78)),
    #fff;
  box-shadow: 0 14px 34px rgba(23, 76, 69, 0.09);
  backdrop-filter: blur(10px);
}

.back-link,
.product-mini-zalo,
.product-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.back-link {
  justify-self: start;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--blue);
}

.back-link:hover {
  background: rgba(36, 106, 134, 0.08);
  color: var(--blue-dark);
}

.product-mini-brand {
  justify-self: center;
  color: var(--ink);
  letter-spacing: 0;
}

.product-mini-brand img {
  width: 300px;
  height: 96px;
  object-fit: contain;
  padding: 3px;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.product-mini-brand span,
.product-mini-contact span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.product-mini-brand strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.product-mini-brand small,
.product-mini-contact small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.product-mini-meta,
.product-mini-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.product-mini-meta {
  justify-self: end;
  flex-wrap: wrap;
}

.product-mini-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(216, 229, 223, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-mini-meta i {
  color: var(--orange-dark);
}

.product-mini-actions {
  justify-self: end;
}

.product-mini-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(23, 76, 69, 0.09);
}

.product-mini-contact i {
  color: var(--blue-dark);
}

.product-mini-contact strong {
  font-size: 15px;
}

.product-mini-zalo {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(36, 106, 134, 0.16);
  border-radius: 999px;
  background: rgba(36, 106, 134, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.product-mini-zalo:hover,
.product-mini-contact:hover {
  transform: translateY(-1px);
}

.product-hero-sheet {
  display: grid;
  grid-template-columns: minmax(320px, 455px) minmax(0, 1fr);
  gap: 38px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(216, 229, 223, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(23, 76, 69, 0.12);
}

.product-visual-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-visual-card img {
  width: 100%;
  min-height: 360px;
  max-height: 460px;
  object-fit: contain;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, rgba(243, 247, 244, 0.52)),
    #fff;
}

.product-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.product-hero-copy h1 {
  max-width: 760px;
  color: var(--blue-dark);
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.08;
}

.product-hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.product-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.product-format-card {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 229, 223, 0.96);
  border-radius: 8px;
  background: rgba(237, 247, 244, 0.62);
}

.product-format-card span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-format-card strong {
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.45;
}

.product-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 184px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(23, 76, 69, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.product-add-button:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(23, 76, 69, 0.22);
}

.product-content-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.product-info-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  margin: 4px 0 2px;
}

.product-info-heading h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-info-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 168px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.96), rgba(250, 252, 255, 0.96)),
    #fff;
  box-shadow: 0 10px 24px rgba(23, 76, 69, 0.06);
}

.product-info-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
}

.product-info-card h2::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(200, 121, 50, 0.13);
}

.product-info-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 0;
  color: #324446;
  list-style: none;
  line-height: 1.68;
}

.product-info-card li {
  position: relative;
  padding-left: 18px;
}

.product-info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.product-info-card-wide {
  grid-column: 1 / -1;
}

.product-info-combo {
  gap: 16px;
}

.product-info-combo-block {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-info-combo-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.product-info-combo-block h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 15px;
}

.product-consult-widget {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 40;
}

.product-consult-widget summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 16px 34px rgba(23, 76, 69, 0.24);
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.product-consult-widget summary::-webkit-details-marker {
  display: none;
}

.product-consult-widget summary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(23, 76, 69, 0.3);
}

.product-consult-widget summary i {
  font-size: 22px;
}

.product-consult-widget summary span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.product-consult-popover {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: grid;
  gap: 14px;
  width: min(318px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 112px));
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 48px rgba(23, 76, 69, 0.18);
}

.product-consult-popover h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.25;
}

.product-consult-popover p,
.consult-footnote {
  color: var(--muted);
  line-height: 1.65;
}

.consult-actions {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.consult-primary,
.consult-secondary,
.consult-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 850;
}

.consult-primary {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 76, 69, 0.18);
}

.consult-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
}

.consult-text {
  min-height: 36px;
  color: var(--blue);
}

.consult-footnote {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.consult-footnote strong {
  color: var(--blue-dark);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 76, 69, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(23, 76, 69, 0.28);
}

.float-zalo,
.float-top {
  background: var(--blue);
}

.float-phone {
  background: var(--orange);
}

.floating-basket {
  position: fixed;
  right: 18px;
  bottom: 136px;
  z-index: 31;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 16px 34px rgba(23, 76, 69, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-basket:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(23, 76, 69, 0.32);
}

.floating-basket i {
  font-size: 23px;
}

.floating-basket span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.product-dialog,
.selection-dialog {
  width: min(860px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop,
.selection-dialog::backdrop {
  background: rgba(10, 24, 47, 0.48);
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--blue-dark);
}

.dialog-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  padding: 28px;
}

.dialog-layout img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.dialog-layout h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 28px;
}

.dialog-layout ul {
  padding-left: 18px;
  color: var(--muted);
}

.selection-dialog {
  width: min(620px, calc(100vw - 32px));
}

.selection-layout {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.selection-layout h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 30px;
}

.selection-layout p {
  margin-bottom: 0;
  color: var(--muted);
}

.articles {
  max-width: 1380px;
  margin: 0 auto;
  padding: 38px 28px 44px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.article-card-featured {
  gap: 0;
}

.article-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.article-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-card-content {
  display: grid;
  gap: 8px;
  color: var(--ink);
  line-height: 1.7;
}

.article-card-content p,
.article-card-content ul,
.article-card-content ol,
.article-card-content blockquote {
  margin: 0;
}

.article-card-content ul,
.article-card-content ol {
  padding-left: 20px;
}

.article-card-content strong {
  color: var(--blue-dark);
}

.article-meta {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-link {
  color: var(--blue);
  font-weight: 800;
}

.admin-card,
.admin-form {
  display: grid;
  gap: 12px;
}

.admin-help {
  color: var(--muted);
  font-size: 13px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-workspace[hidden] {
  display: none;
}

.admin-card,
.admin-form {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
}

.admin-card h3,
.admin-form h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 22px;
}

.admin-card label,
.admin-form label {
  display: grid;
  gap: 6px;
}

.admin-card span,
.admin-form span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.admin-card input,
.admin-card textarea,
.admin-form input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.admin-card textarea {
  resize: vertical;
  min-height: 96px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.selection-actions {
  display: grid;
  gap: 10px;
}

.clear-selection {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 40;
  transform: translate(-50%, 90px);
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transition: 180ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.admin-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 28px clamp(16px, 2.8vw, 40px) 40px;
}

.admin-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.admin-login-copy p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.admin-login-form,
.admin-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: var(--shadow);
}

.admin-login-form label,
.admin-card label {
  display: grid;
  gap: 6px;
}

.admin-login-form span,
.admin-card span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.admin-login-form input,
.admin-login-form textarea,
.admin-card input,
.admin-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.admin-page-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-page-workspace--article {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: start;
}

.admin-page-workspace--article-browser {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.admin-page-workspace--catalog {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.admin-page-workspace[hidden],
.admin-entry-grid[hidden] {
  display: none;
}

.admin-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-entry-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-card);
  box-shadow: var(--shadow);
}

.admin-entry-card h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.admin-entry-card p {
  margin: 0;
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-toolbar-spacer {
  flex: 1;
}

.admin-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h3 {
  margin: 4px 0 0;
}

.admin-catalog-stack {
  display: grid;
  gap: 18px;
}

.admin-catalog-library,
.admin-article-browser,
.admin-catalog-editor,
.admin-catalog-preview,
.admin-article-editor,
.admin-article-preview {
  align-self: start;
}

.admin-search {
  display: grid;
  gap: 6px;
}

.admin-search input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.admin-catalog-groups {
  display: grid;
  gap: 14px;
}

.admin-catalog-group {
  display: grid;
  gap: 10px;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-catalog-list {
  display: grid;
  gap: 10px;
}

.admin-product-editor {
  display: grid;
  gap: 18px;
}

.admin-product-section {
  display: grid;
  gap: 14px;
  padding-top: 2px;
}

.admin-product-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-product-section-head span {
  line-height: 1.2;
}

.admin-section-editor {
  display: grid;
  gap: 14px;
}

.admin-section-editor-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-editor-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-section-list {
  display: grid;
  gap: 12px;
}

.admin-section-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.96), rgba(250, 252, 255, 0.96)),
    #fff;
}

.admin-section-card textarea {
  min-height: 122px;
}

.admin-section-surface {
  min-height: 180px;
}

.admin-section-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-list-editor-body {
  display: grid;
  gap: 10px;
}

.admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.catalog-preview-sheet {
  display: grid;
  gap: 18px;
}

.product-info-rich {
  display: grid;
  gap: 10px;
}

.product-info-rich > :first-child {
  margin-top: 0;
}

.product-info-rich > :last-child {
  margin-bottom: 0;
}

.product-info-rich h2,
.product-info-rich h3,
.product-info-rich p,
.product-info-rich ul,
.product-info-rich ol,
.product-info-rich blockquote {
  margin: 0;
}

.product-info-rich ul,
.product-info-rich ol {
  padding-left: 18px;
}

.product-info-rich blockquote {
  padding-left: 14px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}

.admin-catalog-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: none;
}

.admin-catalog-item.is-selected {
  border-color: #8bb9ae;
  box-shadow: var(--shadow);
}

.admin-catalog-item-type,
.admin-catalog-item-id {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-catalog-item-type {
  color: var(--orange-dark);
}

.admin-catalog-item-id {
  color: var(--muted);
}

.admin-catalog-item strong {
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.25;
}

.admin-catalog-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-catalog-form {
  display: grid;
  gap: 12px;
}

.admin-catalog-form input,
.admin-catalog-form textarea,
.admin-catalog-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.admin-catalog-form textarea {
  resize: vertical;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.catalog-preview-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.catalog-preview-media {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.catalog-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-preview-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.catalog-preview-body h4 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.catalog-preview-body p {
  margin: 0;
  color: var(--muted);
}

.catalog-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-preview-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.catalog-preview-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.catalog-preview-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.admin-confirm-dialog {
  width: min(760px, calc(100vw - 28px));
}

.admin-confirm-dialog-body {
  display: grid;
  gap: 16px;
}

.admin-confirm-copy p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-confirm-actions {
  justify-content: end;
}

.admin-import {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-import textarea {
  min-height: 110px;
}

.admin-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-row-wide {
  grid-column: 1 / -1;
}

.admin-row-delete {
  align-self: end;
  min-width: 44px;
  min-height: 44px;
}

.admin-article-board,
.admin-article-side {
  align-self: start;
}

.admin-article-list {
  display: grid;
  gap: 18px;
}

.admin-article-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-article-head {
  display: grid;
  grid-template-columns: minmax(0, 320px) auto;
  gap: 12px;
  align-items: end;
}

.admin-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.admin-article-form {
  display: grid;
  gap: 12px;
}

.admin-file-picker {
  display: grid;
  gap: 6px;
}

.admin-file-picker input[type="file"] {
  min-height: 44px;
  padding: 8px 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-image-panel {
  display: grid;
  gap: 10px;
}

.admin-image-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.96), rgba(250, 252, 255, 0.96)),
    #fff;
  aspect-ratio: 4 / 3;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-rich-editor {
  display: grid;
  gap: 6px;
}

.admin-rich-editor .ql-toolbar.ql-snow {
  border-color: var(--line);
  border-radius: 7px 7px 0 0;
  background: var(--soft);
}

.admin-rich-editor .ql-container.ql-snow {
  border-color: var(--line);
  border-radius: 0 0 7px 7px;
  background: #fff;
  color: var(--ink);
}

.admin-rich-editor .ql-editor {
  min-height: 240px;
  line-height: 1.7;
}

.article-quill {
  min-height: 240px;
}

.admin-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: var(--soft);
}

.admin-editor-toolbar button {
  display: inline-grid;
  width: 36px;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--blue-dark);
}

.admin-editor-toolbar button:hover,
.admin-editor-toolbar button:focus-visible {
  border-color: var(--line);
  background: #fff;
}

.admin-editor-surface {
  min-height: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  background: #fff;
  color: var(--ink);
  line-height: 1.7;
  outline: 0;
}

.admin-editor-surface:focus {
  border-color: #8bb9ae;
  box-shadow: 0 0 0 3px rgba(139, 185, 174, 0.16);
}

.admin-editor-surface p,
.admin-editor-surface ul,
.admin-editor-surface ol,
.admin-editor-surface blockquote {
  margin: 0 0 10px;
}

.admin-editor-surface ul,
.admin-editor-surface ol {
  padding-left: 20px;
}

.admin-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 12px;
}

.admin-article-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.article-preview {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-preview-media {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.article-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-preview-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.article-preview-body h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.article-preview-body p {
  margin: 0;
  color: var(--muted);
}

.article-preview-content {
  display: grid;
  gap: 8px;
  color: var(--ink);
  line-height: 1.65;
}

.article-preview-content p,
.article-preview-content ul,
.article-preview-content ol,
.article-preview-content blockquote {
  margin: 0;
}

.article-preview-content ul,
.article-preview-content ol {
  padding-left: 20px;
}

.article-preview-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.article-preview-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.article-preview-footer strong {
  color: var(--orange-dark);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-notes {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

#catalogEditor {
  min-height: 580px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .admin-page {
    padding: 20px 14px 36px;
  }

  .admin-login-shell,
  .admin-page-workspace,
  .admin-entry-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-workspace--article,
  .admin-page-workspace--article-browser,
  .admin-page-workspace--catalog,
  .admin-article-layout,
  .admin-article-head,
  .admin-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-section-head,
  .article-preview-footer {
    display: grid;
    justify-content: start;
  }

  .admin-actions {
    display: grid;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .topline {
    grid-template-columns: auto 1fr;
  }

  .brand img {
    width: 204px;
    height: 78px;
  }

  .company {
    display: none;
  }

  .header-contact {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-products {
    padding-top: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .trust-strip,
  .product-grid,
  .catalogue-layout .product-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-panel {
    max-width: 760px;
  }

  .panel-title {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  [id] {
    scroll-margin-top: 94px;
  }

  .topline {
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
  }

  .brand img {
    width: 164px;
    height: 62px;
  }

  .header-contact .contact-chip {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px 14px;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav-selected {
    text-align: center;
  }

  .hero,
  .catalogue,
  .articles,
  .quote-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-main {
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-main::after {
    right: -280px;
    bottom: -205px;
  }

  .hero-copy {
    padding: 34px 24px 22px;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 18px 44px;
  }

  .hero-products img {
    width: 100%;
    height: 90px;
  }

  .hero-products .sprayer {
    grid-column: span 2;
    grid-row: span 2;
    height: 174px;
  }

  .trust-strip,
  .product-grid,
  .catalogue-layout .product-grid,
  .article-grid,
  .quote-section,
  .contact-section,
  .contact-list,
  .dialog-layout,
  .selection-layout,
  .footer-inner,
  .footer-columns,
  .product-topbar-mini,
  .product-hero-sheet,
  .product-content-shell,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .product-page {
    width: min(100% - 32px, 1180px);
    padding: 18px 0 54px;
  }

  .product-topbar-mini {
    gap: 10px;
    padding: 12px;
  }

  .product-mini-brand {
    justify-self: start;
    grid-row: 1;
  }

  .product-mini-brand img {
    width: 220px;
    height: 82px;
  }

  .product-mini-meta {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .product-mini-actions {
    justify-self: stretch;
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .back-link,
  .product-mini-contact {
    justify-self: stretch;
    justify-content: center;
  }

  .product-mini-zalo {
    justify-content: center;
  }

  .product-hero-sheet {
    gap: 22px;
    padding: 16px;
  }

  .product-visual-card img {
    min-height: 260px;
    padding: 18px;
  }

  .product-hero-copy h1 {
    font-size: 32px;
  }

  .product-hero-copy p {
    font-size: 15px;
  }

  .product-summary-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-format-card,
  .product-add-button {
    min-height: 52px;
    width: 100%;
  }

  .product-consult-widget {
    right: 14px;
    bottom: 16px;
  }


  .footer-bottom {
    flex-direction: column;
  }

  .category-panel {
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .category-items {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .category-item {
    min-height: 40px;
    padding: 0 12px;
  }

  .trust-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .section-head,
  .catalogue-tools {
    display: grid;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
  }

  .product-card {
    min-height: auto;
  }

  .floating-contact {
    right: 12px;
    bottom: 14px;
  }

  .floating-basket {
    right: 12px;
    bottom: 116px;
    width: 50px;
    height: 50px;
  }

  .floating-basket i {
    font-size: 20px;
  }

  .floating-basket span {
    min-width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .floating-contact a {
    min-width: 48px;
    width: 48px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }

  .floating-contact a i {
    font-size: 17px;
  }
}
