:root {
  --green-900: #1f4d2a;
  --green-700: #2e6b3a;
  --green-500: #5a9a2f;
  --green-400: #7cb342;
  --green-100: #eef6e4;
  --green-50: #f6faf1;
  --orange-500: #f07c2a;
  --orange-400: #f59a4a;
  --orange-100: #fff1e5;
  --ink: #1f2a1f;
  --ink-2: #44524a;
  --ink-3: #7a867e;
  --line: #e7ece4;
  --bg: #f5f7f2;
  --white: #fff;
  --red: #e2412b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --pill: 999px;
  --shadow: 0 2px 10px rgba(31, 77, 42, .06);
  --shadow-lg: 0 12px 30px rgba(31, 77, 42, .14);
  --side: 280px;
  --gutter: clamp(20px, 2.2vw, 44px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.5
}

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

img {
  display: block;
  max-width: 100%
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 6px
}

/* ===== Top bar ===== */
.topbar {
  background: linear-gradient(90deg, var(--green-700), var(--green-400) 55%, var(--orange-500));
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: .2px
}

.topbar b {
  color: #fff4c2
}

/* ===== Layout ===== */
.shell {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--side) 1fr;
  background: #fff;
  min-height: 100vh
}

/* ===== Sidebar ===== */
.sidebar {
  border-right: 1px solid var(--line);
  padding: 22px 18px 28px;
  position: sticky;
  top: 0;
  z-index: 45;
  /* Fit the visible viewport: --sb-top = part of the topbar still on screen (set in wordpress.js). */
  height: 100vh;
  height: calc(100dvh - var(--sb-top, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #fff
}

.sidebar::-webkit-scrollbar {
  display: none
}

.brand img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 14px
}

.contact-mini {
  font-size: 12.5px;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.contact-mini div {
  display: flex;
  gap: 8px;
  align-items: flex-start
}

.contact-mini svg {
  flex: none;
  margin-top: 2px;
  color: var(--green-500)
}

.cat-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--ink-3);
  margin: 18px 6px 8px
}

.cats {
  list-style: none;
  display: grid;
  gap: 2px
}

.cats>li>a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 8px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: .18s
}

.cats>li>a:hover,
.cats>li>a.active {
  background: var(--green-100);
  color: var(--green-700)
}

.cats .ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: none
}

.cats .badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--red);
  color: #fff
}

.cats .badge.hot {
  background: var(--orange-500)
}

.side-promo {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-top: 16px;
  aspect-ratio: 3/4;
  color: #fff
}

.side-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.side-promo:hover img {
  transform: scale(1.06)
}

.side-promo .ov {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.side-promo.p1 .ov {
  background: linear-gradient(180deg, rgba(31, 77, 42, .0) 25%, rgba(31, 77, 42, .92))
}

.side-promo.p2 .ov {
  background: linear-gradient(180deg, rgba(240, 124, 42, 0) 25%, rgba(200, 80, 20, .92))
}

.side-promo small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9
}

.side-promo strong {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  margin: 4px 0 8px
}

.side-promo .tag {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--pill)
}

.side-links {
  list-style: none;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px
}

.side-links a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 8px;
  display: block;
  border-radius: 8px
}

.side-links a:hover {
  color: var(--green-700);
  background: var(--green-50)
}


/* ===== Menu đa cấp (mega menu) ===== */
.cats>li {
  position: relative
}

.cats .chev {
  margin-left: auto;
  color: var(--ink-3);
  flex: none;
  transition: .2s
}

.cats .badge+.chev {
  margin-left: 6px
}

.cats li.has-sub:hover>a,
.cats li.has-sub.open>a {
  background: var(--green-100);
  color: var(--green-700)
}

.cats li.has-sub:hover>a .chev,
.cats li.has-sub.open>a .chev {
  color: var(--green-700);
  transform: translateX(2px)
}

.sub-toggle {
  display: none
}

.mega {
  position: fixed;
  z-index: 60;
  width: min(760px, calc(100vw - var(--side) - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(31, 77, 42, .18);
  padding: 20px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .18s, transform .18s, visibility .18s
}

.cats li.open>.mega {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.mhead b {
  font-size: 17px;
  font-weight: 900;
  color: var(--green-900)
}

.mhead a {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange-500)
}

.mbody {
  display: flex;
  gap: 24px
}

.mcols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px 24px;
  align-content: start
}

.mcol .l2 {
  display: block;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green-100)
}

.mcol .l2:hover {
  color: var(--green-700);
  border-color: var(--green-400)
}

.mcol ul {
  list-style: none;
  display: grid;
  gap: 2px
}

.mcol ul a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: .15s
}

.mcol ul a:hover {
  color: var(--green-700);
  transform: translateX(3px)
}

.mpromo {
  flex: none;
  width: 180px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  align-self: flex-start;
  aspect-ratio: 3/4;
  color: #fff
}

.mpromo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.mpromo span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(31, 77, 42, .92));
  font-size: 12px;
  font-weight: 800
}

.mpromo b {
  display: block;
  font-size: 17px;
  line-height: 1.2
}

@media (max-width:1080px) {
  .cats>li.has-sub {
    display: grid;
    grid-template-columns: 1fr auto
  }

  .cats>li.has-sub>a .chev {
    display: none
  }

  .sub-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    border-radius: 10px;
    color: var(--ink-3)
  }

  .sub-toggle .chev {
    margin: 0;
    transition: transform .2s
  }

  .sub-toggle[aria-expanded="true"] .chev {
    transform: rotate(90deg);
    color: var(--green-700)
  }

  .mega {
    position: static;
    grid-column: 1/-1;
    width: auto;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--green-100);
    border-radius: 0;
    margin: 2px 0 8px 22px;
    padding: 2px 0 2px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none
  }

  .cats li.open>.mega {
    display: block
  }

  .mhead {
    display: none
  }

  .mpromo {
    display: none
  }

  .mbody {
    display: block
  }

  .mcols {
    display: block
  }

  .mcol {
    margin-bottom: 8px
  }

  .mcol .l2 {
    font-size: 14px;
    border: 0;
    padding: 6px 0 2px;
    margin: 0
  }

  .mcol ul {
    padding-left: 12px
  }

  .mcol ul a {
    font-size: 13.5px;
    padding: 5px 0
  }
}

/* ===== Main / header ===== */
.main {
  min-width: 0;
  padding: 18px var(--gutter) 0
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  place-items: center
}

.m-logo {
  display: none;
  height: 38px
}

.search-wrap {
  flex: 1;
  min-width: 0
}

.search {
  display: flex;
  align-items: center;
  border: 2px solid var(--green-400);
  border-radius: var(--pill);
  height: 46px;
  padding: 0 6px 0 16px;
  background: #fff;
  max-width: 640px
}

.search select {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink-2);
  padding-right: 6px;
  outline: 0;
  cursor: pointer
}

.search .sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 12px
}

.search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  min-width: 0
}

.search button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-400);
  color: #fff;
  display: grid;
  place-items: center;
  transition: .2s
}

.search button:hover {
  background: var(--green-700)
}

.quick {
  display: flex;
  gap: 6px 16px;
  margin: 8px 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  flex-wrap: wrap
}

.quick a {
  color: var(--green-500)
}

.quick a.hot {
  color: var(--orange-500)
}

.quick a.ref {
  color: var(--red)
}

.quick a:hover {
  text-decoration: underline
}

.h-info {
  display: flex;
  align-items: center;
  gap: 12px
}

.h-info .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-500);
  display: grid;
  place-items: center;
  flex: none
}

.h-info small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700
}

.h-info b {
  font-size: 13.5px;
  font-weight: 800
}

.acc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .2s
}

.acc:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-400);
  color: #fff;
  font-weight: 800;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--pill);
  position: relative;
  transition: .2s;
  white-space: nowrap
}

.cart-btn:hover {
  background: var(--green-700)
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  background: var(--orange-500);
  color: #fff;
  font-size: 11px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 2px solid #fff
}

.cart-count.bump {
  animation: bump .4s
}

@keyframes bump {
  50% {
    transform: scale(1.35)
  }
}

/* ===== Hero: banner ảnh gắn link =====
   Kích thước ảnh khuyến nghị:
   - Banner chính:        1800 x 1140 px (desktop) + 780 x 940 px (mobile)
   - 2 banner bên phải:   1160 x 564 px
   - 3 banner khuyến mãi: 1120 x 560 px  */
.hero {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 8px
}

.bn {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-50);
  isolation: isolate;
  transition: box-shadow .3s, transform .3s
}

.bn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s
}

.bn:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px)
}

.bn:hover img {
  transform: scale(1.03)
}

.bn-main {
  grid-row: 1/3
}

.bn-main picture {
  display: block;
  height: 100%
}

.bn-side {
  aspect-ratio: 1160/564
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px
}

.bn-sm {
  aspect-ratio: 2/1
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  height: 46px;
  padding: 0 20px;
  white-space: nowrap;
  border-radius: var(--pill);
  transition: .2s;
  font-size: 14.5px
}

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

.btn-orange:hover {
  background: #d9661a;
  transform: translateY(-2px)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase
}

/* ===== Section ===== */
.section {
  margin-top: 52px
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.sec-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px
}

.sec-head h2 .e {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 22px
}

.see-all {
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
  font-size: 14px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .2s
}

.see-all:hover {
  background: var(--green-400);
  color: #fff
}

/* ===== Product card ===== */
.grid-p {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
  position: relative
}

.card[hidden] {
  display: none !important
}

.card:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px)
}

.card .thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-50)
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.card:hover .thumb img {
  transform: scale(1.07)
}

.card .disc {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px
}

.card .new {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--green-400);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px
}

.card .fav {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  color: var(--ink-3);
  transition: .2s
}

.card .fav:hover,
.card .fav.on {
  color: var(--red)
}

.card .fav.on svg {
  fill: currentColor
}

.card .add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffd36b;
  color: var(--green-900);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
  transition: .2s
}

.card .add:hover {
  background: var(--green-400);
  color: #fff;
  transform: rotate(90deg)
}

.card .body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1
}

.card .cat {
  font-size: 11.5px;
  color: var(--green-500);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px
}

.card h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em
}

.card .meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3)
}

.card .meta span {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 6px
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto
}

.price b {
  color: var(--red);
  font-size: 17px;
  font-weight: 900
}

.price s {
  color: var(--ink-3);
  font-size: 13px
}

.sold {
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px
}

.bar {
  flex: 1;
  height: 5px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange-400), var(--red));
  border-radius: 3px
}

.stars {
  color: #f5b301;
  font-size: 12px;
  letter-spacing: 1px
}

/* ===== Gieo gì hôm nay? ===== */
.planting {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  padding: 30px 30px 24px;
  border: 1px solid #dfe8d7;
  border-radius: var(--radius-lg);
  background: #fff
}

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

.planting-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase
}

.planting-kicker span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-100);
  font-size: 15px
}

.planting-head h2 {
  margin: 5px 0 3px;
  color: var(--green-900);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
  text-transform: none
}

.planting-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px
}

.planting-season {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid #e2e9d9;
  border-radius: 12px;
  background: #f7faf3;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap
}

.planting-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #80b449;
  box-shadow: 0 0 0 4px #e8f1dc
}

.planting-filters {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e6ebdf;
  border-radius: 15px;
  background: #f3f6ee;
  margin-bottom: 15px
}

.planting-field {
  min-width: 0;
  padding: 6px 11px 7px;
  border: 1px solid #e5e9df;
  border-radius: 10px;
  background: #fff
}

.planting-field>span {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase
}

.planting-field select {
  width: 100%;
  padding: 5px 22px 0 0;
  border: 0;
  outline-offset: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer
}

.planting-reset {
  padding: 0 14px;
  border: 1px solid #dfe6d8;
  border-radius: 10px;
  background: #fff;
  color: var(--green-700);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer
}

.planting-reset:hover {
  background: var(--green-100)
}

.planting-results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 1px 10px
}

.planting-result {
  margin: 0;
  color: var(--ink-3);
  font-size: 12px
}

.planting-result b {
  color: var(--green-900)
}

.planting-arrows {
  display: flex;
  gap: 7px
}

.planting-arrows button {
  width: 34px;
  height: 34px;
  border: 1px solid #dfe6d8;
  border-radius: 50%;
  background: #fff;
  color: var(--green-700);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: .2s
}

.planting-arrows button:hover {
  background: var(--green-100);
  border-color: var(--green-400)
}

.grid-p.planting-track {
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 72px)/5);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 2px 2px 10px
}

.planting-track::-webkit-scrollbar {
  display: none
}

.planting-track>.card {
  min-width: 0;
  scroll-snap-align: start
}

.planting-track .card .thumb {
  aspect-ratio: 1.08
}

.planting-track .card .body {
  padding: 12px 13px 14px
}

.planting-track .empty {
  grid-column: 1/-1
}

.planting-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 15px;
  border-top: 1px solid #e8ece3
}

.planting-footer p {
  margin: 0;
  color: var(--ink-3);
  font-size: 11px
}

.planting-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border-radius: var(--pill);
  background: var(--green-900);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: .2s
}

.planting-more:hover {
  background: var(--green-700);
  transform: translateY(-1px)
}

.planting-more span {
  font-size: 16px
}

/* ===== Category tiles ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.cat-tile {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  text-align: center;
  transition: .25s
}

.cat-tile:hover {
  background: #fff;
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px)
}

.cat-tile .ci {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 32px;
  box-shadow: var(--shadow)
}

.cat-tile b {
  font-size: 14px;
  font-weight: 800;
  display: block;
  line-height: 1.25
}

.cat-tile small {
  font-size: 12px;
  color: var(--ink-3)
}

/* ===== Flash sale ===== */
.flash {
  background: linear-gradient(120deg, var(--green-900), var(--green-700) 60%, var(--green-500));
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff
}

.flash .sec-head h2 .e {
  background: rgba(255, 255, 255, .15)
}

.countdown {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 800
}

.countdown span.t {
  background: #fff;
  color: var(--green-900);
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900
}

.flash .card {
  color: var(--ink)
}

.flash .see-all {
  background: rgba(255, 255, 255, .15);
  color: #fff
}

.flash .see-all:hover {
  background: #fff;
  color: var(--green-700)
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.tab {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13.5px;
  background: #fff;
  transition: .2s
}

.tab:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.tab[aria-selected="true"] {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700)
}

/* ===== Benefits ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.ben {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed #cfe2bd
}

.ben .bi {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: none
}

.ben b {
  display: block;
  font-weight: 800;
  font-size: 15px
}

.ben small {
  color: var(--ink-3);
  font-size: 13px
}

/* ===== Feedback khách hàng ===== */
.rv-wrap {
  position: relative
}

.rv-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4*18px)/5);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 10px
}

.rv-track::-webkit-scrollbar {
  display: none
}

.rv {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .25s
}

.rv:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg)
}

.rv header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.rv header div {
  min-width: 0
}

.rv .av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  flex: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line)
}

.rv header b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2
}

.rv header small {
  font-size: 12.5px;
  color: var(--ink-3)
}

.rv .stars {
  font-size: 14px
}

.rv p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 7.75em
}

.rv figure {
  position: relative;
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1
}

.rv figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.rv:hover figure img {
  transform: scale(1.05)
}

.rv figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--pill)
}

.rv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffd36b;
  color: var(--green-900);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  transition: .2s
}

.rv-nav:hover {
  background: var(--green-400);
  color: #fff
}

.rv-nav:disabled {
  opacity: 0;
  pointer-events: none
}

.rv-nav.prev {
  left: -14px
}

.rv-nav.next {
  right: -14px
}

/* ===== Blog ===== */
.blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s
}

.post:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px)
}

.post .pi {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative
}

.post .pi img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.post .pi span {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--green-700);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--pill)
}

.post .pb {
  padding: 16px 18px 20px
}

.post time {
  font-size: 12px;
  color: var(--ink-3)
}

.post h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin: 6px 0 8px
}

.post p {
  font-size: 14px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.post .more {
  display: inline-block;
  margin-top: 10px;
  color: var(--orange-500);
  font-weight: 800;
  font-size: 14px
}

/* ===== Newsletter + footer ===== */
.newsletter {
  margin-top: 52px;
  background: linear-gradient(120deg, var(--green-400), var(--green-500));
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden
}

.newsletter::after {
  content: "🌱";
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 140px;
  opacity: .15
}

.newsletter h3 {
  font-size: 24px;
  font-weight: 900
}

.newsletter form {
  display: flex;
  background: #fff;
  border-radius: var(--pill);
  padding: 5px;
  min-width: min(420px, 100%);
  position: relative;
  z-index: 1
}

.newsletter input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  padding: 0 18px;
  min-width: 0;
  color: var(--ink)
}

.newsletter button {
  background: var(--orange-500);
  color: #fff;
  font-weight: 800;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--pill)
}

.section.newsletter-form {
  margin-top: 0
}

footer {
  margin: 40px calc(var(--gutter) * -1) 0;
  box-shadow: 0 0 0 100vmax var(--green-900);
  clip-path: inset(0 -100vmax);
  background: var(--green-900);
  color: #cfe0cf;
  padding: 44px var(--gutter) 20px
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px
}

.f-logo {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  max-width: 220px;
  margin-bottom: 14px
}

footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px
}

footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px
}

footer a:hover {
  color: #ffd36b
}

footer p {
  font-size: 14px
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px
}

.socials a:hover {
  background: var(--orange-500);
  color: #fff
}

.pay {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px
}

.pay span {
  background: #fff;
  color: var(--green-900);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 6px
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 30px;
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  opacity: .8
}

/* ===== Toast / overlay ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  opacity: 0;
  visibility: hidden;
  background: var(--green-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transition: .35s;
  z-index: 100;
  display: flex;
  gap: 8px;
  align-items: center
}

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

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 40
}

.overlay.show {
  opacity: 1;
  pointer-events: auto
}

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

.fab a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  box-shadow: var(--shadow-lg)
}

.fab .call {
  background: var(--red);
  animation: pulse 2s infinite
}

.fab .zalo {
  background: #0068ff
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 65, 43, .5)
  }

  70% {
    box-shadow: 0 0 0 14px rgba(226, 65, 43, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(226, 65, 43, 0)
  }
}

/* ===== Responsive ===== */
@media (min-width:1800px) {
  .grid-p {
    gap: 22px
  }
}

@media (max-width:1480px) {
  .h-info.mail {
    display: none
  }
}

@media (max-width:1280px) {
  .rv-track {
    grid-auto-columns: calc((100% - 3*18px)/4)
  }

  .grid-p.planting-track {
    grid-auto-columns: calc((100% - 54px)/4)
  }

  .grid-p {
    grid-template-columns: repeat(4, 1fr)
  }

  #featured .card:nth-child(n+9) {
    display: none
  }

  .h-info.mail {
    display: none
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (max-width:1080px) {
  .shell {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 290px;
    height: 100dvh;
    z-index: 50;
    transform: translateX(-100%);
    transition: .3s;
    box-shadow: var(--shadow-lg)
  }

  .sidebar.open {
    transform: none
  }

  .menu-btn {
    display: grid
  }

  .m-logo {
    display: block
  }

  .header {
    flex-wrap: wrap
  }

  .search-wrap {
    order: 5;
    flex-basis: 100%
  }

  .search {
    max-width: none
  }

  .h-info {
    margin-left: auto
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr)
  }

  .f-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:820px) {
  :root {
    --gutter: 14px
  }

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

  .bn-main {
    grid-row: auto;
    grid-column: 1/-1;
    aspect-ratio: 780/940
  }

  .promo-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px
  }

  .grid-p {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }

  #featured .card:nth-child(n+9) {
    display: flex
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .rv-track {
    grid-auto-columns: 78%;
    gap: 12px
  }

  .rv-nav {
    display: none
  }

  .blog {
    grid-template-columns: 1fr
  }

  .h-info.phone {
    display: none
  }

  .cart-btn .lbl {
    display: none
  }

  .cart-btn {
    padding: 0 14px
  }

  .newsletter {
    padding: 26px 22px
  }

  .section {
    margin-top: 40px
  }

  .sec-head h2 {
    font-size: 19px
  }
}

@media (max-width:520px) {
  .hero {
    grid-template-columns: 1fr
  }

  .benefits {
    grid-template-columns: 1fr
  }

  .f-grid {
    grid-template-columns: 1fr
  }

  .quick {
    display: none
  }

  .card h3 {
    font-size: 14px
  }

  .price b {
    font-size: 15px
  }

  .card .meta {
    display: none
  }
}

@media (max-width:900px) {
  .planting {
    padding: 26px 22px 22px
  }

  .planting-season {
    display: none
  }

  .planting-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .planting-reset {
    grid-column: 1/-1;
    min-height: 38px
  }

  .grid-p.planting-track {
    grid-auto-columns: calc((100% - 36px)/3)
  }
}

@media (max-width:600px) {
  .planting {
    margin-top: 24px;
    padding: 22px 14px 17px;
    border-radius: var(--radius)
  }

  .planting-head {
    margin-bottom: 15px
  }

  .planting-head h2 {
    font-size: 25px
  }

  .planting-head p {
    font-size: 12px
  }

  .planting-kicker {
    font-size: 9px
  }

  .planting-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px
  }

  .planting-field {
    padding: 6px 9px
  }

  .planting-field:first-child {
    grid-column: 1/-1
  }

  .planting-field select {
    font-size: 12px
  }

  .planting-reset {
    min-height: 36px
  }

  .planting-reset span {
    display: inline
  }

  .planting-result {
    font-size: 11px
  }

  .planting-arrows {
    display: none
  }

  .grid-p.planting-track {
    grid-auto-columns: 76%;
    gap: 12px;
    margin-right: -14px;
    padding-right: 14px
  }

  .planting-track .card .thumb {
    aspect-ratio: 1
  }

  .planting-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 10px;
    padding-top: 12px
  }

  .planting-footer p {
    font-size: 10px
  }

  .planting-more {
    width: 100%
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }
}

/* ===== Card bổ sung ===== */
.card .in-season {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, .95);
  color: var(--green-700);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--pill);
  box-shadow: var(--shadow)
}

/* =========================================================
   TRANG DANH MỤC
   ========================================================= */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 4px 0 16px
}

.crumb a {
  color: var(--ink-2);
  font-weight: 600
}

.crumb a:hover {
  color: var(--green-700)
}

.crumb span[aria-current] {
  color: var(--green-700);
  font-weight: 700
}

.crumb .sep {
  opacity: .5
}

.cat-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  background: radial-gradient(110% 120% at 100% 0, #8fc75a 0, var(--green-500) 35%, var(--green-900) 100%);
  color: #fff;
  overflow: hidden
}

.cat-hero .eyebrow {
  background: rgba(255, 255, 255, .18)
}

.cat-hero h1 {
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  margin: 12px 0 8px
}

.cat-hero p {
  max-width: 620px;
  opacity: .92;
  font-size: 15px
}

.cat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.cat-stats span {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700
}

.cat-stats b {
  color: #ffd36b
}

.cat-hero .collage {
  display: flex
}

.cat-hero .collage img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, .3);
  margin-left: -28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2)
}

.cat-hero .collage img:nth-child(2) {
  transform: translateY(-14px)
}

.subcats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 6px
}

.subcat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: .2s
}

.subcat small {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
  background: var(--bg);
  padding: 1px 7px;
  border-radius: var(--pill)
}

.subcat:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.subcat[aria-pressed="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff
}

.subcat[aria-pressed="true"] small {
  background: rgba(255, 255, 255, .2);
  color: #fff
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.f-season {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--green-400);
  border-radius: var(--pill);
  overflow: hidden;
  height: 40px;
  background: #fff
}

.f-season button {
  height: 100%;
  padding: 0 14px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--green-700);
  display: flex;
  align-items: center;
  gap: 6px
}

.f-season button[aria-pressed="true"] {
  background: var(--green-400);
  color: #fff
}

.f-season select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a867e' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 0;
  border-left: 1.5px solid var(--green-100);
  height: 100%;
  padding: 0 30px 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  outline-offset: -3px
}

.sel {
  position: relative
}

.sel select {
  appearance: none;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 34px 0 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a867e' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  transition: .2s
}

.sel select:hover {
  border-color: var(--green-400)
}

.sel select.on {
  border-color: var(--green-700);
  background-color: var(--green-100);
  color: var(--green-900)
}

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 700
}

.result-info {
  font-size: 14px;
  color: var(--ink-2);
  margin: 14px 0
}

.result-info b {
  color: var(--ink)
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0
}

.active-filters:empty {
  display: none
}

.af {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-100);
  color: #9a4a10;
  font-weight: 700;
  font-size: 13px;
  height: 32px;
  padding: 0 6px 0 12px;
  border-radius: var(--pill)
}

.af button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1
}

.af button:hover {
  background: #fff
}

.af-clear {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  padding: 0 8px;
  height: 32px
}

.empty {
  text-align: center;
  padding: 50px 20px;
  border: 1.5px dashed #cfe2bd;
  border-radius: var(--radius);
  background: var(--green-50)
}

.empty .em {
  font-size: 48px
}

.empty h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 8px 0 6px
}

.empty p {
  color: var(--ink-2);
  margin-bottom: 16px
}

.btn-green {
  background: var(--green-700);
  color: #fff
}

.btn-green:hover {
  background: var(--green-900)
}

.btn-line {
  border: 1.5px solid var(--green-700);
  color: var(--green-700);
  background: #fff
}

.btn-line:hover {
  background: var(--green-100)
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0
}

.pager a,
.pager span {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  padding: 0 10px
}

.pager a:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.pager [aria-current] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff
}

.seo-box {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--green-50);
  position: relative
}

.seo-box h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px
}

.seo-box h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 14px 0 6px
}

.seo-box p,
.seo-box li {
  font-size: 14.5px;
  color: var(--ink-2)
}

.seo-box ul {
  padding-left: 20px;
  display: grid;
  gap: 4px
}

.seo-box .seo-body {
  max-height: 150px;
  overflow: hidden;
  position: relative;
  transition: max-height .4s
}

.seo-box .seo-body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: linear-gradient(transparent, var(--green-50))
}

.seo-box.open .seo-body {
  max-height: 1200px
}

.seo-box.open .seo-body::after {
  display: none
}

.seo-more {
  margin-top: 10px;
  font-weight: 800;
  color: var(--green-700);
  font-size: 14px
}

/* =========================================================
   TRANG CHI TIẾT SẢN PHẨM
   ========================================================= */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start
}

.pd-gallery {
  position: sticky;
  top: 18px
}

.pd-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--green-50);
  border: 1px solid var(--line)
}

.pd-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s
}

.pd-main:hover img {
  transform: scale(1.04)
}

.pd-main .disc,
.pd-main .new {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--red)
}

.pd-main .new {
  background: var(--green-400)
}

.g-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: .2s;
  color: var(--green-900)
}

.g-nav:hover {
  background: #ffd36b
}

.g-nav.prev {
  left: 12px
}

.g-nav.next {
  right: 12px
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px
}

.pd-thumbs button {
  width: 92px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .7;
  transition: .2s;
  padding: 0
}

.pd-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pd-thumbs button[aria-current="true"] {
  border-color: var(--green-700);
  opacity: 1
}

.pd-thumbs button:hover {
  opacity: 1
}

.pd-cat {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: .5px
}

.pd-info h1 {
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  margin: 6px 0 10px
}

.pd-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 14px;
  color: var(--ink-3)
}

.pd-rate .stars {
  font-size: 15px
}

.pd-rate b {
  color: var(--ink)
}

.pd-rate i {
  width: 1px;
  height: 14px;
  background: var(--line)
}

.pd-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fff5ee, #fff)
}

.pd-price b {
  font-size: 30px;
  font-weight: 900;
  color: var(--red)
}

.pd-price s {
  color: var(--ink-3);
  font-size: 16px
}

.pd-price .save {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 3px 8px;
  border-radius: 6px
}

.season-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #cfe2bd;
  background: var(--green-50);
  font-size: 14px;
  transition: .2s
}

.season-chip:hover {
  border-color: var(--green-400)
}

.season-chip .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--green-700);
  color: #fff
}

.season-chip.off {
  background: #f6f6f4;
  border-color: var(--line)
}

.season-chip.off .dot {
  background: #9a9a96
}

.season-chip b {
  display: block;
  font-weight: 800
}

.season-chip small {
  color: var(--ink-3);
  font-size: 12.5px
}

.season-chip .go {
  margin-left: auto;
  font-weight: 800;
  font-size: 13px;
  color: var(--green-700);
  white-space: nowrap
}

.pd-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 18px 0;
  font-size: 14px
}

.pd-specs li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line)
}

.pd-specs span {
  color: var(--ink-3)
}

.pd-specs b {
  font-weight: 800;
  text-align: right
}

.pd-opt {
  margin: 6px 0 16px
}

.pd-opt>span {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.opt {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  text-align: left;
  transition: .2s;
  background: #fff
}

.opt b {
  display: block;
  font-size: 14px;
  font-weight: 800
}

.opt small {
  font-size: 12.5px;
  color: var(--ink-3)
}

.opt:hover {
  border-color: var(--green-400)
}

.opt[aria-checked="true"] {
  border-color: var(--green-700);
  background: var(--green-100)
}

.opt[aria-checked="true"] small {
  color: var(--green-700)
}

.pd-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  height: 50px
}

.qty button {
  width: 44px;
  height: 100%;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-700)
}

.qty button:hover {
  color: var(--orange-500)
}

.qty input {
  width: 44px;
  text-align: center;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  outline-offset: -3px
}

.pd-buy .btn {
  height: 50px;
  padding: 0 26px;
  flex: 1;
  justify-content: center;
  min-width: 150px
}

.pd-zalo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #eef4ff;
  color: #0b4fc4;
  font-weight: 700;
  font-size: 14px
}

.pd-zalo .z {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0068ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  flex: none
}

.pd-zalo:hover {
  background: #e2ecff
}

.pd-policy {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px
}

.pd-policy li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px
}

.pd-policy li span {
  font-size: 20px
}

.pd-meta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3)
}

.pd-meta a {
  color: var(--green-700);
  font-weight: 700
}

/* ----- Lịch gieo trồng ----- */
.plan {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px 32px;
  background: #fff;
  scroll-margin-top: 20px
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px
}

.plan-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--green-900)
}

.plan-head h2 svg {
  color: var(--green-500)
}

.regions {
  display: flex;
  gap: 8px
}

.regions button {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink-2);
  background: #fff;
  transition: .2s
}

.regions button:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.regions button[aria-pressed="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff
}

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

.stat {
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1.5px solid;
  min-width: 0
}

.stat .si {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

.stat small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2)
}

.stat b {
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25
}

.stat span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2)
}

.stat.green {
  background: #f1f8ec;
  border-color: #bcdca5
}

.stat.green .si {
  background: var(--green-700)
}

.stat.green b {
  color: var(--green-900)
}

.stat.gray {
  background: #f4f4f2;
  border-color: #dcdcd8
}

.stat.gray .si {
  background: #9a9a96
}

.stat.gray b {
  color: #3d3d3a
}

.stat.amber {
  background: #fff8ec;
  border-color: #f6d9a4
}

.stat.amber .si {
  background: #d98c0a
}

.stat.amber b {
  color: #a35a00
}

.stat.blue {
  background: #eef5ff;
  border-color: #bcd5f7
}

.stat.blue .si {
  background: #1f7ae0
}

.stat.blue b {
  color: #1452a8
}

.stat.hot {
  background: #fff3ea;
  border-color: #fbc89f
}

.stat.hot .si {
  background: #f06a12
}

.stat.hot b {
  color: #d6450b
}

.stat.cold {
  background: #eef5ff;
  border-color: #bcd5f7
}

.stat.cold .si {
  background: #1f7ae0
}

.stat.cold b {
  color: #1452a8
}

.stat.good {
  background: #f1f8ec;
  border-color: #bcdca5
}

.stat.good .si {
  background: var(--green-500)
}

.stat.good b {
  color: var(--green-900)
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px
}

.plan-grid>* {
  min-width: 0
}

.pbox {
  background: #f5f7f0;
  border-radius: var(--radius);
  padding: 22px 24px
}

.pbox h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--green-900);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px
}

.pbox h3 button {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-700);
  text-decoration: underline
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.legend i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block
}

.lg-on {
  background: var(--green-700)
}

.lg-off {
  background: #fff;
  border: 1px solid #d8ddd2
}

.lg-now {
  border: 2px solid var(--orange-500)
}

.months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px
}

.months button {
  height: 46px;
  border-radius: 9px;
  font-weight: 900;
  font-size: 14px;
  transition: .15s;
  position: relative
}

.months .on {
  background: var(--green-700);
  color: #fff
}

.months .off {
  background: #fff;
  color: #a2a89f;
  border: 1px solid #dde2d8
}

.months .now {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange-500)
}

.months button:hover {
  transform: translateY(-2px)
}

.months button[aria-pressed="true"] {
  outline: 3px solid #ffd36b;
  outline-offset: 2px
}

.timeline {
  margin-top: 18px
}

.tl-bar {
  display: flex;
  gap: 4px;
  height: 10px
}

.tl-bar i {
  display: block;
  border-radius: 6px
}

.tl-bar .t1 {
  background: var(--green-700)
}

.tl-bar .t2 {
  background: #9fd28b
}

.tl-bar .t3 {
  background: #e19a0d
}

.tl-lbl {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 8px
}

.tl-lbl b {
  color: var(--ink)
}

.tl-lbl .mid {
  text-align: center;
  color: var(--ink-3)
}

.tl-note {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 14px;
  line-height: 1.6
}

.tl-note a {
  color: var(--green-700);
  font-weight: 800
}

.tl-sel {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: #9a4a10;
  background: var(--orange-100);
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 12px
}

.tl-sel.show {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center
}

.tl-sel button {
  font-weight: 800;
  text-decoration: underline
}

.w-intro {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 12px
}

.w-form {
  display: flex;
  gap: 8px
}

.w-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 1px solid #dfe3da;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  background: #fff
}

.w-form input:focus {
  outline: 2px solid var(--green-400);
  border-color: transparent
}

.w-form button {
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
  font-size: 16px
}

.w-form button:hover {
  background: var(--green-900)
}

.w-geo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-700);
  text-decoration: underline
}

.w-msg {
  font-size: 13px;
  margin-top: 10px;
  color: var(--red)
}

.w-msg:empty {
  display: none
}

.w-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
  padding: 30px 0
}

.w-loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--green-100);
  border-top-color: var(--green-500);
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.wrows {
  display: grid;
  gap: 4px;
  margin-top: 6px
}

.wr {
  display: grid;
  grid-template-columns: 40px 30px 46px 1fr 52px;
  align-items: center;
  gap: 8px;
  min-height: 34px
}

.wr .d {
  font-weight: 900;
  font-size: 14px
}

.wr .ic {
  display: grid;
  place-items: center
}

.wr .tmin,
.wr .tmax {
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1;
  text-align: right
}

.wr .tmin {
  color: #2b6cc4
}

.wr .tmax {
  color: #c43a1b;
  text-align: left
}

.wr .tmax.ok,
.wr .tmin.ok {
  color: var(--ink)
}

.wr em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .3px;
  margin-top: 2px
}

.track {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: #e3e7de
}

.track .band {
  position: absolute;
  top: -6px;
  bottom: -6px;
  border-radius: 5px;
  background: rgba(124, 179, 66, .22);
  border-left: 2px solid var(--green-500);
  border-right: 2px solid var(--green-500)
}

.track .rng {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #5aa1e6, #f3a33a 55%, #ef4a24)
}

.band-tag {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--green-700);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px
}

.band-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--green-700)
}

.wrows .wr:first-child {
  margin-top: 24px
}

.w-foot {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 12px;
  line-height: 1.5;
  display: flex;
  gap: 8px
}

.w-foot i {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: rgba(124, 179, 66, .25);
  border: 1.5px solid var(--green-500);
  flex: none;
  margin-top: 3px
}

.w-demo {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
  font-style: italic
}

/* ----- Tabs mô tả ----- */
.pd-tabs {
  margin-top: 44px
}

.tabbar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none
}

.tabbar button {
  padding: 14px 20px;
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap
}

.tabbar button[aria-selected="true"] {
  color: var(--green-700);
  border-color: var(--green-700)
}

.tabpanel {
  padding: 24px 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 900px
}

.tabpanel h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  margin: 20px 0 8px
}

.tabpanel ul,
.tabpanel ol {
  padding-left: 22px;
  display: grid;
  gap: 6px
}

.tabpanel strong {
  color: var(--ink)
}

.tabpanel img {
  border-radius: var(--radius);
  margin: 14px 0;
  max-width: 100%;
  height: auto
}

.steps {
  list-style: none;
  padding: 0 !important;
  counter-reset: st;
  display: grid;
  gap: 12px !important
}

.steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  background: var(--green-50);
  border-radius: 12px;
  padding: 14px 16px
}

.steps li::before {
  content: counter(st);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900
}

.steps b {
  display: block;
  color: var(--ink)
}

.rv-sum {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--green-50);
  border-radius: var(--radius);
  margin-bottom: 18px
}

.rv-sum .big {
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1
}

.rv-list {
  display: grid;
  gap: 14px
}

.rv-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px
}

.rv-item header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px
}

.rv-item .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900
}

.rv-item b {
  color: var(--ink);
  font-size: 14.5px
}

.rv-item small {
  display: block;
  font-size: 12px;
  color: var(--ink-3)
}

.pd-sticky {
  display: none
}

@media (max-width:1280px) {
  .pd {
    gap: 28px
  }

  .pd-policy {
    grid-template-columns: 1fr
  }
}

@media (max-width:1080px) {
  .stat3 {
    grid-template-columns: 1fr
  }

  .plan-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:820px) {
  .cat-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px
  }

  .cat-hero .collage {
    display: none
  }

  .subcats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -14px;
    padding-right: 14px
  }

  .subcat {
    flex: none
  }

  .toolbar {
    align-items: stretch
  }

  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
    width: 100%
  }

  .filters>* {
    flex: none
  }

  .sort {
    width: 100%;
    justify-content: space-between
  }

  .pd {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .pd-gallery {
    position: static
  }

  .pd-thumbs button {
    width: 72px
  }

  .pd-specs {
    grid-template-columns: 1fr
  }

  .pd-buy .btn-line {
    display: none
  }

  .plan {
    padding: 20px 16px
  }

  .plan-head h2 {
    font-size: 20px
  }

  .regions {
    width: 100%
  }

  .regions button {
    flex: 1;
    padding: 0 8px;
    font-size: 13.5px
  }

  .months {
    grid-template-columns: repeat(6, 1fr)
  }

  .pbox {
    padding: 18px 16px
  }

  .wr {
    grid-template-columns: 34px 26px 40px 1fr 46px;
    gap: 6px
  }

  .tl-lbl {
    font-size: 12px
  }

  .pd-sticky {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08)
  }

  .pd-sticky b {
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    display: block;
    line-height: 1.1
  }

  .pd-sticky small {
    font-size: 12px;
    color: var(--ink-3)
  }

  .pd-sticky .btn {
    flex: 1;
    justify-content: center;
    height: 46px
  }

  .pd-sticky .btn-line {
    flex: none;
    width: 46px;
    padding: 0;
    justify-content: center
  }

  body.has-sticky .fab {
    bottom: 84px
  }

  body.has-sticky footer {
    padding-bottom: 90px
  }
}

.toolbar[hidden],
.subcats[hidden],
.active-filters[hidden],
.pager[hidden],
.result-info[hidden] {
  display: none
}

.cat-head+.subcats[hidden]~.empty {
  margin-top: 20px
}

/* Tiêu đề danh mục (gọn, không banner) */
.cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 4px
}

.cat-head h1 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink)
}

.cat-count {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 700
}

.cat-count b {
  color: var(--green-700)
}

.cat-head p {
  flex-basis: 100%;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 760px
}

/* =========================================================
   TIN TỨC
   ========================================================= */
.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 16px
}

.news-head h1 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.15
}

.news-head p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 4px;
  max-width: 700px
}

.news-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  height: 44px;
  padding: 0 6px 0 16px;
  background: #fff;
  min-width: 300px
}

.news-search:focus-within {
  border-color: var(--green-400)
}

.news-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  min-width: 0
}

.news-search button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-400);
  color: #fff;
  display: grid;
  place-items: center
}

.news-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px
}

.news-nav::-webkit-scrollbar {
  display: none
}

.news-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  transition: .2s;
  white-space: nowrap
}

.news-nav a:hover {
  border-color: var(--green-400);
  color: var(--green-700)
}

.news-nav a[aria-current="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff
}

/* Thẻ bài viết */
.nc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
  min-width: 0
}

.nc:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #d5e6c6
}

.nc-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--green-50)
}

.nc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.nc:hover .nc-img img {
  transform: scale(1.05)
}

.nc-cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-700);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--pill)
}

.nc-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.nc h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.nc h3 a:hover {
  color: var(--green-700)
}

.nc p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.nc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: auto
}

.nc-big .nc-img {
  aspect-ratio: 16/9
}

.nc-big .nc-body {
  padding: 20px 22px 22px
}

.nc-big h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 900;
  -webkit-line-clamp: 3
}

.nc-big p {
  font-size: 15px;
  -webkit-line-clamp: 3
}

.nc-row {
  flex-direction: row
}

.nc-row .nc-img {
  width: 42%;
  flex: none;
  aspect-ratio: auto;
  min-height: 150px
}

.nc-row .nc-cat {
  display: none
}

.nc-row h3 {
  font-size: 15.5px;
  -webkit-line-clamp: 3
}

.nc-row p {
  -webkit-line-clamp: 2;
  font-size: 13.5px
}

.nc-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line)
}

.nc-mini:last-child {
  border-bottom: 0
}

.nc-mini img {
  width: 92px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex: none
}

.nc-mini b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35
}

.nc-mini small {
  font-size: 12px;
  color: var(--ink-3)
}

.nc-mini:hover b {
  color: var(--green-700)
}

/* Khối nổi bật */
.news-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-top: 16px
}

.news-top .side {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px
}

.side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--green-900);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-400);
  margin-bottom: 4px
}

.side .rank {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #d7e3cc
}

.side .rank:last-child {
  border-bottom: 0
}

.rank .no {
  font-size: 26px;
  font-weight: 900;
  color: #cfe2bd;
  line-height: 1;
  min-width: 30px
}

.rank:nth-child(2) .no {
  color: var(--orange-500)
}

.rank b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35
}

.rank:hover b {
  color: var(--green-700)
}

.rank small {
  font-size: 12px;
  color: var(--ink-3)
}

/* Section theo danh mục */
.nsec {
  margin-top: 48px;
  scroll-margin-top: 76px
}

.nsec.band {
  background: var(--green-50);
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
  border: 1px solid #e1eed6
}

.nsec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  position: relative
}

.nsec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 80px;
  height: 2px;
  background: var(--green-400)
}

.nsec-head h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px
}

.nsec-head h2 a:hover {
  color: var(--green-700)
}

.nsec-head p {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 2px
}

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

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

.l-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px
}

.l-split.rev {
  grid-template-columns: 1fr 1.25fr
}

.l-split.rev>.nc-big {
  order: 2
}

.l-split .stack {
  display: grid;
  gap: 14px;
  align-content: start
}

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

.news-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  background: linear-gradient(120deg, var(--green-900), var(--green-500));
  color: #fff;
  position: relative;
  overflow: hidden
}

.news-cta::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08)
}

.news-cta h3 {
  font-size: 22px;
  font-weight: 900
}

.news-cta p {
  opacity: .9;
  font-size: 14.5px
}

.news-cta .btn {
  position: relative;
  z-index: 1
}

/* Chế độ danh mục */
.ncat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.ncat-grid .nc-big {
  grid-column: 1/-1;
  flex-direction: row
}

.ncat-grid .nc-big .nc-img {
  width: 50%;
  flex: none;
  aspect-ratio: 16/9
}

.ncat-grid .nc-big .nc-body {
  justify-content: center
}

.news-empty {
  padding: 40px;
  text-align: center;
  color: var(--ink-2);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius)
}

/* =========================================================
   CHI TIẾT BÀI VIẾT
   ========================================================= */
.read-bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--green-400), var(--orange-500));
  z-index: 70;
  transition: width .1s
}

.art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start
}

.art-cat {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: var(--pill)
}

.art h1 {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  margin: 12px 0 14px;
  letter-spacing: -.3px
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.author {
  display: flex;
  gap: 10px;
  align-items: center
}

.author .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: none
}

.author b {
  display: block;
  font-size: 14.5px
}

.author small {
  font-size: 12.5px;
  color: var(--ink-3)
}

.share {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700
}

.share a,
.share button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  transition: .2s
}

.share .fb {
  background: #1877f2
}

.share .zl {
  background: #0068ff;
  font-size: 10px
}

.share .cp {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line)
}

.share a:hover,
.share button:hover {
  transform: translateY(-2px)
}

.art-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 600;
  margin: 20px 0
}

.art-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 8px
}

.art-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.toc {
  border: 1px solid #d5e6c6;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 16px 18px
}

.toc-in {
  margin: 20px 0
}

.toc .side-title {
  margin-bottom: 8px;
  justify-content: space-between
}

.toc .side-title button {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-700);
  text-transform: none;
  letter-spacing: 0
}

.toc ol {
  list-style: none;
  counter-reset: tc;
  display: grid;
  gap: 2px
}

.toc li {
  counter-increment: tc
}

.toc a {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 5px 6px;
  border-radius: 8px;
  line-height: 1.4
}

.toc a::before {
  content: counter(tc)".";
  font-weight: 800;
  color: var(--green-500);
  min-width: 18px
}

.toc a:hover,
.toc a.on {
  background: #fff;
  color: var(--green-700);
  font-weight: 700
}

.toc.closed ol {
  display: none
}

.art-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px
}

.art-aside .toc-side {
  display: block
}

.aside-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #fff
}

.mini-p {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line)
}

.mini-p:last-child {
  border-bottom: 0
}

.mini-p img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: none
}

.mini-p b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35
}

.mini-p .pr {
  color: var(--red);
  font-weight: 900;
  font-size: 14px
}

.mini-p .pr s {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px
}

.mini-p button {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffd36b;
  color: var(--green-900);
  display: grid;
  place-items: center;
  flex: none
}

.mini-p button:hover {
  background: var(--green-400);
  color: #fff
}

.art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 800
}

.art-tags a {
  font-size: 13px;
  font-weight: 700;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: var(--pill);
  color: var(--ink-2)
}

.art-tags a:hover {
  background: var(--green-100);
  color: var(--green-700)
}

.author-box {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid #e1eed6
}

.author-box .av {
  width: 60px;
  height: 60px;
  font-size: 22px
}

.author-box p {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 4px
}

.art-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px
}

.art-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: .2s
}

.art-nav a:hover {
  border-color: var(--green-400)
}

.art-nav small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-500);
  text-transform: uppercase;
  margin-bottom: 4px
}

.art-nav b {
  font-size: 14.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.art-nav .next {
  text-align: right
}

/* Nội dung bài viết (HTML từ WordPress classic editor) */
.entry-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: #2f3a32
}

.entry-content>*+* {
  margin-top: 16px
}

.entry-content h2 {
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--green-900);
  margin-top: 36px;
  padding-left: 14px;
  border-left: 5px solid var(--green-400);
  scroll-margin-top: 24px
}

.entry-content h3 {
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 24px;
  scroll-margin-top: 24px
}

.entry-content strong {
  color: var(--ink)
}

.entry-content a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px
}

.entry-content a:hover {
  color: var(--orange-500)
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  display: grid;
  gap: 6px
}

.entry-content ul li::marker {
  color: var(--green-500)
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line)
}

.entry-content thead th {
  background: var(--green-700);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 800
}

.entry-content td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top
}

.entry-content tbody tr:nth-child(even) {
  background: var(--green-50)
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px
}

.entry-content .wp-caption {
  max-width: 100% !important;
  margin: 22px auto
}

.entry-content .wp-caption img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-height: 480px;
  object-fit: cover
}

.entry-content .wp-caption-text {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  margin-top: 8px
}

.entry-content .note {
  background: var(--orange-100);
  border-left: 4px solid var(--orange-500);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 15px
}

.entry-content .tablepress {
  box-shadow: none;
  border: 1.5px solid #cfe2bd;
  background: var(--green-50)
}

.entry-content .tablepress th {
  background: var(--green-50) !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  line-height: 1.9;
  padding: 20px 22px !important
}

.entry-content .tablepress th img {
  max-width: 200px;
  margin-bottom: 8px
}

.entry-content .tablepress th b {
  color: var(--green-900)
}

@media (max-width:1280px) {
  .l-grid4 {
    grid-template-columns: repeat(3, 1fr)
  }

  .l-grid4 .nc:nth-child(4) {
    display: none
  }

  .art {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px
  }
}

@media (max-width:1080px) {
  .art {
    grid-template-columns: 1fr
  }

  .art-aside {
    position: static
  }

  .art-aside .toc-side {
    display: none
  }

  .l-rows {
    grid-template-columns: 1fr 1fr
  }
}

@media (min-width:1081px) {
  .toc-in {
    display: none
  }
}

@media (max-width:820px) {
  .news-search {
    min-width: 0;
    width: 100%
  }

  .news-top,
  .l-split,
  .l-split.rev {
    grid-template-columns: 1fr
  }

  .l-split.rev>.nc-big {
    order: 0
  }

  .l-grid4,
  .l-grid3,
  .ncat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .l-grid4 .nc:nth-child(4) {
    display: flex
  }

  .l-rows {
    grid-template-columns: 1fr
  }

  .ncat-grid .nc-big {
    flex-direction: column
  }

  .ncat-grid .nc-big .nc-img {
    width: 100%
  }

  .nsec.band {
    padding: 18px 14px
  }

  .nsec-head h2 {
    font-size: 18px
  }

  .nc-body {
    padding: 12px
  }

  .nc h3 {
    font-size: 14.5px
  }

  .l-grid4 .nc p,
  .l-grid3 .nc p,
  .ncat-grid .nc:not(.nc-big) p {
    display: none
  }

  .news-cta {
    padding: 22px
  }

  .news-cta::after {
    display: none
  }

  .art-nav {
    grid-template-columns: 1fr
  }

  .entry-content {
    font-size: 16px
  }

  .author-box {
    flex-direction: column
  }
}

.nsec .nc-cat,
#catView.is-cat .nc-cat {
  display: none
}

.l-split>.nc-big .nc-img {
  flex: 1;
  aspect-ratio: auto;
  min-height: 280px
}

.l-split>.nc-big .nc-body {
  flex: none
}

.entry-content {
  margin-top: 22px
}

.entry-content td:first-child,
.entry-content th:first-child {
  white-space: nowrap
}

.entry-content .tablepress th {
  white-space: normal !important;
  word-break: break-word
}

.author-box .av {
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: none
}

.entry-content .tablepress th img {
  display: block
}